簡介
van der Pol 方程
code
dy = @(t,y)[y(2); 1000 * (1-y(1)^2)*y(2)-y(1)]; % 定義匿名函數
[t,y]= ode15s(dy,[0 3000],[2;0]); % 求數值解
plot(t,y(:,1),'*');
title('solution of van der pol equ, mu=1000');
xlabel('time t');
ylabel('solution y');
van der Pol 方程
dy = @(t,y)[y(2); 1000 * (1-y(1)^2)*y(2)-y(1)]; % 定義匿名函數
[t,y]= ode15s(dy,[0 3000],[2;0]); % 求數值解
plot(t,y(:,1),'*');
title('solution of van der pol equ, mu=1000');
xlabel('time t');
ylabel('solution y');
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。