In: Advanced Math
Hi, can you please verify with the basic code of a beginner MATLAB user, and try explaining how to approach if possible. Thanks a lot! :)
1. Answer the following questions regarding complex numbers. You must provide all handwritten working and MATLAB code/outputs for the problems below.
(a) Express the complex number w = √ 3+i in complex exponential form. (Provide a handwritten solution)
(b) (1 mark) Use MATLAB to check your answer for part (a) by calculating the length and argument of w. (Provide your MATLAB code/outputs)
(c) Find all solutions to z^5 = √ 3 + i. (Provide a handwritten solution)
(d) Use MATLAB to plot the solutions found above. The solutions must be plotted on the same figure. (Provide you MATLAB code/outputs) (e) What do you notice about the solutions in the plot? (Provide a handwritten solution)
a)
b) Matlab Code:
Ouput:
c)
d)
Matlab Code:
z=[1.14240+0.1201i, 0.2388+1.1236i, -0.9948+0.5743i,
-0.8536-0.7686i, 0.4672-1.0494i]
plot(z,'*r')
grid on
Output: