🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How to efficiently find index of matrix elements in another matrix

Hello,

I have a matrix A of size 350000X1 and i want to find index of A in matrix B of size 900000 X 1. I used "Intersect" as below and it takes ~5 mins to get the result. Is there an efficient way to achieve this any faster? 

[x,y,z] = intersect(A,B);

 

thanks,
Manoj kandukuri

Find more posts tagged with

Sort by:
1 - 4 of 41