pwqh(t,x,v,a)

piece-wise quintic-Hermite spline generation
96 Downloads
Updated 1 Mar 2017

View License

% [ppx,ppv,ppa,ppj,pps] = pwqh(t,x,v,a)
%
% Computes a piecewise quintic spline. Similar syntax to Matlab's function
% pwch() for cubic splines. The user provides the position, velocity, and
% acceleration for a sequence
%
% INPUTS:
% t = [1, nTime] = time vector
% x = [nDim, nTime] = position
% v = [nDim, nTime] = velocity
% a = [nDim, nTime] = acceleration
%
% OUTPUTS:
% ppx = quintic spline for x(t)
% ppv = quartic spline for v(t) (derivative of x(t))
% ppv = cubic spline for a(t) (derivative of v(t))
%

Cite As

Matthew Kelly (2024). pwqh(t,x,v,a) (https://www.mathworks.com/matlabcentral/fileexchange/61822-pwqh-t-x-v-a), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Splines in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0