可以使用:
format short g 或者是
format long g
digits.
digits for double and 7 digits for single.
format SHORTG
Best of fixed or floating point format with 5
format LONGG
Best of fixed or floating point format with 15
本文介绍了MATLAB中用于设置数值显示格式的几种方法,包括formatshortg和formatlongg等命令,这些命令可以帮助用户根据需求调整double和single类型数据的显示精度。
6083

被折叠的 条评论
为什么被折叠?



