slices: Return vector of values from given interval
Description
Returns an ordered vector of values from given interval, of given size,
generated by equal steps.
Usage
slices(from, to, n)
Value
A vector of numbers in the given interval and size.
Arguments
from
The lower bound of the interval.
to
The upper bound of the interval.
n
The length of the vector to be produced.
Author
Michal Burda
Details
Returns a vector of values from from to to (inclusive), with
equal difference between two consecutive values, with total length n.
Function is useful e.g. together with the pbld or
defuzz functions (for the values argument; see also
lcut or fcut) or defuzz).