I want to simulate a multipath fading channel, different amplitude and delay is given. I want to use delay in padding style. I read that the different values for delay like [0 .6 3.1 ...] represent the delay between the first and last signal arrival? Giving the number of paths, How to simulate it? regards
@MohammedFatehy If you put up -exactly- what you currently know and have, we can help you more.
Generally speaking, let us say you have a signal x[n]. And lets say your sampling rate is 1 Hz. So you take one sample every second.
Now you want to construct a channel for multipath. Right off the bat, your multipath channel is going to be an FIR filter btw. Let us say someone tells you, "your first echo is going to be 5 seconds away, and attenuates the amplitude by 50%. The second echo is going to be 8 seconds away, and attenuates the amplitude by 70%".
Now, your channel is going to be simply a vector, (call it channel), such that: channel = [1 0 0 0 0 0.5 0 0 0.3]. (You have the 1 in the beginning, because that is the 'line of sight' co-efficient. That is, the signal without any echos).
Now, you simply filter your signal x[n] with channel, and you have a multipath response. Does that make sense?
Create a copy of your signal vector for each path, add zeros to its beginning according to how much delay you have. Add noise to each of them, then add them all up.