필터 지우기
필터 지우기

To extract data from file

조회 수: 1 (최근 30일)
E R SH RAJ Male
E R SH RAJ Male 2016년 5월 1일
댓글: Azzi Abdelmalek 2016년 5월 1일
I have written code to extract data from txt file.The extracted data values are not same. Attached is code as well as file. I shall be thankful if someone would help me out. Thanks

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2016년 5월 1일
a=importdata('Run5.txt',' ',2)
out=a.data
  댓글 수: 2
E R SH RAJ Male
E R SH RAJ Male 2016년 5월 1일
Out put is required in one column
Azzi Abdelmalek
Azzi Abdelmalek 2016년 5월 1일
Your text file shows multiple columns, if you want one column, use reshape function, or
out=out(:)

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Large Files and Big Data에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by