How to display result in matlab without this format 1.0253e+04?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I wanna display the result as real number
0 Kommentare
Antworten (2)
Star Strider
am 19 Nov. 2017
2 Kommentare
Star Strider
am 19 Nov. 2017
Try this:
format short g
x = 1.025280000000000e+04
y = -2.95397040162016e-12
x =
10253
y =
-2.954e-12
At some point, format defaults to exponential notation, regardless.
Image Analyst
am 19 Nov. 2017
Bearbeitet: Image Analyst
am 19 Nov. 2017
Try issuing this command
format longg;
4 Kommentare
Siehe auch
Kategorien
Mehr zu Whos finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!