hw9 - Rather than using the pchip method of finding the...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
COT 4501 Homework 9, Fall 2009 Assigned Thurs Nov 12, Due Thurs Nov 19 See the HW Policy at: http://www.cise.ufl.edu/ davis/cot4501 Review problems: R7.15 R7.16 R7.17 R7.18 R7.19 R8.2 R8.3 Exercises: E8.1 Computer problems: In this project, you will write your own cubic spline method. Start with Cleve Moler’s pchiptx , which you can download from: http://www.mathworks.com/moler/ncm/pchiptx.m or the entire NCM package from: http://www.mathworks.com/moler/chapters.html You can read more about Moler’s pchiptx at: 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
http://www.mathworks.com/moler/interp.pdf
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Rather than using the pchip method of finding the slopes, compute the slope d k as the arithmetic mean (average) of δ k-1 and δ k . Do this even where the δ ’s differ in sign. For the endpoints, use d 1 = δ 1 and d n = δ n-1 . Create some data to interpolate, and compare and contrast the three methods: splinetx , pchiptx , and your new method. Try several data sets, and try to find one the points out any flaws in the method you develop. Also use the one I used in class: y = [0 0 0 0 0 1 1 1 1 1] x = 1:10 2...
View Full Document

{[ snackBarMessage ]}

Page1 / 2

hw9 - Rather than using the pchip method of finding the...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online