Will not work for x = [1 3 5 7] or x = [0:5:30], for example.
251 Solvers
Back to basics 21 - Matrix replicating
1058 Solvers
Getting the absolute index from a matrix
213 Solvers
149 Solvers
MATCH THE STRINGS (2 CHAR) very easy
251 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!