How do I suppress the scale factor of a matrix?
    22 views (last 30 days)
  
       Show older comments
    
    Shawn Miller
 on 24 Dec 2015
  
    
    
    
    
    Commented: Charles Cohen
 on 23 Apr 2019
            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 Comments
Accepted Answer
  Image Analyst
      
      
 on 24 Dec 2015
        Try
format long g
2 Comments
  Charles Cohen
 on 23 Apr 2019
				format short g
Should do what you're trying to do. Suppress the scale factor and only show approx 5 digits.
More Answers (0)
See Also
Categories
				Find more on Creating and Concatenating Matrices 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!

