Problem 2442. Magnet and Iron
Solution Stats
Problem Comments
-
2 Comments
shahriar memaran
on 18 Apr 2017
In test 1 why the iron in x(4,1) did not moved to the top !?
juedi myro eugenio
on 31 Mar 2018
x(4,1) is equidistant to both upper and lower magnet, that's why...
Problem Recent Solvers92
Suggested Problems
-
2871 Solvers
-
Back to basics 22 - Rotate a matrix
861 Solvers
-
Flip the main diagonal of a matrix
621 Solvers
-
458 Solvers
-
Implement a bubble sort technique and output the number of swaps required
221 Solvers
More from this Author44
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!