Cody

Problem 1727. Concatenate matrix into 4 quadrants for given number of iteration

If given a matrix and number, output should be its concatenation like wavelet for given number of iterations.

Example

 a = [1 2; 1 2];
 n = 1
 output = [1 2 1 2;1 2 1 2;1 2 1 2;1 2 1 2]

Solution Stats

67.12% Correct | 32.88% Incorrect
Last Solution submitted on May 14, 2020

Problem Comments