blockLog
Output the logarithm (default base e) of the input (input > 0 required)
Extends from Interfaces.SISO (Single Input Single Output continuous control block).
Information
This blocks computes the output y as the logarithm to the parameter base of the input u:
y = log( u ) / log( base );
An error occurs if the input u is zero or negative.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | base | Modelica.Constants.e | Base of logarithm |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealInput | u (from SISO) | Connector of Real input signal | |
| RealOutput | y (from SISO) | Connector of Real output signal |