Cross-tabulation
[table] = nan_crosstab(x1,x2) [table] = nan_crosstab(x1,x2,x3) [table] = nan_crosstab(x1,x2,x3,x4)
nan_crosstab return a table which containts the number of equal symbols across all input vectors. The first dimenstion in table counts the symbols in x1, the second dimenstion counts the symbols in x2 and so on...