Cody

Problem 42652. Test Problem; Create a 5x5 array containing all ones

Solution 2599672

Submitted on 23 Jun 2020
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_correct = ones(5,5) assert(isequal(x_correct, testfunction))

x_correct = 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

Unrecognized function or variable 'testfunction'. Error in Test1 (line 2) assert(isequal(x_correct, testfunction))