Log
It realizes : y(i)=log(u(i))/log(a).
Library
Activate/MathOperations
Description
The Log block computes the logarithm of the elements of the input vector.
The Basis is defined by the user, the default block parameters results in evaluatuing the natural logarithm.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
base | Basis (>1) | Basis of the logarithm. Real value greater than 1, defaults to Exp(1). | Scalar | |
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 |