Scilab Function
Last update : 1/11/2005

schnitt - common elements of two matrices X and Y

Calling Sequence

[c,Xex,Yex,Prb] = schnitt(x,y)

Parameters

Description

The routine is based upon a comparison of the histograms, calculated with the SciLab function dsearch. The probabilites are derived by convolution of the histograms.

Examples

// Set 1
a =[12    22     5     7    38    12    30    21];
// Set 2
b =[42     6    34     7    14    39    34    26    12    25];
[c,X,Y, prb]=schnitt(a,b)
// That's it!

See Also

randvek ,  

Authors

Dr. Andreas Geissler geisslea@web.de