photo

Tuna Alikasifoglu


Last seen: 8 months ago Active since 2022

Followers: 0   Following: 0

Statistics

Feeds

View by

Answered
How to sort a complex vector with tie breaker angles between [0, 2π)?
Based on the final solution @Jan proposed, I noticed a simple modification that can fix the problem. Since the angle() function ...

1 year ago | 0

| accepted

Question


How to sort a complex vector with tie breaker angles between [0, 2π)?
By default the sort(A) function sort A by abs(A) when A is complex. If A has elements with equal magnitude, then use angle(A) in...

1 year ago | 3 answers | 1

3

answers