finding overlapping values in multiple vectors
显示 更早的评论
How do I get values that are found in multiple vectors? For example: x = [1 2 3 4 5]; y = [3 1 6]; How do I get MATLAB to give me the numbers 1 and 3 as the only values that exists in both vectors x and y?
Thanks!!!!
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Dynamic System Models 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!