Cody

Problem 44635. Repetition of matrices

Solution 3115146

Submitted on 8 Oct 2020
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   Fail
n = 2; C_correct = [1080,1080]; assert(isequal(matrix_rep(n),C_correct))

Error using matrix_rep Too many output arguments. Error in Test1 (line 3) assert(isequal(matrix_rep(n),C_correct))

2   Fail
n = 5; C_correct = [16875,16875]; assert(isequal(matrix_rep(n),C_correct))

Error using matrix_rep Too many output arguments. Error in Test2 (line 3) assert(isequal(matrix_rep(n),C_correct))

Suggested Problems

More from this Author29

Community Treasure Hunt

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

Start Hunting!