I am attempting to plot a cell array of data, where I solve for a radius 'ry' based on a given theta 't'. I am using a for loop to store the data in this cell array.
for t = 0:pi/100:2*pi
cell(n,1) = t;
cell(n,2) = (1/4*pi)*((K1c/Sys)^2)*(1+cos(t)+(3/2)*(sin(t/2)^2));
n=n+1;
end;
Where K1c = 45 and Sys = 40. My issue is attempting to plot this cell.
Obviously, it is not as simple as using plot(cell), or using plot(cell(n,1),cell(n,2)). Any suggestions would be greatly appreciated.
Thanks guys,
Cody

0:pi/100:2*piand proceed. Just use simple variables to store output.