Extract numbers from cell array

 Respuesta aceptada

Manjunath Bhimalli
Manjunath Bhimalli el 8 de Feb. de 2019

0 votos

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'

Más respuestas (0)

Categorías

Community Treasure Hunt

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

Start Hunting!

Translated by