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 Kommentare

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 am 6 Mai 2020
thank you very much for your answer

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 30 Apr. 2020

Kommentiert:

am 6 Mai 2020

Community Treasure Hunt

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

Start Hunting!

Translated by