Convert a Complex Number to exponential real
古いコメントを表示
Hi
I am looking for help to calculate value of a complex number say x = 2 +1j*5 using exponential function
Thanks you
採用された回答
その他の回答 (1 件)
dpb
2021 年 6 月 16 日
MATLAB has builtin functions abs (or hypot()) and angle() for the above explicit implementations...
>> x=complex(2,5);
>> cmplx2exp=@(x) deal(abs(x),angle(x));
>> [r,theta]=cmplx2exp(x)
r =
5.3852
theta =
1.1903
>>
3 件のコメント
Life is Wonderful
2021 年 6 月 16 日
編集済み: Life is Wonderful
2021 年 6 月 17 日
Life is Wonderful
2021 年 6 月 17 日
編集済み: Life is Wonderful
2021 年 6 月 17 日
Life is Wonderful
2021 年 6 月 17 日
編集済み: Life is Wonderful
2021 年 6 月 17 日
カテゴリ
ヘルプ センター および File Exchange で Switches and Breakers についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!