File: cepstrum.cat

package info (click to toggle)
scilab 2.6-4
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 54,632 kB
  • ctags: 40,267
  • sloc: ansic: 267,851; fortran: 166,549; sh: 10,005; makefile: 4,119; tcl: 1,070; cpp: 233; csh: 143; asm: 135; perl: 130; java: 39
file content (27 lines) | stat: -rw-r--r-- 818 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
cepstrum          Scilab Group          Scilab Function            cepstrum
NAME
   cepstrum - cepstrum calculation
  
CALLING SEQUENCE
 fresp = cepstrum(w,mag)
PARAMETERS
 w          : positive real vector of frequencies (rad/sec)
            
 mag        : real vector of magnitudes (same size as w)
            
 fresp      : complex vector
            
DESCRIPTION
   fresp = cepstrum(w,mag) returns a frequency response fresp(i) whose
  magnitude at frequency w(i) equals mag(i)  and such that the phase of
  freq corresponds to a stable and minimum phase system. w needs not to be
  sorted, but  minimal entry should not be close to zero and all the
  entries of w should be different.
  
EXAMPLE
 w=0.1:0.1:5;mag=1+abs(sin(w));
 fresp=cepstrum(w,mag);
 plot2d([w',w'],[mag(:),abs(fresp)])
SEE ALSO
   frfit