aboutsummaryrefslogtreecommitdiff
path: root/fourier.jl
diff options
context:
space:
mode:
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