Question: **Then, we will need to see how close the vectors q, e, and c are to each other. Output and display the three 2-norms: eq=norm

 **Then, we will need to see how close the vectors q,

**Then, we will need to see how close the vectors q, e, and c are to each other. Output and display the three 2-norms: eq=norm (e-q) cq=norm (c-q) ec=norm (e-c) **Next, we will use the vector of the eigenvalues e to build a polynomial whose zeros are the entries of e, that is, to construct the characteristic polynomial of A. We will run a MATLAB function poly (e) that returns the vector of the coefficients of the polynomial given the vector e of its zeros. Your outputs here will be the characteristic polynomial R of the matrix A, written in a symbolic form, and a message (see below): disp ('the constructed characteristic polynomial of A is: ") R=poly2sym (poly (e) ) **Finally, you will chick if the symbolic polynomials Q and R are the same: run a logical comparison statement and, if Q and R match, code a message: disp ('Yes! Q and R are the same!') If they don't, a message could be something like: disp ( 'What?! Q and R do not match?')

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!