Clear Filters
Clear Filters

Generating a normal distribution to a given distribution

1 view (last 30 days)
Hi, I am having trouble with this question, can someone help me ASAP.
Generate N = 1000 samples from a standard normal distribution (zero mean, identity covariance) and transform these samples to be distributed as:
X= [x1,x2]T ~ N(μ, Σ), μ=[1,1]T, Σ= 2 -1
-1 1
This asks to plot on matlab. I am new to matlab
  3 Comments
fafz1203
fafz1203 on 10 Sep 2016
yes John I mean transpose, It would not let me right it a superscript
fafz1203
fafz1203 on 10 Sep 2016
Yes I want to generate column vectors of size 2*1, I just wanted to show the mean is 0 and the covariance is identity.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!