1、 I 基于 MATLAB 电路特性演示平台的设计 摘 要 电路特性是用复杂的数学公式描述的,非常抽象,难以理解。MATLAB 具有 强大数学计算和图形显示功能,它可以方便的计算出非常抽象、复杂的数学公式。 此外,它提供了图形用户界面设计工具 GUIDE,其包含的各种控件,易于开发, 交互性强、使用方便。 本论文基于 MATLAB GUI 开发设计的电路特性演示平台。平台共包含有 8 个 常见的、典型电路的特性演示和方波傅里叶分析。各演示平台的开发是在已建立 的数学模型的基础进行的,利用 MATLAB 中的 GUIDE 设计工具完成了用户界面 的设计,界面中各种控件的功能是通过编写其回调函数来实
2、现的。 在演示过程中,通过调整相关的参数,动态演示电路参数变化时电路特性的 变化情况。该系统平台具有良好的用户界面、交互性强、操作方便,可以使用户直 观、高效地观察和理解电路的特性。 关键词:MATLAB,数学模型,电路特性,演示平台,GUIDE II The Design of the Circuit characteristics of MATLAB-based presentation platform ABSTRACT Circuit performance is to use complex mathematical formulas described, very abstract
3、 and difficult to understand. MATLAB has a powerful mathematical and graphical display, it can easily calculate the very abstract and complex mathematical formula. In addition, it provides a graphical user interface design tool GUIDE, which contains the various controls, easy-to-development, interac
4、tive, easy to use. This paper, based on MATLAB GUI development and design of the circuit features demo platform. Platform contains a total of 8 common, the characteristics of a typical circuit, and square wave Fourier analysis shows. The demonstration platform was developed to build on the basis of
5、mathematical models, the use of MATLAB in the GUIDE user interface design tools to complete the design of the interface functions of the various controls is through the preparation of the callback function to achieve. In the demo, by adjusting the related parameters, dynamic parameters demonstrates
6、the circuit characteristics of circuit changes. The platform has a good user interface, interactive, easy to operate and allows users to directly and efficiently observe and understand the characteristics of the circuit. KEY WORDS: MATLAB, Mathematical model, Circuit characteristics, Demonstration platforms,GUIDE III 目 录 前 言 1 第 1 章 MATLAB 简介 . 2 1.1 MATLAB 简介 2 1.1.1 MATLAB 概述 2 1.1.2 图形界面(GUI)概述 2 第 2 章 电路数学模型的建立. 4 2.1 RC 积分和微分电路 . 4 2.2 谐振电路的频率特性. 4 2.3 方波的傅里叶分析. 5 2.4 二阶电路零输入响应. 5 2.5 正弦激