very small value and zero

33 visualizaciones (últimos 30 días)
Ioannis Vourvachakis
Ioannis Vourvachakis el 7 de Oct. de 2021
Comentada: Ioannis Vourvachakis el 7 de Oct. de 2021
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.

Respuestas (1)

Walter Roberson
Walter Roberson el 7 de Oct. de 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

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by