From: ravi on 18 Feb 2010 12:25 Hi the following is my code. for k = 1:length(p) nm = [pk).point1; p(k).point2]; if ( h(k)< 40) if (Length_of_p(k)> 66) nm = [p(k).point1; p(k).point2] end end end The output is nm = 5 6 6 7 nm = 44 3 11 27 But I want: nm = 5 6 44 3 11 27 6 7 I tried many tings and I cannot seem to output 'nm' in this way. Can you guys suggest something. Thanks
|
Pages: 1 Prev: MATLAB cannot cope with this Jacobian matrix? Next: replace values in a cell with nan |