% Matlab code fmgv1D.m % For "Applied Numerical Linear Algebra", Question 6.16 % Written by James Demmel, Apr 22, 1995 % …
boundary+conditions 源代码
汇集 boundary+conditions 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
% Matlab code mgv1D.m % For "Applied Numerical Linear Algebra", Question 6.16 % Written by James Demmel, Apr 22, 1995 % …
% This example illustrates how to use perfectly matched layers % at the edges of the computation window. The waveguide % conside…
% This example illustrates how to use perfectly matched layers % at the edges of the computation window. The waveguide % conside…
% This example shows how to use the stretchmesh function to % expand the size of the computation window at the edges % without i…
function [x,y,xc,yc,dx,dy] = stretchmesh(x,y,nlayers,factor,method) % This function can be used to continuously stretch the gri…
function [Hz,Ex,Ey,Ez] = postprocess (lambda,neff,Hx,Hy,dx,dy,varargin); % This function takes the two computed transverse magn…
function [phi,neff] = svmodes (lambda, guess, nmodes, dx, dy, ... eps, boundary, field); % Thi…
function [phix,phiy,neff] = wgmodes (lambda, guess, nmodes, dx, dy, varargin); % This function computes the two transverse magn…
function L=linsht(F1,F2,a,b,alpha,beta,M) %Input - F1 and F2 are the systems of first-order equations % representing …