Problem 2170. Dealfun (1.0)
Solution Stats
Problem Comments
-
2 Comments
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
Thanks José, I've fixed bugs.
Solution Comments
-
2 Comments
"0" and not "false"... nice shot!
So false is considered a function call but not a constant? What an absurd cody trick …
Problem Recent Solvers22
Suggested Problems
-
872 Solvers
-
Test if a Number is a Palindrome without using any String Operations
194 Solvers
-
Matrix indexing with two vectors of indices
587 Solvers
-
Duplicate each element of a vector.
545 Solvers
-
55 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!