Problem 2170. Dealfun (1.0)
Solution Stats
Problem Comments
-
2 Comments
J.R.! Menzinger
on 10 Feb 2014
I think you try to get the "i" and "j" that the function nonzeros does not give:
http://www.mathworks.de/de/help/matlab/ref/nonzeros.html
Jan Orwat
on 10 Feb 2014
Thanks José, I've fixed bugs.
Solution Comments
-
2 Comments
J.R.! Menzinger
on 11 Feb 2014
"0" and not "false"... nice shot!
埃博拉酱
on 4 Aug 2021
So false is considered a function call but not a constant? What an absurd cody trick …
Problem Recent Solvers22
Suggested Problems
-
199 Solvers
-
395 Solvers
-
4994 Solvers
-
Return the first and last characters of a character array
6015 Solvers
-
Find nearest prime number less than input number
439 Solvers
More from this Author40
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!