File Exchange

image thumbnail

pwqh(t,x,v,a)

version 1.0.0.0 (3.15 KB) by Matthew Kelly
piece-wise quintic-Hermite spline generation

1 Download

Updated 01 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 (2021). pwqh(t,x,v,a) (https://www.mathworks.com/matlabcentral/fileexchange/61822-pwqh-t-x-v-a), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!