illegal121
Member level 2
hello friends ...
here is my simple code..
it generates "y" like this on command window
and finally after the loop finishes y has a dimension on workspace <1x3x100 double> with class double now the problem is that I CAN'T PLOT MY FINAL ARRAY DUE TO ITS DIMENSION I WANT THIS ARRAY DIMENSION TO BE <3x100> any alternate way to do this ....
PLEASEEEEE HELP....!
here is my simple code..
Code:
for i=1:100
pause(0.05)
y(:,:,i)=i+rand(1,3)
end
it generates "y" like this on command window
Code:
y(:,:,1) =
1.4091 1.4740 1.9090
y(:,:,2) =
2.5962 2.3290 2.4782
.
.
.
.
y(:,:,100) =
100.1526 100.8330 100.1919
and finally after the loop finishes y has a dimension on workspace <1x3x100 double> with class double now the problem is that I CAN'T PLOT MY FINAL ARRAY DUE TO ITS DIMENSION I WANT THIS ARRAY DIMENSION TO BE <3x100> any alternate way to do this ....
PLEASEEEEE HELP....!