what is the matlab code for ploting dispersion against wavelength (for chromatic dispersion)?

5 次查看(过去 30 天)
I would like to get some matlab codes to draw graphs showing chromatic disperion
  1 个评论
PRADEEP TOMAR
PRADEEP TOMAR 2021-6-23
clc; %please correct it,i am not getting the exact plot
clear all;
close all;
c=3*10^8;
neff=1.46;
dn= 1.2*10^(-3);
z= 0.5*10^(-3);
xa=5*10^(-3);
ya=1.28*10^(-6):1*10^(-10) :1.29*10^(-6);
lambdab= 1.286*10^(-6);
gz = 0.55+ 0.45.*cos((z.*pi)./xa) ;
D = (4.*pi.*c.*neff.*(lambdab./(2.*neff)).*(pi.*dn.*gz).^2)./((ya.^2).*((2.*neff.*gz.*(lambdab./(2.*neff))).^2 -(pi.*dn.*gz).^2 ).^1.5);
plot(ya,imag(D));

请先登录,再进行评论。

回答(1 个)

Ahmed
Ahmed 2022-12-27
what is the matlab code for ploting dispersion against wavelength (for chromatic dispersion)?

类别

Help CenterFile Exchange 中查找有关 View and Analyze Simulation Results 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by