angle() further help
5 ビュー (過去 30 日間)
古いコメントを表示
I am trying to use the angle function in order to calculate the angle of complex numbers. I have been trying to understand how the angles of complex co-ordinates in the 3rd quadrant are calculated? The example I have been using is z= -2 - 5i, the angle function (and rad2deg()) gives an answer of -111.8014. I don't understand where this figure comes from, can anyone shed some light on this?
0 件のコメント
回答 (1 件)
KSSV
2017 年 3 月 22 日
angle gives you the value of inverse tan of imaginary values divided real value.
z= -2 - 5*1i ;
atan(imag(z)/real(z))
2 件のコメント
参考
カテゴリ
Help Center および File Exchange で Polar Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!