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
-
Calculate the area of a triangle between three points
3508 Solvers
-
664 Solvers
-
454 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
400 Solvers
-
Is this triangle right-angled?
6698 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!