Example
Input:
a = 10 b = 20
Output
a = 20 b = 10
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers777
Suggested Problems
-
Sort a list of complex numbers based on far they are from the origin.
5796 Solvers
-
Return the first and last characters of a character array
11814 Solvers
-
Remove the two elements next to NaN value
703 Solvers
-
Getting the indices from a matrix
719 Solvers
-
Back to basics - mean of corner elements of a matrix
461 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