Date: Jan 7, 2013 10:33 AM
Author: Andreas Lobinger
Subject: strange unique behaviour?
i have some complex values (actually concentric hexagonal rings) in the struct n1.
This should be (as this is constructed this way) : 19 unique values, which are later scattered to 57 (19 * 3) values. And unique (which is i guess internally a sort and some further processing) gives me:
>> length(unique([real(n1.bases.') imag(n1.bases.')],'rows'))
This is done on a
MATLAB Version 18.104.22.1684 (R2011b)
MATLAB License Number: XXXXXXXX
Operating System: Linux 3.0.4-43-default #1 SMP Wed Aug 31 09:30:44 UTC 2011 (a432f18) x86_64