Conditional statement with vectors

1 Ansicht (letzte 30 Tage)
Tchilabalo
Tchilabalo am 18 Mai 2019
Kommentiert: Tchilabalo am 19 Mai 2019
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.

Antworten (1)

John D'Errico
John D'Errico am 18 Mai 2019
help discretize

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by