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

63.13% Correct | 36.87% Incorrect
Last Solution submitted on Dec 11, 2023

Solution Comments

Show comments

Problem Recent Solvers115

Suggested Problems

More from this Author9

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!