[Model hh] = TerrainAtm(h,x,G,BaseModel,[p1],...,[pN],[dataDir]) [Model hh] = TerrainAtm(h,hGnd,BaseModel,[p1],...,[pN])
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 
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 
Description 
Model [vector] 
Evaluated atmospheric model for new altitudes 
hh [vector] 
Altitudes above terrain used for evaluating BaseModel (m) 
>> Model = TerrainAtm(h,1000,'HV57')
Copyright (c) 2009. All rights reserved.

What do you think about this topic? Send feedback!
