Difference between fvtool and freqz
Ältere Kommentare anzeigen
Hi,
I am currently using a few notch filters, however a lot of the time I notice different results depending on if I am using freqz or fvtool to plot (eg. the magnitude of fvtool is 10 times or twice that of freqz), I don't seem to understand what is wrong with my code, or if there is any difference between how the magnitude is calculated. code: %======================
close all;
clear all;
wo = 60/(1000/2); bw = wo/35;
[b,a] = iirnotch(wo,bw);
fvtool(b, a);
freqz(b, a);
%======================
Thank you.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Filter Design finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!