Cody

Problem 44634. Basic matrix operations using standard MATLAB commands

Solution 2135744

Submitted on 21 Feb 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
y_correct = mean([logspace(1,5,5);logspace(6,10,5);logspace(11,15,5)]); assert(isequal(matrix_ls_means(),y_correct))

y_correct = 1.0e+14 * 0.0003 0.0033 0.0333 0.3333 3.3334

Output argument "y" (and maybe others) not assigned during call to "matrix_ls_means". Error in Test1 (line 2) assert(isequal(matrix_ls_means(),y_correct))