IEEE.org     |     IEEE Xplore Digital Library     |     IEEE Standards     |     IEEE Spectrum     |     More Sites

Commit d8913b92 authored by Martin Hudlicka's avatar Martin Hudlicka
Browse files

Deleted

parent 90098b26
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Downversion code (user distributable)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This code implements the preprocessing step of downconversion and works
% with the code PreProcessing_Downconvert for demonstration.
% It is not a part of the IEEE P1765 Baseline EVM Algorithm.
% The downconversion is discussed in Section 5.1.1.2.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Authors:
% Christopher P. Silva - Original code Version 04.30.2021
% Paritosh Manurkar - Modularization of the code into a main program and subroutines Version 06.08.2021
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function distSigFreq = PreProcessing_F_Downconvert(distSig2FT,params)
sigSize_rf = length(distSig2FT);
Ha = [ones(1,(sigSize_rf/2) + 1)*2 zeros(1,(sigSize_rf/2) - 1)]; % Analytic signal filter
ansigFT = distSig2FT.'.*Ha'; % Analytic signal
shift_pct = params.fcarr/params.fsamp;
shiftpts = double(-shift_pct*sigSize_rf);
distSigFreq = circshift(ansigFT,shiftpts).'; % Baseband signal
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment