trans — low-pass to other filter transform
hzt=trans(hz,tr_type,frq) hzt=trans(pd,zd,gd,tr_type,frq)
a single input single output discrete transfer function, the low pass filter
Vector of given filter poles
Vector of given filter zeros
scalar: the given filter gain
string, the type of transformation, see description for possible values
2-vector of discrete cut-off frequencies
(i.e.,0<frq<.5
). see description
for details.
transformed filter transfert function.
function for transforming standardized low-pass filter given its poles-zeros_gain representation into one of the following filters:
low pass filter, the cutoff frequency is given by the
first entry of frq
, the second one is ignored.
high pass filter, the cutoff frequency is given by the
first entry of frq
, the second one is ignored.
band pass filter, the frequency range is given by frq(1)
and frq(2)
.
stop band filter, the frequency range is given by frq(1)
and frq(2)
.