aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2019-06-02 21:56:29 +0200
committerWojtek Kosior <kwojtus@protonmail.com>2019-06-02 21:56:29 +0200
commit223c16f6b495397720b896d88c52982f882460ee (patch)
tree05491d3c9ae758d3576105cd383c1b8ca893e11c
parent81b832d9576fdb1b26281e2b6aa695d1742e5c13 (diff)
downloadfortran-assignment2-223c16f6b495397720b896d88c52982f882460ee.tar.gz
fortran-assignment2-223c16f6b495397720b896d88c52982f882460ee.zip
last quick fixesHEADmaster
-rw-r--r--README.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/README.md b/README.md
index b5703c1..0face9f 100644
--- a/README.md
+++ b/README.md
@@ -5,8 +5,6 @@ This repository contains the realization of the [second task](http://home.agh.ed
Makefile
README.md
- make_results.sh
- template.gnuplot
src/
fourier.F90
f1_dft.gnuplot
@@ -82,4 +80,4 @@ And the plot of it's dft (with _x_ axis range of [0; 150] and logarithmic _y_ sc
We can see, that there's a single pike at frequency 1 (corresponding to our main cosinus signal) and all other values are low and seemingly random.
The last part of the task was to remove all values of the dft with absolute value smaller than 50 and perform the inversed Fourier transform. This zeroed almost all of the 'random' part of the dft. Since the __noise__ in the dft was the result of the __noise__ in the original function, the result of the inversed Fourier transform was an almost perfect cosinus as can be seen below
![plot f2 function filtered from noise](res/f2_filtered.png)
-This worked, because the amplitude of the noise was small and so the amplitude of frequency components resulting from it was small (almost all absolute values of dft for frequencies other than 1 were 0). In case of stronger noise or a cap smaller than 50 this could possibly not work as well. Nevertheless, this (fast) Fourier transform example also presents one of the method used used for filtering periodical signals from noise. Other ways of filtering dft values also exist (e.g. convoluting with a predefined filter-function). \ No newline at end of file
+This worked, because the amplitude of the noise was small and so the amplitude of frequency components resulting from it was small (almost all absolute values of dft for frequencies other than 1 were smaller than 50). In case of stronger noise or a cap smaller than 50 this could possibly not work as well. Nevertheless, this (fast) Fourier transform example also presents one of the method used used for filtering periodical signals from noise. Other ways of filtering dft values also exist (e.g. convoluting with a predefined filter-function). \ No newline at end of file