Example
Input:
a = 10 b = 20
Output
a = 20 b = 10
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers786
Suggested Problems
-
Select every other element of a vector
36828 Solvers
-
Make a random, non-repeating vector.
11592 Solvers
-
Set the array elements whose value is 13 to 0
1446 Solvers
-
477 Solvers
-
2192 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
The test case is not correct.
I cleaned up the test.
duplicate of 262