compute the mean of an array of samples
compute the standard deviation of an array of samples
compute, simultaneously, the mean and standard deviation of an array of samples
Array of real or complex numeric values; the signal
Array of real numeric values; the signal
Array of real numeric values; the weights
The Mean(A) command returns the mean of the Array A, defined as
where N is the number of elements of A. When an Array W for weights of size N is provided, the mean is defined instead as
with Mean⁡A,W=Mean⁡A when Wk=1N.
The StandardDeviation(B) command returns the standard deviation of the Array B, defined as
where N is the number of elements of B, and μ is the mean of B.
The MeanStandardDeviation(B) command computes the mean and standard deviation of B simultaneously, and returns an expression sequence consisting of these values, respectively.
The Mean, StandardDeviation, and MeanStandardDeviation commands also accept lists and other types of rtables, both one-dimensional and multi-dimensional, which are then converted to 1-D Arrays.
For all of these commands, Maple may convert the input signal. Before the code performing Mean runs, Maple converts A to a hardware datatype, first attempting float and subsequently complex, unless it already has one of these datatypes. Similarly, before the code performing StandardDeviation or MeanStandardDeviation runs, B is converted to datatype float if it does not have that datatype already. For this reason, it is most efficient if the input Array has an appropriate datatype already.
The MeanStandardDeviation command is not thread safe.
a ≔ Array⁡1,2,3,4,5,'datatype'='float'8
w ≔ Array⁡5,4,3,2,1,'datatype'='float'8
The SignalProcessing[Mean], SignalProcessing[StandardDeviation] and SignalProcessing[MeanStandardDeviation] commands were introduced in Maple 17.
For more information on Maple 17 changes, see Updates in Maple 17.
The SignalProcessing[Mean], SignalProcessing[StandardDeviation] and SignalProcessing[MeanStandardDeviation] commands were updated in Maple 2021.
Download Help Document