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

    function [ s21 ] = abg4_2( f )
%UNTITLED 此处显示有关此函数的摘要
%   此处显示详细说明
%f=1:0.01:5;
a1=7.267;
b1=3.041;
c1=0.623;
a2=4.971;
b2=3.476;
c2=1.602;

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

end