Problem 824. Set the array elements whose value is 13 to 0
Solution Stats
Problem Comments
-
3 Comments
this is a good problem
damn man!!! i just tore my head off to solve this then i figured there is a very very simple way to do that
A simple yet good problem. It made me think outside of using if and for loop.
Solution Comments
-
1 Comment
Very nice! It's just ones row but ver clever!
-
1 Comment
Good!
-
1 Comment
This problem made me think and force me drop my all weapons(predefined function ) even for loop ,and while loop
-
1 Comment
Thanks for showing how to check for loops and other unwanted commands in the function. This is really helpful to test my students.
Problem Recent Solvers1280
Suggested Problems
-
Which values occur exactly three times?
4569 Solvers
-
Back to basics 9 - Indexed References
427 Solvers
-
465 Solvers
-
Return a list sorted by number of consecutive occurrences
317 Solvers
-
577 Solvers
More from this Author30
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!