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 Solvers26
Suggested Problems
-
1011 Solvers
-
Find state names that start with the letter N
1025 Solvers
-
438 Solvers
-
184 Solvers
-
Replace multiples of 5 with NaN
413 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!