Cody

Problem 43481. Modified Upper Matrix Mock

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

60.0% Correct | 40.0% Incorrect
Last solution submitted on Jun 06, 2019

Problem Comments