Uniform grid
Grid = unigrid(StartValue,Step,EndValue)
Grid = unigrid(StartValue,Step,EndValue,IntervalType)
returns
a uniformly sampled grid from the closed interval Grid
= unigrid(StartValue
,Step
,EndValue
)[StartValue,EndValue]
,
starting from StartValue
. Step
specifies
the step size. This syntax is the same as calling StartValue:Step:EndValue
.
specifies
whether the interval is closed, or semi-open. Valid values of Grid
= unigrid(StartValue
,Step
,EndValue
,IntervalType
)IntervalType
are '[]'
(default),
and '[)'
. Specifying a closed interval
does not always cause Grid
to contain the value EndValue
.
The inclusion of EndValue
in a closed interval
also depends on the step size Step
.