Solution 2092194

Submitted on 14 Jan 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=eye(3); y_correct = [ 1 -3 3 -1]; assert(isequal(char_eq(x),y_correct))

Undefined function 'charpoly' for input arguments of type 'double'. Error in char_eq (line 2) y =charpoly(x) ; Error in Test1 (line 3) assert(isequal(char_eq(x),y_correct))