Laporan Simulasi: Praktikum Telekomunikasi Digital
Laporan Simulasi: Praktikum Telekomunikasi Digital
LAPORAN SIMULASI
MATLAB SIMULATION OF DELTA
MODULATION TECHNIQUE
Disusun Untuk Memenuhi Tugas
Mata Kuliah Praktikum Telekomunikasi Digital
Semester 4
PEMBIMBING :
Amalia Eka R, ST, MT, M.Sc
Penyusun:
JTD – 2C
Disusun Oleh
Nama : Achmad Farchan Hadi
NIM : 1841160024
Where,
δ ( t )=1 , t=0 0,elsewhere
A practical A/D converter transforms x(t) into a discrete-time digital signal,
x*(t), where each sample is expressed with finite precision. Each sample is
approximated by a digital code, i.e., x(t) is transformed into a sequence of finite
precision or quantized samples x(n). This quantization process introduces
Quantization Error in A/D Converters.
∑ x ( t ) δ(t −nT )
n=−∞
30. if diff(i)>0
31. comp(i)=1;
32. elseif diff(i)<0
33. comp(i)=0;
34. else
35. if i==1
36. comp(i)=0;
37. else
38. comp(i)=comp(i-1);
39. end
40. end
41. end
42. hold on
43. plot(t,comp,'b-') % delta modulated signal
44.
45. grid
on
2. Write the Matlab source code that you used to generate the modulated signal, including
explanation of each code line!
clc;
clear all
close all
f=1;%freq in KHz
fs=100*f; %sampling frequency
t=0:1/fs:2/f; %time
A=1; %amplitude in Volt
m=A*sin(2*pi*f*t); %information signal
subplot(3,1,1) %plotting the signal
plot(t,m,'k-'); %Displays time, signal information waveform, and
color
ylabel('Amplitude (V)') %title of grid y
xlabel('Time(ms)') %title of grid x
title('Information signal') %title of wave
hold all;
d=1/f; %step size