output of code words
Mostra commenti meno recenti
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!
Risposta accettata
Più risposte (1)
Andrei Bobrov
il 8 Giu 2011
format short g
3 Commenti
Paulo Silva
il 8 Giu 2011
nice one, I always forget the g
Paulo Silva
il 8 Giu 2011
+1 vote
Andrei Bobrov
il 8 Giu 2011
Thanks Paulo
Categorie
Scopri di più su String Parsing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!