RHS2DOrbit:
--------------------------------------------------------------------------
This function is for the planar orbit problem.
Includes radial position, radial velocity and tangential velocity only.
Choice of specular or full disturbance model.
See also SailEnvironment and SailDisturbance.
Since version 7.
--------------------------------------------------------------------------
Form:
varargout = RHS2DOrbit( t, x, flag, d )
--------------------------------------------------------------------------
------
Inputs
------
t (1,1) Time
x (4,1) States [r;u;v;angle]
flag (1,1) Flag from ode113
d (1,1) Structure to pass to the integration RHS
.accel (1,1) The characteristic acceleration
.sailAngleFun (:) The guidance function, alpha = f(x, t)
.forceModel (:) Either 'specular' or 'full'
-------
Outputs
-------
xDot (4,1) State derivatives d[r;u;v;angle]/dt
--------------------------------------------------------------------------
Children:
Common: Quaternion/AU2Q
Sail: Disturbances/SailDisturbance
Sail: Disturbances/SailEnvironment