用matlab画相频曲线_matlab 幅频特性 相频特性代码,图片
0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
5.5
幅
頻
特
性
頻
率
比
w/wn
放
大
因
子
|
H
|
??
=0.01
??
=0.02
??
=0.03
??
=0.04
??
=0.05
??
=sqrt(2)/2
??
=1.00
?
=0.01
?
=0.02
?
=0.03
?
=0.04
?
=0.05
?
=sqrt(2)/2
?
=1.0
機械振動作業(yè)
16
車輛二班
毛海寬
201630053743
一、單自由度系統(tǒng)幅頻曲線圖
MatLab
程序代碼
r=0:0.001:5;
for?zita=0.1:0.1:0.5
H=1./sqrt((1-r.^2).^2+(2*zita)^2*r.^2);
plot(r,H?);
hold?on;
end
for?zita=[sqrt(2)/2,1.0]
H=1./sqrt((1-r.^2).^2+(2*zita)^2*r.^2);
plot(r,H,'r');
hold?on;
end
axis([0,5,0,5.5]);
title('
幅頻特性
');
xlabel('
頻率比
w/wn');
ylabel('
放大因子
|H|');
legend('\xi=0.01','\xi=0.02','\xi=0.03','\xi=0.04','\xi=0.05','\xi=sqrt(2)/2','\xi=1.0');
text(1,5,?'\rightarrow\xi?=0.01');
text(1.02,2.51,?'\rightarrow\xi?=0.02');
text(0.9,1.71,?'\rightarrow\xi?=0.03');
text(1.0,1.3,?'\rightarrow\xi?=0.04');
text(1.0,1.0,?'\rightarrow\xi?=0.05');
text(1.0,0.7,?'\rightarrow\xi?=sqrt(2)/2');
text(1.0,0.5,?'\rightarrow\xi?=1.00');
grid?on;
二、單自由度系統(tǒng)幅頻曲線圖
總結(jié)
以上是生活随笔為你收集整理的用matlab画相频曲线_matlab 幅频特性 相频特性代码,图片的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Kettle下载和安装
- 下一篇: 采用Turbo编码的图像传输试验(AWA