Clear Filters
Clear Filters

Removing square brackets from cell array

16 views (last 30 days)
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

Accepted Answer

Purushottama Rao
Purushottama Rao on 7 May 2015
Edited: madhan ravi on 11 Nov 2018
a=strrep(a,char(91),'')
use this

More Answers (0)

Categories

Find more on Data Types in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!