Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: find elements to include page indices
Date: Wed, 23 Jul 2008 12:24:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 9
Message-ID: <g677t2$j92$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 1216815842 19746 172.30.248.38 (23 Jul 2008 12:24:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 23 Jul 2008 12:24:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1338633
Xref: news.mathworks.com comp.soft-sys.matlab:481202



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.