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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Problem-Based Optimization Setup에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by