function S = asymptote(S_smaller,S_larger,f,Fc) %ASYMPTOTE Summary of this function goes here % Detailed explanation goes here [~,I] = min(abs(f-Fc)); S = [S_smaller(1:I) S_larger(I+1:end)]; end