extract the number with only the first decimal number
12 次查看(过去 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 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!