Cody

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

Created by Ashutosh datar in Community

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

66.67% Correct | 33.33% Incorrect
Last solution submitted on Mar 02, 2019

Problem Comments