Uniform grid index
Ind = val2ind(Value,Delta)
Ind = val2ind(Value,Delta,GridStartValue)
returns
the index of the value Ind
= val2ind(Value
,Delta
)Value
in a uniform grid
with a spacing between elements of Delta
. The
first element of the uniform grid is zero. If Value
does
not correspond exactly to an element of the grid, the next element
is returned. If Value
is a row vector, Ind
is
a row vector of the same size.
specifies
the starting value of the uniform grid as Ind
= val2ind(Value
,Delta
,GridStartValue
)GridStartValue
.