From: "Steven Lord" <>
Newsgroups: comp.soft-sys.matlab
Subject: Re: is a loop going to be the best method?
Date: Tue, 10 Feb 2009 14:49:31 -0500
Organization: The MathWorks, Inc.
Lines: 31
Message-ID: <gmslob$guq$>
References: <gmpbg1$doh$> <gmpd89$7np$> <gmq1u5$3jv$> <gmqf7q$hkj$> <gmqh1u$nd8$> <gmsb30$lma$> <gmsl4l$3qo$>
Reply-To: "Steven Lord" <>
X-Trace: 1234295371 17370 (10 Feb 2009 19:49:31 GMT)
NNTP-Posting-Date: Tue, 10 Feb 2009 19:49:31 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Original
Xref: comp.soft-sys.matlab:517432

"Roger Stafford" <> wrote in 
message news:gmsl4l$3qo$
> "Steven Lord" <> wrote in message 
> <gmsb30$lma$>...
>> Roger,
>> I'm not sure FZERO ever supported multi-variable functions.  Are you sure
>> you're not reading the documentation for FSOLVE, which is in Optimization
>> Toolbox?  FSOLVE supports multivariable systems, while FZERO (which is in
>> MATLAB itself) does not.
>> -- 
>> Steve Lord
>  Steve, I was misled by that sentence in the 'fzero' documentation.  I 
> quoted it accurately.  It says: "fun is the function whose zero is to be 
> computed. It accepts a vector x and returns a scalar f, the objective 
> function evaluated at x."  I think the word 'vector' must be a 
> typographical error.  It doesn't make any sense as a vector unless the 
> output of 'fun' is also a vector of the same size.  Also John's quotation 
> of the help message stating that "FUN accepts real scalar input" bears 
> this out.

I think you're correct that the 'vector' in that statement was a typo.

Steve Lord