Converting rectangular form complex numbers into polar form

I am having trouble converting rectangular form complex numbers into polar form by writing a MATLAB script file.
I'm not fimular with MATLAB keywords but need to use this to prove my answers.
Z = 4 + j 5

 채택된 답변

Robin Gangopadhya
Robin Gangopadhya 2019년 9월 4일

2 개 추천

You could have found this by searching right here(some one answered in 2014)...does it work for you?
x=2+3j
rho=abs(x)
theta=angle(x)
%-------------------
x=rho*exp(j*theta)

댓글 수: 2

This works thank you so much!! Rho represents what exactly?
Rho is magnitude

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Robin Gangopadhya
Robin Gangopadhya 2019년 9월 4일

1 개 추천

it is the absolute value of the complex number a+jb= sqrt(a^2+b^2)

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by