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
-
middleAsColumn: Return all but first and last element as a column vector
647 Solvers
-
Return the first and last characters of a character array
11883 Solvers
-
Who is the smartest MATLAB programmer?
791 Solvers
-
273 Solvers
-
Sum of diagonals elements of a matrix
232 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!