Cody

Problem 44635. Repetition of matrices

Solution 2135648

Submitted on 21 Feb 2020 by Jiahang Li
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
n = 2; C_correct = [1080,1080]; assert(isequal(matrix_rep(n),C_correct))

ans = 1080 1080

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

ans = 16875 16875

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!