How to make matlab display decimal numbers?

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

 Accepted Answer

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!