Scattered stuff from Silas during Dissertation

This commit is contained in:
Silas Oettinghaus
2026-06-03 09:05:33 +02:00
parent a91da3b97c
commit 5c2e27687d
37 changed files with 1726 additions and 1338 deletions

View File

@@ -1,20 +1,8 @@
M = 6;
M = 4;
bitpattern = [];
s = RandStream('twister','Seed',1);
for i = 1:log2(M)
N = 2^(17-1); %length of prbs
bitpattern(:,i) = randi(s,[0 1], N, 1);
end
if M == 6
bitpattern = reshape(bitpattern',[],1);
bitpattern = bitpattern(1:end-mod(length(bitpattern),5));
end
bits = Informationsignal(bitpattern);
bits = Signalgenerator("form", signalform.prms,"M", M,"order", 16).process();
symbols = PAMmapper(M,0).map(bits);
@@ -106,7 +94,7 @@ end
%% State Analysis
signal_to_analyze = symbols_tx_emu;
signal_to_analyze = symbols_db;
x = signal_to_analyze.signal(:);
levels = sort(unique(x)).'; % or provide known 1x6 level values