extract the number with only the first decimal number
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Alberto Acri
am 20 Sep. 2023
Kommentiert: Alberto Acri
am 20 Sep. 2023
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 Kommentare
Dyuman Joshi
am 20 Sep. 2023
Extract as in? Do you want to store it in string/char/cell array of character vectors?
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Multirate Signal Processing 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!