% Purpose % converts YYYYMMDDhhmmss.fff time representation to an array of % time reference to a given basetime. % % Synopsis % time_array = mexeps('totarray19',time,units) % time_array = mexeps('totarray19',time,units,basetime) % % Description % It returns time into an array reference to a given basetime. % The input argument, time, is an array in the form of % YYYYMMDDhhmmss.fff. The input units indicates the output time % array units reference to the basetime. The default basetime % is the first element of the input time. The basetime must % be specified in the form of YYYYMMDDhhmmss.fff if it is given. % % Examples % Convert input time to a time with units of 'hours'. % % in_time = [19941005000000; 19941005010000; 19941005020000]; % out_time = mexeps('totarray19',in_time,'hours'); % % out_time will be [0; 1; 2] % % See Also % array19tot, totarray, totstr %