spring_mass(F,m,k,w,t,y)
Versión 1.0.0.0 (280 Bytes) por
N Narayan rao
Response of un-damped spring mass system at natural frequency
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));
Citar como
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. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2013a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Assembly en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |