I have been looking for complex Gaussian random variables and Mathematica, however, I haven't found anything on this topic.

Could someone, please, let me know if it is possible to find for example the expectation of a complex Gaussian random variable with Mathematica?

  • 1
    $\begingroup$ What have you tried? It's unclear what you're asking: the usual way of specifying such a distribution would have the expectation as input. $\endgroup$
    – John Doty
    Apr 15, 2018 at 16:06
  • $\begingroup$ You can create a random variable using RandomVariate[] and you can find the expectation using Expectation[]... $\endgroup$ Apr 15, 2018 at 16:50

1 Answer 1


Just use two-dimesional Gaussian random variables and convert them to complex ones. E.g., you may use the following to generate random samples from the "complex" normal distribution:

μ = {0, 0};
Σ = IdentityMatrix[2];
n = 10;
rand = RandomVariate[MultinormalDistribution[μ, Σ], {n}].{1., 1. I}

You can slso use ReIm to convert from complex numbers back to points in the Euclidean plane.

  • $\begingroup$ That's generation of random variates, but it doesn't address the original question, which is finding the expectation value of something. $\endgroup$
    – John Doty
    Apr 15, 2018 at 16:18
  • $\begingroup$ Yeah, I know. It's more a comment with code and a way to make the OP think about the conversion between points in the plane and complex numbers... $\endgroup$ Apr 15, 2018 at 16:20
  • $\begingroup$ @HenrikSchumacher, please, have a look at this question: mathematica.stackexchange.com/questions/171186/…. $\endgroup$ Apr 15, 2018 at 16:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.