Tabulate shortens array. Why?

I use tabulate command like this:
a = array(352360x1)
b = tabulate(a)
b = array *(19231x3)*
Why is B array shorter than A ? Thanks

Respuestas (1)

Roger Stafford
Roger Stafford el 9 de En. de 2018
Editada: Walter Roberson el 9 de En. de 2018

0 votos

The number of rows in the output of 'tabulate' is the number of unique values in the input, so there must have been 19231 unique values among the 352360 elements of your 'a' array. Read the description of 'tabulate' at:

Categorías

Más información sobre Discrete Multiresolution Analysis en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 9 de En. de 2018

Editada:

el 10 de En. de 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by