MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   请高手指教非线性常微分方程组求解!!! (https://www.labfans.com/bbs/showthread.php?t=9740)

sunjq 2009-09-23 17:37

请高手指教非线性常微分方程组求解!!!
 
在用求解器ode15求解非线性常微分方程组时,怎么样使方程中的参数值可以按要求改变?比如function dx=flow(t,x)
dx=zeros(2,1)
dx(1)=(k*(0.1*x(1)+0.9*x(2))^4+ke)*(x(2)-x(1));
dx(2)=x(1)/x(2)^2;
在这个方程组中如果参数k需要根据x(1)和x(2)或求解的时间t做出改变,应该怎么样来实现呢?
谢谢!!!


所有时间均为北京时间。现在的时间是 13:23

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.