Files
assignment01/Assignment1_211/assignment1_3.m
2026-04-26 22:23:54 +02:00

22 lines
308 B
Matlab

figure;
t = 0:0.001:1
y = sin(2*pi*1*t)
plot(t,y,'b')
hold on
y = sin(2*pi*1*(t-0.1))
plot(t,y,'r')
y = sin(2*pi*1*t-2*pi*0.1)
plot(t,y,'g:')
figure;
t = 0:0.001:1
y = sin(2*pi*3*t)
plot(t,y,'b')
hold on
y = sin(2*pi*3*(t-0.1))
plot(t,y,'r')
y = sin(2*pi*3*t-2*pi*0.3)
plot(t,y,'g:')