what does format short in a matlab code do??
23 次查看(过去 30 天)
显示 更早的评论
Format short
0 个评论
采纳的回答
DGM
2021-11-29
编辑:DGM
2021-11-29
It just changes the display format used when numbers are printed to console.
format long
pi
format short
pi
There are other options. See help format for more info. I should point out though that it's strictly a display formatting tool. The numbers themselves aren't changed.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!