This commit is contained in:
Silas Oettinghaus
2023-05-25 08:57:20 +02:00
parent 81ccb80240
commit 3fd78db417
2 changed files with 11 additions and 1 deletions

View File

@@ -158,9 +158,18 @@ classdef Filter
% Build Filter from coefficients
if filterType ~= 10
[H,w] = freqz(B, A, obj.signal_length,'whole');
end
end
function show(obj)
obj.signal_length = 1024;
[H,w] = obj.buildFilter(obj.filterType);
plot(w,20*log10(abs(H)))
%freqz(H);
end
end
end