Sign in
concept-collection
/
sample-4
Code
Commits
Issues
0
Pull requests
0
Branches
1
Tags
0
Update waves.m
Jeremy Magland
<magland@users.noreply.github.com>
committed
1 month ago
commit
182c1dbea383
parent
8a3780b
Browse files
1 changed file
+2
−0
waves.m
modified
+2
−0
View file
@@ -1,3 +1,5 @@
1
+
2
+
1
3
% Damped harmonic oscillation — press the run button (▶) above.
2
4
f = 2.5; % frequency (Hz)
3
5
tau = 0.8; % decay time constant (s)