fixed.Interval
Descripción
Un objeto fixed.Interval
define un intervalo de valores reales. Utilice el objeto Interval
para especificar un rango de valores en un objeto fixed.DataSpecification
.
Creación
Sintaxis
Descripción
crea un intervalo unitario, [0,1].interval
= fixed.Interval
crea un intervalo o arreglo de intervalos con puntos finales iguales a los valores mínimo y máximo representables del tipo numérico especificado.interval
= fixed.Interval(numerictype
)
devuelve un arreglo de objetos interval
= fixed.Interval({___}, ...,{___})Interval
, donde cada arreglo de celdas especifica los argumentos de uno o más objetos.
Argumentos de entrada
Propiedades
Funciones del objeto
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 |
Ejemplos
Historial de versiones
Introducido en R2019b