Description: Quaternary Amplitude Shift Keying
clear all
M=3
NPoints=input( Enter the number of points>> )
NumberBits=input( Enter the number of points per bit>> )
Signal Constellation of ASK
for i=1:NPoints
m=round(rand(1)*3)
data(i)=2*m-1-M
end
scatterplot(data)
grid on
for i=1:round(NPoints/NumberBits)
m=round(rand(1)*3)
for j=1:NumberBits
A(i,j)=2*m-1-M
end
end
figure(2)
plot(A)
To Search:
File list (Check if you may need any files):
Untitled5.m