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