Please enable JavaScript to view this site.

Knowledge Base

Performs a subtraction operation, or serves as an negative sign.

 

Supported Product: FDTD, MODE, DEVICE, INTERCONNECT

 

Syntax

Description

y = x - z;

Subtract z from x.

y = -x;

Negative

 

Examples

This example shows the usage of the "-" operator.

x=1:3;

y=2:4;

?z=x-y;

result: 

-1  

-1  

-1  

 

See Also

Operators, *, /, +, -, ^

Copyright Lumerical Inc. | Privacy | Site Map