- Scilab Help
- Signal Processing
- Filters
- analpf
- buttmag
- casc
- cheb1mag
- cheb2mag
- convol
- ell1mag
- eqfir
- eqiir
- faurre
- ffilt
- filt_sinc
- filter
- find_freq
- frmag
- fsfirlin
- group
- hilbert
- iir
- iirgroup
- iirlp
- kalm
- lev
- levin
- lindquist
- remez
- remezb
- srfaur
- srkf
- sskf
- syredi
- system
- trans
- wfir
- wfir_gui
- wiener
- wigner
- window
- yulewalk
- zpbutt
- zpch1
- zpch2
- zpell
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
trans
low-pass to other filter transform
Syntax
hzt=trans(hz,tr_type,frq) hzt=trans(pd,zd,gd,tr_type,frq) [pt,zt,gt]=trans(hz,tr_type,frq) [pt,zt,gt]=trans(pd,zd,gd,tr_type,frq)
Arguments
- hz
a single input single output discrete transfer function, the low pass filter
- pd
Vector of given filter poles
- zd
Vector of given filter zeros
- gd
scalar: the given filter gain
- tr_type
string, the type of transformation, see description for possible values
- frq
2-vector of discrete cut-off frequencies (i.e.,
0<frq<.5
). see description for details.- hzt
transformed filter transfert function.
- pt
vector of transformed filter zeros.
- zt
vector of transformed filter poles.
- gt
a scalar: transformed filter gain.
Description
function for transforming standardized low-pass filter given its poles-zeros_gain representation into one of the following filters:
- tr_type='lp'
low pass filter, the cutoff frequency is given by the first entry of
frq
, the second one is ignored.- tr_type='hp'
high pass filter, the cutoff frequency is given by the first entry of
frq
, the second one is ignored.- tr_type='bp'
band pass filter, the frequency range is given by
frq(1)
andfrq(2)
.- tr_type='sb'
stop band filter, the frequency range is given by
frq(1)
andfrq(2)
.
Used functions
Examples
See also
Report an issue | ||
<< system | Filters | wfir >> |