Tabulate shortens array. Why?
6 ビュー (過去 30 日間)
古いコメントを表示
I use tabulate command like this:
a = array(352360x1)
b = tabulate(a)
b = array *(19231x3)*
Why is B array shorter than A ? Thanks
0 件のコメント
回答 (1 件)
Roger Stafford
2018 年 1 月 9 日
編集済み: Walter Roberson
2018 年 1 月 9 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Discrete Multiresolution Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!