I'm hoping there is a built-in function I don't know about that solves this problem. Perhaps accumarray?
Sort a list of complex numbers based on far they are from the origin.
4348 Solvers
Create a function handle that reverses the input arguments of another function handle
124 Solvers
244 Solvers
Reverse the elements of an array
693 Solvers
5784 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!