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!