Piecewise Cubic Spline

Versione 1.0.0.0 (3,65 KB) da Ali
Trajectory planning for robotic locomotion by stitching two cubic polynomials
412 download
Aggiornato 19 mar 2014

Visualizza la licenza

Simple code that uses the following initial and final conditions to generate the x and y co-ordinate trajectory.
t(s) x(m) y(m)
0.0 0.1 0.0
0.5 0.3 0.1
1.0 0.5 0.0

Two solve for two cubic polynomials (polynomial 0/1 or p0/p1) look at time intervals t 0.0 to 0.5 and t 0.5 to 1.0. This requires eight bits (4 each) of independent information to solve for each coefficient.

This is denoted in the eight by eight matrix. The coefficients are evaluated and cubic spline plotted against time.

Cita come

Ali (2025). Piecewise Cubic Spline (https://it.mathworks.com/matlabcentral/fileexchange/45935-piecewise-cubic-spline), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2012b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Splines in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0