cosd
Returns the cosine for each element of the argument (in degrees).
Syntax
R = cosd(a)
Inputs
- a
- The angle in degrees.
Outputs
- R
- scalar | vector | matrix
Example
R = cosd(60)
R = 0.5
R = cosd([60, -45; -30, 90])
R = [Matrix] 2 x 2
0.50000 0.70711
0.86603 0.00000