When I already have column data, how shall I collect these data into a mlist?
For example, I have 2 column data,
data1=[11:20]'; data2=[21:30]';
I create a mlist,
MyMlist = mlist(['M', 'field1', 'field2', 'field3']);
I'd like to assign data1, data2 to field1, field2, and access them as
MyM
Hello,
Le 11/07/2015 13:41, jaipur a écrit :
When I already have column data, how shall I collect these data into a mlist?
For example, I have 2 column data,
data1=[11:20]'; data2=[21:30]';
I create a mlist,
MyMlist = mlist(['M', 'field1', 'field2', 'field3']);
I'd like to assign data1,
Thanks for your suggestion.
Each element of data1 and data2 has, for example, individual's property like
his height and weight. So, I want to treat as one element of mlist like
MyMlist(3), MyMlist(3).field1, MyMlist(3).field2 when notice as individual.
On the other hand, when I want to calculate