20-sim webhelp > Language Reference > Functions > Trigonometric > arctan


arctan

Navigation:  Language Reference > Functions > Trigonometric >

arctan

Previous pageReturn to chapter overviewNext page

Syntax

Y = arctan(X);

Description

Returns the arctangent of the elements of X.

Examples

a = arctan(time);

X = [ramp(1);-0.5*ramp(9)];

Y = arctan(X);

Limitations

Y and X must have the same size.

 

Arctan