"...return a positive integer, y, which is the xth term ..." in de description.
I have a single line of code in my solution -- how is yours so small!?!
Make the vector [1 2 3 4 5 6 7 8 9 10]
35604 Solvers
Find the two most distant points
1629 Solvers
Arrange Vector in descending order
4086 Solvers
Getting the indices from a matrice
360 Solvers
372 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!