This worksheet will serve as a list of the MATLAB commands that you may want/need to use for the upcoming linear algebra projectMath 284Name: This worksheet contains a list of MATLAB...

Hi there, this assignment dues today at 9:00PM US time. I just need the output/effects thats it! please let me know ASAP. should be easy for you! thank you.


This worksheet will serve as a list of the MATLAB commands that you may want/need to use for the upcoming linear algebra project Math 284 Name: This worksheet contains a list of MATLAB commands to explore. Note: I have included the commands, but not their meanings! Many will do exactly what you (hopefully!) expect, but some others may not be so obvious – enter each of these, and pay careful attention to the outputs to and see exactly what the commands are doing. You may want to test your conjectures by making up different matrices and applying the commands to those, and/or doing some computations by hand or with your calculator. Start by entering the matrix A = [1 3 -6; -1 5 -6; -2 2 -2] and the vectors B=[6;-2;-6] and C=[1;2;1] Then enter each of the following commands, and determine what the effect of the command is. [A, B] Effect: A(1,:) and A(:,2)Effects: and rref[A, B] Effect: A * A Effect: dot(B,C) Effect: transpose(A) Effect: eig(A) Effect: [V , D] = eig(A) Effect: sum(A) Effect: sortrows(A) Effect: [E,index]=sortrows(A) Effect: Some other useful variations on the sortrows command: -sortrows(-A) Effect: sortrows(A,2) Effect: A .* A (note the period preceding the multiplication symbol) Effect: What is the significance, in terms of the mathematics we have been doing in class, of the values of the elements in sum(A .* A) ? R = rand(4,6) Effect: Try to predict exactly what the following routine does. Then enter it (either line by line, or as an M-file) and test your prediction: ( Answer : This routine ) R = rand(4,6) S = sqrt(sum(R .* R)) for i=1:6 R(:,i) = R(:,i) / S(i) end Finally, orthogonally diagonalize using MATLAB and show all your intermediate steps. Then give a spectral decomposition of matrix A. 222 214 241 A - éù êú =- êú êú -- ëû
Dec 15, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here