Convert azimuth angle to broadside angle
BSang = az2broadside(az,el)
BSang = az2broadside(az,el) returns the broadside angle BSang corresponding to the azimuth angle, az, and the elevation angle, el. All angles are expressed in degrees and in the local coordinate system. az and el can be either scalars or vectors. If both of them are vectors, their dimensions must match.
Return the broadside angle corresponding to 45 degrees azimuth and 45 degrees elevation.
BSang = az2broadside(45,45);
Return broadside angles for 10 azimuth/elevation pairs. The variables az, el, and BSang are all 10-by-1 column vectors.
az = (75:5:120)'; el = (45:5:90)'; BSang = az2broadside(az,el);