pwqh(t,x,v,a)
% [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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |