Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to generate 64 QAM in Matlab 6.5

Status
Not open for further replies.

venkateshkumar

Newbie level 6
Joined
Oct 14, 2006
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,409
HI
any one of u know how to generate 64 qam in matlab 6.5

please help me

thanks in advance

regards

venkatesh
 

64qam matlab

hi ,

U need separate function to generate 64-QAM or built in function is enough .

Built in function is

data=randint(1,100,6); ----> generates 100 symbols which are in range of 0 to 63

mod_data=qammod(data,6);

If you want to check the constellation plot give following command

scatterplot(mod_data);

Any mistakes correct me.

Regards,
Goud
 
  • Like
Reactions: ranjay

    ranjay

    Points: 2
    Helpful Answer Positive Rating
qam matlab code

there is any error showing on the second line of urs ,and not working .

i dnt know how to correct it because i also want to know how 64 qam is made
 

64 qam matlab file

hi friend,

see this chapter from the help of matlab 6.5 in the attachment area. Also you can find more examples on the mathwork web site, just do search within it for your keyword.

Another way for you, you can do search in the matlab help on your computer for digital modulation as a keyword or just modulation.

Regards
 

matlab qam

is it OK?
 

64 qam matlab code

hi
any one of u know how to simulate LNB signal in matlab.
please help me
thanks in advance
Regards
alaa17
 

Re: 64 QAM MATLAB CODE

i attached code for 64 qam in matlab try it
close all;
clear all;

m=64;
i=1;
d1=input('enter the i/p sequence=');
n=length(d1);

if n%6==1
d1(n+1:n+5)=0;
l=n+5;
elseif n%6==2
d1(n+1:n+4)=0;
l=n+4;
elseif n%6==3
d1(n+1:n+3)=0;
l=n+3;
elseif n%6==4
d1(n+1:n+2)=0;
l=n+2;
elseif n%6==5
d1(n+1)=0;
l=n+1;
else
l=n;
end;

%d2(1:1:6)=0;
d4(1:(l/6))=0;

for j=1:(l/6)


d2=[d1(i+5) d1(i+4) d1(i+3) d1(i+2) d1(i+1) d1(i)];
d3=binvec2dec(d2);
d4(j)=d3;
i=i+6;

end;
y3=qammod(d4,m);
scatterplot(y3);
 

Re: 64 QAM MATLAB CODE

for j=1Sadl/6)

d4(j)=d3;

error on this line

these two lines how can i debug these errors??

i need 16 qam code
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top