using strsplit in containers.Map

1 visualización (últimos 30 días)
Nurul Ain
Nurul Ain el 5 de Jun. de 2014
Comentada: Cedric el 5 de Jun. de 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 comentario
Cedric
Cedric el 5 de Jun. de 2014
Why do you get keys including numbers in the first place?

Iniciar sesión para comentar.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by