How change the display format

Hi guys, I have defined a symbolic equation in matlab. When I run the program the result will be shown like this:
2239906695008851*cos(phi))/35184372088832
but my numbers simply were:
143*cos(phi)/2.24
How can I change the display format to the simple number? Thanks

 Risposta accettata

Star Strider
Star Strider il 4 Giu 2014

1 voto

See the documentation for vpa. There are links to similar functions (such as double that might also work ) at the end of that page.

2 Commenti

Babak
Babak il 4 Giu 2014
Thanks. It works
My pleasure!

Accedi per commentare.

Più risposte (0)

Categorie

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by