hstats

From DavinciWiki
Jump to: navigation, search


Description

Generate statistics for a histogram

Arguments and Return Values

Arguments: A 2 column numeric array generated from histogram()

Return Value: A structure

Usage

Syntax: hstats(object = VAL)

The hstats() function generates statistics for 2 column input, like that produced by the histogram function. A structure is returned containing the average and standard deviation for the input data.

Examples

dv> h=histogram(a,start=0.0002,size=.000001,steps=350)
2x350x1 array of float, bsq format [2,800 bytes]

dv> hstats(h)
struct, 2 elements
    avg: 0.000364005
    stddev: 4.07756e-05

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Related Functions

Recent Core Changes

Modified On: 03-27-2006

Personal tools