How do I suppress the scale factor of a matrix?
39 次查看(过去 30 天)
显示 更早的评论
In matlab, if the largest element of a matrix is larger than 10^3 or smaller than 10^-3 , MATLAB applies a common scale factor for the short and long formats. How do I suppress this scale factor so that the matrix is displayed with every element as short/long format?
0 个评论
采纳的回答
Image Analyst
2015-12-24
Try
format long g
2 个评论
Charles Cohen
2019-4-23
format short g
Should do what you're trying to do. Suppress the scale factor and only show approx 5 digits.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!