>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  STDDEV2

STDDEV2

STDDEV2

Name


      STDDEV2

Purpose


      Standard deviation of an array, optionally over a dimension.

Category


Calling Sequence


      sd = stddev2(x, [dim])

Inputs


      x = array to process. in
      dim = optional dimension (def=all). in
        dim=1 for x, 2 for y, ... 0 for all.

Keyword Parameters


Keywords


        /DOUBLE use double precision.
        /NAN treat NaN as missing data.
        MEAN=mn returned means over given dimension.
        EXP_MEAN=mn_ex returned expanded means over given dimension.
        NUMBER=n returned number of samples along dimension.

Outputs


      sd = returned standard deviation. out

Common Blocks


Notes


      Note: If a dimension is specified then the array is
      collapsed in that dimension.

Modification History


      R. Sterner, 2003 Feb 12
      R. Sterner, 2010 Oct 08 --- Converted arrays from () to [].
  Copyright (C) 2003, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us