Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: even values
Date: Thu, 25 Jun 2009 16:08:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 7
Message-ID: <h207d1$ml6$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1245946082 23206 172.30.248.38 (25 Jun 2009 16:08:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 25 Jun 2009 16:08:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1879339
Xref: news.mathworks.com comp.soft-sys.matlab:550630


Hello all,...Please if i have a matix and i want to find out the amount of even coefficients it contains..
ie
B= [1 4 8 0 9 5
       7 2 6 1 2 4
       9 2 0 3 0 6]
i want to be able to count out that there are 8 even values of of the 18 values.
Thanks