Will not work for x = [1 3 5 7] or x = [0:5:30], for example.
716 Solvers
Calculate the Levenshtein distance between two strings
466 Solvers
191 Solvers
Sum the numbers on the main diagonal
459 Solvers
418 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!