y-coordinates, specified as a scalar, vector,
matrix, or multidimensional array. Inputs Y and X must
either be the same size or have sizes that are compatible (for example, Y is
an M-by-N matrix and X is
a scalar or 1-by-N row vector).
For more information, see Compatible Array Sizes for Basic Operations.
x-coordinates, specified as a scalar, vector,
matrix, or multidimensional array. Inputs Y and X must
either be the same size or have sizes that are compatible (for example, Y is
an M-by-N matrix and X is
a scalar or 1-by-N row vector).
For more information, see Compatible Array Sizes for Basic Operations.
The four-quadrant inverse tangent, atan2d(Y,X),
returns values in the closed interval [-180,180] based
on the values of Y and X as
shown in the graphic.
In contrast, atand(Y/X) returns results that
are limited to the interval [-90,90], shown on
the right side of the diagram.
Extended Capabilities
Tall Arrays Calculate with arrays that have more rows than fit in memory.
This function fully supports tall arrays. For
more information, see Tall Arrays.
C/C++ Code Generation Generate C and C++ code using MATLAB® Coder™.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.