Peakydo peak finder
function [ pks mn criss ] = peakydo(arr,xlimee,ylimee )
% This function simply finds the peak of a signal between a sign change.
% This is the peak of a two sided signal. there are the inputs.
% to use simply
% >>[pks mn criss]=peakydo(nameofyourarray, xlimit, ylimit)
% [ pks mn criss ]%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% the pks returns the peak magnitudes
% the mn is the mean of the pks
% the criss is the location of all the sign changes not just the
% peaks found in your selection although this will be added
% (arr,xlimee,ylimee )%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% the arr is your acceleration data
% xlimee is the minimum distance allowed between points in your data
% ylimee is the minimum points amplitude considered
%the xlimit is the minimum distance between points before a sign change.
%ylimit is the minimum point in your data to be considered in mean
% Ingeniørhøjskolen i København
% this is written by Rob Messer (robmesser@gmail.com) if you have any
% questions feel free to contact me I will be happy to help!
Cite As
Rob (2026). Peakydo peak finder (https://www.mathworks.com/matlabcentral/fileexchange/37205-peakydo-peak-finder), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Signal Processing Toolbox > Measurements and Feature Extraction > Descriptive Statistics >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
