To extract data from file
조회 수: 1 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
답변 (1개)
Azzi Abdelmalek
2016년 5월 1일
a=importdata('Run5.txt',' ',2)
out=a.data
댓글 수: 2
Azzi Abdelmalek
2016년 5월 1일
Your text file shows multiple columns, if you want one column, use reshape function, or
out=out(:)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Type Conversion에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!