Path: news.mathworks.com!newsfeed-00.mathworks.com!news.kjsl.com!newsfeed.stanford.edu!newsfeed.news.ucla.edu!nrc-news.nrc.ca!newsflash.concordia.ca!canopus.cc.umanitoba.ca!tribune.usask.ca!support1.mathforum.org!not-for-mail
From: Yumnam Kirani Singh <kirani.singh@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: count number of "on" bits?
Date: Wed, 30 Jul 2008 00:56:13 EDT
Organization: The Math Forum
Lines: 1
Message-ID: <13759388.1217393804349.JavaMail.jakarta@nitrogen.mathforum.org>
References: <3817980.1217390262927.JavaMail.jakarta@nitrogen.mathforum.org>
NNTP-Posting-Host: nitrogen.mathforum.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: support1.mathforum.org 1217393804 22786 144.118.30.135 (30 Jul 2008 04:56:44 GMT)
X-Complaints-To: news@support1.mathforum.org
NNTP-Posting-Date: Wed, 30 Jul 2008 04:56:44 +0000 (UTC)
Xref: news.mathworks.com comp.soft-sys.matlab:482535



You can use length and find fucntions to solve your problem.