Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Getting the min and max of a matrix
Date: Sat, 28 Feb 2009 20:54:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 6
Message-ID: <goc899$h64$1@fred.mathworks.com>
References: <goc1a7$g2q$1@fred.mathworks.com> <goc2dp$re1$1@fred.mathworks.com> <goc5sd$bvd$1@fred.mathworks.com> <goc73p$11l$1@fred.mathworks.com> <goc7mh$8er$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 1235854441 17604 172.30.248.37 (28 Feb 2009 20:54:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 28 Feb 2009 20:54:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1187260
Xref: news.mathworks.com comp.soft-sys.matlab:521584


"Diego Zegarra" <diegozbb@gmail.com> wrote in message <goc7mh$8er$1@fred.mathworks.com>...
> The thing is matrix A has to stay as it is since I need those values in there for later. I cannot just replace by NaN.

  Use a temporary copy of A with the altered values for taking the min's and max's!

Roger Stafford