Aero.trajectory.sectorTrajectory
Description
generates reference signals for a sector search trajectory. Use name-value arguments to
define the search pattern. For more information, see Algorithms.refSignals = Aero.trajectory.sectorTrajectory(Name=Value)
Examples
This example shows how to generate reference signals for a sector trajectory.
refSector = Aero.trajectory.sectorTrajectory(Altitude = 20, ... Bearing = pi/2,DatumPoint = [-8,0], ... InitialAltitude = 0,Radius = 5, ... OutputFormat = 'timetable',InitialHeading = 0)
refSector=9×6 timetable
timestamps WaypointIndex xNorth(m) yEast(m) Speed(m/s) Altitude(m) Heading(rad)
____________________ _____________ _________ ________ __________ ___________ ____________
26-Feb-2026 14:57:53 1 0 0 90 0 3.1416
26-Feb-2026 14:57:54 2 -8 0 90 20 1.5708
26-Feb-2026 14:57:54 3 -8 5 90 20 5.7596
26-Feb-2026 14:57:54 4 -3.6699 2.5 90 20 3.6652
26-Feb-2026 14:57:54 5 -12.33 -2.5 90 20 1.5708
26-Feb-2026 14:57:54 6 -12.33 2.5 90 20 5.7596
26-Feb-2026 14:57:54 7 -3.6699 -2.5 90 20 3.6652
26-Feb-2026 14:57:54 8 -8 -5 90 20 1.5708
26-Feb-2026 14:57:54 9 -8 0 90 20 1.5708
This example shows how to add reference signals for a sector search flight trajectory, sectorSignals, to existing reference signals for another trajectory, parallelSweepSignals.
Create reference signals for a parallel sweep trajectory.
parallelSweepSignals = Aero.trajectory.parallelSweepTrajectory('InitialPosition', [0, 0], ... 'Speed', 100, 'DatumPoint', [10, 10], 'FieldLength', 5000, ... 'FieldWidth', 2000, 'TrackSpacing', 1000, 'Bearing', pi/4, ... 'Altitude', 5000, 'OutputFormat', 'timetable')
parallelSweepSignals=3×6 timetable
09-Jan-2026 09:13:54 1 0 0 100 0 0
09-Jan-2026 09:14:48 2 -1.7578e+03 -1.0507e+03 100 5000 3.6803
09-Jan-2026 09:15:28 3 1.0707e+03 1.7778e+03 100 5000 0.7854
Add reference signals for a sector search flight trajectory, sectorSignals, to parallelSweepSignals.
sectorSignals = Aero.trajectory.sectorTrajectory(priorTrajectory = parallelSweepSignals, ... Altitude = 20,Bearing = pi/2,DatumPoint = [-8, 0], ... Radius = 5)
sectorSignals=11×6 timetable
09-Jan-2026 09:13:54 1 0 0 100 0 0
09-Jan-2026 09:14:48 2 -1.7578e+03 -1.0507e+03 100 5000 3.6803
09-Jan-2026 09:15:28 3 1.0707e+03 1.7778e+03 100 5000 0.7854
09-Jan-2026 09:16:28 4 -8 0 90 20 4.1670
09-Jan-2026 09:16:28 5 -8 5 90 20 1.5708
09-Jan-2026 09:16:28 6 -3.6699 2.5000 90 20 5.7596
09-Jan-2026 09:16:28 7 -12.3301 -2.5000 90 20 3.6652
09-Jan-2026 09:16:28 8 -12.3301 2.5000 90 20 1.5708
09-Jan-2026 09:16:28 9 -3.6699 -2.5000 90 20 5.7596
09-Jan-2026 09:16:28 10 -8.0000 -5 90 20 3.6652
09-Jan-2026 09:16:29 11 -8 0 90 20 1.5708
Name-Value Arguments
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 |
|---|---|---|---|
| Meters | Meters | Meters per second |
| Feet | Feet | Feet per second |
| 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
Datum point is a positional coordinate, specified as a 1-by-2 or 2-by-1 vector in the range finite real double, in the units specified in Units.
Example: DatumPoint = [10, 10]
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:
AltitudeHeadingSpeedWaypointIndexxNorthyEastLateralAcceleraion/Turnrate
Radius of trajectory, specified as a positive scalar.
Example: Radius = 10
Data Types: double
Search direction, specified as Counterclockwise or
Clockwise.
Output Arguments
Trajectory reference signals, returned as a timeseries
struct or timetable object.
Algorithms
Use Aero.trajectory.sectorTrajectory to define the parameters of a
sector trajectory.
Version History
Introduced in R2026a
See Also
Live Editor Tasks
Functions
Aero.trajectory.addEvent|Aero.trajectory.bezierTrajectory|Aero.trajectory.circularTrajectory|Aero.trajectory.creepingTrajectory|Aero.trajectory.expandingSquareTrajectory|Aero.trajectory.parallelSweepTrajectory|Aero.trajectory.polylineTrajectory|Aero.trajectory.polynomialTrajectory|Aero.trajectory.tracklineTrajectory
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)