Conditional statement with vectors
1 view (last 30 days)
Show older comments
I have two vectors A (100 numbers) and B (500 numbers). For each element of A, I want to find the index (j) of element B such that: Bj-1 ≤ Ai ˂ Bj
Thanks in advance.
0 Comments
Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!