Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Shearch in two vectors the index of 2 different values and then intersect the output

1 vue (au cours des 30 derniers jours)
5mid
5mid le 11 Oct 2016
Clôturé : MATLAB Answer Bot le 20 Août 2021
I'm doing this
s=intersect(find(model.y==model.y(s)),find(model.x==model.x(s)+1));
This works I just wanna know if there's a fast way to do it.
Thank you

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by