Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > Manipulating variables

zeros

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

Initialize a matrix. All elements are set to zero (same as matrix).

 

Supported Product: FDTD, MODE, DEVICE, INTERCONNECT

 

Syntax

Description

x = zeros(i,j,k,....);

Initializes an i x j x k x .... matrix.

 

Examples

 

?x=zeros(2,2,2);

result(i,j,1):

0 0 

0 0 

 

result(i,j,2):

0 0 

0 0 

 

See Also

Manipulating variables, linspace, matrix, ones, []

Copyright Lumerical Inc. | Privacy | Site Map