Scilab 5.3.0
- Manuel Scilab
- Traitement du Signal
- How to
- Signal
- analpf
- bilt
- buttmag
- casc
- cepstrum
- cheb1mag
- cheb2mag
- chepol
- convol
- corr
- cspect
- czt
- detrend
- dft
- ell1mag
- eqfir
- eqiir
- faurre
- ffilt
- fft
- fft2
- fftshift
- filt_sinc
- filter
- find_freq
- findm
- frfit
- frmag
- fsfirlin
- group
- hank
- hilb
- hilbert
- iir
- iirgroup
- iirlp
- intdec
- jmat
- kalm
- lattn
- lattp
- lev
- levin
- lindquist
- mese
- mfft
- mrfit
- %asn
- %k
- %sn
- phc
- pspect
- remez
- remezb
- rpem
- sincd
- srfaur
- srkf
- sskf
- syredi
- system
- trans
- wfir
- 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
mrfit
frequency response fit
Calling Sequence
sys=mrfit(w,mag,order) [num,den]=mrfit(w,mag,order) sys=mrfit(w,mag,order,weight) [num,den]=mrfit(w,mag,order,weight)
Arguments
- w
positive real vector of frequencies (Hz)
- mag
real vector of frequency responses magnitude (same size as
w
)- order
integer (required order, degree of
den
)- weight
positive real vector (default value
ones(w)
).- num,den
stable polynomials
Description
sys=mrfit(w,mag,order,weight)
returns a bi-stable transfer function
G(s)=sys=num/den
, of of given order
such that
its frequency response magnitude abs(G(w(i)))
matches mag(i)
i.e. abs(freq(num,den,%i*w))
should be
close to mag
.
weight(i)
is the weigth given to w(i)
.
Examples
<< mfft | Traitement du Signal | %asn >> |