File:Detection pic derivee seconde.png
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Detection_pic_derivee_seconde.png (610 × 461 pixels, file size: 6 KB, MIME type: image/png)
File information
Structured data
Captions
This math image could be re-created using vector graphics as an SVG file. This has several advantages; see Commons:Media for cleanup for more information. If an SVG form of this image is available, please upload it and afterwards replace this template with
{{vector version available|new image name}} .
It is recommended to name the SVG file “Detection pic derivee seconde.svg”—then the template Vector version available (or Vva) does not need the new image name parameter. |
Summary[edit]
DescriptionDetection pic derivee seconde.png |
English: Detection of a peak on a curve using the second derivative. Made with Scilab.
Français : Détection d'un pic d'une courbe par le minimum de la dérivée seconde. Réalisé avec Scilab. |
Date | |
Source | Own work |
Author | Christophe Dang Ngoc Chan (cdang) |
Scilab source
This media was created with Scilab, a free open-source software. Here is a listing of the Scilab source used to create this file. |
clear;clf;
// Domaine de tracé et largeur de pic
pas=0.05
X = [0:pas:10]';
X1 = [pas:pas:10-pas]';
X2 = [2*pas:pas:10-2*pas]';
s = 0.1;
// Fonction de Gauss
function [y]=gauss(x)
y=1/(sqrt(2*%pi*s))*exp(-x^2/(2*s))
endfunction
// fonction totale
function [y]=f(x)
y=gauss(x-2) + 0.5*gauss(x-6.2) + gauss(x-7)
endfunction
// Dérivées empirique
function [y]=f1(x)
y=(f(x+0.1)-f(x-0.1))/0.2;
endfunction
function [y]=f2(x)
y=(f1(x+0.1)-f1(x-0.1))/0.2;
endfunction
// Affichage courbe initiale
subplot(3,1,1)
plot2d(X,f(X),style=2,rect=[0,0,10,1.5]) // courbe
xtitle('Courbe initiale','x','y')
xpoly([2,2],[0,1.3],'lines',0) // position pic 1
set('line_style',2)
xpoly([6.2,6.2],[0,0.7],'lines',0) // position pic 2
set('line_style',2)
xpoly([7,7],[0,1.3],'lines',0) // position pic 3
set('line_style',2)
// Affichage dérivée
subplot(3,1,2)
xpoly([0,10],[0,0],'lines',0) // axe y'=0
plot2d(X1,f1(X1),style=2) // courbe
xtitle('Courbe dérivée','x','y '' ')
xpoly([2,2],[-1,1],'lines',0) // position pic 1
xpoly([6.2,6.2],[-1,1],'lines',0) // position pic 2
xpoly([7,7],[-1,1],'lines',0) // position pic 3
// Affichage dérivée seconde
subplot(3,1,3)
xpoly([0,10],[0,0],'lines',0) // axe y''= 0
plot2d(X2,f2(X2),style=2)
xtitle('Courbe dérivée seconde','x','y '' '' ')
xpoly([2,2],[0,-11.5],'lines',0) // position pic 1
set('line_style',2)
xpoly([6.2,6.2],[0,-3],'lines',0) // position pic 2
set('line_style',2)
xpoly([7,7],[0,-10],'lines',0) // position pic 3
set('line_style',2)
Licensing[edit]
I, the copyright holder of this work, hereby publish it under the following licenses:
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.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license. | ||
| ||
This licensing tag was added to this file as part of the GFDL licensing update.http://creativecommons.org/licenses/by-sa/3.0/CC BY-SA 3.0Creative Commons Attribution-Share Alike 3.0truetrue |
You may select the license of your choice.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 14:01, 5 December 2005 | 610 × 461 (6 KB) | Cdang (talk | contribs) | traits pointillés | |
11:43, 5 December 2005 | 610 × 461 (6 KB) | Cdang (talk | contribs) | Détection d'un pic d'une courbe par le minimum de la dérivée seconde ---- Detection of a peak on a curve using the second derivative Auteur/author : Christophe Dang Ngoc Chan (user:cdang) Réalisé avec/made with [http://www.scilab.org/ Scilab] |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
File usage on other wikis
The following other wikis use this file:
- Usage on fr.wikipedia.org