Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
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 comentarios
Walter Roberson
Walter Roberson el 20 de Oct. de 2023
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... ??

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Array Geometries and Analysis en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by