Engineering School, 2nd year
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
334 B

close all;
tStart = 30000
tEnd = 100000
A = [1 -0.9808]
B = [0.0095 0.0095]
t = [tStart : tEnd];
figure(2);
x = bbenassi_l(tStart : tEnd);
%x = sin(50 * 2 * pi * (t / 44100)) + sin(500 * 2 * pi * (t / 44100));
y = filter(B, A, x);
%clearplot;
hold off;
subplot(2, 1, 1);
plot(t, x, "r");
subplot(2, 1, 2);
plot(t, y, "b");