Dosiero:Signal gaussien.png

El Vikipedio

Signal_gaussien.png (7KB, 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.

[edit] Summary

Signal avec un bruit gaussien ; moyenne m = 5, écart type σ = 1



Signal with a gaussian noise; average m = 5, standard deviation σ = 1

Auteur/author : Christophe Dang Ngoc Chan (cdang)

réalisé avec/made with Scilab

clear;clf;
n=50; // moitié du nombre de points aléatoires

// Gaussienne normée *3 centrée sur 5, écart type 1 

deff('[y]=gauss(x)','y=3/(2*%pi)*exp(-0.5*(x-5)^2)')

// nombres aléatoires, loi uniforme

x1=rand(n,1);
x2=rand(n,1);
x=[2:0.1:8]';

// méthode de Box-Muller
// on peut aussi faire directement
// y1=rand(2*n,1,'normal')

for i=1:n
   y1(i)=sqrt(-2*log(x1(i)))*cos(2*%pi*x2(i))+5;
   y1(i+n)=sqrt(-2*log(x1(i)))*sin(2*%pi*x2(i))+5;
end

// histogramme

subplot(2,1,1)
histplot(20,y1)
fplot2d(x,gauss,style=2)
xtitle('Répartition des valeurs du signal','intensité', 'probabilité')

// signal

subplot(2,1,2)
plot(y1)
xtitle('Signal','temps', 'intensité')

[edit] Licensing

I, the author of this work, hereby publish it under the following license:
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 | עברית +/-

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