Removing square brackets from cell array

23 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Purushottama Rao
Purushottama Rao il 7 Mag 2015
Modificato: madhan ravi il 11 Nov 2018
a=strrep(a,char(91),'')
use this

Più risposte (0)

Categorie

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