Code covered by the BSD License  

Highlights from
satang

Be the first to rate this file! 9 Downloads (last 30 days) File Size: 3.74 KB File ID: #14010

satang

by luis emiliani

 

19 Feb 2007 (Updated 19 Jan 2009)

calculation of satellite angles: elevation, azimuth, and also relative azimuth and baseline orientat

| Watch this File

File Information
Description

%function angles=satang4(strSys1,latA,longA,longsat,strSys2,latB,longB)
%calculation of satellite angles: elevation, azimuth, and also relative azimuth and baseline orientation if input data
%belongs to two sites
%Sources:
%Digital satellite communications, 2nd Ed. Author Tri Ha, for satellite azimuth and elevation calculation
%http://williams.best.vwh.net/avform.htm#Rhumb for distance and relative azimuth between two coordinates
%tested using various satellites and earth stations, and using http://www.sfwx.com/softworks/geoBearing.html and
%http://www.geocities.com/senol_gulgonul/linkbudget/azel.html
%differences are in part due to the selection of the earth radius and orbit heigth values, and also to possible mistakes in the
%code...please point them out
%INPUTS
%strSys1: string: 'E' for longitude in degrees east, 'W' for longitude in degrees West. no negative values
%strSys2: string: 'GC' for GREAT CIRCLE , 'RH' for RHUMB (CONSTANT AZIMUTH: recommended for site diversity purposes)
%latXX: latitude of site A or B. + north, - south
%longXX: longitude of site A and B: following strSys1.
%longsat: longitude of subsatellite point, E or W according to srtSys
%OUTPUTS
%angles: a structure containing:
% .elevation elevation angle to satelite,
% .azimuth azimuth to satelite
% .poltilt & poltilt_c feed rotation to compensate geographic position
                    %NOTE standing behind the antenna,
                    %rotation is CLOCKWISE for a station
                    %located east of the satellite meridian,
                    %and ANTICLOCKWISE for a station west of
                    %the satellite meridian
                    %poltilt_c is more reliable than poltilt.
% .Az_AB true course, azimuth in the direction of site B (rhumb line, constant azimuth)
% .distance distance between the two sites
% .baselineorientation for site diversity, BOA acording to ITU-R P618-8 definition.
%EXAMPLE OF USE
%angles=satang4('E',-8.83,13.25,0) | angles=satang('E',-33.93,18.47,0)
%angles = |
% elevation: 71.2774 | elevation: 45.7078
% azimuth: 303.1005 | azimuth: 329.1038
%Meteosat satellite, cities of cape town and luanda.
%
%angles=satang4('E',6.4,360-76.4,304.5)
%angles =
% elevation: 64.3472
% azimuth: 106.2730 Intelsat 8A, city of medellin
%geographical constants

MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
27 Apr 2007

improvements in the function definition, changes in the pol angle calculation, should work with lat and long vectors instead of single values.

19 Jan 2009

- Improved estimation of plarisation tilt angle. Two methods given, a simple and a complex.
- i suggest trusting the results of poltilt_c as the other method tends to give angles >90 .

Tag Activity for this File
Tag Applied By Date/Time
wireless luis emiliani 22 Oct 2008 09:01:08
satellite luis emiliani 22 Oct 2008 09:01:08
azimuth angles luis emiliani 22 Oct 2008 09:01:08
look angles luis emiliani 22 Oct 2008 09:01:08
satellite lin luis emiliani 22 Oct 2008 09:01:08
elevation angle luis emiliani 22 Oct 2008 09:01:08
aerospace luis emiliani 19 Jan 2009 10:33:51
communications luis emiliani 19 Jan 2009 10:33:51

Contact us at files@mathworks.com