Get unique values from numeric wave
sjr51
Thu, 07/07/2016 - 09:12 am
I have large numeric waves that I'd like to compare using a statistic that requires me to know the unique elements in these waves. Is there a simple way to pull these values out of a wave? I've searched and I'm sure I must be missing something obvious. I can think of a way to code up a solution that would go through the wave in a loop to determine the unique values, but I'm sure there must be a function or fast solution that someone can suggest to help me.
Thanks in advance!
p.s. these are non-integer waves. In fact they are samples of angles of rotations.
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
July 7, 2016 at 10:59 am - Permalink
If you're looking for the later and you're using Igor 7, you can use the FindDuplicates with the /RN flag. You may also want the /TOL flag.
If you're looking for the former, you might still be able to use FindDuplicates with one or more flags plus some post processing of your own.
July 7, 2016 at 12:24 pm - Permalink
July 7, 2016 at 02:27 pm - Permalink