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 中查找有关 Data Type Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!