How I can remove the decimal part in matlab?
古いコメントを表示
in the division operation i want only the real part without the decimal part? like 4.56 I want only 4 how can i do that?
採用された回答
その他の回答 (1 件)
Eduardo Márquez
2015 年 2 月 12 日
編集済み: Eduardo Márquez
2015 年 2 月 12 日
A=1.2;
fix(A)=1
Maybe can help ceil or floor function
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!