Problem 44342. Spot the First Occurrence of 5
Solution Stats
Problem Comments
-
1 Comment
Oof that was tricky but enjoyable. Nested for loops were helpful
Solution Comments
-
1 Comment
good!
-
1 Comment
tough but good.
I used a cell array and the following info:
https://uk.mathworks.com/matlabcentral/answers/361968-getting-first-element-of-each-cell-array-with-different-sizes
-
1 Comment
How is my solution is evaluated?
-
1 Comment
MATLAB will not show error when using index 0 as long as it is a boolean (logicals).
Problem Recent Solvers392
Suggested Problems
-
Swap the first and last columns
15507 Solvers
-
5290 Solvers
-
The sum of the numbers in the vector
490 Solvers
-
699 Solvers
-
531 Solvers
More from this Author29
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!