How do ı convert rad/sample to Hz?
Show older comments
Hello to everyone. I passed the signal through the Parks-McClellan optimal FIR filter. With the fvtool command, I get the magnitude response in rad / sample. but what I want is a filter response graph in Hertz. Is there a command that can directly plot the graph in Hertz? Or how do I convert rad / sample to Herzt.
[n, fo, ao, w] = firpmord ([0.04 1], [1 0], [0.001 0.01], Fs);
b = firpm (n, fo, ao, w);
fvtool(b,1);

Accepted Answer
More Answers (0)
Categories
Find more on Digital Filter Design in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!