中文说明:% function%constantsc_0 = 3E8; % Speed of light in free spaceNz = 100; % Number of cells in z-directionNt = 200; % Number of time stepsN = Nz; % Global number of cellsE = zeros(Nz,1); % E componentE2 = zeros(Nz,1);E1 = zeros(Nz,1);Es = zeros(Nz,Nz); % Es is the output for surf function%H = zeros(Nz,1); &nb
English Description:
% function%constantsc_ 0 = 3E8; % Speed of light in free spaceNz = 100; % Number of cells in z-directionNt = 200; % Number of time stepsN = Nz; % Global number of cellsE = zeros(Nz,1); % E componentE2 = zeros(Nz,1);E1 = zeros(Nz,1);Es = zeros(Nz,Nz); % Es is the output for surf function%H = zeros(Nz,1); &nb