資源簡介
教你如何用MatLab解方程,資源包括ppt幻燈片課件及m文件原代碼;主要涉及的函數有:dsolve;ode23;ode45;odeset;function;plot

代碼片段和文件信息
clear
clc
t_final=100;
x0=[0;0;1e-10];
[tx]=ode45(‘lorenzeq‘[0t_final]x0);
plot(tx)
figure;?
plot3(x(:1)x(:2)x(:3));?
axis([10?40?-20?20?-20?20]);
figure;
comet3(x(:1)x(:2)x(:3));?
axis([10?40?-20?20?-20?20]);
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????235??2011-03-16?09:22??解方程\chaoslorenz.m
?????文件?????????98??2011-03-16?09:22??解方程\eq1.m
?????文件????????134??2011-03-16?09:22??解方程\eq2.m
?????文件????????202??2011-03-16?09:22??解方程\eq3.m
?????文件????????200??2011-03-16?09:22??解方程\eq4.m
?????文件?????????22??2011-03-16?09:22??解方程\ff1.m
?????文件?????????51??2011-03-16?09:22??解方程\ff2.m
?????文件????????147??2011-03-16?09:22??解方程\ff3.m
?????文件?????????71??2011-03-16?09:22??解方程\ff4.m
?????文件?????????91??2011-03-16?09:22??解方程\ff5.m
?????文件????????132??2011-03-16?09:22??解方程\ff6.m
?????文件????????117??2011-03-16?09:22??解方程\lorenzeq.m
?????文件????????134??2011-03-16?09:22??解方程\rigid.m
?????文件?????159232??2011-03-16?09:22??解方程\解方程.pps
?????目錄??????????0??2011-03-16?09:22??解方程
-----------?---------??----------?-----??----
???????????????160866????????????????????15
- 上一篇:Gabor小波變換
- 下一篇:倒立擺 matlab仿真程序
評論
共有 條評論