Question: (20 points) Create a Matlab script that: Generates a size 100 x 100 random matrix with the randn command. Generates a dimension 100 vector with

(20 points) Create a Matlab script that: Generates a size 100 x 100 random matrix with the "randn command. Generates a dimension 100 vector with the "randn command. Solves the relevant linear system with the builtin command. Checks the accuracy of the solution by way of residue. Repeats items 1-4 but this time generates the 100 x 100 matrix with the "hilb command. The vector should still be generated with the "randn command. Separate the two parts of the script by titling the parts using comments. Choose your variable names in a way that represents what they hold. Compare, with a comment, the differences in residues. If there was a difference why do you think that was? Upload your solution as Question4.m Wrong file formats get -10 pts! NO SCREEN CAPS
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
