07-07-2016 10:17 AM
I have a need to (ptBypt) band-pass filter a signal, but the band pass frequencies vary slowly with time, e.g., the band pass frequencies change linearly from 5-10 Hz to 10-20 Hz in 30 seconds. Can this be done?
Thanks.
Ian
07-07-2016 10:54 AM
You could use the Ramp Pattern.vi for generating your friequencies for your filter and then use one of the PtByPt Filter VIs to do your bandpass filter inside of a FOR loop. Should not be hard.
07-07-2016 11:06 AM
Well, unless I initialize the filter, I cannot really alter the band pass frequencies. But if I initialize the filter, it resets everything.
07-07-2016 12:00 PM
using "FIR Filter with I.C." seems to work, but I cannot find the byBypt version for FIR filter.
07-07-2016 02:26 PM
If you look inside the FIR Filter PtByPt.vi you can see how it uses the IIR Filter with I.C. PtByPt.vi with an empty array of reverse coefficients.