Program: MKLSGRIDSTATTRILAYER_SAV23092004
mklsgridstattrilayer.......statistical analysis of triangular layer
call: [lengthlist,arealist]=mklsgridstattrilayer(lsopt,layer);
lsopt: (struct)
LOCSMITH options structure as returned by MKLSOPT
layer: layer structure as returned by MKGRIDNEWTRILAYER
result: nlen: (numeric array)
histrogram counts for edge lengths
xoutlen: (numeric array)
histogram binning fo edge lengths
bar(xoutlen,nlen) plots the histogram of edge lengths
performs statistical analyses of the point distribution in a layer:
- triangle area (spherical triangle, in km^2)
- point distance (great circle distance in km)
Analyzes only triangles with childtype=='node'. Triangles with childtype
'triangle' are ignored. Other childtypes cause errors.
Plots are produced if no output parameter is specified.
Martin Knapmeyer, 13.09.2004
Read M-File Source Code
eof.