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
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
43457 Solvers
-
577 Solvers
-
Getting the indices from a vector
6863 Solvers
-
Set the array elements whose value is 13 to 0
1280 Solvers
-
Magic is simple (for beginners)
6301 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!