updates of framework
- focus on AWG output power and lowpass characteristics
This commit is contained in:
@@ -88,7 +88,7 @@ classdef Pulseformer
|
||||
%Bau das Filter (hier rrc)
|
||||
racos_len = obj.pulselength*2;
|
||||
alpha = obj.rrcalpha;
|
||||
h = rcosdesign(alpha,racos_len,sps);
|
||||
h = rcosdesign(alpha,racos_len,sps,"normal");
|
||||
h = h./ max(h);
|
||||
end
|
||||
|
||||
@@ -118,8 +118,8 @@ classdef Pulseformer
|
||||
|
||||
|
||||
% %Apply Filter using Matlab build in fctn.
|
||||
h = rcosdesign(alpha,racos_len,sps);
|
||||
h = h./ max(h);
|
||||
% h = rcosdesign(alpha,racos_len,sps);
|
||||
% h = h./ max(h);
|
||||
%data_out_ = upfirdn(data_in,h,up,dn);
|
||||
%
|
||||
% %cut signal, which is longer due to fir filter
|
||||
@@ -128,8 +128,8 @@ classdef Pulseformer
|
||||
% data_out = data_out(st:en);
|
||||
|
||||
%scaling?! see pulsef module line 696
|
||||
scale = max(max([abs(real(data_out)) abs(imag(data_out))])); %find max value from real and imag part
|
||||
data_out = data_out./scale;
|
||||
% scale = max(max([abs(real(data_out)) abs(imag(data_out))])); %find max value from real and imag part
|
||||
% data_out = data_out./scale;
|
||||
|
||||
data_out = data_out';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user