Compare and sort (complex-valued) arrays

Minimize absolute distance between corresponding elements of two complex vectors.
191 Downloads
Updated 6 Jun 2013

View License

Takes two (possibly) complex-valued lists and rearranges one of them so that each element in one list is closest to the element with the same index on the other list. Minimize absolute distance between corresponding elements in the two lists.

Cite As

Ismail Hameduddin (2024). Compare and sort (complex-valued) arrays (https://www.mathworks.com/matlabcentral/fileexchange/42124-compare-and-sort-complex-valued-arrays), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Operators and Elementary Operations in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0