Linked Questions

-1
votes
1answer
176 views

Use of FFT to compute frequency response [duplicate]

Is there an algo that uses fft to compute the frequency response of an FIR? Currently I follow the textbook method of evaluating the $z$ transform at $e^{-j\omega}$ for $\omega$ running from $0$ to $\...
0
votes
2answers
22k views

How to plot magnitude and phase response by hand if I have the Transfer Function?

I have the transfer function of the system, which is: $$H(z) = \frac{1-z^{-1}}{5(1+2z^{-1})}$$ How do I sketch the magnitude and phase response? I'm sorry for the bad formatting, it's my first time ...
0
votes
2answers
5k views

Plotting the magnitude response of a filter?

I have designed a second order butterworth filter. Sampling frequency: $4\textrm{ kHz}$, Cut-off frequency: $500\textrm{ Hz}$ $$e = \tan⁡\left(\frac{\pi \times f_c}{f_s}\right) = \tan\left(\frac{...
7
votes
1answer
5k views

Plotting the magnitude response of a biquad filter

I've put together a multi-band audio EQ using biquad filters. I'm getting the coefficients using the methods from the RBJ cookbook. Now I want to plot the curve showing the magnitude response. I'm ...
3
votes
1answer
3k views

Difference between $\tt freqz()$ and $\tt plot(abs(fft()))$ in MATLAB

I've plotted the response of a high-pass filter x=[1 -1]; freqz(x) gave me where as the magnitude plot for the ...
5
votes
1answer
684 views

Fast Integer 8 Hz 2nd Order LP for Microcontroller

I need an 8 Hz 2nd order LP filter. It does not have to be terribly accurate but it should be 2nd order-ish. Performance is much more important. My sample rate at the moment is ~9.5 kHz. The filter ...
1
vote
1answer
3k views

Amplitude transfer function

Given a LTI-system $$y[n]=x[n]-2x[n-1]+y[n-1]- \frac{8}{9}y[n-2]$$ The transfer function $H(z)$ is: $$H(z) = \frac{1-2z^{-1}}{1-z^{-1}+ \frac{8}{9} z^{-2}} $$ How do I calculate the amplitude ...
0
votes
1answer
2k views

Frequency response of a filter - fft vs. freqz

I have designed my filter using firhalfband(N,Fo,A), which gives me the filter coefficients. Then I try to see the frequency response of it. I use these two ...
2
votes
2answers
567 views

Is there a method to calculate the maximum gain of a biquad?

Given an IIR expressed as a biquad: $$ H(z) = {b_0 + b_1 z^{-1} + b_2 z^{-2} \over 1 + a_1 z^{-1} + a_2 z^{-2}} $$ Is there a way to calculate the maximum gain the biquad attains over the range $0$ ...
2
votes
2answers
235 views

Why does a higher sampling frequency mess up my bandpass filter?

I was designing a bandpass filter in python using some of the scipy.signal modules. I am plotting the frequency response of my filter to verify that my desired frequency is in the passband. However, ...
1
vote
1answer
791 views

IIR low pass filter: floating point and fixed point

I have implemented an IIR low pass filter in direct form 2, the input to the filter is a unit impulse $\delta[n]$. I have calculated the output of the filter for the mentioned input using the ...
2
votes
1answer
438 views

Plot Magnitude from RBJ Biquad

Currently I'm working out plotting biquads in a VST/AU plugin and have problems with the graphics part. I posted in several forums but haven't got a really useful answer for this case. First, tell ...
0
votes
1answer
67 views

Extremely low frequency filters

I have a data acquisition board(A/D+Digital Signal Processor) and I want to check if a digital high-pass filter(implemented in DSP) at an extremely low cut-off frequency(0.05Hz) is actually working. ...
0
votes
1answer
32 views

How to draw the magnitude plot of a variable slope low/high pass shelving filter? (eg. as a function of cascaded shelving filters)

I am interested in making a magnitude graph of a variable slope low/high pass filter. I would like to set slope in dB/oct and a cutoff pitch. The y-axis should be amplitude from 0 to 1, and the x-axis ...