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.

Help me write program that creates QPSK signal in Matlab

Status
Not open for further replies.

tele

Newbie level 5
Joined
May 6, 2008
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,319
Help QPSK

Give A={a1, a2, a3, a4}

**broken link removed**


- Write Matlab program creating sequence QPSK random signal {s(n)} n=1,...N-1
s(n) belong to A.
-generate signal s(n)*p(t), p(t) is response of rise cosine. p(t) sampled faster than T of symbol: 10 . Write program illustrating sequence signal transmitting.

Please help me, I have just learnt Matlab.

Added after 5 hours 42 minutes:

Please help me!!
 

Re: Help QPSK

MATLAB provides an excellent Help, just do a search there and most of your answers will be there!

len = 10000; % Number of symbols
M = 4; % Size of alphabet
msg = randint(len,1,M); % Original signal

% Modulate using PSK
txpsk = pskmod(msg,M);

nsamp = 11; % Oversampling rate

%% Filter Definition
% Define filter-related parameters.
filtorder = 40; % Filter order
delay = filtorder/(nsamp*2); % Group delay (# of input samples)
rolloff = 0.25; % Rolloff factor of filter

% Create a square root raised cosine filter.
rrcfilter = rcosine(1,nsamp,'fir/sqrt',rolloff,delay);

% Upsample and apply square root raised cosine filter.
ytx = rcosflt(txpsk,1,nsamp,'filter',rrcfilter);
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top