Program: MKLSBAZ
mkbaz.................calculate Back azimuth from coordinates
call: delta=mklsbaz(elat,elon,slat,slon);
elat: list or matrix of epicenter latitudes
elon: list or matrix ofepicenter longitude
slat: single station latitude
slot: single station longitude
all coordinates in degrees, positive to the north and east, respectively.
result: baz: back azimuth, in degrees
NaN in cases in which the BAZ is undefined
after formula 4.4.3 in Lay/Wallace's book "Modern Global Seismology"
but completed and improved by MK
Martin Knapmeyer, 10.09.1996, 15.08.2002, 21.08.2002, 02.06.2003, 03.06.2003
11.12.2007
Read M-File Source Code
eof.