finished organization of init funcions and parameters

This commit is contained in:
canisio
2026-04-04 16:05:17 -03:00
parent eb14676581
commit 3c6ae0cfe9
7 changed files with 27 additions and 17 deletions

View File

@@ -1,5 +1,4 @@
%% Derived from preload
fs_eff = fs_RF/IntDecFactor; % Effective fs before interpolation / after decimation
Ts_eff = 1/fs_eff;
@@ -53,27 +52,27 @@ stoptime = 10*TsSW;
%% Channelizer parameters
% Number of channels, maximally decimated channelizer M/D=1
%nChan = 512;
%Number of channels, maximally decimated channelizer M/D=1
nChan = 512;
% Taps per band
%nTapsPerBand = 16;
%Taps per band
nTapsPerBand = 16;
% Create channelizer object
%channelizer = dsp.Channelizer('NumFrequencyBands',nChan,...
% 'DecimationFactor',nChan,...
% 'NumTapsPerBand',nTapsPerBand);
% Channelizer coefficients
%channelizerCoeffs = channelizer.coeffs.Numerator;
%Create channelizer object
channelizer = dsp.Channelizer('NumFrequencyBands',nChan,...
'DecimationFactor',nChan,...
'NumTapsPerBand',nTapsPerBand);
%Channelizer coefficients
channelizerCoeffs = channelizer.coeffs.Numerator;
% Channel bandwidth
%Channel bandwidth
%chanBW = fs/nChan;
% Starting frequency for each channel
%Starting frequency for each channel
%chanFStart = chanBW/2:chanBW:(fs/2-chanBW/2);
% Number of frames out of channelzier
%nFrames = nChan/SamplesPerCycle;
%Number of frames out of channelzier
nFrames = nChan/SamplesPerCycle;
% Frame size after serializing x2
%frameSize = SamplesPerCycle/2;