Clear Filters
Clear Filters

Fast ismember for object arrays

4 views (last 30 days)
Zoltán Csáti
Zoltán Csáti on 27 Mar 2018
I have an object oriented code which calls the ismember function many times. I saw forum discussions recommending the unducumented ismembc function. However, it does not work on objects. Is there a way to speed it up? I need no input checks and the objects are instantiated from a class which is derived from the handle class. Using the analogue of the handle class with references in C++, comparison should be super fast.

Answers (0)


Find more on Construct and Work with Object Arrays in Help Center and File Exchange



Community Treasure Hunt

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

Start Hunting!