Commit 8d6aa005 by Martin Hudlicka

### Deleted

parent f2ae91f9
 function rxSigFreq = F_Apply_RX_Filter(distSigFreq,params) % This function calculates the transfer function (Hrrc) of the root raised % cosine function in the frequency domain and applies it to the Baseband % Reference Waveform. This is discussed in IEEE P1765 document Section % 5.1.2.1 and Annex A. % % Inputs: % distSigFreq: Baseband version of reference signal in frequency domain % params: Structure containing all the basic communication parameters % % Outputs: % rxSigFreq: The filtered spectrum in the frequency domain using the % matched filter intended for the modulation type being used. global structGlobal % Calculate Root Raised Cosine Filter's Transfer Function in Frequency Domain % Hrrc based on Joost's paper Hrrc = F_freqSqrtRaisedCosine(1/params.fsym, params.rolloff, 1/params.fsamp, params.numseg*length(params.t1)); % To match the length of the Hrrc vector with the other previously defined vectors Hrrc = [zeros(round((params.numSamp-length(Hrrc))/2),1);Hrrc;zeros(round((params.numSamp-length(Hrrc))/2),1)]; Hrrc = Hrrc(1:length(Hrrc) - 1); % Removing endpoint to match with numSamp Hrrc = circshift(Hrrc,length(Hrrc)/2); % For baseband Hrrc = transpose(Hrrc)/max(Hrrc); % Ensuring unit gain in passband % Apply Ideal Matched Filtering to Baseband Reference Waveform rxSigFreq = distSigFreq.*Hrrc; % Ideal matched filtering in frequency domain rxSig = ifft(rxSigFreq); % Transform match-filtered Baseband Reference Waveform to the time domain structGlobal.rxSigAve = abs(sum(rxSig)/length(distSigFreq)); % Signal Average Value (should be small) end \ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!