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 Comments

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

Sign in to comment.

Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Asked:

on 30 Apr 2020

Commented:

on 6 May 2020

Community Treasure Hunt

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

Start Hunting!