0% found this document useful (0 votes)
27 views6 pages

Digital Signal Processing: 'RF - Data - Dat'

The document discusses digital signal processing and contains tasks on differentiating and filtering a signal. It loads data, normalizes it, applies low-pass filtering and downsampling. It then performs differentiation and extracts the message signal. Frequency response, magnitude, phase and group delay plots are generated for a differentiator filter.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views6 pages

Digital Signal Processing: 'RF - Data - Dat'

The document discusses digital signal processing and contains tasks on differentiating and filtering a signal. It loads data, normalizes it, applies low-pass filtering and downsampling. It then performs differentiation and extracts the message signal. Frequency response, magnitude, phase and group delay plots are generated for a differentiator filter.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Digital Signal Processing

Complex Engineering Problem Author: Muhammad Nouman Saleem Registration No: 2015-EE-36

Contents
 Task#1:
 Task#3;
 Frequency Response Of Differentiator
 Magnitude_Plot Of Frequency Response Of Differentiator
 Phase_Plot Of Frequency Response Of Differentiator
 Group_Delay
 Group_Delay Of Differentiator
Task#1:

Data = loadFile('rf_data.dat');
Normalized_Data = (Data)./max(Data);% Scaling
%RF_data_Normalized = exp(j*angle(RF_data));% To make amplitude Constant
%%Decimation
Low_Pass_Filtered_data = LPF(Normalized_Data,4,100);
Down_sampled_data = DownSample_func(Low_Pass_Filtered_data,4);
%Differentiation
x_diff = Differentiator(Down_sampled_data);
%Message_Signal
m_t = imag(x_diff.*conj(Down_sampled_data));
m_t = m_t./max(m_t);
%Decimation
LPF_data = LPF(m_t,32,100);
Downsampled_LPF_data = DownSample_func(LPF_data,32);
%Messaage_signal
sound(Downsampled_LPF_data,16000);

Task#3;

w = linspace(-2*pi,2*pi,200)';

points = 51;

n = (0:points)';

Frequency Response Of Differentiator


H_Diff = cos(pi*(n-(points/2)))./(n-(points/2)) - sin(pi*(n-(points/2)))./(pi*((n-
(points/2)).^2));

basis = exp(-j*w*n');
H_diff = basis*H_Diff;

figure;

Magnitude_Plot Of Frequency Response Of Differentiator

plot(w,abs(H_diff),'b');title('magnitude plot');
figure;
Phase_Plot Of Frequency Response Of Differentiator

plot(w,angle(H_diff),'b');title('phase plot');

Group_Delay

figure

[gd,w] = grpdelay(H_Diff);
Group_Delay Of Differentiator

plot(w,gd);title('Group Delay');
Published with MATLAB® R2018a

You might also like