Section: Mathematical Functions
asec
. The syntax for its use is
y = asecd(x)
2/sqrt(2)
should be 45 degrees:
--> asecd(2/sqrt(2)) ans = <double> - size: [1 1] 45
and the inverse secant of 2
should be 60 degrees:
--> asecd(2) ans = <double> - size: [1 1] 60.00000000000001