Sort complex numbers into complex conjugate pairs - MATLAB Cody - MATLAB Central

Problem 1487. Sort complex numbers into complex conjugate pairs

Difficulty:Rate

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

60.75% Correct | 39.25% Incorrect
Last Solution submitted on Feb 28, 2025

Solution Comments

Show comments
Who Deserves Your Praise? Discover the New Contribution Widget!
...
We are excited to announce another update to our Discussions area: the...

Problem Recent Solvers120

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!
Go to top of page