How to extract the same value from two different variable.
2 次查看(过去 30 天)
显示 更早的评论
Hai,
I have two matrix
 A = [1 2 3 4 5 6];
B = [1 9 5 6 7 2]; 
 How I suppose to do to get the new matrix that contains the similar value of A and B?
example result: C = [1 2 4 6]
Thank you
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Type Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!