Cody

Solution 1006154

Submitted on 10 Oct 2016 by Sujin Choi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
x = 1; A(:,:,1)=[1 3] A(:,:,2)=[2 2] A(:,:,3)=[4 3] y_correct = permute(A,[2 1 3]); assert(isequal(your_fcn_name(x),y_correct))

A = 1 3 A(:,:,1) = 1 3 A(:,:,2) = 2 2 A(:,:,1) = 1 3 A(:,:,2) = 2 2 A(:,:,3) = 4 3 A = 1 3 A(:,:,1) = 1 3 A(:,:,2) = 2 2 A(:,:,1) = 1 3 A(:,:,2) = 2 2 A(:,:,3) = 4 3