Path: CubeSat/MissionPlanning
% Find time windows when elements of vector x are within specified range Since version 9. -------------------------------------------------------------------------- Usage: window = FindTimeWindows( t, x, lim ); -------------------------------------------------------------------------- ------ Inputs ------ t (1,N) N time points x (M,N) Set of M variables across N time points lim (1,2) Time window limits (min,max) ------- Outputs ------- window (.) Data structure array with window information. Each element "i" of this array is for a different row of the x matrix. Fields are: .nObs: (1,1) Number of observations (windows) .window: (nObs,2) Each row is a new time window .time: {1,nObs} Time vectors from t inside each window .x: {1,nObs} Data vectors from x(i,:) inside each window .indexStart (1,nObs) Starting time index for window .indexEnd (1,nObs) Ending time index for window See also: ObservationTimeWindows --------------------------------------------------------------------------
Back to the CubeSat Module page