frameintervals
Syntax
Description
frameintervals
is a function used in code generated by Diagnostic Feature
Designer.
creates frame intervals containing frame start and stop times for all frames within the
specified range of data, using the specified frame rate and frame size. intervals
= frameintervals(range
,framerate
,framesize
)
For instance, suppose that your full signal starts at 0 and ends at 30 seconds. You
specify contiguous one second frames by setting both framerate
and
framesize
to 1
. Then range
is
equal to [0 30]
and intervals
is returned as a table
of 30 intervals that starts with the interval [0 1]
and ends with the
interval [29 30]
.
Code that is generated by Diagnostic Feature
Designer uses frameintervals
when performing frame-based member
processing.
creates frame intervals using one or more name-value pair arguments. For instance,
intervals
= frameintervals(___,Name,Value
)frameintervals('FrameUnit','days')
returns frame intervals in the units
of days. Specify name-value pair arguments after all other input arguments.
Input Arguments
Output Arguments
Version History
Introduced in R2020a