using strsplit in containers.Map

2 vues (au cours des 30 derniers jours)
Nurul Ain
Nurul Ain le 5 Juin 2014
Commenté : Cedric le 5 Juin 2014
Hi, I want to separate my matrix according to certain value in the key assigned in containers.Map
e.g: I have key with:
  1. One/1
  2. Two/2
  3. One/11
  4. One/111
i want to make it into 2 matrix which are One [1 11 111] and Two[2] i was told that I can use strplit function, however I doesnt now how to using it in containers.Map.
Please guide. Thank you
  1 commentaire
Cedric
Cedric le 5 Juin 2014
Why do you get keys including numbers in the first place?

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by