Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

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]

Problem Group

Solution Statistics

36 correct solutions 13 incorrect solutions
Last solution submitted on Dec 14, 2014