Azzera filtri
Azzera filtri

hi,i want to write matlab code for the given eq. plese help me

1 visualizzazione (ultimi 30 giorni)
INt=eye(100,1);
mean=0;
sigma_2=1/100;
r1=1/(sqrt(2*pi*sigma_2));
zgk=r1*exp(-INt.^2/(2*sigma_2));
  2 Commenti
Birdman
Birdman il 15 Dic 2017
The attached figure seems to be a definition of Zgk. It is not equation really. What do you want to do?
MAMATHA YADAVALLI
MAMATHA YADAVALLI il 15 Dic 2017
i want zgk(100*1) complex values.but i get 100*1 real values.zgk follows the normal distrubution with 0 mean and 1/NtINt.

Accedi per commentare.

Risposta accettata

Torsten
Torsten il 15 Dic 2017
Here is the definition of the complex normal distribution:
https://en.wikipedia.org/wiki/Complex_normal_distribution
You used the standard real normal distribution in your code.
Best wishes
Torsten.

Più risposte (0)

Categorie

Scopri di più su Programming in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by