Search This Blog

Flower type figure in MATLAB (with concept of unit circle plotting in MATLAB)

MATLAB Program:

t=0:0.001:2*pi;
x=cos(t);
y=sin(t);
t=x.*y;
plot(x,y,'g','linewidth',8);
hold on;
plot(x,t,'r','linewidth',8);
hold on;
plot(t,x,'b','linewidth',8);
hold on;
axis square
hold on;
t=x.*0.5.*y;
plot(t,x,'c','linewidth',8);
hold on;
plot(x,t,'m','linewidth',8);
hold on;

plot(t,x,'c','linewidth',8);



No comments

'; (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })();