How to find a value of a vector from another one?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Amin Ganjavi
am 25 Nov. 2015
Kommentiert: Amin Ganjavi
am 25 Nov. 2015
There are two (A&B) vectors with N samples each. Each number of A has a specific value in B.
I have a value in A (a number among N samples), and interested to find it in B. For example:
A=[250 400 300 200 100 ...]
B=[5 6 1 2 9 ...]
I want to find B when A =200, the answer is B=2 (in this case).
Thanks
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Multidimensional Arrays 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!