Cody

Problem 45482. Construyendo matrices parte 2

Solution 2291627

Submitted on 18 May 2020 by Stanislao Pinzón
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
S=[1 8 15 3 3 3 3; 2 9 16 3 3 3 3; 3 10 17 3 3 3 3; 4 11 18 3 3 3 3;5 12 19 10 20 30 40;6 13 20 10 20 30 40;7 14 21 10 20 30 40] assert(isequal(create_matrix,S))

S = 1 8 15 3 3 3 3 2 9 16 3 3 3 3 3 10 17 3 3 3 3 4 11 18 3 3 3 3 5 12 19 10 20 30 40 6 13 20 10 20 30 40 7 14 21 10 20 30 40 M = 1 8 15 3 3 3 3 2 9 16 3 3 3 3 3 10 17 3 3 3 3 4 11 18 3 3 3 3 5 12 19 10 20 30 40 6 13 20 10 20 30 40 7 14 21 10 20 30 40

Suggested Problems

More from this Author4

Community Treasure Hunt

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

Start Hunting!