How to make matlab display decimal numbers?

3 views (last 30 days)
It looks something like this:
cos(197/5) - (52*sin(197/5))/15 + 1437648634144923/500000000

Accepted Answer

Walter Roberson
Walter Roberson on 10 Oct 2017
If the result is purely numeric, you can double() it.
If the result still has symbolic variables in it, then vpa() it.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!