Home > freetb4matlab > statistics > histfit.m

histfit

PURPOSE ^

%

SYNOPSIS ^

function histfit (data,nbins)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} histfit (@var{data}, @var{nbins})
%
% Plot histogram with superimposed fitted normal density.
%
% @code{histfit (@var{data}, @var{nbins})} plots a histogram of the values in
% the vector @var{data} using @var{nbins} bars in the histogram. With one input
% argument, @var{nbins} is set  to the square root of the number of elements in
% data. 
%
% Example
%
% @example
% histfit (randn (100, 1))
% @end example
%
% @seealso{bar,hist, pareto}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003