Point out the error
Mostrar comentarios más antiguos
Matlab script to animate the motion of vibrating guitar
A= 2;
L= 10;
f= 50;
ta= 2;
x=0:0.1:L;
T=5 ;
t=0;
for t < T
y=(A)*(exp^(-t/ta))*(sin((2*pi*x)/L))*(cos(2*pi*f*t));
plot(x,y)
t=t+0.1;
pause(0.5)
end
1 comentario
per isakson
el 6 de Oct. de 2015
Editada: per isakson
el 6 de Oct. de 2015
Any error messages?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Acoustics, Noise and Vibration en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!