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

Solution 2259063

Submitted on 6 May 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.