diff options
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; |