how to show more than 4 points after decimal in the variable window ?

12 vues (au cours des 30 derniers jours)
Akim Mahmud
Akim Mahmud le 5 Jan 2018
Modifié(e) : Sven Krasel le 13 Avr 2021
Hi,
i Have latitude value of 33.57755520. when I load that into the workspace window and click on it, I only see the number up to 4 points (33.5776) after the decimal ( please see the attached image) How can I display all the numbers after decimal value in the variable window ? Thanks

Réponse acceptée

Birdman
Birdman le 5 Jan 2018
Modifié(e) : Birdman le 5 Jan 2018
Go to Preferences->Variables and select Default array format as long and click Apply.
After this, close your MATLAB and open again.
  1 commentaire
Sven Krasel
Sven Krasel le 13 Avr 2021
Modifié(e) : Sven Krasel le 13 Avr 2021
Hi Birdman,
Your solution for this somehow doesn't work for me. Can you maybe help me? I have set the format in code manually to longg and I've also changed the Default array format in the preferences both to long and long g and restarted matlab a couple of times now but none of it helped.
Thank you,
Best,
Sven

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by