very small value and zero

30 vues (au cours des 30 derniers jours)
Ioannis Vourvachakis
Ioannis Vourvachakis le 7 Oct 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.

Réponses (1)

Walter Roberson
Walter Roberson le 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
  1 commentaire
Ioannis Vourvachakis
Ioannis Vourvachakis le 7 Oct 2021
thank you

Connectez-vous pour commenter.

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by