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!