摘要
以MATLAB图形用户接口为基础,针对线性系统对数频率特性曲线绘制而进行了图形用户界面(GUI)以及相应的程序设计,利用2个文本框收集传递函数分子、分母的数据,按照传递函数分子、分母的实际形式对应输入数据,利用全局变量保存文本框参数,并在各回调函数中传递,同时,引入符号变量使接收的传递函数的分子、分母为符号表达式,进而实现各种运算、处理。运行本用户图形界面,可以随意地输入开环传递函数的分子、分母数据,直观地看到它所对应的伯德图,为分析、设计系统提供便利。
Basing on the MATLAB graphical user interface, in view of curve of linear system ,we draw graphic user interface (GUI) and design Log-frequency characteristic corresponding program. Using two text boxes, we collect numerator and denominator data of transfer function. According to the actual form of molecular denominator of the transfer function, we input the corresponding data, which is con venient and intuitive. We save the parameter of text box using the global variable, transfer in the callback function. At the same time, we change the molecular and denominator of transfer function into symbolic expression, and then achieve the various operations and processing. With this graphical user interface, people can enter the numerator and denominator data of open loop transfer function freely, and see the corresponding Bode diagram visually, which is the easy for us to analyse and design svstem.
出处
《煤矿机械》
北大核心
2014年第6期228-230,共3页
Coal Mine Machinery