Sin Block
Trigonometric sine function: y = sin(u)
Open Sin in BlockWerk →# Sin Block
Overview
The Sin block implements the trigonometric sine function.
Equation
y = sin(u)
Where u is the input in radians.
Parameters
None
Features
- Domain: All real numbers
- Range: [-1, 1]
- Period: 2π radians
Input/Output
| Port | Type | Range | Description | | ---- | ------ | ------- | ---------------------- | | in | number | ℝ | Input angle in radians | | out | number | [-1, 1] | Sine output |
Examples
Example 1: Sine Wave Generation
Connect a Ramp with slope 2π/10 to Sin block for a 10-second sine wave.
Example 2: Signal Processing
Use Sin in feedback control systems for phase calculations.
Notes
- Input is in radians, not degrees
- Convert degrees to radians: radians = degrees × π/180
- Useful for frequency response analysis
- Common in oscillator and signal processing applications
Related Blocks
- Cos: Cosine function (phase-shifted sine by π/2)
- Tan: Tangent function
- SignalGenerator: For direct sine wave generation with parameters