Question: Matlab 1. 11 pts] Create the following complex variables: c1 = complex (0,2); c3 sqrt (-4) Then, do the following: a) Get the real and
1. 11 pts] Create the following complex variables: c1 = complex (0,2); c3 sqrt (-4) Then, do the following: a) Get the real and imaginary parts of c2 b) Print the value of cl using disp c) Print the value of c2 in the form a + bi (without zeros) d) Determine whether any of the complex numbers are equal to each other. e) Subtract c2 from cl f) Multiply c2 times c3 g) Get the complex conjugate of c2. h) Find the magnitude and the angle of c2 2. [4 pts] Represent the expression za -2z2 +3-51 as a row vector of coefficients, and store this in a variable compoly. Use the roots function to solve z3-2z2+3-510 Also, find the value of compoly when z 2 using polyval 3. [5 pts] The real parts and imaginary parts of complex numbers are stored in separate variables, for example: >>rp = [1.136]; >ip [2 0.3 4.91 Determine how to use the complex function to combine these separate parts into complex numbers; for example, 1.1000 +2.0000i 3.00000.3000i 6.0000+4.90001
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
