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

Solution 2523743

Submitted on 11 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))

Error in solution: Line: 2 Column: 13 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

Suggested Problems