Removing square brackets from cell array

12 Ansichten (letzte 30 Tage)
Gopalakrishnan venkatesan
Bearbeitet: madhan ravi am 11 Nov. 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

Akzeptierte Antwort

Purushottama Rao
Purushottama Rao am 7 Mai 2015
Bearbeitet: madhan ravi am 11 Nov. 2018
a=strrep(a,char(91),'')
use this

Weitere Antworten (0)

Kategorien

Mehr zu Data Types finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by