how to find indices of a vector within a matrix

3 vues (au cours des 30 derniers jours)
Ahmed Alnahdi
Ahmed Alnahdi le 27 Avr 2015
Commenté : Star Strider le 27 Avr 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 commentaire
pfb
pfb le 27 Avr 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?

Connectez-vous pour commenter.

Réponse acceptée

Star Strider
Star Strider le 27 Avr 2015
The documentation describes it better than I can.
  2 commentaires
Ahmed Alnahdi
Ahmed Alnahdi le 27 Avr 2015
Thanks, much appreciated.
Star Strider
Star Strider le 27 Avr 2015
My pleasure!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by