output of code words
Mostrar comentarios más antiguos
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!
Respuesta aceptada
Más respuestas (1)
Andrei Bobrov
el 8 de Jun. de 2011
format short g
3 comentarios
Paulo Silva
el 8 de Jun. de 2011
nice one, I always forget the g
Paulo Silva
el 8 de Jun. de 2011
+1 vote
Andrei Bobrov
el 8 de Jun. de 2011
Thanks Paulo
Categorías
Más información sobre String Parsing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!