Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

X=1+j

a=real(x)

a= 1

>> b=imag(x)

b= 1

>> [THETA,RHO] = cart2pol(a,b)

THETA = 0.7854

RHO = 1.4142

>> [X,Y] = pol2cart(THETA,RHO)

X = 1.0000

Y= 1

You might also like