I tend to work normally with the display format set as
for most work. This gives me numbers in a format that I like as often as possible, only going into scientific notation when necessary. Thus
>> format short g
>> X = 3.6023e-04
X =
0.00036023
"short g" is more compact than the alternative of "long g", and most of the time I don't need to see 15 decimal digits in my results.
1 Comment
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/8940-stop-exponential-answers#comment_1356549
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/8940-stop-exponential-answers#comment_1356549
Sign in to comment.