spring_mass(F,m,k,w​,t,y)

版本 1.0.0.0 (280 字节) 作者: N Narayan rao
Response of un-damped spring mass system at natural frequency
182.0 次下载
更新时间 2016/8/22

查看许可证

Mechanical resonance is the tendency of a mechanical system to respond at greater amplitude when the frequency of its oscillations matches the system's natural frequency of vibration .
clear all
clc
y0=[0;0];
tspan=[0 5];
k=2e3;
m=2;
F=1;
w=sqrt(k/m);
[T,Y]=ode45(@(t,y) spring_mass(F,m,k,w,t,y),tspan,y0);
plot(T,Y(:,1));

引用格式

N Narayan rao (2024). spring_mass(F,m,k,w,t,y) (https://www.mathworks.com/matlabcentral/fileexchange/58811-spring_mass-f-m-k-w-t-y), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2013a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Assembly 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0