Filter löschen
Filter löschen

how to turn decimal numbers to integers

5 Ansichten (letzte 30 Tage)
xueqi
xueqi am 15 Aug. 2012
Dear fellows,
Do you have any idea how to turn a set of results which are decimal numbers to integers?

Akzeptierte Antwort

Ilham Hardy
Ilham Hardy am 15 Aug. 2012
Use
round()
or
fix()
HTH,IH

Weitere Antworten (1)

Isktaine
Isktaine am 15 Aug. 2012
Assuming your results are stored in A then:
fix(A)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by