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

New to MATLAB?

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

38 correct solutions 13 incorrect solutions
Last solution submitted on Mar 08, 2015