Homework Help Question & Answers

You should test out your script using the following matrices. 2 3 1 2 3 1 C D- 3 2 B- A- -3 8 4 8 2 4 4 1 You may n...


You should test out your script using the following matrices. 2 3 1 2 3 1 C D- 3 2 B- A- -3 8 4 8 2 4 4 1 You may not use any
You should test out your script using the following matrices. 2 3 1 2 3 1 C D- 3 2 B- A- -3 8 4 8 2 4 4 1 You may not use any special MATLAB tools. Instead, work symbolically and derive general expressions for the eigenvalues and the eigenvectors. For instance, you may not use the SOLVE function. If you are not sure whether or not a particular function is available to you, just ask Include your hand calculations when you submit your solution to be ggraded. "Fix" each eigenvector by making the smallest component equal to 1. (Note that this is NOT the most negative.) For example, if your script tells you that one of the eigenvectors is [10; -5], the corresponding "fixed" eigenvector is [-2; 1]. And if the eigenvector is (5;-10], the "fixed" version is [1;-2]. Output the eigenvalues and "fixed" eigenvectors for each matrix above. You should be able to generate a second "version" of each eigenvector. Once you "fix" it as well, you can compare it to the first to make sure it is correct. (A proper check returns an array of tw zeros.) You can also check your eigenvectors by making sure that Mx AXn, where M is the matrix you are inputting, x. is the nth eigenvector, and A is the nth eigenvalue. (Again, a proper check will return an array of zeros.) The output should be meaningful, Le., either use meaningful variable names, or use DISP commands. When you have a functioning script, answer the following questions. You might need to try other matrices before you see the pattern. You can also look at the equations you have derived for insight into what is controlling the eigenvalues. (a) Under what conditions will both eigenvalues be positive? (b) Under what conditions will one eigenvalue be positive and the other be negative? (c) Under what conditions will one eigenvalue be equal to zero? (d) Under what conditions will there be only one eigenvalue? Write your answers to these questions as comments at the end of your script Combine your hand calculation, MATLAB script, and output from the Command Window into one PDF before you submit it to Moodle for grading. NOTES Use DET (determinant) and TRACE (sum of the diagonal elements) to make the script more efficient. These are also very useful for answering the four questions. Run your script with all four given matrices above. The hand calculation should be done symbolically, using variables for the elements of the given matrix. The hand calculation should end with expressions suitable to: (1) find the eigenvalues and then (2) find two eigenvectors for each eigenvalue (so that you can check that they are equal when "fixed"). The script should agree with your hand calculation ece201 M-problems 19-0514.doc a
0 0
Next > < Previous
ReportAnswer #1

C o = b2-P)te(ptn) - <= A te defnla iwve defiva eigevelu lA Moy Le semi deAlo (ad- i hin DIE PO esevehe ualeny6-(-2) 3 2 >fsa

Add Homework Help Answer
Add Answer of:
You should test out your script using the following matrices. 2 3 1 2 3 1 C D- 3 2 B- A- -3 8 4 8 2 4 4 1 You may n...
Your Answer: Your Name: What's your source?
Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
More Homework Help Questions Additional questions in this topic.
Need Online Homework Help?
Ask a Question
Get FREE Expert Answers
WITHIN MINUTES
Related Questions