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!