Documentation Home Page RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

ABSOLUTE MAXIMUM – [SIMAX1]
Computes the absolute or algebraic maximum on a specific part of a signal.
CATEGORY
SI5

DESCRIPTION
This function allows to compute the absolute or algebraic maximum on a specific part of a signal. The zone on which the analysis is performed can be specify using time, or using or a threshold condition.
RESULT VARIABLES AND PARAMETERS

Algebraic MaximumMaximum of the input signal multiplied by the factor. An algebraic or absolute result on an absolute or positive part of a signal does not affect the result. Similarly, the algebraic result on the negative part of a signal is negative, unless the time interval found for the analysis is null.
Absolute MaximumAbsolute maximum of the input signal multiplied by the factor.
SignalInput signal to perform calculation
Signal_PartPart of the signal on which the analysis is done (neg, pos, sig, abs).
Here are the definitions for the four distinct parts of a signal:
Neg

Only the negative values of the input signal are used for the calculations. The other values are considered to be null.

Pos

Only the positive values of the input signal are used for the calculations. The other values are considered to be null.

Sig 

The original input signal is used for the calculations.

Abs

The calculations are done on the absolute value of the input signal.

ThresholdThe threshold, delay, and duration parameters restrict the limits of an analysis. The threshold is the value to reach to start the analysis from the begin_time. If the threshold is positive, the threshold will be reached when the value of the sample is greater than that of the threshold. If the threshold is negative, the threshold will be reached when the value of the sample is smaller than that of the threshold. A null threshold sets the threshold equal to the starting time. The threshold value must be compatible with the signal part specified. If the positive part of a signal is specified with a negative threshold, this threshold will never be reached.
DelayWhen the threshold time is determined, a delay is added to it. The new starting time of the analysis is thus equal to the time taken to reach the threshold plus the delay. The delay is specified in milliseconds [ms].
Duration

The duration parameter serves to determine the ending time of the analysis. This ending time will be equal to the new starting time with the delay plus the specified duration. It is possible to specify HUGE as duration indicating that the ending time will be the end of the analyzed signal. This duration is specified in milliseconds [ms].

Begin_timeTime at which the analysis of a signal must start. This time is expressed in milliseconds [ms]. This value must be greater than 0 and lower than the size of the acquisition buffer. The default value is 0.
End_timeTime at which the analysis of a signal must end. This time is expressed in milliseconds [ms]. The value of this time must be larger than the specified begin_time and smaller than the duration of the test. Use the “HUGE” value to specify the end of the test. The default value is HUGE.
FactorMultiplying factor for the results generated by the function. The default value of the multiplying factor is 1.0 and has no effect on the results.


SYNTAX

[alg, abs] = simax1(input, "sig", 0, 0, HUGE, 0, HUGE,1)
CHARACTERISTICS
Data type support
Double Floating point

EXAMPLE
The following figure shows absolute and algebraic maximum for a sine wave signal.

The following diagram shows the different results computed by this function.

  • No labels