
From:  Julien Martin 
Subject:  Re: Problems solving the following equation 
Date:  Thu, 10 Dec 2009 22:59:09 +0100 
The first argument to fsolve is a function, and you can use an anonymous
On Thu, 10 Dec 2009, Julien Martin wrote:
< Hello,
< I am having problems solving the following equation:
< (r*32000)/(1(1+r)^6)1810=0
< I tried with fsolve and it tells me that A^b, A must be square.
< Any idea?
< Thanks in advance,
< Julien.
<
<
function. Try
fsolve(@(r) (r*32000)/(1(1+r)^6)1810,1)
ans = 0.24226
Leo

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
[Prev in Thread]  Current Thread  [Next in Thread] 