mathnet-filtering

How to apply a Zero-Phase filter using MathDotNet library?

﹥>﹥吖頭↗ 提交于 2020-01-01 19:43:09
问题 Is there a specific function or class in the Math.NET library to obtain a Zero-Phase (non causal) IIR filter? If not, how can this be achieved using current functions? I believe this can be obtained by filtering the signal and then filtering the reverse, but I'm not sure the result is correct. 回答1: The following sample shows how to obtain a Zero-Phase filter by using the reverse-filtering technique and it also compares the result with that of a conventional lowpass filter. The signal being

How to apply a Zero-Phase filter using MathDotNet library?

为君一笑 提交于 2019-12-04 20:16:39
Is there a specific function or class in the Math.NET library to obtain a Zero-Phase (non causal) IIR filter? If not, how can this be achieved using current functions? I believe this can be obtained by filtering the signal and then filtering the reverse, but I'm not sure the result is correct. The following sample shows how to obtain a Zero-Phase filter by using the reverse-filtering technique and it also compares the result with that of a conventional lowpass filter. The signal being filtered is a 5Hz sine wave + white gaussian noise. //signal + noise double fs = 1000; //sampling rate double