ContentsIndexReferenceHome
PreviousUpNext
AverageAtm
MATLAB
Model = AverageAtm(h,dx,G,BaseModel,[p1],...,[pN])
Description

Computes the average values of the input model over the specified phase screen slabs. Can be used with any model type.

Parameters
Parameters 
Description 
h [vector] 
Altitude (m) 
dx [vector] 
Normalized screen thicknesses 
G [struct/list] 
Geometry structure as from GeomStruct or comma-separated list of (...,hp,ht,rd,[re],...) 
hp [scalar] 
Platform altitude (m) 
ht [scalar] 
Target altitude (m) 
rd [scalar] 
Ground range (m) 
re [scalar] 
(Optional) Earth radius (m) 
BaseModel [string] 
Atmospheric modeling function on path or evaluation 
p1,...,pN [arb] 
(Optional) Parameters required for BaseModel 
Return Values
Return Values 
Description 
Model [vector] 
Average value of the input base model over the specified slabs 
Examples

>> Atm = AtmStruct; 

>> Model = AverageAtm(Atm.h,Atm.dz/Atm.L,G,'MODFAS','A','1315') 

  • Computes average absorption coefficient over the slabs specified in Atm
>> Model = AverageAtm(Atm.h,Atm.dz/Atm.L,G,Atm.Cn2Eval) 

  • Computes average Cn2 for the model used in Atm
>> Atm = AtmStruct(GeomStruct,10,'Cn2','AverageAtm','dx','G','HV57') 

  • Using AverageAtm to return model average in Atm.Cn2
>> Atm = AtmStruct(GeomStruct,10,'Cn2','AverageAtm','HV57') 

  • Shortcut for AverageAtm from previous example
 

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