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.

log.png

Parameters

TypeNameDefaultDescription
RealbaseModelica.Constants.eBase of logarithm

Connectors

TypeNameDefaultDescription
RealInputu (from SISO)Connector of Real input signal
RealOutputy (from SISO)Connector of Real output signal