필터 지우기
필터 지우기

how to turn decimal numbers to integers

조회 수: 5 (최근 30일)
xueqi
xueqi 2012년 8월 15일
Dear fellows,
Do you have any idea how to turn a set of results which are decimal numbers to integers?

채택된 답변

Ilham Hardy
Ilham Hardy 2012년 8월 15일
Use
round()
or
fix()
HTH,IH

추가 답변 (1개)

Isktaine
Isktaine 2012년 8월 15일
Assuming your results are stored in A then:
fix(A)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by