Cody

Solution 1970145

Submitted on 10 Oct 2019
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
x = [1 2 3 4;5 6 7 8]; A_correct = [1 4 9 16;25 36 49 64]; assert(isequal(your_fcn_name(x),A_correct))

A = 1 2 3 4 5 6 7 8 ans = 2×4 logical array 1 0 0 0 0 0 0 0

Assertion failed.