Making complex number to trigonometric formula

20 ビュー (過去 30 日間)
Vytautas Milius
Vytautas Milius 2021 年 1 月 9 日
編集済み: John D'Errico 2021 年 1 月 9 日
How to convert complex number to trigonometric formula?
−1 + i√ 3
ANSWER : 2(cos(2π/3) + i sin(2π/3))

採用された回答

John D'Errico
John D'Errico 2021 年 1 月 9 日
編集済み: John D'Errico 2021 年 1 月 9 日
Since this is clearly homework...
Hint: what does angle do? (atan2 would also suffice, but then you would need to know how to extract the real and imaginary parts of the number.)
Next, what does abs do, when applied to a complex number? Again, you could do this using more prosaic calls, as applied to the real and imaginary parts of the number. Or, you could play with what happens when you multiply a number with its conjugate transpose, then taking a sqrt.
Hey, this is homework. You need to do the thinking. That is why god (or more likely, your instructor) gave you the homework assignment, not me.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by