Error generating a psk modulation
古いコメントを表示
Hi,
I am trying this code
%%
% Set the random number generator to a known state to be able to regenerate
% the same frames every time the simulation is run
rng(123456)
% Random bits
d = randi([0 1],1024,1);
% BPSK modulation
syms = pskmod(d,2);
% Square-root raised cosine filter
filterCoeffs = rcosdesign(0.35,4,8);
tx = filter(filterCoeffs,1,upsample(syms,8));
% Channel
channel = helperModClassTestChannel(...
'SampleRate',1e8, ...
'SNR',20, ...
'PathDelays',[0 1.8 3.4] / 200e3, ...
'AveragePathGains',[0 -2 -10], ...
'KFactor',4, ...
'MaximumDopplerShift',4, ...
'MaximumClockOffset',5, ...
'CenterFrequency',900e6);
rx = channel(tx);
and getting the very last entry of the rx vector as Nan+NaNi
What is the reason? How to fix this problem?
Thanks for your help in advance.
2 件のコメント
KALYAN ACHARJYA
2019 年 7 月 4 日
編集済み: KALYAN ACHARJYA
2019 年 7 月 4 日
@Rachana Matlab version, you are using?
Hello Memeber, it may be helpful to check, the question belongs from here
Rachana Aravind
2019 年 7 月 4 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で PSK についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!