Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Solving matrix coefficients iteratively
Date: Fri, 7 Jan 2011 12:23:04 +0000 (UTC)
Organization: AXON' CABLE LTD
Lines: 14
Message-ID: <ig70j8$8e1$1@fred.mathworks.com>
References: <ig6sjp$lvm$1@fred.mathworks.com> <178587791.18425.1294400753572.JavaMail.root@gallium.mathforum.org>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1294402984 8641 172.30.248.38 (7 Jan 2011 12:23:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 7 Jan 2011 12:23:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2613677
Xref: news.mathworks.com comp.soft-sys.matlab:701200

Torsten Hennig <Torsten.Hennig@umsicht.fhg.de> wrote in message <178587791.18425.1294400753572.JavaMail.root@gallium.mathforum.org>...
> x0 = 1.0;
> For j = 1:n
> as = a(1,j);
> n(1,j) = fzero(@(x)f(x,as,Y,Z),x0);
> end
> 
> function y = f(x,as,Y,Z)
> y = Y*x^b + Z*x^c - as ;
> 
> Best wishes
> Torsten.

Thanks very much for this Torsten. I think I understand it - may well get back to you!