Trying to understand the format SHORT setup
显示 更早的评论
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.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!