blockCos

Output the cosine of the input

Extends from Modelica.Blocks.Interfaces.SISO (Single Input Single Output continuous control block).

Information

This blocks computes the output y as cos of the input u.

The amplitude of the cosine is given either by a parameter or ba yn optopnal input.

Parameters

TypeNameDefaultDescription
BooleanuseAmplitudeInputfalse
RealAmplitude1Amplitude of signal

Connectors

TypeNameDefaultDescription
RealInputu (from SISO)Connector of Real input signal
RealOutputy (from SISO)Connector of Real output signal
Modelica.Blocks.Interfaces.RealInputamplitude