convert matrix of complex numbers to angle
Show older comments
how can i convert complex number to angle between real part and imaginary part , i am trying to build cost function and penalize the complex number in the matrix to be between 0 and 255?
any ideas..
thanks Rawan
Answers (1)
Andrew Newell
on 14 Feb 2011
1 vote
1 Comment
Walter Roberson
on 14 Feb 2011
Note that angle will return radians, -pi to +pi .
Categories
Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!