# Nonlinear tricks for blocking wide band noise

Conventional methods of filtering allow one to block parts of a frequency band while passing others.

But thinking outside of conventional means, and perhaps not based on any frequency methods at all, are there filtering methods for blocking wide band noise, however passing rapid moving signal?

For example. Say I have a square wave with 'hair' on it (white-like noise). I just want to get the square wave with corners as sharply as possible - and minimum hair on the output. Outside of conventional FIR, IIR, Kalman filtering are there any nonlinear tricks?

• Maybe something with curve fitting? I wonder if there's some algorithms for compression / line simplification in vector graphics software that would do something like what you want? – Alan Wolfe Apr 16 '15 at 4:30
• The answer definitely is yes. Look into techniques like PRML (Partial Response Maximum Likelyhood) which are used to decode the signal coming from the read head of a harddisk. In short, if you expect one of N signals, you compare the input to all of them and find the best match. – MSalters Apr 16 '15 at 7:41
• For the specific example of a square wave with a small amount of wideband noise, a hard limiiter -- something like sgn$(x(t))$ or sgn$(x(t)-1/2)$ (for a square wave with levels $1$ and $0$ instead of $\pm 1$) will recover the square wave almost perfectly. Some estimation of the level $A$ may be needed if the square wave takes on values $\pm A$ or $0$ and $A$. – Dilip Sarwate Apr 16 '15 at 13:06