aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Müller <andreas.mueller@ost.ch>2021-04-13 09:47:35 +0200
committerAndreas Müller <andreas.mueller@ost.ch>2021-04-13 09:47:35 +0200
commit516b6c8a4d7672a13847d1fb71be2df213459d3a (patch)
tree584cdff05814c059bbdf98f444170265e6f55235
parentadd experiment to reedsolomon (diff)
downloadSeminarMatrizen-516b6c8a4d7672a13847d1fb71be2df213459d3a.tar.gz
SeminarMatrizen-516b6c8a4d7672a13847d1fb71be2df213459d3a.zip
update fs-fft
-rw-r--r--buch/papers/reedsolomon/experiments/f.m9
1 files changed, 7 insertions, 2 deletions
diff --git a/buch/papers/reedsolomon/experiments/f.m b/buch/papers/reedsolomon/experiments/f.m
index ba58825..6bdc741 100644
--- a/buch/papers/reedsolomon/experiments/f.m
+++ b/buch/papers/reedsolomon/experiments/f.m
@@ -11,13 +11,18 @@ signal = zeros(l,1);
signal(1:N,1) = round(10 * rand(N,1));
signal
-codiert = fft(signal)
-
plot(abs(signal));
xlim([1, l]);
title("Signal");
pause()
+codiert = fft(signal)
+
+plot(abs(codiert));
+xlim([1, l]);
+title("Codiert");
+pause()
+
fehler = zeros(l,1);
fehler(21,1) = 2;
fehler(75,1) = 1;