ContentsIndexReferenceHome
PreviousUpNext
WeightMat
MATLAB
[W] = WeightMat(dx,[x],[thick])
Description

Computes the weighting matrix (W) associated with the discrete profile such that P = K*W*Cn2 where P is a vector with elements $r_0^{-5/3}$ (Fried Parameter), $theta_0^{-5/3}$ (isoplanatic angle), $sigma_{chi}^2$ (Rytov), and $M_0$ (integrated Cn2). K is a diagonal matrix with the appropriate scaling constants and Cn2 is a vector of Cn2 values. W is a matrix of dimension 4 by length dx (number of screens).

Parameters
Parameters 
Description 
dx [vector/struct] 
If vector, NORMALIZED screen thickness values. If structure, turbulence profile information with fields L, z, and dz, as from AtmStruct
x [vector] 
(Optional) NORMALIZED screen locations. If not passed, it will be computed assuming dx spans the path and with screens centered in each slab. 
thick [scalar] 
(Optional) 1 for thick slab and 0 (default) for thin slab model. 
Return Values
Return Values 
Description 
W [matrix] 
Weighting matrix 
See Also
Group
Made with Doc-O-Matic.
Copyright (c) 2009. All rights reserved.
What do you think about this topic? Send feedback!