round off value up to 5 decimal point

13 ビュー (過去 30 日間)
P Anand Raju
P Anand Raju 2012 年 12 月 30 日
hi after simplifying a equation i have got a value as shown below
4*sin(x1) - 7*sin(x2))/2 - 8236469997687075/18014398509481984
in that how to get an equation in decimal instead of fraction

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2012 年 12 月 30 日
Out=fix(x*10^5)/10^5
  3 件のコメント
Jan
Jan 2012 年 12 月 30 日
@Azzi: 10^5 is more expensive than 1e5.
@P Anand Raju: Accepting an answer means, that the problem is solved. Is it?
P Anand Raju
P Anand Raju 2012 年 12 月 30 日
@jan yes for a particular problem it's solved

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by