updated changes so far
This commit is contained in:
21
Assignment1_211/assignment1_3.m
Normal file
21
Assignment1_211/assignment1_3.m
Normal file
@@ -0,0 +1,21 @@
|
||||
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:')
|
||||
Reference in New Issue
Block a user