updates of framework
- focus on AWG output power and lowpass characteristics
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user