Frequency distribution

Log binning of data in matlab

The following Matlab project contains the source code and Matlab examples used for log binning of data.   This script takes in data, and then produces a logarithmically binned (natural log) histogram:   [midpoints,Freq,eFreq] =logbin(data, BinNum)   where the inputs are   data: the input data from some experiment which will be binned   BinNum: the number of bins used in the data reduction process.

Function to make a 2d histogram in matlab

The following Matlab project contains the source code and Matlab examples used for function to make a 2d histogram. %A Simple function that makes a 2D histgram % Input: data: two cols, x value; y value % xrange: range and bins for x value (edges) % yrange: range and bins for y value (edges) %Output: Count of a specifice (x,y) bin combination; % Suggested visualizing tool: I like to use imagesc; bar3 will work fine % too; have to change axis label though Example: data(:,1)=randn(100000,1); data(:,2)=randn(100000,1);

A very compact routine for fisher's exact test on 2x3 contingency table in matlab

The following Matlab project contains the source code and Matlab examples used for a very compact routine for fisher's exact test on 2x3 contingency table . Fisher's exact test of 2x3 contingency tables permits calculation of precise probabilities in situation where, as a consequence of small cell frequencies, the much more rapid normal approximation and chi-square calculations are liable to be inaccurate.

Operates on two images (grayscale, binary, or color), returning a histogram-matched version in matlab

The following Matlab project contains the source code and Matlab examples used for operates on two images (grayscale, binary, or color), returning a histogram-matched version .  [imOut, hist] = matchHistograms(img1,img2,nbins) Matches the histogram of image1 to that of image 2, using the user-specified number of bins.

Automatic choice of bin number in regular histogram construction in matlab

The following Matlab project contains the source code and Matlab examples used for automatic choice of bin number in regular histogram construction . Choose automatically the number of bin of a regular histogram using penalized likelihood procedure following paper of Birgé-Rozenholc in ESAIM P&S (2006), 10, pp.24-45 "How many bins should be put in a regular histogram?"
The following VB.NET project contains the source code and VB.NET examples used for Visal Histogram Control. Visal: Histogram might not be the best .
Subscribe to RSS - Frequency distribution