Program: MKLSGRIDSTATTRILAYER

  mklsgridstattrilayer.......statistical analysis of triangular layer
 
  call: reslist=mklsgridstattrilayer(lsopt,layer);
        reslist=mklsgridstattrilayer(lsopt,layer,mode);
 
                lsopt: (struct)
                       LOCSMITH options structure as returned by MKLSOPT
                layer: (struct)
                       layer structure as returned by MKGRIDNEWTRILAYER
                 mode: (string)
                       evaluation mode. The foloowing modes are available:
                       'length': edge lengths in km are determined
                                 (only for triangles that have nodes as
                                 children)
                       'circle': circlumcircle radii in degrees are determined
                                 (only for triangles that have nodes as
                                 children)
                       'circlekm': as 'circle', but with radii in km
                       'iterations': the number of iterations applied to
                                     each triangle
                       DEFAULT: 'circle'
 
  result: reslist: (numeric array)
                   vector containing lenghts or radii (depending on MODE)
                   of all edges/triangles. Lengths are in km or degrees 
                   depending on MODE.
                   From this, histograms may be produced by hist(reslist);
 
  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, 23.09.2004, 21.12.2004

Read M-File Source Code


eof.