Cody

Problem 2540. Find out of matrix transpose Complex conjugate

Solution 1227981

Submitted on 10 Jul 2017 by Said BOUREZG
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 = [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 y = 2.0000 + 0.0000i 1.0000 + 0.0000i 3.0000 + 1.0000i 4.0000 + 1.0000i