output of code words
古いコメントを表示
I got output as:
1.0000 0 1.0000 0.0116
Now i want it as:
1 0 1 0.0116
(since [1 0 1] is my code word that is remove decimal points from 1.000)
please help!
採用された回答
その他の回答 (1 件)
Andrei Bobrov
2011 年 6 月 8 日
format short g
3 件のコメント
Paulo Silva
2011 年 6 月 8 日
nice one, I always forget the g
Paulo Silva
2011 年 6 月 8 日
+1 vote
Andrei Bobrov
2011 年 6 月 8 日
Thanks Paulo
カテゴリ
ヘルプ センター および File Exchange で String Parsing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!