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 commentaires

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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Programming dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by