摘要
用Matlab求解系统的状态方程,可用仿真函数、迭代计算和拉氏变换方法得到其数值解、解析解和波形图。用lsim仿真函数求系统响应的数值解;迭代法用来求解离散系统状态方程,连续系统状态方程通过离散化后也可用迭代法;连续系统状态方程采用拉氏变换可得到解析结果。通过实例分析,展现了Matlab在系统状态变量分析方面的优越性,不仅使系统状态方程的计算变得简单,而且可得到可视化的结果。
When solving the state equations of a system based on Matlab,the numerical solution,the analytical solution and the waveform solution can be obtained by using simulation function,iterative calculation and Laplace transform.Usually,the numerical solution of the system response is solved with the LSIM simulation function.On the other hand,Laplace transform is used to get the analytical solution of the state equations of continuous systems,while iterative calculation is used to solve the state equations of discrete systems.But after the discretization of the state equations for continuous systems,iterative calculation can also be used to get proper solutions.Here,many examples are given to show the advantages of the method for analyzing the system state variables with Matlab.It can not only simplify the calculations,but also provide visualization results.
出处
《实验技术与管理》
CAS
北大核心
2011年第5期95-99,共5页
Experimental Technology and Management
基金
湖北省教学研究项目基金资助项目(20060251)