allbetween
Syntax
Description
tf = allbetween(
specifies the type of interval. For example,
A,lower,upper,intervalType)allbetween(A,lower,upper,"open") determines if elements in
A are within the open interval (lower,upper).
tf = allbetween(___,DataVariables=
specifies the table or timetable variables to operate on in addition to any of the input
argument combinations in previous syntaxes. For example, for table vars)A,
allbetween(A,lower,upper,DataVariables="Var1") determines if elements
in table variable Var1 are within the specified range.
Examples
Input Arguments
Version History
Introduced in R2025a
![Closed interval [lower, upper]](interval-notation-02.png)

![Half-open interval (lower, upper]](interval-notation-04.png)
