Help regarding finding the values below intersect value from two different dimension matrix

I want to know how can I obtain the value less than intersection value between two different dimension matrix. for example i have matrix a=[1;2;5;6;89;90] and matrix b=[5;89;90;100]. I want to get if any one value in the two matrix are same then output should be value below that value in matrix a. In this case the a and b matrix has first common value as 5 so my out put matrix should give me c=1;2.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

질문:

2020년 7월 10일

댓글:

2020년 7월 10일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by