diff options
author | Nao Pross <np@0hm.ch> | 2021-07-23 09:20:42 +0200 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2021-07-23 09:20:42 +0200 |
commit | f38cdd26c3f59b1707bc06ce98b11d6d7e4ee0a1 (patch) | |
tree | 91de33eb69f54ffc21c5559a100497912f541359 /buch/papers/reedsolomon/experiments/f.m | |
parent | Change crystal restriction to theorem style with proof (diff) | |
parent | add new ziel environment (diff) | |
download | SeminarMatrizen-f38cdd26c3f59b1707bc06ce98b11d6d7e4ee0a1.tar.gz SeminarMatrizen-f38cdd26c3f59b1707bc06ce98b11d6d7e4ee0a1.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to '')
-rw-r--r-- | buch/papers/reedsolomon/experiments/f.m | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/buch/papers/reedsolomon/experiments/f.m b/buch/papers/reedsolomon/experiments/f.m index 6bdc741..bf2587c 100644 --- a/buch/papers/reedsolomon/experiments/f.m +++ b/buch/papers/reedsolomon/experiments/f.m @@ -1,8 +1,8 @@ -# -# f.m -- Reed-Solomon-Visualisierung mit FFT -# -# (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule -# +% +% f.m -- Reed-Solomon-Visualisierung mit FFT +% +% (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule + N = 64; b = 32; l = N + b; @@ -51,6 +51,7 @@ syndrom(1:N,1) = zeros(N,1) plot(abs(syndrom)); xlim([1, l]); title("Syndrom"); + pause() locator = abs(fft(syndrom)) @@ -59,3 +60,13 @@ plot(locator); xlim([1, l]); title("Locator"); pause() + + +writematrix([transpose(counter), abs(signal)], 'signal.txt') +writematrix([transpose(counter), abs(codiert)], 'codiert.txt') +writematrix([transpose(counter), fehler], 'fehler.txt') +writematrix([transpose(counter), abs(empfangen)], 'empfangen.txt') +writematrix([transpose(counter), abs(decodiert)], 'decodiert.txt') +writematrix([transpose(counter), abs(syndrom)], 'syndrom.txt') +writematrix([transpose(counter), locator], 'locator.txt') + |