Tangent of argument in degrees
Y = tand(X) returns
the tangent of the elements of X, which are expressed
tand(90) is infinite, whereas tan(pi/2) is
large but finite.
z = [180+i 15+2i 10+3i];
y = tand(z)
0 + 0.0175i 0.2676 + 0.0374i 0.1758 + 0.0539i
X — Angle in degreesscalar value | vector | matrix | N-D array
Angle in degrees, specified as a real-valued or complex-valued
scalar, vector, matrix, or N-D array. The tand operation
is element-wise when X is nonscalar.
Data Types: single | double
Complex Number Support: Yes
Y — Tangent of anglescalar value | vector | matrix | N-D array
Tangent of angle, returned as a real-valued or complex-valued
scalar, vector, matrix, or N-D array of the same size as X.
Was this topic helpful?