摘要
文章介绍用VC++6.0、MATLAB和EXCEL在计算机上求取常微分方程的数值解。用三软件对一阶RL简单暂态电路的i^t进行数值分析。三程序计算结果并无差异,但VC++在调用函数时需加入相应头文件,且其程序较MATLAB繁琐,EXCEL需做逐步单元格的自动填充实现,MATLAB则最为简单。
The article introduces numerical solution of ordinary differential equation can be obatained by computer based on Visual C++6.0, MATLAB and EXCEL.The i~t of a band simple RL transient circuit was numerically analysised using three software. The results of calculation of three procedures show no differences, but Visual C++ should call the function at the corresponding first document and its procedures more cumbersome than MATLAB, and the solution can be achieved by EXCEL ’s gradually filling to the corresponding cells, thus MATLAB is the most simple.
出处
《计算机与数字工程》
2007年第9期189-191,共3页
Computer & Digital Engineering