I need some help with creating a data structure in Matlab. Until now I needed the following:
string1 value1
string2 value2
string3 value3
and so on. I used a structure for this:
mystruct = struct('mystrings', {}, 'myvalues', {});
Now additional to string and values I now need to assign several arrays (column vectors, containing only numbers) to my string-value pairs. It can be different, how many arrays are assigned to a string-value pair, e.g.
string1 value1 [1;2] [1;3]
string2 value2 [9;10]
string3 value3 [3;4] [2;9] [0;3]
I don't know how to create such a data structure. It's probably not a problem for me to get rid of a structure at all if it's the wrong data structure now. I need help on creating the new data structure, though. Thanks for any help :-)