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 Solvers1180
Suggested Problems
-
Renaming a field in a structure array
1048 Solvers
-
Return elements unique to either input
653 Solvers
-
Generate N equally spaced intervals between -L and L
717 Solvers
-
302 Solvers
-
Find the dimensions of a matrix
438 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!