aboutsummaryrefslogtreecommitdiff
path: root/fourier.jl
diff options
context:
space:
mode:
authorJosh Ott <joshott16@gmail.com>2022-05-17 00:12:53 -0400
committerGitHub <noreply@github.com>2022-05-17 00:12:53 -0400
commita6312ec45cf02c07d81ce20472505f02ef093964 (patch)
tree254180b8f0282390f840d489c655c1e088219a9c /fourier.jl
parentd673f11be621544e02501fd9f38718a40183590d (diff)
downloadfourier-main.tar.gz
fourier-main.zip
Update fourier.jlHEADmain
Diffstat (limited to 'fourier.jl')
-rw-r--r--fourier.jl4
1 files changed, 2 insertions, 2 deletions
diff --git a/fourier.jl b/fourier.jl
index 911c984..3f77feb 100644
--- a/fourier.jl
+++ b/fourier.jl
@@ -16,7 +16,7 @@ function integrate(f, a, b, n)
end
"""
-Calculate Fourier coefficient for term with frequency `n` with function `f`.
+Calculate Fourier coefficient for term with frequency `n` of function `f`.
"""
function c(f, n)
g(t)=f(t)*exp(-2π*im*n*t)
@@ -67,4 +67,4 @@ function fourierArm(t, coefficients)
end
return arm
-end \ No newline at end of file
+end