How to round the decimal?
이전 댓글 표시
Dear All;
I have a number array x = [0.00135678 0.00076243;0.0000045789 0.01234567];
Then i just want to round x to become as: results:[0.0013 0.00076; 0.0000045 0.012];
What to do?
Thanks in advance.....
채택된 답변
추가 답변 (1개)
Steven Beumer
2018년 6월 27일
편집: Stephen23
2018년 6월 27일
1 개 추천
You might want to check out this function for that:
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!