Counting the Unique Elements in a MATLAB Array
Saturday, November 12th, 2011I was looking for a way to count the number of unique values of an array as part of an assignment. Google turned up with some ideas, but no definite answers. Then I came to know of two functions unique and histc. Here is the code to count the unique elements
Read the full content