Problem 112. Remove the air bubbles
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
Chien-Han Su
on 2 Nov 2020
love this one
Jakeb Chouinard
on 20 Nov 2020
28 attempts later, we finally made it
Ngo Tien Sang
on 8 Jul 2021
nice question!
Nguyen Viet Dung
on 11 Aug 2021
good problem
Solution Comments
-
1 Comment
Atsushi Ueno
on 15 Jun 2016
zeros are added to convert a logical to double.
-
1 Comment
Jean-Marie Sainthillier
on 4 Sep 2013
The first time I see this kind of bsxfun.
-
2 Comments
Mike Keenan
on 1 Feb 2012
Looks like I have the lamest possible solution!
yurenchu
on 30 Apr 2017
I think it would be funny to see this solution in action by an animation of iterations! :-)
-
1 Comment
Alfonso Nieto-Castanon
on 28 Jan 2012
this breaks with nan's, solution 6118 does not
-
2 Comments
-
1 Comment
Alfonso Nieto-Castanon
on 26 Jan 2012
need to fix the test suite to include non-sorted non-zero elements
-
1 Comment
Alfonso Nieto-Castanon
on 28 Jan 2012
wishful thinking: perhaps sort 'should' behave like relational operators...
Problem Recent Solvers945
Suggested Problems
-
21997 Solvers
-
Number of 1s in the Binary Representation of a Number
404 Solvers
-
824 Solvers
-
454 Solvers
-
566 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!