Log
Output the logarithm (default base e) of the input (input > 0 required)
Library
Modelica/Blocks/Math
Description
This blocks computes the output y as thelogarithm to the parameter base of the input u:
y = log( u ) / log( base );
An error occurs if the input u iszero or negative.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_base | base | Base of logarithm | Scalar |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | ||
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
u | implicit | Connector of Real input signal | input | 1 |
y | implicit | Connector of Real output signal | output | 1 |