How to speed up find and unique
10 ビュー (過去 30 日間)
I did the profiling where unique and find take the most of time.
I use find as I want to know the row and column index of the 1 elements in a. For unique, I only need the index.
a=randi([0 1], 20000,8736);
May I know how to speed up? Thank you.