Watch this Author's files
Great work!
However, I find a problem in computing the first derivatives for B-spline curves/surfaces with inner multiple-knots, e.g., [0 0 0 0.5 0.5 1 1 1].
When I evaluate the first derivatives at u=0.5, it seems wrong.
Contact us at files@mathworks.com