6th Semester Files
This commit is contained in:
11
6th-Semester-Spring-2024/DSP/Labs/Lab-01/lab1q1.m
Normal file
11
6th-Semester-Spring-2024/DSP/Labs/Lab-01/lab1q1.m
Normal file
@@ -0,0 +1,11 @@
|
||||
fs = 100;
|
||||
t = [0:1/fs:1/fs * 10];
|
||||
f1 = 80;
|
||||
f2 = 20;
|
||||
x1 = cos(2*pi*f1*t);
|
||||
x2 = cos(2*pi*f2*t);
|
||||
|
||||
subplot(2,1,1);
|
||||
plot(t,x1);
|
||||
subplot(2,1,2);
|
||||
plot(t,x2);
|
||||
Reference in New Issue
Block a user