Please enable JavaScript to view this site.

Knowledge Base

Returns the mean value in a matrix.

 

Supported Product: FDTD, MODE, DEVICE, INTERCONNECT

 

Syntax

Description

out = mean(a);

The mean value of the matrix a is returned.

 

Example

Simple example showing how to find the mean value of a vector.

?x = linspace(0,3,4);

result: 

?mean(x);

result: 

1.5

 

See Also

max, min, abs, sum

Copyright Lumerical Inc. | Privacy | Site Map