How to initialize in 7 decimal places

1 vue (au cours des 30 derniers jours)
programmingnewbie
programmingnewbie le 4 Juin 2016
Hi all,
I want to initialise x = 1.5638287 (7 decimal places)
However, x is only initialised up to 4 decimal places (1.5638)
Is it possible to specify any symbols so that I can use the 7 decimal place value for x?
Thanks.
  1 commentaire
programmingnewbie
programmingnewbie le 5 Juin 2016
Thanks for your replies :)

Connectez-vous pour commenter.

Réponse acceptée

the cyclist
the cyclist le 4 Juin 2016
Don't confuse what is stored with what is displayed. Try
format long

Plus de réponses (1)

Image Analyst
Image Analyst le 4 Juin 2016

Catégories

En savoir plus sur Introduction to Installation and Licensing 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