PeakFinderConfiguration
Compute and display the largest calculated peak values on the scope display
Since R2023a
Description
Use the PeakFinderConfiguration
object to compute and display
peaks in the scope. The scope computes and displays peaks for only the portion of the input
signal that is currently on display in the scope.
You can specify the number of peaks you want the scope to display, the minimum height
above which you want the scope to detect peaks, the minimum distance between peaks, and label
the peaks. You can control the peak finder settings from the scope toolstrip or from the
command line. The algorithm defines a peak as a local maximum with lower values present on
either side of the peak. It does not consider end points as peaks. For more information on the
algorithm, see the findpeaks
(Signal Processing Toolbox) function.
To modify the peak finder settings in the scope interface, click the Measurements tab and enable Peak Finder in the Peaks section. Once you enable the Peak Finder, an arrow appears on the plot at each maxima and a Peaks panel appears at the bottom of the scope window.
The SpectrumAnalyzerBlockConfiguration
object supports the
PeakFinderConfiguration
object in the command line.
Spectrum Analyzer Toolstrip
Creation
Description
pkfinder = PeakFinderConfiguration()
creates a peak finder
configuration object.
Properties
Examples
Version History
Introduced in R2023a