extract the number with only the first decimal number
조회 수: 3 (최근 30일)
이전 댓글 표시
I have to extract the number with only the first decimal number
Examples:
1.23 -> 1.2
2.49 -> 2.4
4.77 -> 4.7
7.51 -> 7.5
댓글 수: 2
Dyuman Joshi
2023년 9월 20일
Extract as in? Do you want to store it in string/char/cell array of character vectors?
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!