% dpp = ppDer(pp)
% Computes the time-derivative of piece-wise polynomial (PP) struct
% pp = a PP struct containing a trajectory of interest
% dpp = a new PP struct that is the time-derivative of pp
% --> a pp struct is typically created by matlab functions such as
% spline, pchip, or pwch and evaluated using ppval.
% --> Call this function without arguments to run a test case
Matthew Kelly (2020). ppDer(pp) (https://www.mathworks.com/matlabcentral/fileexchange/58298-ppder-pp), MATLAB Central File Exchange. Retrieved .
Fixed the formatting of the pp-struct to be the same as is generated by built-in matlab functions.