diff options
author | Andreas Müller <andreas.mueller@ost.ch> | 2021-04-13 09:47:35 +0200 |
---|---|---|
committer | Andreas Müller <andreas.mueller@ost.ch> | 2021-04-13 09:47:35 +0200 |
commit | 516b6c8a4d7672a13847d1fb71be2df213459d3a (patch) | |
tree | 584cdff05814c059bbdf98f444170265e6f55235 /buch/papers/reedsolomon/experiments | |
parent | add experiment to reedsolomon (diff) | |
download | SeminarMatrizen-516b6c8a4d7672a13847d1fb71be2df213459d3a.tar.gz SeminarMatrizen-516b6c8a4d7672a13847d1fb71be2df213459d3a.zip |
update fs-fft
Diffstat (limited to '')
-rw-r--r-- | buch/papers/reedsolomon/experiments/f.m | 9 |
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; |