Problem 30. Sort a list of complex numbers based on far they are from the origin.
56.29% Correct | 43.71% Incorrect
Last Solution submitted on May 29, 2023
Show 1 older comment
Muthu Annamalai on 27 Feb 2013
It is useful to mention sort in 'descending' order of distance from origin.
Nicolas Licata on 15 May 2017
Rohan Lallbachan on 5 Dec 2017
christopher Minix on 24 Apr 2018
Solution CommentsShow comments
Problem Recent Solvers5259
What is the distance from point P(x,y) to the line Ax + By + C = 0?
Create a square matrix of multiples
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!