trajectory
Syntax
Description
Add-On Required: This feature requires the Scenario Builder for Automated Driving Toolbox add-on.
creates a trajectory, gpsTrajectory = trajectory(gpsData)gpsTrajectory, from the input GPSData object
gpsData.
creates a trajectory from the specified timestamps gpsTrajectory = trajectory(gpsData,Timestamps=timestamps)timestamps of the
input GPS data.
creates a trajectory from the specified row indices gpsTrajectory = trajectory(gpsData,RowIndices=rowIndices)rowIndices of the
input GPS data.
specifies options using name-value arguments in addition to any combination of input
arguments from the previous syntaxes. For example, gpsTrajectory = trajectory(___,Name=Value)TimeOrigin=2 subtracts
2 seconds from the timestamps in the specified GPS data when creating the trajectory.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Version History
Introduced in R2024b
See Also
GPSData | Trajectory | CameraData | LidarData | recordedSensorData
