non dissipative ladder filters

by

 

calculate the inductances and capacitances of a non-dissipative analog ladder filter

hurwitz(A)
function B = hurwitz(A)

%HURWITZ CONJUGATE : 
%   If A is a vector of polynomial coefficients, hurwitz(A) gives the
%   vector B of polynomial coefficients, where B has reverse sign
%	 coefficients of A only for odd exponents of the variable
%   %   P. MURET 25-nov-2002

if prod(size(A)) ~= length(A)
   error('the argument must be a vector.');
end

B=A;
degre = length(A) - 1 ;
k = degre;

while k > 0
  B(k)=-A(k);
  k=k-2;
end

Contact us