vtb2_3
来自「vtoolbox3.5是振动数值模拟工具箱」· 代码 · 共 39 行
TXT
39 行
function VTB2_3(z,rmin,rmax)%VTB2_3 Steady state magnitude and phase of a single degree of freedom % damped system. % VTB2_3(zeta,rmin,rmax) plots the response of a single degree of % freedom system with damping ratio zeta between the frequency % ratios rmin and rmax.r=rmin:(rmax-rmin)/1000:rmax;A0=(1)./sqrt((1-r.^2).^2+(2*z*r).^2);%(2.30)phi=atan2(2*z*r,1-r.^2);%(2.30)semilogy(r,A0)xlabel('Frequency Ratio')ylabel('Normalized Amplitude')title('Normalized Amplitude versus Frequency Ratio')text(0,0,'Press Return To Continue','sc')pauseplot(r,phi)xlabel('Frequency Ratio')ylabel('Phase')title('Phase versus Frequency Ratio')text(0,0,'Press Return To Continue','sc')
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?