Using Simulink    
Trigonometric Function

Perform a trigonometric function.

Library

Math

Description

The Trigonometric Function block performs numerous common trigonometric functions.

You can select one of these functions from the Function list: sin, cos, tan, asin, acos, atan, atan2, sinh, cosh, and tanh. The block output is the result of the function operating on the input or inputs.

The name of the function appears on the block icon. Simulink automatically draws the appropriate number of input ports. The block accepts and outputs real or complex signals of type double.

Use the Trigonometric Function block instead of the Fcn block when you want dimensionalized output because the Fcn block can produce only scalar output.

Data Type Support

A Trigonometric Function block accepts and outputs real or complex signals of type double.

Parameters and Dialog Box

Function
The trigonometric function.
Output signal type
Type of signal (complex or real) to output.

Characteristics

Direct Feedthrough
Yes
Sample Time
Inherited from driving block
Scalar Expansion
Of the input when the function requires two inputs
Dimensionalized
Yes
Zero Crossing
No


 Trigger Uniform Random Number