How I can remove the decimal part in matlab?
Ältere Kommentare anzeigen
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?
Akzeptierte Antwort
Weitere Antworten (1)
Eduardo Márquez
am 12 Feb. 2015
Bearbeitet: Eduardo Márquez
am 12 Feb. 2015
A=1.2;
fix(A)=1
Maybe can help ceil or floor function
1 Kommentar
Ameligege
am 13 Feb. 2015
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!