Conditional statement with vectors

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.

답변 (1개)

John D'Errico
John D'Errico 2019년 5월 18일

0 개 추천

help discretize

카테고리

질문:

2019년 5월 18일

댓글:

2019년 5월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by