File:Lissage sinus bruite moyenne glissante.svg

Original file(SVG file, nominally 487 × 362 pixels, file size: 35 KB)

Summary

Description
English: Smoothing of a noisy sine (blue curve) with a moving average (red curve, 10 points interval).
Français : lissage d'un sinus bruité avec la méthode de la moyenne glissante (intervalle de 10 points).
Date
Source Own work
Author Christophe Dang Ngoc Chan (Cdang (talk))
Other versions same data with cubic Hermite spline smoothing: File:Lissage sinus bruite spline cubique.svg

Scilab source

// ***** Génération des données *****

m = 200; // nombre de points mesurés
bruit = 0.2; // amplitude du bruit
x = linspace(0, 2*%pi, m);
y = sin(x) + 0.2*rand(x, "normal"); // valeurs bruitées

// ***** Lissage *****

p = 10; // largeur de l'intervalle
 
h = 1/p*ones(1, p); // fonction porte pour le lissage
 
yliss = conv(h, y); // calcul des valeurs lissées

// ***** Tracé *****

plot(x, y) // données originales
plot(x, yliss(1+p/2:$-p/2+1), "r") // données lissées

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 4.0 International, 3.0 Unported, 2.5 Generic, 2.0 Generic and 1.0 Generic 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.
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

26 March 2014

File history

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

Date/TimeThumbnailDimensionsUserComment
current08:40, 26 March 2014Thumbnail for version as of 08:40, 26 March 2014487 × 362 (35 KB)Cdang{{Information |Description={{en|1=Smoothing of a noisy sine with the method of moving averages (10 points interval).}} {{fr|1=lissage d'un sinus bruité avec la méthode de la moyenne glissante (intervalle de 10 points).}} |Source={{own}} |Date=2014-03...

The following page uses this file:

Global file usage

The following other wikis use this file:

Metadata