MATLAB: How to analyse x-axis peak to peak value

analysisgraph

I have a graph plot that I can manually calculate the peak to peak difference
however to save time is there a tool in matlab that can do this ?

Best Answer

If you have the Signal Processing Toolbox, use the findpeaks function. There are also peak-finding functions available on the File Exchange.
Related Question