> I would like to specify a polynomial of a certain > order that takes a few values at some points and have > zero derivatives at some final value. > > I took a look at polyfit, but it does not seem to fit > for this. > > Thanks! > > J
It's just a linear system of equations in the coefficients. It should be no problem to set it up by yourself and solve it with the backslash operator.