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 |
---|---|---|---|---|
Filter | Select a window type: | Structure | ||
Filter/Rectangular | Rectangular | Known also as the Dirichlet window, it is the simplest window function. | Number | 0 |
Filter/Triangular | Triangular | Triangular windows is defined as follows: | Number | 0 |
Filter/Chebyshev | Chebyshev | See the Chebyshev documentation in the OML Guide. | Number | 0 |
Filter/Welch | Welch | Number | 0 | |
Filter/Hamming | Hamming | Number | 0 | |
Filter/Hann | Hann | Number | 0 | |
Filter/Blackman | Blackman | Number | 0 | |
Filter/Parzen | Parzen | Number | 0 | |
Filter/KaiserBessel | KaiserBessel | Number | 0 | |
Chebyshev_p | Chebyshev filter parameters | Structure | ||
Chebyshev_p/sidelobe | sidelobe(=-20*Alpha) | cell of matrices of size 1x1 | ||
kaiserbessel_p | Kaiser-Bessel filter parameter | Structure | ||
kaiserbessel_p/alpha | Alpha>=0 | cell of matrices of size 1x1 | ||
wtype | Filter type | String | 'symmetric' | |
externalActivation | External activation | Number | 0 |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
Port 1 | explicit | input | 1 | |
Port 2 | explicit | output | 1 | |
Port 3 | activation | input | externalActivation |
Advanced Properties
Name | Value | Description |
---|---|---|
always active | no | |
direct-feedthrough | yes | |
zero-crossing | no | |
mode | no | |
continuous-time state | no | |
discrete-time state | no |