Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Answer question with working out of MATLAB, thank you Enter exactly the MATLAB commands: clear all A = gallery('poisson',23); (a) [2 marks] What are the
Answer question with working out of MATLAB, thank you
Enter exactly the MATLAB commands: clear all A = gallery('poisson',23); (a) [2 marks] What are the values of the first 3 elements in the second row of A? Enter your answer as a MATLAB vector in the correct order. (Note: Unfortunately the preview button does not work for input in MATLAB syntax.) (b) [1 mark] Is A symmetric? Yes No (c) [3 marks] Create a spy plot of the non-zero elements of the matrix A. (i) What is the upper and lower bandwidth of A? Lower = Number Upper = Number (ii) What is the sparsity of A as a percentage? Number % (Hint: Give your answer to at least 2 significant figures.) (d) [1 mark] Give an estimate of the 1-norm condition number of A. K(A) = Number (Hint: Give your answer to at least 4 significant figures.) (e) [3 marks] A is known exactly and the relative error in b is 2.0 10-. (i) Define the variable reb to have value 2.0 x 10-. Give any MATLAB command(s) you used. (ii) Estimate the relative error in a computed solution to A = b. Number (Hint: Give your answer to at least 2 significant figures.)
Step by Step Solution
★★★★★
3.45 Rating (148 Votes )
There are 3 Steps involved in it
Step: 1
a To obtain the values of the first 3 elements in the second row of matrix A you can use MATLAB inde...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