Problem 1487. Sort complex numbers into complex conjugate pairs
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 commentsProblem Recent Solvers130
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15765 Solvers
-
Sort a list of complex numbers based on far they are from the origin.
5790 Solvers
-
11912 Solvers
-
Implement simple rotation cypher
1092 Solvers
-
Celsius to Fahrenheit converter
663 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!