Path: news.mathworks.com!newsfeed-00.mathworks.com!news.tele.dk!feed118.news.tele.dk!feed116.news.tele.dk!bofh.vszbr.cz!news.radio.cz!newsreader4.netcologne.de!news.netcologne.de!newsfeed.straub-nv.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Booleans and Matrices
Date: Tue, 06 Mar 2012 19:37:47 -0600
Organization: Aioe.org NNTP Server
Lines: 17
Message-ID: <jj6e5h$pq6$1@speranza.aioe.org>
References: <jj6d68$4j0$1@newscl01ah.mathworks.com>
NNTP-Posting-Host: tz+FTEJLlDVYeCELTikyXQ.user.speranza.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.27) Gecko/20120216 Thunderbird/3.1.19
X-Notice: Filtered by postfilter v. 0.8.2
Xref: news.mathworks.com comp.soft-sys.matlab:760142

On 3/6/2012 7:21 PM, Margaret wrote:
...

> when using this function the answer looks like this:
>
>
> ans =
> 0 1 0
>
> I need is to simply answer 1 or 0. How do I get MATLAB to register the
> matrices as a whole and not based on their parts?

doc any
doc all

--