Extract numbers from cell array
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Sirish Selvam
am 8 Feb. 2019
Kommentiert: Sirish Selvam
am 8 Feb. 2019
How do i extract only 64 in this cell structure '-64V_16Cm' ???
0 Kommentare
Akzeptierte Antwort
Manjunath Bhimalli
am 8 Feb. 2019
Use the regular expressions , i am not sure what the return type you are expecting , tried something like this it worked
given = '-64V_16Cm'
required = regexp(a, '64', 'match')
required = '64'
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical 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!