Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Replace one or more occurrences of a certain value with the value preceding the first occurrence
Date: Fri, 9 Dec 2011 14:39:08 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 3
Message-ID: <jbt6ic$5ik$1@newscl01ah.mathworks.com>
References: <jbr8s0$3j5$1@newscl01ah.mathworks.com> <jbrl20$b1b$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-03-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1323441548 5716 172.30.248.48 (9 Dec 2011 14:39:08 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 9 Dec 2011 14:39:08 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2372446
Xref: news.mathworks.com comp.soft-sys.matlab:751946

Thanks for the suggestions, everyone. I think I'll go with Bruno's histc method, although Matt's image processing method is interesting as well.

WFrane