Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Matlab problem c) Plot the interpolation polynomial by sg pLot on te odespace m T, x e [-1,1], we want to interpolate this function on

Matlab problem image text in transcribed
c) Plot the interpolation polynomial by sg pLot on te odespace m T, x e [-1,1], we want to interpolate this function on x, for i onsider the function f(x) = 1,2,3,... ,n 1, which are n 1 equally spaced points on the interval [-1, 1]. Use the MATLAB func- tion LagrangeForm you wrote in problem 2 to plot the interpolating polynomial for n 5 and n 9. Show these two curves as well as the curve for f(x) in the same graph and distinguish them with legend. Do the interpolation polynomials match the function well? 3. C 1. Consider. f(x) = sin(x), x E [, 11, we want to interpolate it on the abscissae data-linspace (-1,1,10)

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

Beginning C# 2005 Databases

Authors: Karli Watson

1st Edition

0470044063, 978-0470044063

More Books

Students also viewed these Databases questions