yup, I already made the nioseless constellation diagram.
% ASK constellation diagram without noise
N=1000; %number of bits that were transmitted
XMIN=-1.5;
XMAX=1.5;
YMIN=-1.5;
YMAX=1.5;
for i=1:N
S=round(rand); %a source that generates a random numbers (0,1)
if S==1
x1=1.;
y1=0;
else
x2=0;
y2=0;
end
end
plot(x1,y1,'x',x2,y2,'*')
axis([XMIN XMAX YMIN YMAX])
title('ASK Constellation Diagram')
legend('(1) transmitted','(0) transmitted');
xlabel('Theoritical')