Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

We wish to fit the polynomial defined by aRm+1 as pa(x)=i=0maixi to a set of data points {xi,yi}i=0n with mn. To do this we write

image text in transcribedimage text in transcribed

We wish to fit the polynomial defined by aRm+1 as pa(x)=i=0maixi to a set of data points {xi,yi}i=0n with mn. To do this we write the least squares problem minaRm+1i=0npa(xi)yi2. Write the system on the form minaRm+1Aab2 and specify the matrix A and the vector b. Specify the associated normal equations. Let xi=1+2i and yi=1/(1+25xi2),i=0,1,2,,n. Solve the least squares problem for the cases m=10,n=10 and m=20 and n=80 using singular value decomposition. Plot the two obtained polynomials in the same graphic. Also plot the target function y=1/(1+25x2). Add labels that explain the figure

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions