remove the frequent values withou sorting
3 次查看(过去 30 天)
显示 更早的评论
hello
I need a function remove the frequent values(keeping the first appearance of value) without using unique because it is making sortg
For example
x=[3 4 3 5 1 0 4 2];
I need x to be
x=[3 4 5 1 0 2]
Thanks in advance
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!