Professional Documents
Culture Documents
ID: I17013478
Exercise 4
hold on 3.5
end 3
1.5
0.5
0
-2 -1.5 -1 -0.5 0 0.5 1 1.5 2
x=r.*cos(t); 0.4
y=r.*sin(t); 0.2
plot(x,y) 0
-0.4
-0.6
-0.8
-1
-1 -0.5 0 0.5 1
1,'k')
>> -2
olympic(6,0, -3
1,'r')
>> -1 0 1 2 3 4 5 6 7
olympic(1.5,
-1,1,'y')
>>
olympic(4.5,
-1,1,'g')