Let two vectors lo and hi be given.
The job is to create a index vector like so
idx = [lo(1):hi(1) lo(2):hi(2) ...]
Where : is the colon operator.
One can assume that all entries are positve integers. Delete all pairs where lo(i) > hi(i).
For example:
idx = [1 2 3 5 6 7 8 10 11 12]
idx = [6 7 8]
299 Solvers
Reverse the Words (not letters) of a String
243 Solvers
Get the length of a given vector
1368 Solvers
Piecewise linear interpolation
137 Solvers
Sum the numbers on the main diagonal
375 Solvers