vtb5_1.m

来自「振动工具箱」· M 代码 · 共 32 行

M
32
字号
function vtb5_1(m,c,k)%VTB5_1 Transmissibility ratio of a SDOF system.%  VTB5_1(m,c,k) plots the tranmissibility ratio for the system%  described by the mass m, damping coefficient c, and stiffness k.%  VTB5_1(zeta,w) plots the transmissibility ratio for the system%  described by the damping ratio zeta and undamped natural%  frequency w.% VTB5_1(23,0.9,34);if nargin==2   z=m;   w=c;else   w=sqrt(k/m);   z=c/(2*m*w);endr=[0:.01:2]';%Calculate various parts of equation 5.7 for TRTR1=ones(201,1)+(2*z.*r).^2;TR2=(ones(201,1)-r.^2).^2+(2*z.*r).^2;TR=sqrt(TR1./TR2);aa=version;ll=length(aa);plot(r,TR)title(['Transmissibility plot for \zeta = ',num2str(z),' \omega = ',num2str(w),' rad/s'])grid onylabel('Transmissibility Ratio')xlabel('Dimensionless Frequency') 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?