updates of framework

- focus on AWG output power and lowpass characteristics
This commit is contained in:
Silas Oettinghaus
2024-04-26 14:08:21 +02:00
parent 0600abfcbf
commit 7c1d9850d6
25 changed files with 864 additions and 279 deletions

View File

@@ -373,14 +373,14 @@ classdef Signal
fsig = obj.fs;
q = fsig/fsym;
if q > 10
sig = abs(obj.signal).^2;
if q > 10 && isinteger(q)
sig = (obj.signal);
else
sig = abs(obj.resample("fs_in",fsig,"fs_out",fsym*10).signal);
sig = (obj.resample("fs_in",fsig,"fs_out",fsym*30).signal);
q = 10;
end
figure(12)
figure()
clf
cursor = 200*q;
@@ -390,6 +390,8 @@ classdef Signal
cursor=cursor+q;
s=s+1;
end
ylim([-3 3]);
end