ContentsIndexReferenceHome
PreviousUpNext
TerrainAtm
MATLAB
[Model hh] = TerrainAtm(h,x,G,BaseModel,[p1],...,[pN],[dataDir])
[Model hh] = TerrainAtm(h,hGnd,BaseModel,[p1],...,[pN])
Description

This function returns the value of an atmospheric model evaluated for screen altitude above ground level. Must have the necessary DTED files downloaded for bilLoad.

Parameters
Parameters 
Description 
h [vector] 
Altitude above sea level (m) 
x [vector] 
Normalized screen locations (m) 
G [struct] 
Geometry structure as from GeomStruct 
hGnd [vector] 
Altitude of ground (m) 
BaseModel [string] 
Atmospheric modeling function on path 
p1,...,pN [arb] 
(Optional) Parameters required for evaluating BaseModel 
dataDir [string] 
(Optional) Full directory location of DTED files for bilLoad. Defaults to EngagementTools/DTED 
Return Values
Return Values 
Description 
Model [vector] 
Evaluated atmospheric model for new altitudes 
hh [vector] 
Altitudes above terrain used for evaluating BaseModel (m) 
Examples

>> Model = TerrainAtm(h,1000,'HV57') 

  • Compute HV57 for altitudes above a fixed ground level of 1 km
>> Model = TerrainAtm(h,x,G,'HV57') 

  • Compute HV57 for altitudes above ground for locations in input G as determined by TerrainProfiler
>> Atm = AtmStruct(G,100,'Cn2','TerrainAtm','x','G','HV57') 

  • Create an Atm struct with HV57 for altitudes above ground for locations in input G as determined by TerrainProfiler.
>> Atm = AtmStruct(G,100,'Cn2','TerrainAtm','HV57','C:/DTED/MyLoc') 

  • Shortcut for previous example with specification of directory for files to be loaded.
>> Atm = AtmStruct(G,100,'Cn2','TerrainAtm',1000,'HV57') 

  • Create an Atm struct with HV57 for altitudes above a fixed ground level of 1 km.
 

See Also
Group
Made with Doc-O-Matic.
Copyright (c) 2009. All rights reserved.
What do you think about this topic? Send feedback!