plot frequency response in matlab

Hello every body. i solved this problem using change it to ode
m1x"+m2ry"=-k1(2x1-x2-x0)
m2x"+My"=-k2x+Ky-f
Note: m1,m2,r,k1,x2,x0,M,k2,K,f are known
now,how can i plot frequency response for this problem?
thanks alots

2 个评论

Try to find transfer function and use 'bode' command.
syntax is
num=["enter the coefficients of the numerator of transfer function"]
den=["enter the coefficients od the denomenatoe of the transfer function "]
bode(num,den)
hope this works.
thank you very much for your answer

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by