Code Directory
 Visual Basic & VB.NET
New Code
.Net VCL for Delphi
ASP. NET C# PDF Software 4.5
LinqConnect Professional 4.8
CAD VCL: 2D/3D CAD in Delphi/C++Builder 14
wolfSSL 3.15.7
AnyStock Stock and Financial JS Charts 8.4.2
ODBC Driver for SQLite 2.4
dotConnect for SugarCRM 1.7
dbForge SQL Complete 5.9
dbForge Studio for MySQL 8.0
.Net Runtime Library for Delphi
Scimbo 1.64
AnyMap JS Maps 8.4.2
GetOrgChart 2.5.3
Top Code
Ticket Booking System 1.0
CPP-2-HTML CSS Source Code Tagger 1.02
GNU Common C 2.3.2
College Management System Script 1.0.4
Simple Hill-Climbing 1.0
.Net VCL for Delphi
MCU 8051 IDE 1.4.7
Java API for Java code generation 1.0
Network-Integrated Multimedia Middleware 2.2.0
Simple Webinterface Shopsystem for Shopping Carts 0.4
Online Food Ordeing System 1.0
Visual FoxPro Functions/Class Libary 100
BSW Ads Manager 1.0
Jigsaw Java Applet 1.0
Skincare Management System 1.4
Top Rated
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
ATN Mall 2.0
WeBuilder 2015 13.3
PHP Digital Download Script 1.0.4
1D Non-derivative Peak Finder 1.0
File ID: 79097

1D Non-derivative Peak Finder 1.0
Download 1D Non-derivative Peak Finder 1.0http://www.mathworks.comReport Error Link
License: Freeware
File Size: 10.0 KB
Downloads: 31
Submit Rating:
1D Non-derivative Peak Finder 1.0 Description
Description: PEAKFIND general 1D peak finding algorithm



This function finds peaks without taking first or second derivatives,
rather it uses local slope features in a given data set. The function has
four basic modes.

Mode 1: peakfind(x_data,y_data) simply finds all peaks in the data
given by 'xdata' and 'ydata'.

Mode 2: peakfind(x_data,y_data,upsam) finds peaks after up-sampling
the data by the integer factor 'upsam' -- this allows for higher
resolution peak finding. The interpolation uses a cubic spline that
does not introduce fictitious peaks.

Mode 3: peakfind(x_data,y_data,upsam,gsize,gstd) up-samples and then
convolves the data with a Gaussian point spread vector of length
gsize (>=3) and standard deviation gstd (>0). The convolution option
only works with upsam>=2.

Mode 4: peakfind(x_data,y_data,upsam,htcut,'cuttype') up-samples the
data, however upsam>=1 in this case, i.e. upsam=1 analyzes the data
unmodified. The string 'cuttype' can either be 'abs' (absolute) or
'rel' (relative), which specifies a peak height cutoff which is
'abs' - (htcut > 0) peaks are found if

peakheights > min(yout) + htcut

'rel' - (0 < htcut < 1) peaks are found if

(peakheights-min(yout))/(max(yout)-min(yout)) > htcut

Upsampling and convolution allows one to find significant peaks in noisy
data with sub-pixel resolution. The algorithm also finds peaks in data
where the peak is surrounded by zero first derivatives, i.e. the peak is
actually a large plateau.

The function outputs the x-position of the peaks in 'xpeaks' or the
processed input data in 'xout' and 'yout' with 'peakspos' as the indices
of the peaks, i.e. xpeaks = xout(peakspos).

If you want the algorithm to find the position of minima, simply input
'-y_data'. Peaks within half the convolion box size of the boundary will
be ignored (to avoid this, pad the data before processing).


x_data = -50:50;
y_data =(sin(x_data)+0.000001)./(x_data+0.000001)+1+0.025*(2*rand(1,length(x_data))-1);


hold on
title(['Found ' num2str(length(peakspos)) ' peaks.'])
box on

License: Freeware

Related: subpixel, noisy, significant, peakheightsminyoutmaxyoutminyout, upsampling, surrounded, xpeaks, processed, xposition, outputs, Large, plateau, minyout, peakheights, Absolute, rel, abs

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 31

More Similar Code

function P=ipeak(DataMatrix,PeakD,AmpT,SlopeT,SmoothW,FitW)
Keyboard-operated Interactive Peak Finder for data in data matrix "DataMatrix", with x values in row 1 and y values in row 2. Returns the peak table in P (Peak #, Position, Height, Width.) See
T. C. O'Haver (, Version 1.1, April 2009.

EXAMPLE 1: x=[0:.1:100];

Very lean an simple code that automatically finds major peaks, their locations, fwhms and area in a given signal y versus x. Requires no input parameters. The output is a matrix with peaks sorted in rows and following columns:

output =...

This function NLMF performs Non-Local Means noise filtering of 1D signal, 2D grey/color or 3D image data. The function is partly c-coded for cpu efficient filtering. Suitable for almost every image data type such as MRI, CT and normal photos.

This is a simple FFT based beam propagation method for potential-free 1+1+1D Schrodinger equation. The software if flexible and allows to introduce high-order derivatives in the term (very handful if is needed to include dispersion effects). For...

Kylix Leak Finder is a small, non-intrusive unit that you add to your project in order to find memory leaks in Kylix.

This code uses the Fourier shift theorem to cyclically shift 1D signals by an arbitrary amount. Both integer and non-integer shifts work.

It also supports padding the signal with zeros so that the shift appears non-cyclic (although it...

A command-line peak fitting program for time-series signals, written as a self-contained Matlab function in a single m-file. Uses an non-linear optimization algorithm to decompose a complex, overlapping-peak signal into its component parts. The...

It is application of of Simulink Block to Cardiac PDE VI1 system of 2 non linear coupled equations of PDE and try to design solution with dicretized space and time and issue in 1D.I associate a Doc file to introduction theory.Just see this page...

A peak fitting program for time-series signals, written as a self-contained function in a single m-file. Uses an non-linear optimization algorithm to decompose a complex, overlapping-peak signal into its component parts. The objective is to...

Cut 1D X is a powerful automation component used for obtaining optimal cutting layouts for one dimensional pieces that may have angles different of 90 degrees at their extremities. Cut 1D X can be used for cutting linear pieces such as bars,...

User Review for 1D Non-derivative Peak Finder
- required fields

Please enter text on the image