FUNCTION REFERENCE
cscd
Cosecant of argument in degrees.
Cosecant of argument in degrees.
Syntax
y = cscd(X)The angle is first reduced in degrees (rem(X,360) is exact), so multiples of 90 give exact 0, 1, -1 or Inf: sind(180) is exactly 0 and tand(90) is Inf. Inf and NaN give NaN.
Example
cscd(30) % 2.0000Differences from MATLAB: Real double arrays only; complex, character, logical and cell input stop with an error. Single input is not supported yet.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.