what does if(s(j+1)==y1(j+1)) mean?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
%Demodulation process
for i=1:6
for j=(i-1)*100:i*100
if(s(j+1)==y1(j+1))
x(j+1)=1;
else
x(j+1)=0;
end
end
end
%plot ASK Demodulated Signal
subplot(4,1,4);
plot(
t,x,'r');
title('ASK Demodulated Signal');
xlabel('time(s)');
ylabel('amplitude');
Respuestas (1)
SaiDileep Kola
el 15 de En. de 2021
Ask modulation is simply multiplying data sequence(0,1) with a continuous wave, so you get signal at places of 1's and get no signal at 0's, the reverse is done at demodulation to check if the signal is present and assign as 1 and others as 0.
0 comentarios
Ver también
Categorías
Más información sobre PHY Components en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!