ConeInt2:
--------------------------------------------------------------------------
Computes the solution to the attitude determination problem using
the cone intercept method. Only uses sun angles and chordwidths.
Requires the corresponding sun vectors and nadir vectors.
The 4th input can either be leading edge times or chordwidths.
The last input must be set to either 'time' or 'angl'. The default is 'time'.
To input chordwidths, set the 5th input (tte) to be empty.
--------------------------------------------------------------------------
Form:
[ra,dec,rd] = ConeInt( usun, unadir, sa, tle_cw, tte, cant, eradius,
spinrate, threshold, type )
--------------------------------------------------------------------------
------
Inputs
------
usun (3,n) Unit sun vector
unadir (3,n) Unit nadir vectors
sa (1,n) The angle between the sun line and the spin axis
tle_cw (1,n) Leading edge times (sec) or chordwidths (rad)
tte Trailing edge time (sec) (Set to empty for chordwidths)
cant Cant angle (rad)
eradius (1,n) Angular radius of the rearth (rad)
spinrate Spin rate (rad/sec)
threshold Threshold chord width (rad)
type 'time' = leading and trail edge times entered (default)
'angl' = chordwidths and dihedral angles entered
-------
Outputs
-------
ra Right ascension of the spin axis
dec Declination of the spin axis
rd (2,n) [Right Ascension;Declination] vector
--------------------------------------------------------------------------
Children:
Common: Graphics/NewFig