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
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | useAmplitudeInput | false | |
| Real | Amplitude | 1 | Amplitude of signal |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealInput | u (from SISO) | Connector of Real input signal | |
| RealOutput | y (from SISO) | Connector of Real output signal | |
| Modelica.Blocks.Interfaces.RealInput | amplitude |