From: bhavin on 12 May 2010 04:49 hi I am got results data for example as follows model = [1;4;3;8]; angle = [0.1;0.3;0.8;0.15] scale = [1;1.1;1.1;2]; now i want to present it so that it shows the results in one say matrix with the first row havin the name of the parameter. as shown below model angle scale 1 0.1 1 4 0.3 1.1 3 0.8 1.1 8 0.15 1.2 I used struct, but it does not present the result like above. Ur help will be appreciated..thanks
From: bhavin on 12 May 2010 05:30 "bhavin " <bhavin.patel(a)uct.ac.za> wrote in message <hsdq20$i5l$1(a)fred.mathworks.com>... > hi > I am got results data for example as follows > > model = [1;4;3;8]; > angle = [0.1;0.3;0.8;0.15] > scale = [1;1.1;1.1;2]; > > now i want to present it so that it shows the results in one say matrix with the first row havin the name of the parameter. as shown below > > model angle scale > 1 0.1 1 > 4 0.3 1.1 > 3 0.8 1.1 > 8 0.15 1.2 > > I used struct, but it does not present the result like above. > Ur help will be appreciated..thanks
From: Oleg Komarov on 12 May 2010 06:27 "bhavin " <bhavin.patel(a)uct.ac.za> wrote in message <hsdset$il3$1(a)fred.mathworks.com>... > "bhavin " <bhavin.patel(a)uct.ac.za> wrote in message <hsdq20$i5l$1(a)fred.mathworks.com>... > > hi > > I am got results data for example as follows > > > > model = [1;4;3;8]; > > angle = [0.1;0.3;0.8;0.15] > > scale = [1;1.1;1.1;2]; > > > > now i want to present it so that it shows the results in one say matrix with the first row havin the name of the parameter. as shown below > > > > model angle scale > > 1 0.1 1 > > 4 0.3 1.1 > > 3 0.8 1.1 > > 8 0.15 1.2 > > > > I used struct, but it does not present the result like above. > > Ur help will be appreciated..thanks If you have the Stats B you may give a look at the dataset object. There is also the DataTable submission on the FEX which achieves a similar result. Or you can use a cell array. Oleg
From: us on 12 May 2010 06:35 "bhavin " <bhavin.patel(a)uct.ac.za> wrote in message <hsdq20$i5l$1(a)fred.mathworks.com>... > hi > I am got results data for example as follows > > model = [1;4;3;8]; > angle = [0.1;0.3;0.8;0.15] > scale = [1;1.1;1.1;2]; > > now i want to present it so that it shows the results in one say matrix with the first row havin the name of the parameter. as shown below > > model angle scale > 1 0.1 1 > 4 0.3 1.1 > 3 0.8 1.1 > 8 0.15 1.2 > > I used struct, but it does not present the result like above. > Ur help will be appreciated..thanks a hint: - this FEX submission does what you want... http://www.mathworks.com/matlabcentral/fileexchange/23840 us
From: bhavin on 21 May 2010 07:22 "bhavin " <bhavin.patel(a)uct.ac.za> wrote in message <hsdq20$i5l$1(a)fred.mathworks.com>... > hi > I am got results data for example as follows > > model = [1;4;3;8]; > angle = [0.1;0.3;0.8;0.15] > scale = [1;1.1;1.1;2]; > > now i want to present it so that it shows the results in one say matrix with the first row havin the name of the parameter. as shown below > > model angle scale > 1 0.1 1 > 4 0.3 1.1 > 3 0.8 1.1 > 8 0.15 1.2 > > I used struct, but it does not present the result like above. > Ur help will be appreciated..thanks Thanks guys...was helpful...
|
Pages: 1 Prev: Convolution and Deconvolution Next: Job offer: Software Control Engineer (Herts, England) |