// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab // Copyright (C) INRIA - 1988 - C. Bunks // // This file must be used under the terms of the CeCILL. // This source file is licensed as described in the file COPYING, which // you should have received as part of this distribution. The terms // are also available at // http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt function [hs,pols,zers,gain]=analpf(n,fdesign,rp,omega) //[hs,pols,zers,gain]=analpf(n,fdesign,rp,omega) //Creates analog low-pass filter with cut-off frequency at omega // n :filter order (pos. integer) // fdesign :filter design method // : fdesign=('butt','cheb1','cheb2','ellip') // rp :2-vector of error values for cheb1, cheb2, and // :ellip filters where only rp(1) is used for // :cheb1 case, only rp(2) is used for cheb2 case, and // :rp(1) and rp(2) are both used for ellip case. // : 0