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.

rayleighchan & frequency channel response function

Status
Not open for further replies.

h_ebrahimi

Newbie level 1
Joined
Jun 6, 2010
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
iran
Activity points
1,294
Hi
I am currently writing matlab code for simulation of ofdm in frequency delective fading channel. I use rayleighchan function in matlab. i want to equalize signal in reciever, i cant obtain the channel response function? i realy confused?! rayleighchan is a class, but i need an equation....
please help me
 

You can obtain CIR (Channel Impulse Response) by accessing rayleighchan output class member.

This code extracts CIR from rayleighchan output:
Code:
    % Call rayleigh channel
    constFading  = rayleighchan(1/Fs,fd,tau,P);

    if (fd>0)
        constFading.StoreHistory = 1;
    end

    outFading    = filter(constFading,inFading);

    % Extract CIR
    n_path = length(P);

    a = zeros(length(outFading),n_path);
    for i_path=1:n_path
        a(:,i_path) = constFading.PathGains(:,i_path);
    end

    alphaMatrix = constFading.channelFilter.alphaMatrix;
    h = a * alphaMatrix;
 
Last edited:

having found the impulse response of the channel, how to calculate the delay spread of the channel...?
 

sombdy plz rspond to the above query..!!
 

the above code shows an error..??? Undefined function or variable 'inFading'.

Error in ==> rayleighcir at 13
outFading = filter(constFading,inFading);
 

what does it mean by alphaMatrix
 

Re: rayleighchan & frequency channel response function

i m trying to get CIR,h, as 128 by 1 matrix..but this program generates 128 by 4689 matrix..plz explain alphaMatrix and its use..?
infading can be any random matrix?
 
Last edited:

Sorry I had not seen this forum for years. Hopefully it's not too late for me to answer this :smile:

The inFading is the input for the rayleigh channel. It is your transmitted signal.

I am not the one who created rayleighchan class and alpha matrix, so I can only make a guess. My best guess is that the alpha matrix simulates time-variance behavior of the fading channel.

If fd/Fs is very small (almost zero), I noticed that every column of the h matrix are identical, indicating that the impulse response doesn't change over time (time-invariant). As for channel with large normalized doppler frequency, the impulse response between each time sample varies over time (time-variant channel).
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top