Extract numbers from cell array
    5 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Sirish Selvam
 el 8 de Feb. de 2019
  
    
    
    
    
    Comentada: Sirish Selvam
 el 8 de Feb. de 2019
            How do i extract only 64 in this cell structure '-64V_16Cm' ???
0 comentarios
Respuesta aceptada
  Manjunath Bhimalli
      
 el 8 de Feb. de 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'
Más respuestas (0)
Ver también
Categorías
				Más información sobre Logical en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

