Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: even values
Date: Thu, 25 Jun 2009 16:13:01 +0000 (UTC)
Organization: Universit&#228;tsSpital Z&#252;rich
Lines: 14
Message-ID: <h207md$ce1$1@fred.mathworks.com>
References: <h207d1$ml6$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1245946381 12737 172.30.248.35 (25 Jun 2009 16:13:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 25 Jun 2009 16:13:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 11
Xref: news.mathworks.com comp.soft-sys.matlab:550633


"remi " <obiosiki@yahoo.com> wrote in message <h207d1$ml6$1@fred.mathworks.com>...
> 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

this FEX submission may be helpful...

http://www.mathworks.com/matlabcentral/fileexchange/24278

us