Removing square brackets from cell array

13 vues (au cours des 30 derniers jours)
Gopalakrishnan venkatesan
Modifié(e) : madhan ravi le 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

Réponse acceptée

Purushottama Rao
Purushottama Rao le 7 Mai 2015
Modifié(e) : madhan ravi le 11 Nov 2018
a=strrep(a,char(91),'')
use this

Plus de réponses (0)

Catégories

En savoir plus sur Data Types dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by