Modified Upper Matrix Mock - MATLAB Cody - MATLAB Central

Problem 43481. Modified Upper Matrix Mock

Difficulty:Rate

Given a vector v=[1 3 6 9 11], turn it into a matrix 'ramp' like so:

m=[1 3 6 9 11; 0 3 6 9 11; 0 0 6 9 11; 0 0 0 9 11; 0 0 0 0 11]

Solution Stats

68.67% Correct | 31.33% Incorrect
Last Solution submitted on Dec 08, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers51

Suggested Problems

More from this Author43

Community Treasure Hunt

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

Start Hunting!
Go to top of page