Count unique values in an array
显示 更早的评论
Hello,
I have the following set of data

I need to count how many times the values in column 3 appear. So, for instance: SABC appears 4 times. BTFG appears 20 times. GCBK appears 7 times and so on.
Afterwards I would want to erase the rows for the variables that appear less than 100 times. Is there an efficient way to do this? I'm new at matlab. Thank you so much in advance.
采纳的回答
更多回答(1 个)
Walter Roberson
2014-3-29
0 个投票
hint: how many outputs can unique() have?
类别
在 帮助中心 和 File Exchange 中查找有关 Genomics and Next Generation Sequencing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!