Tabulate shortens array. Why?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I use tabulate command like this:
a = array(352360x1)
b = tabulate(a)
b = array *(19231x3)*
Why is B array shorter than A ? Thanks
0 Commenti
Risposte (1)
Roger Stafford
il 9 Gen 2018
Modificato: Walter Roberson
il 9 Gen 2018
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:
0 Commenti
Vedere anche
Categorie
Scopri di più su Operators and Elementary Operations in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!