-
1 Comment
tomio wakasugion 5 Apr 2012
My MATLAB worked for Test#3:
>> swap_ends(A)
ans =
3 2 0 5 1
Strange??
Suggested Problems
6520 Solvers
Matrix indexing with two vectors of indices
594 Solvers
Sum of first n positive integers
489 Solvers
519 Solvers
608 Solvers
More from this Author95
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!