From: matlaberboy on
did you ever solve this?

thanks
From: Matt J on
"Zafb Aftab" <mech319(a)hotmail.com> wrote in message <h0lbup$m7a$1(a)fred.mathworks.com>...
> Hello,
>
> I am currently working on the matlab spline toolbox in order to describe a specific movement. I have two questions:
>
> 1) How to specify multiple end condition to a spline (say cubic spline), as i want to have at the ends both 'periodic' and 'zero slope' conditions.
>
> 2) How can we specify the condition at the interior points, (i want to have a straight horizontal line between two of the interior points).
============

If you have the Optimization Toolbox, this might help

http://www.mathworks.com/matlabcentral/fileexchange/24443-slm-shape-language-modeling