How to initialize in 7 decimal places

1 visualización (últimos 30 días)
programmingnewbie
programmingnewbie el 4 de Jun. de 2016
Comentada: programmingnewbie el 5 de Jun. de 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.

Respuesta aceptada

the cyclist
the cyclist el 4 de Jun. de 2016
Don't confuse what is stored with what is displayed. Try
format long

Más respuestas (1)

Image Analyst
Image Analyst el 4 de Jun. de 2016

Categorías

Más información sobre Introduction to Installation and Licensing 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