You are here: Symbol Reference > SignalAnalysis Namespace > Classes > TSpectrumAnalyzer Class > public > PeakApproximate Method > TSpectrumAnalyzer.PeakApproximate Method (Double, TCplx)
DSP Master VCL
ContentsIndex
PreviousUpNext
TSpectrumAnalyzer.PeakApproximate Method (Double, TCplx)

Find the peak nearest to the Freq frequency and return the frequenyc of the newly found peak.

Pascal
function PeakApproximate(Freq: Double; var spcEstimate: TCplx): Double; overload;

This overload returns also spcEstimate, which is the spectral line of the complex spectrum at approximated Freq. Only the numeric peak interpolation will return something else that the nearest peak for spcEstimate. This spcEstimate can then be passed on to the AmpltEst, which accepts also the complex parameter.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!