Trying to understand the format SHORT setup
Show older comments
I am learning MATLAB from the fundamentals and I have encountered this section about the format SHORT setup which is the default. From the documentation it says that this setting is used by default and that it is meant to return 5-digit scaled, fixed-point values.
For example, when I try these:
>> 12.5
ans =
12.5000
>> pi
ans =
3.1416
>> 88854.2301
ans =
8.8854e+04
I notice that there are always 4 digits after the decimal point. So what is the meaning of the "5-digital scaled"? I quite fail to understand it.
Accepted Answer
More Answers (0)
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!