MATLAB (9)

Frequency Response

Natural frequency

  • wn = sqrt(k/m)(rad/s) - 회전 주파수
  • fn = wn/(2*pi)(Hz) - 주파수
1
2
3
4
5
6
7
8
>> m=10;
>> b=0.1;
>> k=1000;
>> wn=sqrt(k/m)

wn =

10

Definition of dB

dB = -20log(Output/Input)

Bode plot

1
2
3
4
num=[1];
den=[10 0.1 1000];
sys=tf(num,den);
bode(sys)

bode-plot-1

  • Hz
1
2
3
4
5
6
7
num=[1];
den=[10 0.1 1000];
sys=tf(num,den);
bode(sys)
figure
h=bodeplot(sys);
setoptions(h,'FreqUnits','Hz');

k

1
2
3
num=[1];
den=[10 0.1 1000];
den=[10 0.1 4000];

bode-plot-2

  • b is same in frequency domain