How I can remove the decimal part in matlab?
Afficher commentaires plus anciens
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?
Réponse acceptée
Plus de réponses (1)
Eduardo Márquez
le 12 Fév 2015
Modifié(e) : Eduardo Márquez
le 12 Fév 2015
A=1.2;
fix(A)=1
Maybe can help ceil or floor function
1 commentaire
Ameligege
le 13 Fév 2015
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!