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

    function [ s21 ] = abg4( f )
%UNTITLED 此处显示有关此函数的摘要
%   此处显示详细说明
%f=6:0.01:10;
a1=7.233;
b1=7.989;
c1=0.5929;
a2=6.504;
b2=9.235;
c2=2.068;

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

end