A Problem with mvnrnd and mvnpdf function
Show older comments
when I was using mvnrnd and mvnpdff function, the code is like this:
- Mu=[3100,1600,2.28];
- Cx=[61723.4468937876,43206.4128256513,7.89178356713429;
- 43206.4128256513,30244.4889779559,5.52424849699400;
- 7.89178356713429,5.52424849699400,0.00102240480961];
- f1 = mvnrnd(Mu,Cx,1);
- p1 = mvnpdf(f1,Mu,Cx);
When I run this code, I got the result like this: f1 = [3332,1762,2.322],and p1 = 55.035. So what I want to know is the result of p1 means? and the probability of f1.
Accepted Answer
More Answers (0)
Categories
Find more on Multivariate Normal Distribution in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!