round off value up to 5 decimal point
13 ビュー (過去 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
0 件のコメント
採用された回答
Azzi Abdelmalek
2012 年 12 月 30 日
Out=fix(x*10^5)/10^5
3 件のコメント
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?
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!