# Digital Signal Processing/Wiener Filters

A **Wiener Filter** is a filtering system that is an optimal solution to the statistical filtering problem.

## Statistical Filtering[edit | edit source]

### Statement of Problem[edit | edit source]

**Note:**

The operator

*E[]*is the

**expectation operator**, and is defined as:

where

*f*is the probability distribution function of

_{x}[n]*x*.

*d[n]* is the **expected response value**, or the value that we would like the input to approach.

*e[n]* is the **estimation error**, or the difference between the expected signal *d[n]* and the output of the FIR filter. We denote the FIR filter output with a hat:

Where the convolution operation applies the input signal, *u[n]*, to the filter with impulse response *w[n]*.

We can define a **performance index** *J[w]* which is a function of the tap weights of the FIR filter, *w[n]*, and can be used to show how close the filter is to reaching the desired output. We define the performance index as:

*J[w]* is also known as the **mean-squared error** signal. The goal of a Wiener filter is to minimize *J[w]* so that the filter operates with the least error.

### Adaptive Filtering[edit | edit source]

Adaptive filtering is a situation where the coefficients of a filter change over time, typically in response to changes in the characteristics of the input signal.

### Wiener-Hopf Equations[edit | edit source]

Where *R* is the autocorrelation matrix. *w _{o}* is the optimal set of filter coefficients, arranged in a vector, and

*p*is the cross-correlation vector.

## Wiener Filters[edit | edit source]

Wiener Filters are typically implemented with FIR filter constructions. This is because the wiener filter coefficients change over time, and IIR filter can become unstable for certain coefficient values. To prevent this instability, we typically construct adaptive filters with FIR structures.