Peaks of Magnitude

Returns the desired maximal peaks of the magnitude of the signal S. It is only defined for signals with only one channel. A detailed description of the expected arguments can be found in the description of Peaks.

magpeaks(S) = maxpeaks( abs(S) )

Syntax

magpeaks(S [, mind [, minh[, th [, num]]]])

Types
 Variable NameValue TypeVariable Type
Argument:Sreal, complexsignal, xy-data
Optional:mindrealscalar
minhrealscalar
threalscalar
numrealscalar
Result:  real xy-data
Calculator Input

Use the magpeaks button to complete the operation.

Examples
IDDescriptionTypeValueExpression
S COMPLEX REAL SIGNAL   signal([1,2,4,6,7],[1,2,cplx(3,4),cplx(0,1),3])
mind REAL11
minh REAL00
th REAL00
num REAL44
pS Result REAL XYDATA (4 | 5) magpeaks(S, mind, minh, th, num)