very small value and zero
19 views (last 30 days)
Show older comments
Very small values in a array (approximately <10^(-6), appeared as zero.
I want to see their real values as small as they might be.
Thank you.
0 Comments
Answers (1)
Walter Roberson
on 7 Oct 2021
First, set
Preferences -> MATLAB -> Command Window -> Numeric Format -> select "long g"
Preferences -> MATLAB -> Variables -> default array format -> select "long g"
These will change your preferences so that in future values are shown in extended format both at the command window and in the Variable Browser
See Also
Categories
Find more on Logical 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!