How to create input of linear equalization channel?

1 回表示 (過去 30 日間)
Gn Gnk
Gn Gnk 2019 年 11 月 10 日
Hello ,
i want to create the input channel to linear equalizer . The project is asking to create random complex channel h ,4-QAM modulation and then find the output y.My code is:
K=4;
for i=1:K+1
h(i)=sqrt(1/2)*(randn+1i*randn);
end
N=100 %symbols
a = repmat(-1:2:1,1,2)-[repmat(-1j,1,2) repmat(1j,1,2)];
Ak = a(randi(4,N,1)); % 4-QAM sequence of 100 samples
y=conv(h,Ak);
Is this the right way?because i am a little bit confused.
Thank you.

回答 (0 件)

カテゴリ

Help Center および File ExchangeQAM についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by