Sort complex numbers into complex conjugate pairs.
Example:
Input x = [3-6i -1-4i -1+4i 3+6i]
Sorted output = [-1 - 4i -1 + 4i 3 - 6i 3 + 6i]
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers134
Suggested Problems
-
Omit columns averages from a matrix
620 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2577 Solvers
-
Set the array elements whose value is 13 to 0
1450 Solvers
-
150 Solvers
-
556 Solvers
More from this Author9
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!