Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
could anyone help me how to split different set of numbers sepaartely
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
i am having three different sets of numbers displayed in the same line as the output say for example {1} {2 3} {4}.Could anyone please help me how to split it in three different lines inorder to get the output as 1 2 3 4
1 commentaire
Réponses (2)
Shannon Cherry
le 6 Sep 2018
regexprep(C, '\{(.*)\}', '$1')
2 commentaires
Shannon Cherry
le 6 Sep 2018
input = '{1 2 3}'
output = regexprep(input, '\{(.*)\}', '$1')
This is working for me.
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!