Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Matlab image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David J. Auer

3rd Edition

0131986252, 978-0131986251

More Books

Students also viewed these Databases questions