Question: 1. (10 points) Use MATLAB to compute A complex number where x is the real part of z and y is the imaginary part. z
1. (10 points) Use MATLAB to compute A complex number where x is the real part of z and y is the imaginary part. z can also be expressed in polar form as z=x+iy where r is the magnitude and is the angle (in radians) See diagram MATLAB has functions real, imag, abs and angle to find the four quantities. Enter the following statements and fill in the values displayed: >(2+3i)46 >> x=real(z) >> y=imag(z) >> r=abs(z) >> theta=angle(z) theta =-O-JYb4 Write statements to convert any values of r and theta back to x and y. If you execute the statements, you should verify the values of x and y above. Hint: Use trigonometrie functions. ytn theta
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
