Clear Filters
Clear Filters

numerical example in matlab.

1 view (last 30 days)
Lona Johibary
Lona Johibary on 14 Apr 2022
Answered: Eswaramoorthy on 28 Feb 2023
Please, I need to know numerical values can be given to the variables in this formula so that I can convert them into code.
Can you give me a numerical example please.
= + โˆ‘1_(j=1, jโ‰ i)^K +
where ๐‘ฏ_๐’Š๐’Š and ๐‘ฏ_๐’Š๐’‹ the channel matrix between ๐‘ฉ๐‘บ๐’Š and ๐‘ช๐‘ผ๐‘ฌ๐’Š, CUEj (i, j โˆˆ {1, 2, . . . , K} , ๐‘–โ‰ ๐‘—.
๐‘ฝ๐’Š of dimension ๐‘€ ร— ๐‘‘๐‘– and ๐‘‰๐‘— of dimension ๐‘€ ร— ๐‘‘๐‘— are ๐‘ฉ๐‘บ๐’Š and ๐‘ฉ๐‘บ๐’‹ respectively,
si with dimension di ร— 1 is the downlink data signal vector BSi
๐‘›_๐‘– is additive white Gaussian noise.
this is an Inter-cell interference model and is the signal received by user i

Answers (1)

Eswaramoorthy
Eswaramoorthy on 28 Feb 2023
Here is a numerical example. Let's say we have the following values:
  • K = 3 (i.e., there are three CUEs)
  • M = 4 (i.e., the dimension of the transmitted signal is 4)
  • d1 = 2, d2 = 3, d3 = 2 (i.e., the dimensions of the received signal for each CUE are 2, 3, and 2, respectively)
  • ๐ป_๐‘–๐‘— = [1.2 -0.3; 0.7 0.8] for all i โ‰  j (i.e., the channel matrix between BS i and CUE j is a 2x2 matrix with specific values)
  • ๐‘‰_๐‘– = [0.9 0.2 0.1 -0.1; -0.5 0.6 0.3 -0.2] for all i (i.e., the matrix representing the transmitted signal from BS i is a 2x4 matrix with specific values)
  • ๐‘†_๐‘– = [1; 2] for all i (i.e., the downlink data signal vector for each BS is a 2x1 vector with specific values)
  • ๐‘›_๐‘– ~ N(0, ฯƒ^2) for all i (i.e., the noise term for each CUE is a Gaussian random variable with mean 0 and variance ฯƒ^2)
Then, we can calculate the received signal for each CUE using the formula you provided:
๐‘ฆ_๐‘– = ๐ป_๐‘–๐‘– ๐‘‰_๐‘– ๐‘†_๐‘– + โˆ‘_(j=1,jโ‰ i)^K ๐ป_๐‘–๐‘— ๐‘‰_๐‘— ๐‘†_๐‘— + ๐‘›_๐‘–
For example, if we want to calculate the received signal for CUE 1, we can plug in the values:
๐‘ฆ_1 = [1.2 -0.3; 0.7 0.8] [0.9 0.2 0.1 -0.1; -0.5 0.6 0.3 -0.2] [1; 2] + [1.1; -0.3]
This will give us a 2x1 vector representing the received signal for CUE 1. We can repeat this process for CUE 2 and CUE 3 to get the received signals for all CUEs.

Community Treasure Hunt

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

Start Hunting!