Jump to content

File:Multivariate Gaussian.png

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (1,280 × 800 pixels, file size: 37 KB, MIME type: image/png)

Summary

Probability density function for the multivariate normal distribution

Octave source under GPL:

% mu = [40; 60];
% sigma = [100, 30; 30, 140];
isigma = inv(sigma); 
detsigma = det(sigma);
coeff = 1/(2*pi*sqrt(detsigma));
for i=1:100
   for j=1:100
       x = [i;j];
       xm = x - mu;
       p(i,j) = exp(-0.5*xm'*isigma*xm);
   end 
end
p = p*coeff;

gnuplot source under GPL:

set xlabel "X"
set ylabel "Y"
set title "Multivariate Normal Distribution" 0, -5
set ticslevel 0
unset key
set style line 100 lt 5 lw 0.5
set pm3d solid hidden3d 100
set palette defined (0 0 0 1, 1 0.5 0.5 1, 3 1 1 1)
unset surface
set terminal png font "Arial" 16 size 1280, 800
set output "mvnd.png"
splot 'p'

Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
This licensing tag was added to this file as part of the GFDL licensing update.
You may select the license of your choice.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

38,307 byte

800 pixel

1,280 pixel

image/png

4d4ab4cfc16008ed52f89ec17b6cc829e9358b31

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current12:57, 9 October 2006Thumbnail for version as of 12:57, 9 October 20061,280 × 800 (37 KB)Piotrg~commonswikiProbability density function for the multivariate normal distribution Created using Octave <nowiki> % mu = [40; 60]; % sigma = [100, 30; 30, 140]; isigma = inv(sigma); detsigma = det(sigma); coeff = 1/(2*pi*sqrt(detsigma)); for i=1:100 for j=1:100

Global file usage