Oof that was tricky but enjoyable. Nested for loops were helpful
good!
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
How is my solution is evaluated?
MATLAB will not show error when using index 0 as long as it is a boolean (logicals).
Arrange Vector in descending order
4248 Solvers
Back to basics 22 - Rotate a matrix
767 Solvers
Given a window, how many subsets of a vector sum positive
755 Solvers
Fix the last element of a cell array
358 Solvers
Write c^3 as sum of two squares a^2+b^2
281 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!