Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!