(a) Use MATLAB to fit a cubic spline to the following data: Determine the value of y...

Question:

(a) Use MATLAB to fit a cubic spline to the following data:

2 4 7 10 12 х 20 20 12 У 7. 6. 6.

Determine the value of y at x = 1.5.
(b) Repeat (a), but with zero first derivatives at the end knots. Note that the MATLAB help facility describes how to prescribe endderivatives.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Numerical Methods For Engineers

ISBN: 9780071244299

5th Edition

Authors: Steven C. Chapra, Raymond P. Canale

Question Posted: