READ from text file
조회 수: 2 (최근 30일)
이전 댓글 표시
I have one text file "123.txt" which contains around 1000 numbers in one column.
1.234560000
0.345678700
2.090909909
4.568696844
etc...
I want to import this into matlab. and after that want to convert that into binary numbers(I have a code for that).
can anyone suggest me how to import or read from notepad .txt file..???
댓글 수: 0
채택된 답변
Grzegorz Knor
2011년 10월 10일
doc importdata
doc load
doc fread
...
댓글 수: 3
Image Analyst
2011년 10월 21일
Don't use braces with for loops - this isn't C.
Do this in one line - no for loop needed:
K = A + 1;
추가 답변 (0개)
참고 항목
카테고리
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!