Path: news.mathworks.com!not-for-mail
From: "Steven Lord" <slord@mathworks.com>
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$1@fred.mathworks.com>
References: <gmpbg1$doh$1@fred.mathworks.com> <gmpd89$7np$1@fred.mathworks.com> <gmq1u5$3jv$1@fred.mathworks.com> <gmqf7q$hkj$1@fred.mathworks.com> <gmqh1u$nd8$1@fred.mathworks.com> <gmsb30$lma$1@fred.mathworks.com> <gmsl4l$3qo$1@fred.mathworks.com>
Reply-To: "Steven Lord" <slord@mathworks.com>
NNTP-Posting-Host: lords.dhcp.mathworks.com
X-Trace: fred.mathworks.com 1234295371 17370 144.212.105.187 (10 Feb 2009 19:49:31 GMT)
X-Complaints-To: news@mathworks.com
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: news.mathworks.com comp.soft-sys.matlab:517432


"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in 
message news:gmsl4l$3qo$1@fred.mathworks.com...
> "Steven Lord" <slord@mathworks.com> wrote in message 
> <gmsb30$lma$1@fred.mathworks.com>...
>> 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
>> slord@mathworks.com
>
>  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
slord@mathworks.com