Example
Input:
a = 10 b = 20
Output
a = 20 b = 10
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers829
Suggested Problems
-
3451 Solvers
-
How to find the position of an element in a vector without using the find function
2822 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2588 Solvers
-
1247 Solvers
-
Reverse the elements of an array
1146 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