How to get the complex-valued impulse response coefficients from comm.RayleighChannel
9 ビュー (過去 30 日間)
古いコメントを表示
Imran Tasadduq
2022 年 5 月 4 日
コメント済み: NUR MOHAMMAD MOHIUDDIN CHOWDHURY TOHA
2025 年 10 月 8 日 18:46
The magnitude of channel impulse response can be plotted by using the "visualization" property of comm.RayleighChannel as has been described in Filter input signal through multipath Rayleigh fading channel - MATLAB (mathworks.com) in the Section "Display Impulse and Frequency Responses of Multipath Rayleigh Fading Channel". However, I couldn't find a way of getting the actual complex values of these impulse response coefficients. The now obsolete Matlab command "rayleighchan" used to have the following syntax to get the complex-valued impulse reponse coefficients:
chan = rayleighchan(ts,fd,tau,pdb);
h = chan.PathGains;
In the above code, "h" is the impulse response of the channel.
Please note that I am not looking for the PathGains at each sample point. I know that it can be obtained by using the following commands:
chan = comm.RayleighChannel(...);
[y,PathGains] = chan(x);
where "x" is the input signal, "y" is the output signal, and "PathGains" represents the channel filter coefficients at each sample point and is not channel impulse reponse.
3 件のコメント
Pooria Tabesh Mehr
2022 年 11 月 21 日
Take a look on this paper : ( "Channel Estimation In OFDM systems" By Jan-Jaap van de Beek, Ove Edfors, Magnus Sandell Sarah Kate wilson and Petr Ola Borjesson In proceedings Of VTC'95 Vol 2 pg.815-819 )
Possibly it helps to generate the channel impulse response by using the path gain and path delays of comm.RayleighChannel function.
回答 (1 件)
vidyesh
2024 年 1 月 24 日
Hi Imran,
To obtain the complex impulse response coefficients of a multipath Rayleigh fading channel, you can pass a impulse signal to the comm.RayleighChannel system object.
impulse = [1; zeros(1023, 1)];
[~, pathGains] = rayleighchan(impulse);
Hope this helps.
3 件のコメント
vidyesh
2024 年 2 月 19 日
To get the second output parameter 'pathgains', set the PathGainsOutputPort property of the 'chan' object as true.
NUR MOHAMMAD MOHIUDDIN CHOWDHURY TOHA
2025 年 10 月 8 日 18:46
It is not running. Following warning is found -
"Array formation and parentheses-style indexing with objects of class 'comm.RayleighChannel' is not allowed. Use objects of class 'comm.RayleighChannel' only as scalars or use a cell array."
参考
カテゴリ
Help Center および File Exchange で Propagation and Channel Models についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!