Effacer les filtres
Effacer les filtres

Receiverd Signal at User

1 vue (au cours des 30 derniers jours)
Senghour Mey
Senghour Mey le 30 Jan 2023
Réponse apportée : Zuber le 14 Fév 2023
Dear all friend
I would like to convert this equation to matlab.
please Kindly help me.
  1 commentaire
Matt J
Matt J le 1 Fév 2023
This looks very similar to your earlier question, whose answer you accepted,
What is the new challenge here, as compared to that one?

Connectez-vous pour commenter.

Réponses (1)

Zuber
Zuber le 14 Fév 2023
I understand that you are facing issue regarding how to express the above equation in the form of MATLAB code.
I assume that the variables specified in the equation above are already created in workspace with all the dimensionality constraints satisfied. Let these variables be denoted in MATLAB as follows:-
  • h : h_r_H
  • Θ : theta
  • G : G
  • h : h_d_H
  • w: w
  • s: s
  • n: n
  • σ: sigma
Now, this can be solved as follows: -
y = (h_r_H*theta*G + h_d_H) *w*s + n
where the variable n (white gaussian noise with variance σ) can be generated as follows:-
n = normrnd(0,sigma)
For further information regarding the function normrnd(), refer to the documentation: https://www.mathworks.com/help/stats/normrnd.html
I hope this answers your query.

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by