Output of numbers
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello, Matlab keeps giving me numbers in the form: 4.0000e-01, which I do not understand since with 4-significant digits it could perfectly give me 0.4000. Can someone tell me how I could change this? Thanks!
0 Kommentare
Antworten (1)
Andrei Bobrov
am 2 Mai 2012
>> d = .4;
>> format short g
>> d
d =
0.4
>> format short e
>> d
d =
4.0000e-001
>>
0 Kommentare
Siehe auch
Kategorien
Mehr zu Logical 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!