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 Solvers133
Suggested Problems
-
Change the sign of even index entries of the reversed vector
637 Solvers
-
271 Solvers
-
Sum of first n positive integers
620 Solvers
-
1706 Solvers
-
Is this triangle right-angled?
6388 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!