Time Division Multiplexing (TDM)
A multiplexing technique which processes information of different transmitters successively in defined time segments for transmission over one channel.
It can be of two types:
1.Asynchronous Time Division Multiplexing
2.Synchronous Time Division Multiplexing
A simple MATLAB program for TDM
clc;
clearll;
closeall;
x=0:.5:4*pi;
sig1=8*sin(x);
l=length(sig1);
sig2=8*triang(l);
subplot(221)
plot(sig1);
title('Sinosoidal Signal');
ylabel('Amp---------->');
xlabel('time----------->');
subplot(222);
plot(sig2)
title('trangular Signal');
ylabel('Amp---------->');
xlabel('time----------->');
subplot(223)
stem(sig1);
title('Sinosoidal Signal');
ylabel('Amp---------->');
xlabel('time----------->');
subplot(224);
stem(sig2)
title('trangular Signal');
ylabel('Amp---------->');
xlabel('time----------->');
l1=length(sig1);
l2=length(sig2);
for i=1:l2
sig(1,i)=sig1(i);
sig(2,i)=sig2(i);
end
tdmsig=reshape(sig,1,2*l1);
figure
stem(tdmsig);
title('Tdm Signal')
ylabel('Amp---------->');
xlabel('time----------->');
demux=reshape(tdmsig,2,l2);
for i=1:l1
sig3(i)=demux(1,i);
sig4(i)=demux(2,i);
end
figure
subplot(2,1,1)
plot(sig3)
title('Recovered Sinosoidal Signal');
ylabel('Amp---------->');
xlabel('time----------->');
subplot(2,1,2);
plot(sig4);
title('Recovered Triangular Signal');
ylabel('Amp---------->');