%ode45_example.m %解常微分方程 [t,y] = ode45(@ivpodefun,[0 20],[2; 0]); plot(t,y(:,1),'-',t,y(:,2),'--') title('常微分方程的解'); xlabel('…
HH微分方程 源代码
汇集 HH微分方程 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
%ode45_example.m %解常微分方程 [t,y] = ode45(@ivpodefun,[0 20],[2; 0]); plot(t,y(:,1),'-',t,y(:,2),'--') title('常微分方程的解'); xlabel('…
%ode45_example.m %解常微分方程 [t,y] = ode45(@ivpodefun,[0 20],[2; 0]); plot(t,y(:,1),'-',t,y(:,2),'--') title('常微分方程的解'); xlabel('…
%ode45_example.m %解常微分方程 [t,y] = ode45(@ivpodefun,[0 20],[2; 0]); plot(t,y(:,1),'-',t,y(:,2),'--') title('常微分方程的解'); xlabel('…
%ode45_example.m %解常微分方程 [t,y] = ode45(@ivpodefun,[0 20],[2; 0]); plot(t,y(:,1),'-',t,y(:,2),'--') title('常微分方程的解'); xlabel('…
C-N解偏微分方程的程序。解的是定步长的抛物型偏微分方程: du/dx - a * d2u/dx2 = 0 在程序中可以更改 a 的值以实现不同系数的解。在循环中改变 a 的值以实现变系数
#include #include float f(float x,float y) { float z; z=y-2*x/y; return z; } main() { int i,n; float t0=0,td…