I am trying to write a code for a neural network to do the digital filtering on some signals. Is there any neural network model for digital filtering?

  • 1
    $\begingroup$ Hi and welcome. Maybe you can specify a bit more on what is the task? I know of NN which can deal with signal enhancement, beamforming, and other tasks. Each has a very different approach. Without more information, it will be hard to offer any suggentions. $\endgroup$
    – havakok
    Jan 26, 2021 at 12:55
  • 1
    $\begingroup$ A simple 1D convolutive layer would do exactly that. On the other hand you might try to read up on sincnets or DDSP. $\endgroup$
    – jojeck
    Jan 26, 2021 at 12:58

1 Answer 1


Yes. The FIR filter model you're used to is a series of Neurons with weighted inputs, and a linear activation function.

In other words, a standard FIR filter is a neural network.

I mean, it's called "CNN". The C is exactly the operation a filter does.

  • $\begingroup$ I found solution but for the first iteration I need to determined Passband, Stopband and the number of taps. I have no idea that how can I calculate this three parameter!! $\endgroup$
    – sam
    Mar 2, 2021 at 13:31
  • $\begingroup$ Hi Sam, that's classical filter design, there's really a wealth of information and tooling out there. Try PyFDA to design the coefficients of your filter. $\endgroup$ Jul 16, 2021 at 9:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.