How change the display format
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Babak
am 4 Jun. 2014
Kommentiert: Star Strider
am 4 Jun. 2014
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
0 Kommentare
Akzeptierte Antwort
Star Strider
am 4 Jun. 2014
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Numeric Types finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!