How to make this a real number
Ältere Kommentare anzeigen
Hello,
My MatLab code outputs this 1.3357e+03 and I think this can be converted to a number like 1335.7.
I would like the MatLab function that will help me convert it.
Thanks for your help.
1 Kommentar
Hasan
am 20 Dez. 2022
vpa(ans)
Akzeptierte Antwort
Weitere Antworten (2)
Jurgen
am 30 Nov. 2012
0 Stimmen
sprintf?
Walter Roberson
am 30 Nov. 2012
format long g
1 Kommentar
Matt Fig
am 30 Nov. 2012
Even
format short g
gets it.
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!