From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: is a loop going to be the best method?
Date: Tue, 10 Feb 2009 00:17:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 14
Message-ID: <gmqh1u$nd8$>
References: <gmpbg1$doh$> <gmpd89$7np$> <gmq1u5$3jv$> <gmqf7q$hkj$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: 1234225022 23976 (10 Feb 2009 00:17:02 GMT)
NNTP-Posting-Date: Tue, 10 Feb 2009 00:17:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1187260
Xref: comp.soft-sys.matlab:517186

"John D'Errico" <> wrote in message <gmqf7q$hkj$>...
> ......
> According to the help for fzero:
> "FUN accepts real scalar input X and returns a real
> scalar function value F, evaluated at X."
> This suggests that fzero presumes its objective
> function is not vectorized.
> ......

  Yes, I think you must be right, John.  The documentation which I consulted (and didn't read thoroughly enough) says: "fun is the function whose zero is to be computed. It accepts a vector x and returns a scalar f, ...", the vector property presumably allowing for multiple-variable functions.

Roger Stafford