Removing square brackets from cell array

16 visualizaciones (últimos 30 días)
Gopalakrishnan venkatesan
Gopalakrishnan venkatesan el 7 de Mayo de 2015
Editada: madhan ravi el 11 de Nov. de 2018
I have cell array a = {'[0' ; '[1' ; '[10'}
I need to need remove the square bracket from cell array
my new cell array should be a = {0 ; 1 ; 10}
how can i do this?
Thank you

Respuesta aceptada

Purushottama Rao
Purushottama Rao el 7 de Mayo de 2015
Editada: madhan ravi el 11 de Nov. de 2018
a=strrep(a,char(91),'')
use this

Más respuestas (0)

Categorías

Más información sobre Data Types en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by