Exponential
This block implements the power function given the base as block parameter: y=a^u where a is the block parameter and u is the input. If a equals exp(1), then the operation corresponds to the exponential function.
Library
Activate/MathOperations
Description
The Exponential block implements the power function given the base as block parameter: y=a^u where a is the block parameter and u is the input. If a equals exp(1), then the operation corresponds to the exponential function.
The input u is either a scalar, a vector or a matrix.
The block performs element-wise exponential when input is a matrix. To compute a matrix exponential, use the MatrixExponential block instead.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
base | Base | The block implements the power function given this parameter. | Matrix of size 1x1 | |
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 | output | 1 | |
Port 2 | explicit | input | 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 |