omega = solidangle(az,el)
returns the solid angle omega in steradians for a region of a sphere
bounded by the azimuth angles az and the elevation angles
el. az and el must have the
same number of columns or one of the inputs must be a 2-by-1 column vector.
Azimuth angles in degrees, specified as a two-row matrix. Each column in
az has the form
[az1;az2], where az1
and az2 are the azimuth limits of omega
created by traveling from az1 to az2
counter-clockwise. az1 and az2 must be between
–180 and 180.
Data Types: double
el — Elevation angles two-row matrix
Elevation angles in degrees, specified as a two-row matrix. Each column in
el has the form
[el1;el2], where el1
and el2 are the limits of the elevation sector spanned by
omega. el1 and el2 must
be between –90 and 90.