Digital Signal Processing/Least Squares Design
From Wikibooks, the open-content textbooks collection
The mathematical technique known as least squares can be used to design digital filters. This method works by creating the polynomial (transfer function) that is the "best fit" to a set of desired data (magnitude response).