Impact-Site-Verification: dbe48ff9-4514-40fe-8cc0-70131430799e

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

Popular Posts

Followers