removeWind
Syntax
Description
Examples
Create a UAV scenario and platform.
scene = uavScenario;
platform = uavPlatform("UAV",scene);Create a steady wind object with default parameters.
steadyWind = uavWindSteady
steadyWind =
uavWindSteady with properties:
Velocity: [3.5000 3.5000 5]
StartTime: 0
StopTime: Inf
Create a gust wind object with default parameters.
gustWind = uavWindGust
gustWind =
uavWindGust with properties:
GustAmplitude: [3.5000 3.5000 5]
GustLength: [120 120 80]
StartTime: 0
StopTime: Inf
Create a turbulence wind object with default parameters.
turbulenceWind = uavWindTurbulence
turbulenceWind =
uavWindTurbulence with properties:
Specification: "MIL-F-8785C"
ModelType: "Von Karman (+q +r)"
WindSpeedAt6m: 15
WindDirectionAt6m: 0
ProbExceedanceHighAltitudeIntensity: "10^-2 - Light"
ScaleLengthAtMediumHighAltitude: 762
Wingspan: 10
BandLimitedNoiseSampleTime: 0.1000
RandomNoiseSeeds: [23341 23342 23343 23344]
StartTime: 0
StopTime: Inf
Add all wind objects to the UAV platform.
addWind(platform,{steadyWind gustWind turbulenceWind})Obtain the details of the wind objects added to the UAV platform.
windTbl1=windDetails(platform)
windTbl1=3×2 table
ID WindProperties
__ _______________________
1 {1×1 uavWindSteady }
2 {1×1 uavWindGust }
3 {1×1 uavWindTurbulence}
Remove the gust wind object.
removeWind(platform,2)
Obtain the details of the wind objects added to the UAV platform after the gust wind object has been removed.
windTbl2=windDetails(platform)
windTbl2=2×2 table
ID WindProperties
__ _______________________
1 {1×1 uavWindSteady }
2 {1×1 uavWindTurbulence}
Input Arguments
UAV platform, specified as a uavPlatform object
Wind model object identifier, specified as an array of positive integer starting
from 1 to N, where 1 corresponds to the first wind model added to the platform, and N
corresponds to the last wind model. You can use windDetails
function to see how many wind model objects are added to
platform
Example: removeWind(platform,[1 2]) removes the first and second
wind model objects on the platform
Version History
Introduced in R2024a
See Also
Functions
Objects
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.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の 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)