Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

我们为许可用户提供了部分翻译好的中文文档。您只需登录便可查阅这些文档

secd

Secant of argument in degrees

Syntax

Description

example

Y = secd(X) returns the secant of the elements of X, which are expressed in degrees.

Examples

collapse all

secd(90)
ans =

   Inf

sec(pi/2)
ans =

   1.6331e+16

secd(90) is infinite, whereas sec(pi/2) is large but finite.

z = [35+i 15+2i 10+3i];
y = secd(z)
y =

   1.2204 + 0.0149i   1.0346 + 0.0097i   1.0140 + 0.0094i

Input Arguments

collapse all

Angle in degrees, specified as a real-valued or complex-valued scalar, vector, matrix, or N-D array. The secd operation is element-wise when X is nonscalar.

Example:

Data Types: single | double
Complex Number Support: Yes

Output Arguments

collapse all

Secant of angle, returned as a real-valued or complex-valued scalar, vector, matrix, or N-D array of the same size as X.

More About

collapse all

Tall Array Support

This function fully supports tall arrays. For more information, see Tall Arrays.

See Also

| |

Introduced before R2006a


Was this topic helpful?