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!