%% Unique Values in Vector
% Define a vector with a repeated value.

A = [9 2 9 5];

%
% Find the unique values of A.

C = unique(A)

% Copyright 2012 The MathWorks, Inc.