Cody

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

Solution 2772601

Submitted on 3 Aug 2020 by Jerry Wright
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   Pass
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 ans = 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

Suggested Problems