You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Peak finding and measurement, 2019
29.1K Downloads
Updated 08 Dec 2019
Version History
5.0 | Greatly expanded and updated. List the files by date modified to see which ones have been changed. |
||
4.0.0.0 | Added several new functions including measurepeaks, autofindpeaks, and autopeaks plus test scripts for each. |
||
3.3.0.0 | Bug fix |
||
3.2.0.0 | Included version 7.7 of iPeak. |
||
3.1.0.0 | Bug fix. Data vectors x and y can be either column or row vectors. |
||
3.0.0.0 | Bug fixes and speed improvements. |
||
2.0.0.0 | This version contains several small corrections, additions, and bug fixes. |
||
1.19.0.0 | This version includes updated versions of several functions. |
||
1.18.0.0 | This version includes updated versions of findpeaksfit.m and findpeaksb.m. |
||
1.17.0.0 | This version includes findpeaksL.m for Lorentzian peaks, and findpeaksGSS.m and findpeaksLSS that compute the 1% start and end positions. |
||
1.16.0.0 | This version includes new command-line functions findpeaksplot.m, findpeaksnr.m, and peakstats.m. plus version 5.3 of iPeak. |
||
1.14.0.0 | Version 5 has faster jumps between peaks with spacebar and tab keys; other small bug fixes. |
||
1.13.0.0 | This version includes some additional demos plus version 4 of the interactive iPeak function. |
||
1.11.0.0 | Typo correction. |
||
1.10.0.0 | This zip file includes version 3.9 of the interactive iPeak function. |
||
1.8.0.0 | This version includes the findvalleys function and version 3.81 of the interactive iPeak function. |
||
1.5.0.0 | Bug fix |
||
1.4.0.0 | Includes the version 3.2 update of iPeak and version 4 of findpeaks.m, as well as the older 2008 version with sliders. |
||
1.3.0.0 | The rtslid.m function in this version has been
|
||
1.1.0.0 | Fixes a bug in the FindPeakSlidersG script that caused a malfunction in the individual peak viewing mode when the x-axis data series did not start at zero. |
||
1.0.0.0 | enhancements
|
License
A set of fast customizable functions for locating and measuring the peaks in noisy time-series signals. Adjustable parameters allow discrimination of "real" signal peaks from noise and background. Determines the position, height, and width of each peak by least-squares curve-fitting. It can find and count over 10,000 peaks per second, and find and measure 1800 peaks per second, in very large signals. Includes two interactive versions, one with mouse-controlled sliders and one with keyboard control, for adjusting the peak finding criteria in real-time. Self-contained demos show how it works.
Cite As
Tom O'Haver (2022). Peak finding and measurement, 2019 (https://www.mathworks.com/matlabcentral/fileexchange/11755-peak-finding-and-measurement-2019), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Acknowledgements
Inspired: iPeak, IDpeak: Peak Identifier Function, Demo functions for peak detection and fitting.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
m files and mat files 2019
- 10
- allpeaks
- alphafunction
- AmplitudeModulation.m
- AmplitudeModulationAbsorption.m
- AsymmetricalAreaTest.m
- AsymmetricalAreaTest2.m
- AsymmetricalOverlappingPeaks.m
- AsymmetricalPeakTest.m
- autofindpeaks
- autofindpeaksplot
- autopeaks
- autopeaksplot
- AutoSymmetrize
- AutoSymmetrizeScript.m
- autotestpeakfit.m
- BatchProcess.m
- BiGaussian
- BiLorentzian
- bimodal
- BlackbodyDataFit.m
- bluenoise
- bootgaussfit
- BootstrapIterativeFit
- BootstrapIterativeFit2
- BootTest.m
- BroadenedPeak
- bsmooth
- bsmooth2
- BWF
- CaseStudyC
- CentralLimitDemo.m
- clippedgaussian
- clippedlorentzian
- cls
- cls2
- clsdemo.m
- CLSvsINLS.m
- ComparePDAreas
- condense
- condensem
- CurvefitNoiseColorTest
- DeconvDemo.m
- DeconvDemo2.m
- DeconvDemo3.m
- DeconvDemo3animation.m
- DeconvDemo4.m
- DeconvDemo4animation.m
- DeconvDemo5.m
- DeconvDemo6.m
- DeconvDemo7.m
- DeconvDemo7a.m
- DeconvDemoNumericalNoise.m
- deconvexp
- deconvgauss
- DeconvolutionDemo4.m
- deconvolutionexample.m
- DeconvTest.m
- DeltaTest.m
- Demo3peaks.m
- Demoautopeaksplot.m
- DemoAutoSymmetrize.m
- DemoAutoSymmetrizeLor.m
- DemoDEMSymm.m
- DemoDEMSymm2.m
- DEmoDEMSymm3.m
- DemoExpgaussian.m
- DemoFindPeak.m
- DemoFindPeaksb
- DemoFindPeaksb3
- demofindpeaksg.m
- DemoFindPeakSNR.m
- DemoFindPeaksSb.m
- demofindpeaksx.m
- demofindpeaksxw.m
- DemoFindsquare.m
- Demofitblackbody.m
- Demofitgauss.m
- Demofitgauss2.m
- Demofitgauss2animated.m
- Demofitgauss2AnimatedBlended.m
- Demofitgauss2animatedError.m
- Demofitgauss2b.m
- Demofitgauss3animatedError.m
- Demofitgaussb.m
- Demofitlorentzianb.m
- Demofitmultiple.m
- demoipeak.m
- Demoipf.m
- Demoipf2.m
- demoisignal.m
- demoisignal42.m
- DemoPeakfit.m
- DemoPeakfitBootstrap
- DemoPeakfitErrorTest.m
- DemoPeakFitTime.m
- DemoPeakFitTime2.m
- DemoSegmentedSharpen.m
- DemoSegmentedSharpen2.m
- DemoSegmentedSharpenAreaRatio.m
- DemoSegmentedSharpenAreaRatio2.m
- DemoSegmentedSmooth.m
- DEMSymm
- deriv
- deriv1
- deriv2
- deriv3
- deriv4
- DerivativeDemo
- DerivativeNumericalPrecisionDemo
- DerivativeScaling.m
- DerivativeShapeDemo
- DerivativeShapes.m
- DerivativeVSConvolution.m
- derivdemo1.m
- derivdemo2.m
- derivdemo3.m
- derivdemo4.m
- derivxy
- DigitizedSpeech.m
- downsigmoid
- EMGplusfirstderivative.m
- EMLplusfirstderivative
- enhance
- EnsembleAverageDemo.m
- EnsembleAverageFFT.m
- EnsembleAverageFFTGaussian.m
- ExpBroaden
- ExpBroadenDemo.m
- expexample.m
- expgaussian
- expgaussian2
- explorentzian
- exppulse
- fastsmooth
- FastsmoothNumericalPrecisionTest.m
- findpeaks
- findpeaksb
- findpeaksb3
- FindpeaksComparison.m
- findpeaksE
- findpeaksfit
- findpeaksfitdemo.m
- findpeaksG
- findpeaksG2d
- findpeaksGSS
- findpeaksGw
- findpeaksL
- findpeaksLSS
- findpeaksnr
- findpeaksplot
- findpeaksplotL
- findpeaksSb.m
- findpeaksSG
- findpeaksSL
- FindpeaksSpeedTest.m
- findpeaksT
- findpeaksTplot
- findpeaksW
- findpeaksx
- findpeaksxw
- findsquarepulse
- findsteps
- findstepsplot
- findvalleys
- fit examples.m
- fitblackbody
- fitgauss
- fitgauss
- fitgauss2animated
- fitgauss2animatedError
- fitgauss2b
- fitgauss3animatedError
- fitlorentzianb
- fitM
- fitmultiple
- FitSandP.m
- fitshape
- fitshape1
- fitshape2
- fitshape3
- fixPSlinestyle
- flattenedgaussian
- flp
- FouFilter
- FouFilterExampleScript.m
- FourPL
- FrequencySpectrum
- GaussConvDemo.m
- gaussfit
- gaussfitdemo.m
- GaussFitMC
- GaussFitMC2
- gaussian
- GaussianDerivatives.m
- GaussianSineToDelta.m
- GaussVsExpGauss.m
- GL
- gompertz
- gsmooth
- halfwidth
- halfwidths
- HeightAndArea.m
- HeightVsArea.m
- humps
- hundredthwidth
- idemo
- idemo1
- idemo2
- idpeaks
- idpeaktable
- iff
- ifilter
- IntegrationTest.m
- IntegrationTest2.m
- IntegrationTest3.m
- IntegrationTestuploaded.m
- ipeak
- ipeak2
- ipeak2demo.m
- ipeak421
- ipeakdemo
- ipeakdemo1
- ipeakdemo2
- ipeakdemo3
- ipeakdemo4
- ipeakdemo5
- ipeakdemo6
- iPeakEnsembleAverageDemo.m
- ipf
- ipf
- ipf
- ipf2
- IPFDemo11Gauss
- IPFDemo11Lor
- ipower
- IQrange
- isignal
- isignal
- isignal
- isignal
- iSignalDeltaTest.m
- isignaldemo.m
- isignaldemo2.m
- iSignalSymmTest.m
- IsOctave
- killspikes
- killspikesdemo.m
- LeastSquaresMatlab.m
- LinearFiMC.m
- logistic
- lognormal
- logplotfit
- lorentzfit
- lorentzian
- LowSNRdemo.m
- makeodd
- measurepeaks
- MeasuringWidth.m
- medianfilter
- modelpeaks
- modelpeaks2
- MonteCarloDemo.m
- MorseCode.m
- MysteryPeak
- ngaussian
- NoiseColorTest
- noisetest
- NumAT
- NumPeaksDemo.m
- NumPeaksTest.m
- oldvoigt
- OneMinusExp
- OnePeakOrTwo.m
- OverlappingPeaks.m
- PeakAreaMethods.m
- PeakCalibrationCurve.m
- peakdetection.m
- peakfit
- peakfit
- peakfit
- peakfit
- peakfit
- peakfit
- peakfit
- peakfit
- peakfit34
- peakfit9demo.m
- peakfit9demoL.m
- PeakFitDemo11Gauss
- PeakFitDemo11Lor
- peakfitdemob
- PeakfitTimeTest.m
- PeakfitTimeTest2.m
- PeakfitTimeTest2a.m
- PeakfitTimeTest3.m
- peakfitVSfindpeaks.m
- peakfunction
- PeakShapeAnalyticalCurve.m
- PeakSharpeningFrequencySpectrum.m
- peakstats
- pearson
- PeriodicSignalSNR.m
- pinknoise
- plateau
- Plot
- plotfita
- PlotFrequencySpectrum
- plotgaussfit
- plotit
- PlotLogPowerSpectrum
- PlotPowerSpectrum
- plotPub
- plotPubYY
- PlotSegFreqSpect
- plotting.m
- plotting2.m
- plotxrange
- PowerLawCalibrationDemo.m
- PowerLawDemo.m
- PowerLawNoiseTest.m
- PowerLawTest.m
- PowerMethod.m
- PowerMethodCalibrationCurve.m
- PowerMethodDemo
- PowerMethodGaussian.m
- PowerMethodLorentzian.m
- PowerPrecision
- PowerSpectrumExample.m
- powertest2
- PowerTransformCalibrationCurve
- ProcessSignal
- propnoise
- QuadFitToGaussian.m
- quadslope
- RandomWalkBaseline.m
- RandPeaks.m
- RANDtoRANDN.m
- RANDvsRANDN.m
- range
- realtime.m
- realtimederiv.m
- realtimederiv2.m
- RealTimeFourierFilter.m
- RealTimeFrequencySpectrumWindow.m
- realtimepeak.m
- RealTimePeakFit.m
- RealTimePeakSharpening.m
- realtimeplot.m
- realtimeplotautoscale.m
- realtimeplotautoscale2.m
- realtimeplotdatedtime.m
- realtimeplotslidingwindow.m
- RealTimeSmooth.m
- RealTimeSmooth2Test.m
- RealTimeSmooth3Test.m
- RealTimeSmoothDerivative.m
- RealTimeSmoothedPeakDetection.m
- RealTimeSmoothedPeakDetectionGauss.m
- RealTimeSmoothFirstDerivative.m
- RealTimeSmoothPostPlot.m
- RealTimeSmoothSecondDerivative.m
- RealTimeSmoothTest.m
- RealTimeSmoothTestPlotPub.m
- rectanglepulse
- rectanglepulse
- RegressionADCbitsTest.m
- RegressionDemo.m
- RegressionDemo2.m
- RegressionDemoMultipleSamples.m
- RegressionNumericalPrecisionTest.m
- rh
- rmnan
- rmz
- RoundingError.m
- rsd
- RSquared
- RunningAverage.m
- RunningHist.m
- RunningMean.m
- RunningStandardDeviation.m
- RunningSTD.m
- savgol
- secderivxy
- SegDoubleExpDeconvPlot
- SegExpDeconv
- SegExpDeconvPlot
- SegGaussDeconv
- SegGaussDeconvPlot
- SegmentedFouFilter
- SegmentedSharpen
- SegmentedSmooth
- segplot
- SegSymExpDeconv
- setPlotProp
- setPlotProp2
- sft
- ShapeDemo
- ShapeTest
- ShapeTestA
- ShapeTestS
- sharpen
- SharpenedGaussianDemo.m
- SharpenedGaussianDemo2.m
- SharpenedGaussianDemo4terms.m
- SharpenedLorentzianDemo.m
- SharpenedLorentzianDemo2.m
- SharpenedLorentzianDemo4terms.m
- SharpenedOverlapCalibrationCurve3.m
- SharpenedOverlapCalibrationCurve4.m
- SharpenedOverlapDemo.m
- SharpenedOverlapPeakHeight.m
- SignalGenerator.m
- sinc
- SineToDelta.m
- SlopeAnimation.m
- SmallPeak.m
- SmallSampleSTD
- smoothdemo
- smoothdemoL
- SmoothExperiment.m
- SmoothOptimization.m
- SmoothVsCurvefit.m
- SmoothVsFit.m
- SmoothVsFitArea.m
- SmoothVsWavelets100peaks.m
- SmoothVsWaveletsLorentzian.m
- SmoothVsWaveletsSquareWave.m
- SmoothVsWaveletsWideningPeaks.m
- SmoothWidthTest.m
- SnPsimulation.m
- SomePeaks.m
- SpikeDemo1.m
- SpikeDemo2.m
- sqrtnoise
- StartAndEnd.m
- stdev
- stdiqr
- SubtractTwoMeasurements.m
- SumOfAreas.m
- supergaussian
- SymmetizedOverlapDemo.m
- symmetricalize
- symmetricalize1
- symmetrize
- SymmetrizeDemo.m
- SymmetrizedOverlapCalibrationCurve.m
- tablestats
- tenthwidth
- testallfunctions.m
- testautofindpeaks.m
- testautopeaks.m
- testautopeaksplot.m
- testcondense.m
- TestExtractModel.m
- Testfindpeaksb.m
- TestFindpeaksG2d.m
- TestFouFilter.m
- TestFouFilter2.m
- testipeak.m
- testisignal.m
- TestLinearFit.m
- TestLinearFitHistogram.m
- testmeasurepeaks.m
- testnumpeaks
- testpeakfit.m
- testpeakfit5.m
- testpeakfit6.m
- TestPrecisionFindpeaksSG.m
- testsmooth.m
- testvoigt.m
- tfit
- TFitCalCurve.m
- TFitCalCurveAbs.m
- TFitStats.m
- TimeResolvedCLSbaseline.m
- TimeResolvedCLScalibration.m
- TimeTrial.m
- triangle
- triangulationdemo
- triangulationExp.m
- triangulationG.m
- true
- true
- trydatatrans
- trypoly
- trypolyplot
- tsallis
- tsmooth
- tsmooth2
- TwoPeaks.m
- upsigmoid
- val2ind
- violetnoise
- voigt
- VoigtFixedAlpha
- VoigtShapeFittingDemonstration.m
- VoigtVariableAlpha
- WaveletsComparisonWideningPeaks.m
- weibull
- wheat.m
- whitenoise
- WhiteNoiseBaseline.m
- widthtest.m
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)