How to initialize in 7 decimal places

1 view (last 30 days)
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.

Accepted Answer

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

More Answers (1)

Image Analyst
Image Analyst on 4 Jun 2016

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!