tb.model_filterbank='Free choice';% 'LOFAR' = use fixed settings of LOFAR subband filterbank, else use free choice of tb.nof_subbands and PFIR coefficients
tb.model_filterbank='Free choice';% 'LOFAR' = use fixed settings of LOFAR subband filterbank, else use free choice of tb.nof_subbands and PFIR coefficients
%tb.model_filterbank = 'LOFAR';
tb.model_filterbank='LOFAR';
ifstrcmp(tb.model_filterbank,'LOFAR')
ifstrcmp(tb.model_filterbank,'LOFAR')
tb.model_quantization='fixed point';
tb.model_quantization='fixed point';
tb.nof_subbands=512;
tb.nof_subbands=512;
...
@@ -100,13 +100,13 @@ else
...
@@ -100,13 +100,13 @@ else
end
end
% Input signal 'sinusoid' carrier frequency
% Input signal 'sinusoid' carrier frequency
tb.subband_wg=47;% subband range 0:tb.nof_subbands-1, can be fraction to have any sinusoid frequency
tb.subband_wg=47.4;% subband range 0:tb.nof_subbands-1, can be fraction to have any sinusoid frequency
%tb.subband_wg = 1.55;
%tb.subband_wg = 1.55;
%tb.subband_wg = 12;
%tb.subband_wg = 12;
% Model a frequency sweep of the 'sinusoid'
% Model a frequency sweep of the 'sinusoid'
tb.chirp=0;% 0 = use fixed tb.subband_wg frequency, else increment WG frequency every block to have chirp frequency sweep
tb.chirp=0;% 0 = use fixed tb.subband_wg frequency, else increment WG frequency every block to have chirp frequency sweep
tb.chirp=1;
%tb.chirp = 1;
iftb.chirp
iftb.chirp
tb.nof_tsub=200;% number of subband periods to simulate
tb.nof_tsub=200;% number of subband periods to simulate
else
else
...
@@ -205,6 +205,7 @@ if strcmp(tb.model_filterbank, 'LOFAR')
...
@@ -205,6 +205,7 @@ if strcmp(tb.model_filterbank, 'LOFAR')