Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > Functions

min

We've made some changes. Use 'Ctrl-F5' to clear your browser cache.
Scroll Prev Top Next More

Returns the minimum value in a matrix. For complex numbers, only the real part is considered.

 

Supported Product: FDTD, MODE, DEVICE, INTERCONNECT

 

Syntax

Description

out = min(x);

The minimum value in matrix x.

 

Example

A simple example showing how you can find the minimum of a real array.

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

result: 

?min(x);

result: 

 

If the array has complex numbers only the real part is considered, as shown below.

?x = 3 + 4i;

?min(x);

?min(abs(x));

 

result: 

3+4i 

result: 

result: 

 

See Also

Functions, max, abs, mean, amax, amin

Copyright Lumerical Inc. | Privacy | Site Map