MATLAB Cody - MATLAB Central

Problem 1035. Generate a vector like 1,2,2,3,3,3,4,4,4,4

Solution 1854036

Submitted on 20 Jun 2019 by MT_jsmith
This solution is locked. To view this solution, you need to solve the problem first.

This solution is outdated. To rescore this solution, sign in.

Suggested Problems

More from this Author17

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page