# i.i.d Raleigh distributed T tap frequency selective channel

A Single-tap 'flat Raleigh fading channel' is implemented as.

N=length(X);    % X is any signal
ray = sqrt(0.5*((randn(1,N)).^2+(randn(1,N)).^2));
Data_sent = X.*ray;

1. Is it a single path? What I have to do if I want to model MULTIPATH single-tap and multipath multi-tap channel ? I am confused in number of paths and taps.
2. How to simulate 'i.i.d Raleigh distributed T tap frequency selective channel'? Thanks
• Do you understand what multipath means? Do you understand how frequency selectiveness due to multipath happens? – Marcus Müller Dec 13 '16 at 11:27
• Yeah, I know the multipath concept theory. I know the number of paths through which the signal reach the receiver and there is delay among the different paths. If the delay spread is greater than the symbol duration then we get inter symbol interference . But I can not relate with the simulation. I am confused in where in the matlab code I include the 'number of paths', the 'number of taps' and then how to include the frequency selectivity. – Digi1 Dec 13 '16 at 11:38
• So is this a questio to explain your matlab code? I must admit that I find it so trivial that I wonder what you want us to explain? Also, this is not really the "explain matlab code" stackexchange site – it's the signal processing site, so you might want to specify why your question is a signal processing and not a pure "I can't read matlab" question! – Marcus Müller Dec 13 '16 at 11:41