23-Emerald V
September 23, 2025
Question
Sorting Complex Numbers
- September 23, 2025
- 1 reply
- 596 views
Reference https://community.ptc.com/t5/Mathcad/Sum-in-Mathcad-Prime/m-p/1035397/highlight/true#M218879
Following on from the discussion re minima and maxima of various Mathcad data types, I gave up on trying to fault-find my original (messy) complex sort worksheet, and present the following simplified Mathcad Prime 11 version for your edification. It's based on merge sort.

zv is the complex-valued vector to sort, and I've rerun the results in MATLAB.
.
Stuart

