Effacer les filtres
Effacer les filtres

how to turn decimal numbers to integers

5 vues (au cours des 30 derniers jours)
xueqi
xueqi le 15 Août 2012
Dear fellows,
Do you have any idea how to turn a set of results which are decimal numbers to integers?

Réponse acceptée

Ilham Hardy
Ilham Hardy le 15 Août 2012
Use
round()
or
fix()
HTH,IH

Plus de réponses (1)

Isktaine
Isktaine le 15 Août 2012
Assuming your results are stored in A then:
fix(A)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by