gusucode.com > matlab编程遗传算法计算匹配电路源码程序 > code1/code/MATLAB源代码/matlab_match/abg6.m

    function [ s21 ] = abg6( f )
%UNTITLED 此处显示有关此函数的摘要
%   此处显示详细说明
%f=6:0.01:10;
a1=11.72;
b1=7.724;
c1=1.118;
a2=8.709;
b2=9.698;
c2=0.8286;


s21=a1*exp(-((f-b1)./c1).^2)+a2*exp(-((f-b2)./c2).^2);

end