SignalProcessing - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Signal Processing : Computing Statistics : SignalProcessing/MinimumEvery

SignalProcessing

  

MinimumEvery

  

compute the pairwise minimum of two arrays of samples

  

MaximumEvery

  

compute the pairwise maximum of two arrays of samples

 

Calling Sequence

Parameters

Options

Description

Thread Safety

Examples

Compatibility

Calling Sequence

MinimumEvery(A, B)

MaximumEvery(A, B)

Parameters

A, B

-

Arrays of real numeric values; the signals

Options

• 

container : Array, predefined Array for holding result

Description

• 

The MinimumEvery(A, B) command computes the minimum of each pair A[k] and B[k], storing the minimum value in the corresponding k-th element of an Array with datatype float[8], which is then returned.

• 

The MaximumEvery(A, B) command computes the maximum of each pair A[k] and B[k], storing the maximum value in the corresponding k-th element of an Array with datatype float[8], which is then returned.

• 

The Vectors A and B must have the same number of elements.

• 

Before the code performing the computation runs, A and B are converted to datatype float[8] if they do not have that datatype already. For this reason, it is most efficient if A and B have this datatype beforehand.

• 

If the container=C option is provided, then the results are put into C and C is returned. With this option, no additional memory is allocated to store the result. The container must be an Array of size N having datatype float[8], where N is the size of A and B.

Thread Safety

• 

The SignalProcessing[MinimumEvery] and SignalProcessing[MaximumEvery] commands are thread-safe as of Maple 17.

• 

For more information on thread safety, see index/threadsafe.

Examples

withSignalProcessing:

aArray1,2,3,4,5,'datatype'='float'8

a:=1.2.3.4.5.

(1)

bArray5,4,3,2,1,'datatype'='float'8

b:=5.4.3.2.1.

(2)

MinimumEverya,b

1.2.3.2.1.

(3)

MaximumEverya,b

5.4.3.4.5.

(4)

CArray1..5,'datatype'='float'8:

MaximumEverya,b,'container'=C

5.4.3.4.5.

(5)

C

5.4.3.4.5.

(6)

Compatibility

• 

The SignalProcessing[MinimumEvery] and SignalProcessing[MaximumEvery] commands were introduced in Maple 17.

• 

For more information on Maple 17 changes, see Updates in Maple 17.

See Also

Array

max

min

with

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam