Answer question with working out of MATLAB, thank you Enter exactly the MATLAB commands: clear all A
Fantastic news! We've Found the answer you've been seeking!
Question:
Answer question with working out of MATLAB, thank you
Transcribed Image Text:
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.) 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.)
Expert Answer:
Answer rating: 100% (QA)
To answer these questions we need to carry out several operations in MATLAB Heres how each step would be done a To get the first three elements in the ... View the full answer
Related Book For
Posted Date:
Students also viewed these electrical engineering questions
-
Cabana Cruise Line offers cruise ship service to various tropical locations throughout the globe. The company is considering the addition of a new cruise ship to its fleet in order to expand service...
-
Please read the question properly and answer according to that. Please do not copy from other answers because those are wrong. I will upvote you if the answer is correct. 15 K 15 V 100 K Assume for...
-
4. Given A= 5.0,0,45,B= 3.0,0 = 270, determine the magnitude and direction of vector C given C=A+B. Show your work. 5. Consider y = y + Voyt - gt. a. Rearrange the expression to look like the...
-
When a company's bookkeeper started to prepare the monthly bank reconciliation, the cash account showed a balance of P528.600. At the end of the month, the following information was available from...
-
Why are committed fixed costs the most difficult of the fixed costs to change?
-
In trying to move across a slippery icy surface, a 175-lb man uses two ropes AB and AC. Knowing that the force exerted on the man by the icy surface is perpendicular to that surface, determine the...
-
The Nielsen family formed their corporation, N. Robert Nielsen, Inc., to conduct farming operations. Morre, Grider & Co. is a certified public accounting firm that has provided accounting, tax, and...
-
Classification of Acquisition and Other Asset Costs At December 31, 2009, certain accounts included in the property, plant, and equipment section of Reagan Companys balance sheet had the following...
-
A. Calculate the work, w , (in J) when 8.9 litre of an ideal gas at an initial pressure of 83.1 atm is expanded to a final pressure of 0.66 atm against a constant exteral pressure of 0.66 atm. Assume...
-
Richard McCarthy (born 2/14/64; Social Security number 100-10-9090) and Christine McCarthy (born 6/1/1966; Social security number 101-21- 3434) have a 19-year-old son (born 10/2/99 Social Security...
-
One of Maxwell's equation is V. B = 0. Which of the following sketches shows magnetic field lines that clearly violate this equation within the the dashed lines? region bounded by * (a) (b) (c) DE (d)
-
I invested the same amount, $100 in each of 50 stock picks. The average amount I made was $110, and the standard deviation of the amount I made was 45. Test the null hypothesis that I have no skill:...
-
A money manager invested in iShares Russell 2000 Index ETF Fund (Ticker: IWM). The current value of her portfolio is $1 million. Today, she decided to use option contracts to hedge the stock...
-
15. Barney & Noblet customers can choose to purchase a membership for $25 per year. Members receive a 10% discount on all store purchases. a. How much in total (ignore sales tax) would a member pay...
-
Footsteps Co. has a bond outstanding with a coupon rate of 5.4 percent and annual payments. The bond currently sells for $1,007.49, matures in 18 years, and has a par value of $1,000. What is the YTM...
-
Q.1. The number of Locally produced and Imported Cars and Trucks sold in a country is given in the table below. Cars Trucks
-
there are 2 projects: YEAR PROJECT A $ PROJECT B $ 0 (500) (500) 1 70 100 2 80 0 3 90 400 4 100 0 5 110 100 6 120 200 7 130 0 8 140 100 9 150 0 10 150 300 Required Tasks: You are required to...
-
Suppose that a business sells 6-month subscriptions to its monthly magazine. On January 1, the company receives a total of $600 for 10 subscriptions. To record this transaction, the company debits...
-
Show that defines a norm on Rn. llxlloc max l.ril lsisn
-
In each of the following, factor the matrix A into a product XDX-1. where D is diagonal. a. b. c. d. e. f. 2 3 A=10 12 0 0-1 031 121 123
-
Prove that a linear system Ax = b is consistent if and only if the rank of (A | b) equals the rank of A.
-
N = 230, n = 15, k = 200 Compute the mean and standard deviation of the hypergeometric random variable X.
-
One study showed that in a certain year, airline fatalities occur at the rate of 0.011 deaths per 100 million miles. Find the probability that, during the next 100 million miles of flight, there will...
-
N = 60, n = 8, k = 25 Compute the mean and standard deviation of the hypergeometric random variable X.
Study smarter with the SolutionInn App