Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by