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!