help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ODE system solving


From: Geraint Paul Bevan
Subject: Re: ODE system solving
Date: Tue, 11 Jan 2005 15:25:42 +0000
User-agent: Mozilla Thunderbird 0.7.1 (X11/20040715)

address@hidden wrote:
i've tryed with odessa:

T0=520;
Ta=25+273;
w0=3.4;
y0=[w0 p T0];
z=linspace(0,L,L)';
y=odessa("SysO",y0,p,100,z);
plot(z/L,(y(:,3)-Ta)/(T0-Ta))


it doesn't work! "error: "P" undefined near line...."
i think i can set a parameter "p" for Odessa, ins't it? it's something wrong?

P should be a vector of parameters. odessa will use these to find the
sensitivity of the states to changes in these parameters. Unless you
want to use these sensitivities, there is probably not much reason to
use odessa.

Octave is a matrix algebra tool, not a computer algebra system. Unless
you are using a symbolic toolbox, values should be assigned to all
variables before you use them. The error message occurs because you have
passed p to the function without first giving it a value.


--
Geraint Bevan
http://www.mech.gla.ac.uk/~gbevan




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]