using strsplit in containers.Map

5 Ansichten (letzte 30 Tage)
Nurul Ain
Nurul Ain am 5 Jun. 2014
Kommentiert: Cedric am 5 Jun. 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 Kommentar
Cedric
Cedric am 5 Jun. 2014
Why do you get keys including numbers in the first place?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by