No Parking Symbol in MATLAB(mfile)


MATLAB Program:

t=0:0.01:2*pi;
x=2*cos(t);
y=2*sin(t);
plot(x,y,'r','linewidth',15);
hold on;
t=0:0.01:2*pi;
x=2*cos(t);
y=2*sin(t);
fill(x,y,'b');
axis square
hold on;
t=-1.4:0.1:1.4;
y=abs(t);
plot(t,y,'r','linewidth',12)
hold on;
t=-1.4:0.1:1.4;
y=-abs(t);
plot(t,y,'r','linewidth',12)



No comments