WindowFcn
This block applies a window to an input signal.
Library
Activate/MatrixOperations
Description
This block generates a window function, which is based on the window type specified, and applies it to the input signal. The length of the window is the same as the 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: | Windowing function. Default: Chebyshev. | Structure | |
Filter/Rectangular | Rectangular | Dirichlet window, which is the simplest window function. | Number | 0 |
Filter/Triangular | Triangular | Triangular windows is defined as follows: If the periodic option is chosen: for n=0:N-1 | 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 | 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 | Filter type. default: symmetric. | String | 'symmetric' |
externalActivation | External activation | Specifies whether the block receives an external activation or inherits its activation through its regular input ports. When External Activation is selected, an additional activation port is added to the block. By default, external activation is not selected. | 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 |