Conditional statement with vectors

1 visualizzazione (ultimi 30 giorni)
Tchilabalo
Tchilabalo il 18 Mag 2019
Commentato: Tchilabalo il 19 Mag 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.

Risposte (1)

John D'Errico
John D'Errico il 18 Mag 2019
help discretize

Categorie

Scopri di più su Modeling in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by