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!