How to make matlab display decimal numbers?

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

Risposta accettata

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

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by