Info
This question is closed. Reopen it to edit or answer.
Why I can't get a line plot from this code? Moreover how can I get different color for different "q" values here?
1 view (last 30 days)
Show older comments
clear all;
p=100;
for q=0:0.2:1
for r=0:pi/6:4*pi
s=(((1-q^2)^2)/(1+q^4-2*(q^2)*(cos(r))))*p;
plot(r,s,'b-o','-','LineWidth',2)
hold all;
end
end
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!