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)
a To obtain the values of the first 3 elements in the second row of matrix A you can use MATLAB inde... 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...
-
1. Using a spreadsheet, determine the NPV of the acquisition of SkatesnStuff. Based on your numerical analysis, should Blades establish a subsidiary in Thailand or acquire SkatesnStuff? 2. If Blades...
-
Q1. Prepare general journal entries for the following transactions. Q2. The general ledger reported $10,000 as the August 1 balance for cash. On August 31, the general ledger would report cash of...
-
\(\sqrt{131}\) Identify which of the following are rational numbers.
-
Bramlett Company has several divisions and just built a new plant with a capacity of 20,000 units of a new product. A standard costing system has been introduced to aid in evaluating managers...
-
13.1 Seattle Health Plans currently uses zero-debt financing. Its operating income (earnings before interest and taxes, or EBIT) is $1 million, and it pays taxes at a 40 percent rate. It has $...
-
Determine the objectives of the test. You are auditing both quantities and pricing of the final inventory accumulation. a. Explain the assertions that you are testing. b. Explain the evidence that...
-
Evaluate some of the theoretical frameworks that have been used to explain the HRM performance in organizations.
-
A 3-phase, 220 kV, 50 Hz transmission line consists of 15 cm radius conductor spaced 2 meters apart in equilateral triangular formation. If the temperature is 40C and atmospheric pressure is 76 cm,...
-
A scooter has a 3.5 litres petrol tank. It uses 15 ml of petrol per lap of a 300m track. a) If Sarah fills up the tank, how many laps of the track can she do? b) How many kilometres can Sarah travel...
-
Convert the mass 1900g into pounds and ounces.
-
Emily is traveling in Germany. Her rental car measures speed in km/h, but the road signs display speeds in mph. The speed limit on the autobahn is 130 km/h. What is this speed limit in mph? Give your...
-
For the vectors shown below find the magnitude of |v v| and the acute angle (in degrees) that v V2 makes with respect to the x axis. A positive angle means the angle is above x axis, and a negative...
-
https://www.youtube.com/watch?v=Zihdr36WVi4 What are some of the thoughts/reflections after watching this video? Remember, reflections are not a summary of the video, but the reactions to it....
-
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.
-
Convert 17.03347 to fraction form.
-
Calculate \(\frac{10}{99}-\frac{17}{300}\).
-
Calculate \(\frac{45}{88} \times \frac{28}{75}\).
Study smarter with the SolutionInn App