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.

Phase Shift Keying simulation on Matlab

Status
Not open for further replies.

dammadmin

Junior Member level 2
Joined
Nov 8, 2009
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
MRU
Activity points
1,422
Deat friends, im stuck with the following problem.

I need to generate a binary data stream/array e.g x=[ a0,1,a2,a3,a4,a5,a6,a7] of duration T seconds. I can do the array using rand function but still im unable to understand how to do the duration of T s.

also for me to be able to proceed to QPSK modulation i need to find the I and Q streams. For that I need to stretch the slot of each symbol in the inphase and quadrature stream t make them 2T s. then ill be able to move forward with multiplication of the symbols with cos (2 pi f t) and sin (2 pi f t )to produce QPSK..

Please help me im stuck!!!!....:cry:
 

Hi

Its better you try yourself to do PSK modulation.

Try yourself for QPSK.

data=[1 -1 1 1 -1 1]; % Bipolar Data
Ts=0.01; % The sampling time
T=0.5; % Period Duration
t=(0:Ts:T)';
basisFunc=cos(2*pi*t/T); % The sinusoid
modOut=basisFunc*data; % The modulated out
modOut=reshape(modOut,1,length(t)*length(data));

plot(modOut);
 

    dammadmin

    Points: 2
    Helpful Answer Positive Rating
ah.. i will give a try.. thank you.. I also look a bit everywhere.. it seems i need to set a particular frequency ( or a value for the bit duration)..

Thanks.. if im stuck i'll reply back..
 

dammadmin said:
Deat friends, im stuck with the following problem.

I need to generate a binary data stream/array e.g x=[ a0,1,a2,a3,a4,a5,a6,a7] of duration T seconds. I can do the array using rand function but still im unable to understand how to do the duration of T s.

also for me to be able to proceed to QPSK modulation i need to find the I and Q streams. For that I need to stretch the slot of each symbol in the inphase and quadrature stream t make them 2T s. then ill be able to move forward with multiplication of the symbols with cos (2 pi f t) and sin (2 pi f t )to produce QPSK..

Please help me im stuck!!!!....:cry:

Can someone please tell me how to divide a binary stream array of 100 bits to even bits array and odd bits array in MATLAB and then stretch the slot of each symbol in phase and quadrature stream making them 2T?......
 

Thank you very much mathuranathan for your reply....... only the following part is not working:
Si=evenBits\'*pulse;
Sq=oddBits\'*pulse;
Can you please adjust it so that it works.
 

Thanks again for your reply mathuranathan..........
i used it and it works well......
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top