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.

simulation of a new modulation scheme in fading channel using MATLAB functions

Status
Not open for further replies.

ehbas

Newbie level 4
Newbie level 4
Joined
May 2, 2013
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,321
Hi
I want to simulate a new modulation scheme named DCSK for Differential Chaos Shift Keying.

this modulation does not use sinusoidal signals as base signals, but uses chaotic signals (a noise-like signal).

for each symbol to be sent, we have a signal consisted of N real samples. I want to pass this signals through a fading channel and I want to use rayleighchan function of MATLAB.
I have already simulated the scheme with my own code, the results are correct. but I should do it with MATLAB functions tow.

the code I had developed for the channel is:

Code:
alpha = random('rayleigh', 1/sqrt(2) );
n = sigma .* randn(1, N);
r = (alpha *. x) + n;

note that x, n and r are real vectors of size N.

the main question is how can I model the channel for this modulation scheme using these MATLAB functions:
chann = rayleighchan(...);
r = filter(chann, x);

for modulation schemes like PSK, QAM, etc for each symbol is represented by a complex number. thus to simulate the fading channel one should write this code

Code:
% Create Rayleigh fading channel object.
chan = rayleighchan(1/10000,100);

% Generate data and apply fading channel.
M = 2; % DBPSK modulation order
hMod = comm.DBPSKModulator;       % Create a DPSK modulator
hDemod = comm.DBPSKDemodulator;     % Create a DPSK demodulator
tx = randi([0 M-1],50000,1);        % Generate a random bit stream
dpskSig = step(hMod, tx);       % DPSK modulate the signal
fadedSig = filter(chan,dpskSig);    % Apply the channel effects


note that the difference bitween PSK and my modulation is that I have a vector of N real samples for each symbol, but in PSK there is just one complex sample for each symbol.
in the above code, dpskSig is a 50000 size vector for 50000 consequent symbol.

I hope I could have explained my problem
tnx a lot
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top