www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/UniqueValuesinVectorExample.m
%% 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)