fixed.Interval
Define interval of values
Description
A fixed.Interval
object defines an interval of real-world
values. Use the Interval
object to specify a range of values in a fixed.DataSpecification
object.
Creation
Syntax
Description
creates a unit
interval, [0,1].interval
= fixed.Interval
creates an interval or array of intervals with end points equal to the minimum and maximum
representable values of the specified numeric type.interval
= fixed.Interval(numerictype
)
returns an array of interval
= fixed.Interval({___}, ...,{___})Interval
objects, where each cell array specifies
the arguments for one or more of the objects.
Input Arguments
Properties
Object Functions
contains | Determine if one fixed.Interval object contains
another |
intersect | Intersection of fixed.Interval objects |
isDegenerate | Determine whether the left and right ends of a fixed.Interval
object are degenerate |
isLeftBounded | Determine whether a fixed.Interval object is
left-bounded |
isRightBounded | Determine whether a fixed.Interval object is
right-bounded |
isnan | Determine whether a fixed.Interval object is NaN |
overlaps | Determine if two fixed.Interval objects overlap |
quantize | Quantize interval to range of numeric data type |
setdiff | Set difference of fixed.Interval objects |
union | Union of fixed.Interval objects |
unique | Get set of unique values in fixed.Interval object |
Examples
Version History
Introduced in R2019b