GenTraj.m

Trajectory generation for point to point motion with velocity, acceleration, jerk and snap constrain

You are now following this Submission

[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 .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Add the screenshot