Show more digit number in command window

11 views (last 30 days)
armin m
armin m on 4 Dec 2021
Commented: armin m on 5 Dec 2021
Hi. I wanna see 6 digits numbers in command window for output tesult.
Digits(6)
Why above code does not work? Tnx

Accepted Answer

Benjamin
Benjamin on 5 Dec 2021
https://www.mathworks.com/help/symbolic/digits.html

More Answers (1)

Steven Lord
Steven Lord on 5 Dec 2021
Are you trying to display a numeric result (in which case you should use the format function to change the format used to display numeric results) or a symbolic result (in which case you could use vpa)?
  3 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!