Answered step by step
Verified Expert Solution
Question
1 Approved Answer
4. (20 points) Create a Matlab script that: Generates a size 100 x 100 random matrix with the randn command. Generates a dimension 100 vector
4. (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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started