您的位置:首页 > 编程语言 > MATLAB

Matlab控制系统与仿真个别指令解析

2015-02-03 15:40 218 查看
opt = stepDataOptions(Name,Value) 用于为 [y,...]
= step(sys,...,options)提供选项。

sys = tf(1,[1,1]);
opt = stepDataOptions('InputOffset',-1,'StepAmplitude',2);
[y,t] = step(sys,opt)

感觉'inputoffset'的作用不大(Input signal level for all time t < 0)。

对于stepinfo,S
= stepinfo(y,t,yfinal) yfinal代表稳态值。返回

RiseTime — Rise time
SettlingTime — Settling time
SettlingMin — Minimum value of y once
the response has risen  (代表什么??搞不懂)
SettlingMax — Maximum value of y once
the response has risen (同上,代表什么?)
Overshoot — Percentage overshoot (relative to yfinal)
Undershoot — Percentage undershoot(代表什么?)
Peak — Peak absolute value of y
PeakTime — Time at which this peak is reached

S = stepinfo(sys)
S = stepinfo(...,'SettlingTimeThreshold',ST)  可以选 ST=2%或=5%或其它
S = stepinfo(...,'RiseTimeLimits',RT)可以选RT=[0.1
0.9]或其它

对于tfdata()、ssdata()和zpkdata(),Models
of class "frd" cannot be converted to transfer function form、state-space form and zero-pole-gain
form.

feedback(sys1,sys2,sign),sign默认负反馈。

freqresp()用的是 sin() 还是 cos() 呢??应该是sin(),且是u=Asin(wt+fai)满足A=1,fai=0,这样,频率响应就等于H(jw)了。

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: