plot frequency response in matlab

3 次查看(过去 30 天)
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 个评论
Prasad Reddy
Prasad Reddy 2020-5-1
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.
saman ahmadi
saman ahmadi 2020-5-6
thank you very much for your answer

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by