Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: find same value
Date: Thu, 9 Jun 2011 00:02:02 +0000 (UTC)
Organization: Tadulako University
Lines: 14
Message-ID: <isp2hq$ot$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-05-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1307577722 797 172.30.248.37 (9 Jun 2011 00:02:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 9 Jun 2011 00:02:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2228514
Xref: news.mathworks.com comp.soft-sys.matlab:730946

how do I find the same value in the matrix a(:,1)
a=[1 34;
     2 33;
     2 45;
     3 32;
     4 65;
     4 99;
     5 11;
     1 33;
     6 22]
if %same value
 warndlg ('xxxxx')
else 
end