This commit is contained in:
Silas Oettinghaus
2024-04-22 11:14:06 +02:00
parent ed17953407
commit cb54f4480e
10 changed files with 428 additions and 211 deletions

View File

@@ -364,6 +364,34 @@ classdef Signal
end
function eye(obj,fsym)
disp('h');
fsig = obj.fs;
q = fsig/fsym;
if q > 10
sig = abs(obj.signal).^2;
else
sig = abs(obj.resample("fs_in",fsig,"fs_out",fsym*10).signal);
q = 10;
end
figure(12)
clf
cursor = 200*q;
for s = 1:700
plot(sig(cursor-q:cursor+q),'Color','black','LineWidth',0.1,'LineStyle','-');
hold on
cursor=cursor+q;
s=s+1;
end
end
end
end