Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = [2 3+i;1 4+i];
y_correct = [2 1;3+i 4+i]
assert(isequal(tran_matrix(x),y_correct))
y_correct =
2.0000 + 0.0000i 1.0000 + 0.0000i
3.0000 + 1.0000i 4.0000 + 1.0000i
ans =
2.0000 + 0.0000i 1.0000 + 0.0000i
3.0000 + 1.0000i 4.0000 + 1.0000i
|
Sort a list of complex numbers based on far they are from the origin.
4327 Solvers
Is my wife right? Now with even more wrong husband
1241 Solvers
250 Solvers
216 Solvers
Count decimal digits of a number
176 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!