Problem 112. Remove the air bubbles
Solution Stats
Problem Comments
-
4 Comments
love this one
28 attempts later, we finally made it
nice question!
good problem
Solution Comments
-
1 Comment
zeros are added to convert a logical to double.
-
1 Comment
The first time I see this kind of bsxfun.
-
2 Comments
Looks like I have the lamest possible solution!
I think it would be funny to see this solution in action by an animation of iterations! :-)
-
1 Comment
this breaks with nan's, solution 6118 does not
-
2 Comments
-
1 Comment
need to fix the test suite to include non-sorted non-zero elements
-
1 Comment
wishful thinking: perhaps sort 'should' behave like relational operators...
Problem Recent Solvers944
Suggested Problems
-
775 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
814 Solvers
-
"Low : High - Low : High - Turn around " -- Create a subindices vector
496 Solvers
-
617 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
351 Solvers
More from this Author50
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!