strsegrevs
Creates a vector of unevenly spaced times that segment an input time vector for use in a short time resampled waterfall plot.
Syntax
strsegrevs(resp_time, seg_type, seg_var, win_size, rps_time, rps_mag, rps_reorder)
Argument
- resp_time
 - Vector of response time samples.
 - seg_type
 - String indicating “slices” or “steps”.
 - seg_var
 - Either the number of slices or the step size.
 - win_size
 - The window size for each segment.
 - rps_time
 - Vector of times samples at which revolution per second measurements are taken.
 - rps_mag
 - Vector of revolution per second measurements.
 - rps_reorder
 - String for future use. Set to “false”.
 
Example
| Templex Expression | Results | 
|---|---|
{strsegrevs (reps_time, “slices”, 100, 512, rps_time,
                                        rps_mag, “false”)} | 
                                A vector of length 100 containing the time for the center of each segment. | 
Comments
The strsegrevs function is used to segment a time vector for the creation of a short time resampled waterfall plot. The segmenting can be performed either by specifying the number of slices or the size of the step, depending on the seg_type variable. The times are unevenly spaced because they correspond to evenly spaced revolution counts.