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
-
Find the sum of all the numbers of the input vector
55707 Solvers
-
Replace NaNs with the number that appears to its left in the row.
3073 Solvers
-
Get the length of a given vector
13833 Solvers
-
Getting the indices from a vector
12518 Solvers
-
Who is the smartest MATLAB programmer?
795 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