⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ucircle.m

📁 离散控制系统设计的MATLAB 代码
💻 M
字号:
function ucircle(npts)%UCIRCLE  Draws the unit circle%%   UCIRCLE draws the unit circle, using 90 points, and set %   x/y axis to be of equal size%%   UCIRCLE(NPTS) draws the unit circle, using NPTS points%%%%%%%%%%%%%%%%%% ucircle.m %%%%%%%%%%%%%%%%%%%%%   Discrete-Time Control Problems using        %%       MATLAB and the Control System Toolbox   %%   by J.H. Chow, D.K. Frederick, & N.W. Chbat  %%         Brooks/Cole Publishing Company        %%                September 2002                 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%const = 180/pi;if nargin == 0,	npts = 90;enddeltheta = 360/npts;theta = [0:deltheta:360]/const;plot(sin(theta),cos(theta))axis equal%%%%%%%%%%

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -