Problem 2553. Complex number

Solution 2824293

Submitted on 12 Aug 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
a = 1; b=5 y_correct = 6; assert(isequal(imgnumbers(a,b),y_correct))

b = 5

Unrecognized function or variable 'bi'. Error in imgnumbers (line 2) y = a+bi; Error in Test1 (line 4) assert(isequal(imgnumbers(a,b),y_correct))

Suggested Problems

More from this Author10