This problem's title and description were cleaned up and additional test cases were added.
Generate a vector like 1,2,2,3,3,3,4,4,4,4
3632 Solvers
340 Solvers
Find the dimensions of a matrix
373 Solvers
Cumulative product of a vector
210 Solvers
94 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!