------------------------------------------------------------------------------- Takes a 6 state input and returns the 3 state output (velocity). ------------------------------------------------------------------------------- Form: out = x2r( varargin ) ------------------------------------------------------------------------------- ------ Inputs ------ varargin (:) Variable number of inputs, raw simulation data. ------- Outputs ------- out (1,:) Derived output data. -------------------------------------------------------------------------------