Filter löschen
Filter löschen

how to find indices of a vector within a matrix

1 Ansicht (letzte 30 Tage)
Ahmed Alnahdi
Ahmed Alnahdi am 27 Apr. 2015
Kommentiert: Star Strider am 27 Apr. 2015
Hi, I have a vector that contains three values and I want to to locate their indices in a bigger matrix
thanks in advance.
  1 Kommentar
pfb
pfb am 27 Apr. 2015
Not very clear.
Can the values in the first vector appear in the bigger matrix more than once? If this is the case, do you want all their instances, or just one for each?
Can you provide a minimal example?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Star Strider
Star Strider am 27 Apr. 2015
The documentation describes it better than I can.

Weitere Antworten (0)

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by