[Scilab-users] How to assign column data to mlist?

2015-07-11 Thread jaipur
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

Re: [Scilab-users] How to assign column data to mlist?

2015-07-11 Thread Samuel Gougeon
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,

Re: [Scilab-users] How to assign column data to mlist?

2015-07-11 Thread jaipur
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