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!