怎样实现统计一条序列里在不同位置出现重复元素的... 。
Show older comments
怎么样可以实现统计一条序列里在不同位置出现重复元素的数目,并把重复的数目存在另一个数组里。
例如:序列S=[ACGCCTACCCACCCCT],序列里出现重复的是字母C,重复次数依次是2,3,4,另一个数组就应该是这样a=[2 3 4]。求用MATLAB实现的代码!在线等。。。
Accepted Answer
More Answers (0)
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!