资源简介
给出了fdtd算法的matlab实现代码。
代码片段和文件信息
%***********************************************************************
% 1-D FDTD code with simple radiation 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 one-dimensional space
% lattice comprised of uniform grid cells.
%
% To illustrate the algorithm a sinusoidal wave (1GHz) propagating
% in a nonpermeable lossy medium (epsr=1.0 sigma=5.0e-3 S/m) is
% modeled. The simplified finite difference system for nonpermeable
% media (discussed in Section 3.6.6 of the text) is implemented.
%
% The grid resolution (dx = 1.5 cm) is chosen to provide 20
% samples per wavelength. The Courant factor S=c*dt/dx is set to
% the stability limit: S=1. In 1-D this is the “magic time step.“
%
% The computational domain is truncated using the simplest radiation
% boundary condition for wave propagation in free space:
%
% Ez(imaxn+1) = Ez(imax-1n)
%
% To execute this M-file type “fdtd1D“ at the MATLAB prompt.
% This M-file displays the FDTD-computed Ez and Hy fields at every
% 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 constants
%***********************************************************************
cc=2.99792458e8; %speed of light in free space
muz=4.0*pi*1.0e-7; %permeability of free space
epsz=1.0/(cc*cc*muz); %permittivity of free space
freq=1.0e+9; %frequency of source excitation
lambda=cc/freq; %wavelength of source excitation
omega=2.0*pi*freq;
%***********************************************************************
% Grid parameters
%***********************************************************************
ie=200; %number of grid cells in x-direction
ib=ie+1;
dx=lambda/20.0; %space increment of 1-D lattice
dt=dx/cc; %time step
omegadt=omega*dt;
nmax=round(12.0e-9/dt); %total number of time steps
%***********************************************************************
% Material parameters
%***********************************************************************
eps=1.0;
sig=5.0e-
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 5465 2000-04-15 22:15 fdtd实现代码\fdtd1D.m
文件 19909 2000-04-15 22:15 fdtd实现代码\fdtd2D.m
文件 7828 2000-04-15 22:15 fdtd实现代码\fdtd3D.m
文件 12778 2011-09-26 15:17 fdtd实现代码\taflove.rar
文件 20432 2007-11-22 08:22 fdtd实现代码\UPMLfdtd3D.m
目录 0 2011-09-26 15:17 fdtd实现代码
----------- --------- ---------- ----- ----
66412 6
相关资源
- Pattern Recognition and Machine Learning(高清
- MATLAB 编程 第二版 Stephen J. Chapman 著
- 均值滤波和FFT频谱分析Matlab代码
- 《MATLAB扩展编程》代码
- HDB3码、AMI码的MATLAB实现
- 3点GPS定位MATLAB仿真
- MATLAB数字信号处理85个实用案例精讲入
- matlab从入门到精通pdf94795
- 欧拉放大论文及matlab代码
- 跳一跳辅助_matlab版本
- 全面详解LTE MATLAB建模、仿真与实现
- MIMO-OFDM无线通信技术及MATLAB实现_孙锴
- MATLAB Programming for Engineers 4th - Chapman
- matlab 各种谱分析对比
- 分数阶chen混沌matlab程序
- 基于粒子群算法的非合作博弈的matl
- MATLAB车流仿真 包括跟驰、延误
- matlab空间桁架计算程序
- 基于MATLAB的图像特征点匹配和筛选
- DMA-TVP-FAVAR
- GPS信号的码捕获matlab代码.7z
- 一维光子晶体MATLAB仿真代码吸收率折
- newmark法源程序
- 传统关联成像、计算鬼成像matlab
- pri传统分选算法
- 摆动滚子推杆盘形凸轮设计
- 医学图像重建作业matlab源码
- Matlab实现混沌系统的控制
- 检测疲劳驾驶
- Matlab锁相环仿真-Phase Locked Loop.rar
评论
共有 条评论