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 Solvers131
Suggested Problems
-
Back to basics 22 - Rotate a matrix
932 Solvers
-
Generate N equally spaced intervals between -L and L
940 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13531 Solvers
-
427 Solvers
-
Change the first and last diagonal element of the identity matrix to zero
158 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!