Dokument.rtf

(1 KB) Pobierz

x=0:pi/30:3*pi;

y1=2*sin(3*x)./sqrt(x+2);

y2=4*cos(x)./sqrt(x+4);

y3=y1+y2;

figure(1);

subplot(2,1,1);

plot(x,y1,'green');

grid on

title('y1');

subplot(2,1,2);

plot(x,y2,'blue');

grid on

title('y1');

figure(2);

plot(x,y3,'red');

grid on

title('y1');

figure(3);

hold on; plot(x,y1,'green');plot(x,y2,'blue');plot(x,y3,'red');

grid on

title('y1+y2+y3');

 

...
Zgłoś jeśli naruszono regulamin