2. Create a 128x128 matrix using the following commands: >> n = 128; T = 5;...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
2. Create a 128x128 matrix using the following commands: >> n = 128; T = 5; t linspace (0, T, n)'; 0.4; = >> gamma = >> hh = (T/n) *1/ (sqrt (2*pi*gamma^2) ) *exp(-1/(2*gamma^2) *t.^2); >> A = toeplitz (hh, hh); a. What is the condition number of this matrix? b. Let x be a square wave. Calculate b = Ax, which is the noiseless data. c. Using the 'randn' command, create a noisy vector bnoisy with zero-mean Gaussian noise with standard deviation 0.0001. Plot b and noisy on the same plot. Does this look significantly noisy? d. Use 'pinv' to solve for Ax = bnoisy. What is the norm of the error? e. Regularize the problem by adding a diagonal matrix ('diag) to A and solve (A + )x = bnoisy. Choose at least three values of and calculate the condition number of the new matrix, and the new least squares solutions. Try and get as close as possible to the true solution. Comment on what you observe. Plot all of the solutions on the same plot, compared to the true solution. Use a legend to label the plots. 2. Create a 128x128 matrix using the following commands: >> n = 128; T = 5; t linspace (0, T, n)'; 0.4; = >> gamma = >> hh = (T/n) *1/ (sqrt (2*pi*gamma^2) ) *exp(-1/(2*gamma^2) *t.^2); >> A = toeplitz (hh, hh); a. What is the condition number of this matrix? b. Let x be a square wave. Calculate b = Ax, which is the noiseless data. c. Using the 'randn' command, create a noisy vector bnoisy with zero-mean Gaussian noise with standard deviation 0.0001. Plot b and noisy on the same plot. Does this look significantly noisy? d. Use 'pinv' to solve for Ax = bnoisy. What is the norm of the error? e. Regularize the problem by adding a diagonal matrix ('diag) to A and solve (A + )x = bnoisy. Choose at least three values of and calculate the condition number of the new matrix, and the new least squares solutions. Try and get as close as possible to the true solution. Comment on what you observe. Plot all of the solutions on the same plot, compared to the true solution. Use a legend to label the plots.
Expert Answer:
Related Book For
An Introduction To Statistical Methods And Data Analysis
ISBN: 9781305465527
7th Edition
Authors: R. Lyman Ott, Micheal T. Longnecker
Posted Date:
Students also viewed these databases questions
-
Portray in words what transforms you would have to make to your execution to some degree (a) to accomplish this and remark on the benefits and detriments of this thought.You are approached to compose...
-
QUIZ... Let D be a poset and let f : D D be a monotone function. (i) Give the definition of the least pre-fixed point, fix (f), of f. Show that fix (f) is a fixed point of f. [5 marks] (ii) Show that...
-
In a world so divided in so many ways, sustainable economic development on a global scale will amount to nothing but a figment of human imagination or, to put it mildly, just wishful thinking. Do you...
-
A firm has 1,500,000 in its common stock account and 1,000,000 in its paid in capital account. The firm issued 100,000 share of common stock. What was the original issue price if only one stock issue...
-
In 2013, Ryan Management collected rent revenue for 2014 tenant occupancy. For financial reporting, the rent is recognized as income in the period earned, but for income tax reporting it is taxed...
-
Here is a simple example of mutually exclusive events, which are used quite frequently. Let \(X\) denote the \(\mathrm{pH}\) of a sample. Consider the event that \(X\) is greater than 6.5 but less...
-
Firemans Fund commissioned an online survey of 1,154 wealthy homeowners to find out what they knew about their insurance coverage. (a) When asked whether they knew the replacement value of their...
-
Convert the following decimal numbers to the base indicated: 1. 175 to binary 2. 25.86 to binary 3. 1938 to hexadecimal 4. 5386 to hexadecimal
-
Perhaps more surprising to Mr. Pitkin was a proposal by the VP of Marketing to make a major investment in market share by increasing promotional expenditures by $2.5 million during 1998-2000. Sales...
-
Strickland Company sells inventory to its parent, Carter Company, at a profit during 2020. Carter sells one-third of the inventory in 2020. In the consolidation worksheet for 2021, assuming Carter...
-
What role does the viewer's interpretation and participation play in the creation and meaning-making process of Conceptual art, and how does this democratization of artistic experience challenge...
-
Let f(x) be a differentiable function on [0,2] with f(0) = 1, f(1) = 0 and f(2) = 5. (a) Show that there exist a a2 (0,2) such that f(a) = a and f(a2) = a. [5 marks] (b) Show that there exists b (0,...
-
what ways does Conceptual art prioritize the conceptual framework over the physical manifestation of the artwork, and how does this emphasis influence the viewer's engagement with the piece ?
-
How do Conceptual artists navigate the tension between the intangible nature of their ideas and the necessity of material representation in order to communicate their conceptual concepts effectively ?
-
An engineering company makes small parts for the car industry. For a particular product the production manager is presented with a report from a production engineer who thinks that this production...
-
Description about the ad you saw (brand/product, a brief description of the talent/celebrity, was it humorous/serious/cause related, did a competitor/s appear as well in another spot, include a link...
-
If the cylinder described in Problem 21.3 were initially heated to 500F, how long would it take for the center of the cylinder to cool to 240F if it were constructed of a. Copper? b. Brass? c. Nickel?
-
An American history professor at a major university was interested in knowing the history literacy of college freshmen. In particular, he wanted to find what proportion of college freshmen at the...
-
Carbon monoxide (CO) emissions from automobiles can be influenced by the formulation of the gasoline that is used. Oxygenated fuels are used in northern states during the winter to decrease CO...
-
Effective tax rates (per $ 100) on residential property for three groups of large cities, ranked by residential property tax rate, are shown in the following table. a. Compute the mean, median, and...
-
Identify something you own, perhaps even something you still use regularly. a. Give a list of at least six reasons why you might consider replacing the identified item. b. Identify at least two...
-
A company owns a 6-year-old gear hobber that has a book value of \($60,000.\) The present market value of the hobber is \($80,000.Anew\) gear hobber can be purchased for \($450,000.\) Using an...
-
Ten reasons why companies use equipment long after replacements would be justified economically. In many cases, these reasons do not apply just to companies; rather, they apply to us as individuals....
Study smarter with the SolutionInn App