Azzera filtri
Azzera filtri

Extract numbers from cell array

3 visualizzazioni (ultimi 30 giorni)
How do i extract only 64 in this cell structure '-64V_16Cm' ???

Risposta accettata

Manjunath Bhimalli
Manjunath Bhimalli il 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'

Più risposte (0)


Scopri di più su Data Types in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by