<< NL_F_GridXY NL_F: Function NL_F_InterPolygonLine >>

NARVAL >> NL_F: Function > NL_F_Histogram

NL_F_Histogram

Perform the histogram of a vector.

Calling Sequence

[Hx,Hy,Mi,Ma] = NL_F_Histogram(V,N)

Arguments

V :

Vector.

N :

Number of classes.

:

Histogram x-vector.

:

Histogram y-vector.

:

Minimum.

:

Maximum.

Description

NL_F_Histogram performs the histogram of the vector V (). The range is divided into N non-overlapping intervals of equal size.

Examples

V=rand(1,100);//generation of a random values
N=50;
[hx,hy,mv,Mv]=NL_F_Histogram(V,N)//application of NL_F_Histogram
scf();
f=gcf();
f.figure_name="NL_F_Histogram";
plot2d3(hx,hy,rect=[hx(1) 0 hx($) max(hy)]);
plot2d(hx,hy,rect=[hx(1) 0 hx($) max(hy)],style=5);
xtitle('Histogram','hx','hy');

Report an issue
<< NL_F_GridXY NL_F: Function NL_F_InterPolygonLine >>