How can I convert log(-1) to complex number

4 ビュー (過去 30 日間)
Muhammed Ali
Muhammed Ali 2023 年 2 月 27 日
コメント済み: Muhammed Ali 2023 年 2 月 27 日
Hey there,
i want to calcuate log(-1), however i always get an error notification that it is not locial. Is there any way to convert it, so I get a imaginary number if it tries to solve it. Its known that log(-1) = 1.36437635 i

採用された回答

Stephen23
Stephen23 2023 年 2 月 27 日
log10(-1)
ans = 0.0000 + 1.3644i
  1 件のコメント
Muhammed Ali
Muhammed Ali 2023 年 2 月 27 日
Thank you so much Stephen!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeProblem-Based Optimization Setup についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by