文件名称:QASk
介绍说明--下载内容均来自于网络,请自行研究使用
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) - 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)
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) - 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)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
QASk.m