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!