资源简介
这个程序是用matlab实现二维fdtd的运算,吸收边界用PML来处理,希望大家认真学习参悟。
代码片段和文件信息
%***********************************************************************
% 2-D FDTD TE code with PML absorbing boundary conditions
%***********************************************************************
%
% Program author: Susan C. Hagness
% Department of Electrical and Computer Engineering
% University of Wisconsin-Madison
% 1415 Engineering Drive
% Madison WI 53706-1691
% 608-265-5739
% hagness@engr.wisc.edu
%
% Date of this version: February 2000
%
% This MATLAB M-file implements the finite-difference time-domain
% solution of Maxwell‘s curl equations over a two-dimensional
% Cartesian space lattice comprised of uniform square grid cells.
%
% To illustrate the algorithm a 6-cm-diameter metal cylindrical
% scatterer in free space is modeled. The source excitation is
% a Gaussian pulse with a carrier frequency of 5 GHz.
%
% The grid resolution (dx = 3 mm) was chosen to provide 20 samples
% per wavelength at the center frequency of the pulse (which in turn
% provides approximately 10 samples per wavelength at the high end
% of the excitation spectrum around 10 GHz).
%
% The computational domain is truncated using the perfectly matched
% layer (PML) absorbing boundary conditions. The formulation used
% in this code is based on the original split-field Berenger PML. The
% PML regions are labeled as shown in the following diagram:
%
% ----------------------------------------------
% | | BACK PML | |
% ----------------------------------------------
% |L | /| R|
% |E | (ibjb) | I|
% |F | | G|
% |T | | H|
% | | MAIN GRID | T|
% |P | | |
% |M | | P|
% |L | (11) | M|
% | |/ | L|
% ----------------------------------------------
% | | FRONT PML | |
% ----------------------------------------------
%
% To execute this M-file type “fdtd2D“ at the MATLAB prompt.
% This M-file displays the FDTD-computed Ex Ey and Hz fields at
% every 4th time step and records those frames in a movie matrix
% M which is played at the end of the simulation using the “movie“
% command.
%
%***********************************************************************
clear
%***********************************************************************
% Fundamental constan
相关资源
- 可直接运行的随机森林的matlab代码
- 多种图像边缘检测与分割处理matlab实
- matlab提取最大联通域
- MATLAB gui 密码登陆程序代码
- matlab 频谱处理代码
- matlab 声音处理-男声变女声
- PLL相环的仿真模型.slx
- matlab单应矩阵
- 变步长LMS的matlab代码
- MATLAB GUI菜单制作
- MATLAB解方程
- 二维混合高斯分布的EM算法matlab
- MATLAB SDES代码
- contourlet matlab 工具箱
- fastica工具箱
- Frangi 的血管增强方法matlab程序
- 电话拨号音的合成与识别 matlab 代码
- MATLAB算法:对输入抽样值进行PCM编码
- a*启发式搜索算法的matlab仿真程序
- Turbo码Matlab仿真程序
- 基于matlab通过交点求灭点
- 质心定位算法
- 基于遗传算法车间调度问题matlab程序
-
MATLAB读取xm
l格式的数据文件 - CFAR matlab
- 基于模拟退火算法的TSP问题matlab实现
- 空时编码的MATLAB仿真
- gold序列MATLAB仿真
- PUMA560机器人仿真系统
- matlab等价类程序
评论
共有 条评论