# WindowFcn

This block applies a window to an input signal.

## Library

MatrixOperations

## Description

This block generates a window function of selected type and applies to the input signal to be processed. The length of the window is the same as input signal. Supported window types are "Rectangular", "Triangular", "Chebyshev", "Welch", "Hamming", "Hann", "Blackman", "Parzen", "Kaiser-Bessel".

## Parameters

Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|

| Select a window type: | Structure | ||

| Rectangular | Known also as the Dirichlet window, it is the simplest window function. | Number | 0 |

| Triangular | Triangular windows is defined as follows: | Number | 0 |

| Chebyshev | See the Chebyshev documentation in the OML Guide. | Number | 0 |

| Welch | Number | 0 | |

| Hamming | Number | 0 | |

| Hann | Number | 0 | |

| Blackman | Number | 0 | |

| Parzen | Number | 0 | |

| KaiserBessel | Number | 0 | |

| Chebyshev filter parameters | Structure | ||

| sidelobe(=-20*Alpha) | cell of matrices of size 1x1 | ||

| Kaiser-Bessel filter parameter | Structure | ||

| Alpha>=0 | cell of matrices of size 1x1 | ||

| Filter type | String | 'symmetric' | |

| External activation | Number | 0 |

## Ports

Name | Type | Description | IO Type | Number |
---|---|---|---|---|

| explicit | input | 1 | |

| explicit | output | 1 | |

| activation | input | externalActivation |

## Advanced Properties

Name | Value | Description |
---|---|---|

| no | |

| yes | |

| no | |

| no | |

| no | |

| no |