Unsorted Set Operations (Scripts) Publisher's description
from Don Vaughn
There have been lots of cases where I'll want to look, in a specific order, at subjects in a larger set
There have been lots of cases where I'll want to look, in a specific order, at subjects in a larger set. Setdiff Intersect and Union are the exact operations I want, but unsorted. I coded up Unique just for good measure.
These are relatively rough m-files, w/ little or no help functions, but they're very simple and identical to the built-in Matlab functions, just without sorting.
I changed the 2nd and 3rd outputs of union to actually be useful.
Enjoy and if you'd like any changes, leave a comment and I'll implement them.
System Requirements:MATLAB 7 (R14)
Program Release Status: New Release
Program Install Support: Install and Uninstall