Converting a complex number to polar form and finding it's magnitude
조회 수: 33(최근 30일)
표시 이전 댓글
z = (((-(3)^(0.5) + 3i).^4) * exp((-5i*pi/6))^3)/(2 + 2i)^2; how to convert this into it's polar form and find it's magnitude?
댓글 수: 0
채택된 답변
Lucas García
2011년 9월 1일
r = abs(z);
theta = atan2(imag(z),real(z));
Also...
r = abs(z);
theta = angle(z);
댓글 수: 3
Matt Kindig
2013년 4월 19일
편집: Matt Kindig
2013년 4월 19일
Hi Jay,
I'm not quite sure what you are asking, but you can define a complex number simply as:
z = a+b*1i;
z = 3+2*1i; %for example
This is treated by Matlab as a "single object" for use in calculations, and is expressed in rectangular form. Is this what you are asking?
추가 답변(1개)
Marwa aljaziri
2017년 11월 5일
how to convert bus admittance matrix to polar form with angle in radian
댓글 수: 0
참고 항목
범주
Find more on Get Started with MATLAB in Help Center and File Exchange
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!