How change the display format

2 ビュー (過去 30 日間)
Babak
Babak 2014 年 6 月 4 日
コメント済み: Star Strider 2014 年 6 月 4 日
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

採用された回答

Star Strider
Star Strider 2014 年 6 月 4 日
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 件のコメント
Babak
Babak 2014 年 6 月 4 日
Thanks. It works
Star Strider
Star Strider 2014 年 6 月 4 日
My pleasure!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by