- Peak Detection
the serial signal communication techniques you learned in the past
lectures, to collect a voltage series that have sharp peak like the
your data on your hard drive. Load the data and use 'findpeaks()' function to find out the peaks and the
locations of the data.
prominence of a peak measures how much the peak stands out due to its
intrinsic height and its location relative to other peaks. A low
isolated peak can be more prominent than one that is higher but is an
otherwise unremarkable member of a tall range.
prominence, specified as the comma-separated pair consisting of
'MinPeakProminence' and a real scalar. Use this argument to have
findpeaks return only those peaks that have a relative importance of at
Use the peak
method to mark all the peaks in your signal. Make sure you
customize the following features in your plot and make it looks
presentable: labels, titles, proper font size for the labels, marker
size, line width, and the plot frame line width (set gca).
Use the following script to collect your data:
the two versions of the peak-finder below, adjust the
'MinPeakProminence' and the 'movmean' functions until you are happy
with your peak detector.
An example of the results:
Note that you must have correct X and Y axis labels in your figures in your report.
the following code to label the peaks that are higher than 1.2 in the
figure. (the data is in the Matlab library, so feel free to
Modify the figure title/frame/line width/font size/marker size/lables to
make it looks more presentable.
Submit an electronic version of your report to the email. Again, have
figures, captions, title, explanations, and your code as the appendix.