Скачиваний:
23
Добавлен:
28.12.2014
Размер:
282 б
Скачать
clear
fs1=0.1; fs2=1; fs3=10;
T=100;
t1=0:1/fs1:T;
t2=0:1/fs2:T;
t3=0:1/fs3:T;
f=0.7;
y1=sin(f*t1);
y2=sin(f*t2);
y3=sin(f*t3);
plot(t1,y1,'-ro');
hold on
plot(t2,y2,'-g>');
plot(t3,y3,'-b');
hold off
grid on;
xlabel('Time');
ylabel('Amplitude');
title('SIGNAL');
Соседние файлы в папке Лабораторные