GenTraj.m

Trajectory generation for point to point motion with velocity, acceleration, jerk and snap constrain
3.2K Downloads
Updated 18 Jun 2007

View License

[Y,T]=GenTraj(A,V,P,Tj,Ts) returns the position, velocity and acceleration profiles for a snap controlled law from the specified constraints on maximum velocity V, maximum acceleration A, desired traveling distance P, Jerk time Tj and Snap time Ts.

Y is a 3 row matrix containing the position, velocity and acceleration profile associated to the time vector T.

If Tj and Ts are not given, Tj=Ts=0 is assumed. The resulting movement is acceleration limited. If Ts is not given, Ts=0 and P contains the points of the corresponding jerk limited law

Cite As

Bearee Richard (2026). GenTraj.m (https://www.mathworks.com/matlabcentral/fileexchange/15310-gentraj-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP2
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Nonlinear Optimization in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0

Add the screenshot