How to save a double number to integer to a .txt file?
古いコメントを表示
Hi, I got some double type numbers in Matlab, I want to change them to int type,and save the int type numbers on a .txt file. Can someone tell me how to do it?
回答 (2 件)
Titus Edelhofer
2012 年 5 月 28 日
0 投票
Hi Susan,
you don't have to convert to int. Just round and use save with "-ascii".
Titus
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!