Cody

Solution 2009263

Submitted on 8 Nov 2019 by Nikolaos Nikolaou
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 = [1 1 1]; y_correct = 'Complex'; assert(isequal(your_fcn_name(x),y_correct))

M = -0.5000 + 0.8660i -0.5000 - 0.8660i l = 0.8660 -0.8660 y = 'Complex'

2   Pass
x = [1 3 1]; y_correct = 'RealDifferent'; assert(isequal(your_fcn_name(x),y_correct))

M = -2.6180 -0.3820 l = 0 0 y = 'RealDifferent'

3   Pass
x = [1 -4 4]; y_correct = 'RealEqual'; assert(isequal(your_fcn_name(x),y_correct))

M = 2 2 l = 0 0 y = 'RealEqual'