Skip to content

Commit 1775664

Browse files
committed
Fix code in impulse_response.m and remove unnecessary file
1 parent 6c30105 commit 1775664

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Qfcn.m

-2
This file was deleted.

impulse_response.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
[X,f] = fdomain(x,fs);
1010
[Y,f] = fdomain(y,fs);
11-
H = X./Y; % the calculated frequency response
11+
H = Y./X; % the calculated frequency response (fixed by H Limm on 2019-02-03)
1212
[h,t] = tdomain(H,fs);
13-
13+
plot(t, h); % added by H Limm
1414
end
1515

0 commit comments

Comments
 (0)