资源简介
很好用的啁啾光纤光栅仿真程序,给出了很好的反射谱和时延曲线。
代码片段和文件信息
clear all
clc
L = 0.04;
neff = 1.45;
C = 10*1e-9;
N = 50;
M = 1501;
deltaneff = 0.0001;
lamda1 = 1549;
lamda2 = 1551;
lamda = linspace(lamda1lamda2M)*1e-9;
deltalamda=(lamda2-lamda1)/M*1e-9;
tic
for k = 1:M
F = [10;01];
for i = 1:N
% (1)均匀
deltaneff = 0.00005;
% (2)高斯变迹
% deltaneff = 0.00005*exp((-64*(-L/2+i*L/N)^4)/L^4);
lamda_D = (1550-C*L/2+C*i*L/N)*1e-9;
%直流自耦合系数
sigma = 2*pi*neff*(1/lamda(k)-1/lamda_D)+2*pi*deltaneff/lamda(k)+(4*pi*neff)*C*(-L/2+i*L/N)/lamda_D^2;
kac = pi*deltaneff/lamda(k);
RB = sqrt(kac^2-sigma^2);
F = F*[cosh(RB*L/N)-j*(sigma/RB)*sinh(RB*L/N)-j*(kac/RB)*sinh(RB*L/N);j*(kac/RB)*sinh(RB*L/N)cosh(RB*L/N)+j*(sigma/RB)*sinh(RB*L/N)];
end
R(k) = (abs(-F(3)/F(1)))^2;
Q(k) = phase((-F(3)/F(1)));
end
toc
tao(1) = Q(1);
tao(2) = Q(2);
tao(3) = Q(3);
for i = 4:M
if(abs(Q(i-1)-Q(i))<=1)
tao(i) = ((lamda1+i*0.001)^2*1e-18/(2*pi*3e
- 上一篇:分裂Bregman算法的源代码1
- 下一篇:多普勒雷达显示程序(破解北京敏视达公司)
相关资源
- echarts大数据领导仓demo.rar
- [C51单片机开发工具Keil.UV4].Keil.C51.V9
- Deep_Learning_2016.pdf
- zw_Classification1.zip
- Griffiths-IntroductiontoElectrodynamics4thEdit
- ParaViewTutorial.pdf
- xyisv_10236804.zip
- 计算机图形学第4版高清电子书.pdf
- 《多粒度知识获取与不确定性度量》
- 华成英模电课件.zip
- 70d0cd041f738f12db575d3b46e97582.pdf
- OfficeTabEnterprise13.1.zip
- wxu998.rar
- PowerDesigner16.5汉化文件.rar
- jsgis.zip
- PinyinIME(关键代码写了注释).zip
- 锁相环设计、仿真与应用第5版中.pd
- novelOnLine.zip
- SingleSensorImagingMethodsandApplicationsforDi
- ControlSystemsEngineering7th(NormanS.Nise)
- ModernControlSystems13th(RichardC.Dorf).ra
- VectorMagic_1.15pojie.rar
- complexityoflattice__problems.pdf
- xnby_883749.zip
- TOGAF培训讲义-周金根.pdf
- OS12.2驱动,手机虚拟定位软件,Loca
- 大话系列-大话数据结构(pdf高清版)
- 梁宁产品经理思维30讲.pdf
- CHI760E辰华电化学工作站软件最新版
- SAPERPHCM葵花宝典系列之配置指南(电
评论
共有 条评论