Performs band block filtering of signal. The filtering is performed by using FFT functions.
int fft_bandblock_filtering( int nSize, double * pSignal, double dFreqStep, double dFLow, double dFHigh, bool bAddOffset = true )
Return 0 for success.
EX1
#include <..\OriginLab\fft.h> void fft_bandblock_filtering_ex1() { vector vsig = {0, 0, 0, 1, 1, 0, 0, 0}; double dFreq = 0.1; fft_bandblock_filtering(8, vsig, dFreq, 0.1, 0.3); }
fft_bandpass_filtering
fft.h