Community Profile

Mikael


4 total contributions since 2012

Contact

Contributions in
View by

Responded


Re: speed up "intersect" for 2 vectors
Indeed! Thank you your method works well. It would be difficult to be more efficient, I guess.

4 years ago | 1345 views

Responded


Re: speed up "intersect" for 2 vectors
This line is 30% mor efficient than the former one: ib = B(find(a1 == B):find(a2 == B); I am trying to find a method with 'any'...

4 years ago | 1345 views

Responded


Re: speed up "intersect" for 2 vectors
Yes, I should have said hundreds of thousands times! I have realised this morning that some details could help: A = a1:a2, with...

4 years ago | 1345 views

Posted


speed up "intersect" for 2 vectors
Hello, I have an time-efficiency issue using intersect: [~,~,ib] = intersect(A, B); A and B are vectors. A is a row-vector ~1x6...

4 years ago | 1345 views