LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Implementation of weighting filter/transfer function

Hi there,

 

I have a weighting filter given as transfer function that is rather easily implemented in Matlab:


[b_w, a_w] = bilinear(num1, den1, FS);       // bilinear transformation of transfer function
u_w = filter(b_w, a_w, u_bw);                 // filter applied to sample measurement

 

The numerator/denominator coefficients of the transfer function, num1[5], den1[5] are known, u_bw is the sample to be filtered, FS is the sampling frequency.

 

Bilinear() converts the s-domain transfer function to a discrete equivalent [bilinear], filter() filters the sample data by using the generated rational transfer function [filter].

 

Now, I would like to implement this filter in labwindows. I'm not sure which function might correspond to the upper weighting filter. Apparently, there are no equivalents for bilinear() or filter() in Labwindows, for example the butterworth filter Bw_LPF combines both steps.

 

Thank you very much!

0 Kudos
Message 1 of 1
(1,244 Views)