フィルターのクリア

How to express random signal in MATLAB which is transmitted from transmitter to receiver

1 回表示 (過去 30 日間)
chaaru datta
chaaru datta 2023 年 10 月 20 日
コメント済み: Walter Roberson 2023 年 10 月 20 日
Hello all, I am trying to model a random transmitted signal between transmitter (source) to receiver.
Specifically, the transmitter has Ns=1 antenna and receiver has Nr=2 antennas.
My query is that I am having doubt in writing MATLAB code for this system. I had written the code in two ways. So could any one pls tell whether the code written in (1) is correct or code written in (2) is correct.
xs = sqrt(v_S/2)*(randn(N_s,N_r)+1i*randn(N_s,N_r)); % ----(1)
where v_s is variance of transmitted signal such that v_s = 1, N_s and N_r are antennas at transmitter and receiver respectively.
xs = sqrt(v_S/2)*(randn(1,1)+1i*randn(1,1)); % ----(2)
Any help in this regard will be highly appreciated.
  2 件のコメント
chaaru datta
chaaru datta 2023 年 10 月 20 日
@kei hinThanks for your response...1i denotes imaginary number i
Walter Roberson
Walter Roberson 2023 年 10 月 20 日
Where is the signal length in your code?
The sender has one antenna and the receiver has two antenna... does that mean that you can somehow transmit Nr=2 samples at a time from your Ns = 1 antenna? Or does that mean that you are somehow intending the odd-numbered samples to be received by the first antenna and the even numbered samples to be received by the second antenna, even though they are transmitted from one antenna ? Or does it mean that you are dividing the signal into blocks, taking odd and even samples from the blocks, create sample wavetrains for the odd and even independently, then sum the two wavetrains to arrive at the value that is to be transmitted on the single antenna, with the two antenna being expected to somehow split the wavetrains? Or... ??

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeAntennas, Microphones, and Sonar Transducers についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by