Documente Academic
Documente Profesional
Documente Cultură
>> t = 0:0.01:80*pi;
>> [x,y,z]=rez(t);
>> lot(t,z,'p-');
>> axis equal;
>> axis([0 200 -25 25]);
>>title('Z=9*sin(1.3*t)+9*sin(2.7*t)');
>> xlabel('T');
>> ylabel('Z');
>> t = 0:0.01:80*pi;
>> [x,y,z]=rez2(t);
>> plot(t,z,'p-');
>> axis equal;
>> axis([0 200 -25 25]);
>>title('Z=X+Y);
>> xlabel('T');
>> ylabel('Z');
>> t=0:pi/45:500;
>> [x,y,z]=rez4(t);
>> plot(t,z,'k-');
>> axis equal;
>> axis([0 300 -50 50]);
>> xlabel('T');
>> ylabel('Z');
Exerciţiul 3:
>> t=0:pi/200:3*pi;
>> n=0;
>> for a = [0 pi/6 pi/4 pi/3 pi/2 2*pi/3
3*pi/4 5*pi/6 pi] n=n+1;
>> [x,y]=rez5 (a,t);
>> subplot(3,3,n);
>> plot(x,y,'r-')
>> axis square;
>> end
>> t=0:pi/200:3*pi;
>> n=0;
>> for a = [0 pi/6 pi/4 pi/3 pi/2 2*pi/3
3*pi/4 5*pi/6 pi]
>> n=n+1;
>> [x,y]=rez6(a,t);
>> subplot(3,3,n);
>> plot(x,y,'b-')
>> axis square;
>> end
Concluzie: