ep5_1.m

来自「离散控制系统设计的MATLAB 代码」· M 代码 · 共 19 行

M
19
字号
%%%%%%%%%%%% Exploratory problem 5.1 %%%%%%%%%%%%%   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                 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   ---- emulating a fractional order hold ----%cleardisp('Exploratory Problem 5.1 - fractional order hold')y = input('enter the input as an array to a fractional order hold > ')alpha = input('enter alpha between 0 and 1 > ')Ts = input('enter sampling period in seconds > ')foh(y,alpha,Ts)disp('End of Exploratory Problem 5.1')%%%%%%%%%%

⌨️ 快捷键说明

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