angdiff
Difference between two angles
Description
returns
the angular difference between adjacent elements of delta
= angdiff(alpha
)alpha
along the first dimension whose size does not equal 1. If
alpha
is a vector of length n, the
first entry is subtracted from the second, the second from the third, etc. The
output, delta
, is a vector of length
n-1. If alpha
is an
m-by-n matrix with
m greater than 1, the output, delta
,
will be a matrix of size m-1-by-n. If
alpha
is a scalar, delta
returns
as an empty vector.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2015a