www.pudn.com > EDFA-980nm.zip > axs.m, change:2014-08-28,size:1861b


function [y]=axs(x) 
%输入x单位m,输出单位m^-2 
%1.46e-6m到 1.63e-6m 
xs= ((811750474693908803*cos(128260000*x))/43556142965880123323311949751266331066368000- ... 
    (114107995692340357*cos(64130000*x))/1088903574147003083082798743781658276659200 + ... 
    (618457215086955031*cos(192390000*x))/43556142965880123323311949751266331066368000 ... 
    - (827181449200346289*cos(256520000*x))/217780714829400616616559748756331655331840000 ... 
    + (316334977381968463*sin(64130000*x))/21778071482940061661655974875633165533184000 + ... 
    (1320160476853375447*sin(128260000*x))/21778071482940061661655974875633165533184000 - ... 
    (702109340042905613*sin(192390000*x))/43556142965880123323311949751266331066368000 -... 
    (4931652916632499431013534892875*sin(256520000*x))/6277101735386680763835789423207666416102355444464034512896+... 
    1209707185649401863/4355614296588012332331194975126633106636800).*((x>=1.46e-6) & (x<1.51e-6))+... 
(-2.029e-024 - 2.859e-024*cos(x*6.281e+007) + 3.333e-024*sin(x*6.281e+007)... 
               + 3.39e-025*cos(2*x*6.281e+007) + 3.291e-024*sin(2*x*6.281e+007)... 
               + 1.8e-024*cos(3*x*6.281e+007) + 1.191e-024*sin(3*x*6.281e+007)... 
               + 1.092e-024*cos(4*x*6.281e+007) - 2.837e-025*sin(4*x*6.281e+007)... 
               + 1.576e-025*cos(5*x*6.281e+007) - 3.841e-025*sin(5*x*6.281e+007)... 
               - 5.193e-026*cos(6*x*6.281e+007) -9.824e-026*sin(6*x*6.281e+007)).*((x>=1.51e-6) & (x<1.56e-6))... 
  + (-9.899e-025 - 6.008e-025*cos(x*3.273e+007) + 1.668e-024*sin(x*3.273e+007)... 
               + 7.426e-025*cos(2*x*3.273e+007) + 7.713e-025*sin(2*x*3.273e+007)... 
               + 3.682e-025*cos(3*x*3.273e+007) - 9.447e-026*sin(3*x*3.273e+007)... 
               + 1.664e-026*cos(4*x*3.273e+007) - 5.745e-026*sin(4*x*3.273e+007)).*((x>=1.56e-6) & (x<=1.63e-6)); 
y=xs./1.0036;