Cody

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

Solution 1804124

Submitted on 3 May 2019 by Reece Blunt
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

Suggested Problems

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!