LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calculate frequency response from filter coefficients

I'm using an adaptative filter algorithm for getting filter coefficients and I would like to see the frequency response of the output filter. Is there any easy way to get Bode diagram or similar of a discrete transfer function in general (from coeffiecients and sample frequency.
(I'm using LabVIEW 6.1)
0 Kudos
Message 1 of 3
(3,715 Views)
You might try ...\vi.lib\measure\macond.llb\ma_Compute H(w) from IIR Cluster.vi and ma_Compute H(w) from h(n).vi. These VIs output a uniformly sampled magnitude and phase response of the given filter. To obtain correct frequency axis scaling simply multiply the output df from these VIs by your sampling rate to get the actual df.
0 Kudos
Message 2 of 3
(3,715 Views)
Here is a link to an example program which creates a Bode Plot. I am not sure if this will be exactly what you need, but it will put you on the right track:
Creating a Bode Plot from a Set of Stimulus and Response Signals

0 Kudos
Message 3 of 3
(3,715 Views)