m*****r 发帖数: 13 | 1 在matlab中,可以调用rayleighchan来对rayleigh信道进行模拟。其中的
AvgPathGaindb,Pathgains,NormarlizedPathgains等参数不明白。假设,信道是h服从
一个均值为0,其方差为Var(h)的复高斯随机分布。
问题1.设置的时候VagPathGaindb就应该设置为10*log10(var(h))。而对于一次具体的
实现,pathgains的值就是|h|^2的值?
2.信道增益是否被归一话了,就看NormarlizedPathgains是否为1. 如果信道增益被归
一化了,那怎么还有平均信道增益?这不矛盾吗?
请熟悉rayleighchan函数的多多发言,rayleigh信道,在无线通信中经常用到,请知道
的,多多发言意见。谢谢! |
z*****n 发帖数: 7639 | 2 PathGains (read-only):
Complex vector listing the current gains of the discrete paths. W
hen you create or reset chan, PathGains is a random vector influenced by Avg
PathGaindB and NormalizePathGains (using Rayleigh distribution function)
AvgPathGaindB:
Vector listing the average gain of the discrete paths, in decibels.
NormalizePathGains:
If 1, the Rayleigh fading process is normalized such that the exp
ected value of the path gains' total power is 1.
【在 m*****r 的大作中提到】 : 在matlab中,可以调用rayleighchan来对rayleigh信道进行模拟。其中的 : AvgPathGaindb,Pathgains,NormarlizedPathgains等参数不明白。假设,信道是h服从 : 一个均值为0,其方差为Var(h)的复高斯随机分布。 : 问题1.设置的时候VagPathGaindb就应该设置为10*log10(var(h))。而对于一次具体的 : 实现,pathgains的值就是|h|^2的值? : 2.信道增益是否被归一话了,就看NormarlizedPathgains是否为1. 如果信道增益被归 : 一化了,那怎么还有平均信道增益?这不矛盾吗? : 请熟悉rayleighchan函数的多多发言,rayleigh信道,在无线通信中经常用到,请知道 : 的,多多发言意见。谢谢!
|
m*****r 发帖数: 13 | 3 我明白楼上说的。PathGains是个随机变量,但AgvPathGaindB指的是什么?还有被归一
化是被瑞利分布的方差归一化吗? |
z*****n 发帖数: 7639 | 4 no, different paths have different average gains.
【在 m*****r 的大作中提到】 : 我明白楼上说的。PathGains是个随机变量,但AgvPathGaindB指的是什么?还有被归一 : 化是被瑞利分布的方差归一化吗?
|
m*****r 发帖数: 13 | 5 如果我把tau设置为0,pdb设置为10.那么就只有一条路径。是flat fading channel.
但这个pdb=10指的什么?还有最后归一话normalizedpathgains是多少?呵呵。麻烦指
教一下。 |
z*****n 发帖数: 7639 | 6 tau is a vector of path delays, each specified in seconds. If you set it
as a scalar 0, then you have only 1 path with delay 0.
pdb is a vector of average path gains, each specified in dB.
Normalizedpathgains is the absolute magnitude of your signal,
if you set it 1, then the total power of all the paths input signal is 1.
【在 m*****r 的大作中提到】 : 如果我把tau设置为0,pdb设置为10.那么就只有一条路径。是flat fading channel. : 但这个pdb=10指的什么?还有最后归一话normalizedpathgains是多少?呵呵。麻烦指 : 教一下。
|
m*****r 发帖数: 13 | 7 if you set it 1, then the total power of all the paths input signal is 1?
you mean if the normalizedpathgain set to be 1, then the total power of
channel output is 1. |
z*****n 发帖数: 7639 | 8 sorry, the total gain will be normalized to be 1.
【在 m*****r 的大作中提到】 : if you set it 1, then the total power of all the paths input signal is 1? : you mean if the normalizedpathgain set to be 1, then the total power of : channel output is 1.
|
m*****r 发帖数: 13 | 9 normalized to be 1. you mean the output of the channel or the input?
i don't understand your mean totally. |
z*****n 发帖数: 7639 | 10 It modifies the pdb vector, normalized the total gain in this vector to be 1.
I think it works in such way:
suppose you have 3 path with gain vector pdb = [ 2 1 0.5 ], the actual
gain vector used in rayleigh channel will be normalized by
pdb/sum(pdb)*Normalizedgains
【在 m*****r 的大作中提到】 : normalized to be 1. you mean the output of the channel or the input? : i don't understand your mean totally.
|
m*****r 发帖数: 13 | 11 If we set NormalizeGains to be 1, the AvgPathGainsdB will be normalized and
equate to be 1.
AvgPathGaindB=10log10(mean(abs(pathgain)^2)
you can reset NormalizeGains to be 0 to validate above equation. |