

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Class: Numerical Analysis; Subject: Mathematics; University: University of California - Berkeley; Term: Spring 2005;
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Apr. 21, 2005 Jonathan Dorfman Homework 10 Solutions
file function Hmwk10Main.m calls KnotInsertion calls ControlPolygon KnotInsertion.m implements p.17 of de Boor’s notes ControlPolygon.m implements p.12 ofde Boor’s notes
A diary of the output follows:
%%%%%%%%%% Problem #10.1 %%%%%%%%%%%%%%%%%%%%%%% knot sequence before insertion is: [0 0 1 1.5 2 2.1 2.2 2.3 3] knot sequence after insertion of x=1.94 is: [0 0 1 1.5 1.94 2 2.1 2.2 2.3 3]
A-sequence before insertion is: [1 -1 -0.5 3 -1] A-sequence after insertion of x=1.94 is: [1 -0.94 -0.57273 1.7 3 -1]
%%%%%%%%%% Problem #10.2 %%%%%%%%%%%%%%%%%%%%%%% t* sequence is t* = [0.33333][0.83333 1.5 1.8667 2.1 2.2] [2.5] a-values =[0] [1 -1 -0.5 3 -1] [0]
%%%%%%%%%% Problem #10.3 %%%%%%%%%%%%%%%%%%%%%%% t* sequence is t* =: [0.33333] [0.83333 1.48 1.8133 2.0133 2.1 2.2] [2.5] a-values =[0] [1 -0.94 -0.57273 1.7 3 -1] [0]
0 0.5 1 1.5 2 2.
−
−0.
0
1
2
3
control polygon (k = 4)
control polygon before knot insertion control polygon after knot insertion
Movie showing 30 random knot insertions