/
concept-collection
/
sample-4
Jump to
/
Appearance
Match my system
Paper
GitHub
Slate
Midnight
Terminal
Sign in
concept-collection
/
sample-4
Code
Commits
Issues
0
Pull requests
0
Branches
1
Tags
0
main
Branches
main
sample-4
/
damped_wave.m
4 lines · 131 B
Code
Blame
History
8a3780b
Initial commit
Jeremy Magland
1 month ago
1
function y = damped_wave(t, f, tau)
2
% DAMPED_WAVE Exponentially decaying sine wave.
3
y = exp(-t / tau) .* sin(
2
* pi * f * t);
4
end
↑
↓
move
↵
open
esc
close