Skip to Main Content Skip to Search
Product Documentation

broadside2az - Convert broadside angle to azimuth angle

Syntax

az = broadside2az(BSang,el)

Description

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.

Definitions

Azimuth Angle

The azimuth angle az corresponding to a broadside angle β and elevation angle el is:

where –90 ≤ el ≤ 90, –90 ≤ β ≤ 90, and –180 ≤ az ≤ 180 .

Together the broadside and elevation angles must satisfy the following inequality:

Examples

Azimuth Angle for Scalar Inputs

Return the azimuth angle corresponding to a broadside angle of 45 degrees and an elevation angle of 20 degrees.

az = broadside2az(45,20);

Azimuth Angles for Vector Inputs

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);

See Also

az2broadside | azel2phitheta | azel2uv

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS