主要内容

Aero.trajectory.parallelSweepTrajectory

Generate reference signals for parallel sweep search trajectory

Since R2026a

Description

refSignals = Aero.trajectory.parallelSweepTrajectory(Name=Value) generates reference signals for a parallel sweep search trajectory. Use name-value arguments to define the search pattern. For more information, see Algorithms.

example

Examples

collapse all

This example shows how to generate reference signals for a parallel sweep trajectory.

refSignals = Aero.trajectory.parallelSweepTrajectory(InitialPosition = [0, 0], ...
Speed = 100,DatumPoint = [10, 10],FieldLength = 5000, ...
FieldWidth = 2000,TrackSpacing = 1000,Bearing = pi/4, ...
Altitude = 5000,OutputFormat = 'timetable')
refSignals=3×6 timetable
    09-Jan-2026 09:08:34    1              0              0    100       0         0
    09-Jan-2026 09:09:28    2    -1.7578e+03    -1.0507e+03    100    5000    3.6803
    09-Jan-2026 09:10:08    3     1.0707e+03     1.7778e+03    100    5000    0.7854

Name-Value Arguments

collapse all

Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

Example: InitialPosition = [0,0]

Initial position of trajectory, specified as a 1-by-2 or 2-by-1 vector in the units specified in Units.

Example: InitialPosition = [0,0]

Data Types: double

Speed of trajectory, specified as a finite real double scalar in the units specified in Units.

Example: Speed = 10

Data Types: double

Altitude of the vehicle trajectory, specified as a finite real scalar double in the units specified in Units. This value is constant throughout the vehicle path.

Example: Altitude = 10

Data Types: double

Initial heading of trajectory, specified as a finite real double scalar between 0 and 2*pi, in radians. Specify one each of InitialHeading and FinalHeading.

Example: InitialHeading = pi

Data Types: double

Output format of reference signals data, specified as timeseries or timetable.

Example: OutputFormat = timeseries

Input and output units, specified as one of these values:

Units

Position

Altitude

Speed

Metric (MKS)

Meters

Meters

Meters per second

English (Velocity in ft/s)

Feet

Feet

Feet per second

English (Velocity in kts)

Nautical miles

Feet

Knots

Example: Units = 'Metric (MKS)'

Data Types: double

Initial time of trajectory operation, specified as a datetime object.

Example: StartTime=datetime('now')

Bearing, specified as a finite real scalar double between 0 and 2*pi.

Example: Bearing = pi/4

Data Types: double

Field center, specified as a 1-by-2 or 2-by-1 vector of finite real doubles in the units specified in Units.

Data Types: double

Field length, specified as a scalar.

Example: FieldLength = 12

Data Types: double

Field width, specified as a positive scalar in the units specified in Units.

Example: FieldWidth = 12

Data Types: double

Initial altitude of trajectory, specified as a scalar in the units specified in Units.

Example: InitialAltitude = 10

Data Types: double

Prior trajectory tracking data, specified as a timeseries or timetable object. These objects must contain these fields:

  • Altitude

  • Heading

  • Speed

  • WaypointIndex

  • xNorth

  • yEast

  • LateralAcceleraion/Turnrate

Spacing between tracks, specified as a scalar.

Example: TrackSpacing = 10

Data Types: double

Output Arguments

collapse all

Trajectory reference signals, returned as a timeseries struct or timetable object.

Algorithms

Use Aero.trajectory.parallelSweepTrajectory to define the parameters of a parallel sweep trajectory, where S is specified by TrackSpacing.

Version History

Introduced in R2026a