vtb2_6.m
来自「在MATLAB中开发震动相关仿真时需要用到的」· M 代码 · 共 21 行
M
21 行
function VTB2_6(m,k,dtype,dcoef,dt,tott,x0,v0)%VTB2_6 Damping Simulations.% VTB2_6(m,k,dtype,dcoef,dt,tott,x0,v0) plots the free decay of % single degree of freedom systems with different types of % damping. m is the mass, k is the stiffness, dtype is the % damping type number where 1 is linear viscous damping, 2 is % coulomb damping, and 3 is air damping. dt is the time step % size for the numerical simulation, and tott is the total % time of the simulation. x0 is the initial displacement,% v0 is the initial velocity. The variable dcoef represents % the damping coefficient for the type of damping you have chosen.% i.e. c for linear damping, mu N for coulomb damping, and% alpha for air damping. Note that the point at which % 'sticktion' occurs for coulomb damping is predicted, but% this prediction is tenuous at best.% disp('VTB2_6 has been grandfathered. Please use VTB1_5 in the future.')vtb1_5(m,k,dtype,dcoef,dt,tott,x0,v0)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?