Dosiero:Central limit thm 1.png

El Vikipedio

Central_limit_thm_1.png (4KB, MIME type: image/png)

Wikimedia Commons Logo Tiu dosiero elĉerpiĝas de la Vikimedia Komunejo, kolekto de libere uzeblaj bildoj.
Vidu ĝian paĝon ĉe la Komunejo por permesinformo kaj historio de redaktado.

La bildo estas kopiita de wikipedia:en. La originala priskribo estas:

illustration of central limit theorem, part 1

I created these images: Image:Central_limit_thm_1.png, Image:Central_limit_thm_2.png, Image:Central_limit_thm_3.png, Image:Central_limit_thm_4.png. I license these images under the GFDL:


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".

العربية | Česky | Deutsch | English | Español | Français | Italiano | 日本語 | 한국어 | Nederlands | Polski | Português | Slovenčina | Svenska | עברית +/-


Here are the GNU Octave commands to create these images:


dx = 0.002;
x1 = (1:1000)*dx;
p1 = [1:2:1000, 500*ones(1, 500)];

p1 = p1 / (sum(p1)*dx);
m = sum (x1.*p1)*dx;
x1 = x1 - m;
s = sqrt (sum ((x1.^2).*p1)*dx);
dx1 = dx/s;
x1 = x1/s;
p1 = p1*s;

p2 = conv (p1, p1) * dx1;
nx1 = length(x1);
x2 = [x1+min(x1) x1(2:nx1)+max(x1)];

p3 = conv (p2, p1) * dx1;
x3 = [x2+min(x1) x1(2:nx1)+max(x2)];

p4 = conv (p3, p1) * dx1;
x4 = [x3+min(x1) x1(2:nx1)+max(x3)];

p2 = p2 * sqrt(2);
x2 = x2 / sqrt(2);
dx2 = dx1 / sqrt(2);

p3 = p3 * sqrt(3);
x3 = x3 / sqrt(3);
dx3 = dx1 / sqrt(3);

p4 = p4 * sqrt(4);
x4 = x4 / sqrt(4);
dx4 = dx1 / sqrt(4);

sum (p1) * dx1
sum (p1.*x1) * dx1
sum (p1.*x1.^2) * dx1

sum (p2) * dx2
sum (p2.*x2) * dx2
sum (p2.*x2.^2) * dx2

sum (p3) * dx3
sum (p3.*x3) * dx3
sum (p3.*x3.^2) * dx3

sum (p4) * dx4
sum (p4.*x4) * dx4
sum (p4.*x4.^2) * dx4

axis ([-5 5 0 0.5])

gset nokey
gset terminal png

gset output 'central_limit_thm_1.png'
plot (x1, p1, 'r-')

gset output 'central_limit_thm_2.png'
plot (x2, p2, 'r-')

gset output 'central_limit_thm_3.png'
plot (x3, p3, 'r-')

gset output 'central_limit_thm_4.png'
plot (x4, p4, 'r-')
date/time username edit summary
16:35, 3 November 2005 en:User:Sverdrup (removing a space in "ones (1, 500)". With this fix, I can paste it directly into my octave console)
15:30, 14 October 2004 en:User:Wile E. Heresiarch (disambiguate Octave)
05:46, 14 October 2004 en:User:Wile E. Heresiarch (+GFDL, +octave cmds)
16:41, 12 January 2004 en:User:Wile E. Heresiarch (illustration of central limit theorem, part 1)

[edit] Historio de la dosiero

Legend: (cur) = this is the current file, (del) = delete this old version, (rev) = revert to this old version.

Click on date to download the file or see the image uploaded on that date.

La jenaj paĝoj ligas al ĉi tiu dosiero: