Please enable JavaScript to view this site.

Knowledge Base

Calculates the natural logarithm function. Input can be complex or negative.

 

Supported Product: FDTD, MODE, DEVICE, INTERCONNECT

 

Syntax

Description

out = log(x);

The natural logarithm of x. Input can be complex or negative.

 

Example

Check that the natural logarithm of e is 1.

?Exp=exp(1);

result: 

2.71828 

?log(Exp); # Result should be 1

result: 

1  

 

See Also

Functions, log10, exp

Copyright Lumerical Inc. | Privacy | Site Map