Removing square brackets from cell array

14 次查看(过去 30 天)
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

采纳的回答

Purushottama Rao
Purushottama Rao 2015-5-7
编辑:madhan ravi 2018-11-11
a=strrep(a,char(91),'')
use this

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Types 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by