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 Solvers116
Suggested Problems
-
Remove all the words that end with "ain"
2223 Solvers
-
Back to basics 25 - Valid variable names
322 Solvers
-
443 Solvers
-
734 Solvers
-
Rounding off numbers to n decimals
4319 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!