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
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 | Matrix of size 1x1 | ||
externalActivation | External activation | This parameter defines if the block receives an external activation or inherits. When External Activation is used, a additional activation port is added to the block. Default is OFF. | 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 |