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
-
Create a square matrix of multiples
452 Solvers
-
Determine Whether an array is empty
731 Solvers
-
Make a random, non-repeating vector.
6671 Solvers
-
Generate N equally spaced intervals between -L and L
796 Solvers
-
715 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!