Arctangent of two arguments





| Vector | C |
in the palette on the schematic
The block implements calculation of arctangent of a point on the plane by its coordinates, that is, to determine the angle α of the line from the origin to the point with coordinates (x, y):

The block is vectorized, that is, it can obtain the arctangent values of several points for pairs of corresponding coordinates. In this case, arrays of coordinate values must be fed to the inputs.

Inputs

  • y - input port for the coordinate of the point along the ordinate axis (for the coordinate array);
  • x - input port for the coordinate of the point along the abscissa axis (for the coordinate array).

Outputs

  • output - output port for the vector of arctangent values (in radians), with a dimension equal to the number of coordinate pairs at the input.

Properties

none

Parameters

none