Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: find elements to include page indices
Date: Wed, 23 Jul 2008 13:23:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 24
Message-ID: <g67bbm$b65$1@fred.mathworks.com>
References: <g677t2$j92$1@fred.mathworks.com> <g67abq$h8d$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1216819382 11461 172.30.248.37 (23 Jul 2008 13:23:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 23 Jul 2008 13:23:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1338633
Xref: news.mathworks.com comp.soft-sys.matlab:481215



"Ian Clarkson" <ovoidkumquat@hotmail.com> wrote in message
<g67abq$h8d$1@fred.mathworks.com>...
> "Dave Brackett" <davebrackett@hotmail.com> wrote in message
> <g677t2$j92$1@fred.mathworks.com>...
> > I have a matrix of size [1,16,50] and want to find the
> > positions of the non-zero and zero elements within.
> > 
> > I have been using find but this only either gives linear
> > indices or row and column indices. I want it to include page
> > indices.
> > 
> > I'm sure this is quite simple to do but I can't seem to work
> > it out. Any help would be appreciated. Thanks.
> 
> how do you define a page index? as in a printed page? or
> does your 3d matrix have some relation to pages? i don't
> think anybody can help you until you clarify what it is
> you're looking to do.

sorry, by page indices I mean with regards to a 3D matrix.
i.e. for a matrix of size [1,16,50] the first dimension is
the rows, the second is the cols, and the third is the
pages. It has nothing to do with physical pages of paper.