Mathematics Homework Solutions
Problem
#55859

Writing a Matlab function for interpolation algorithm

(See attached file for full problem description)

---
There are a few parts to this problem.  Please complete and explain each part.

1.  Consider the array



     in which, for some fixed x, the  ,  , and   are computed by the formulas




     Write a Matlab function which will take inputs  , and
     will return output  .

2.  Note that when  's and  's are fixed,   is a function of x.  Plot this function.

3.  Compare the function in (2) with the cubic polynomial interpolating  .  (  should be the value of the cubic interpolating polynomial at x.)

Attached file(s):
Attachments
scp1.doc  View File

Attachment Content Summary (Note: view attachment at the above link before purchasing. Actual attachment content may vary slightly from that shown below.)

scp1.doc
There are a few parts to this problem. Please complete and explain each
part.

1. Consider the array



are computed by the formulas







, and

.

is a function of x. Plot this function.

should be the value of the cubic interpolating polynomial at x.)
Solution
What is this?
By OTA - Overall OTA Rating
Maddu Shankar, MSc - 4.6/5
Purchase Cost Now
$2.19 CAD (was ~$15.96)
Included in Download
  • Plain text response
  • Attached file(s):
    • solution.m
$2.19 Instant Download
Add to Cart
Why you can trust BrainMass.com
  • Your Information is Secure
  • Best Online Academic Help Service
  • Students find real academic Success
Related Solutions
Browse