very small value and zero

30 次查看(过去 30 天)
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.

回答(1 个)

Walter Roberson
Walter Roberson 2021-10-7
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

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by