File: calfrq.cat

package info (click to toggle)
scilab 2.4-1
  • links: PTS
  • area: non-free
  • in suites: potato, slink
  • size: 55,196 kB
  • ctags: 38,019
  • sloc: ansic: 231,970; fortran: 148,976; tcl: 7,099; makefile: 4,585; sh: 2,978; csh: 154; cpp: 101; asm: 39; sed: 5
file content (38 lines) | stat: -rw-r--r-- 1,073 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
28
29
30
31
32
33
34
35
36
37
38

calfrq(1)                      Scilab Function                      calfrq(1)
NAME
  calfrq - frequency response discretization

CALLING SEQUENCE
  [frq,split]=calfrq(h,[fmin,fmax])

PARAMETERS

  h         : SISO linear system (syslin list)

  fmin,fmax : real scalars (min and max frequencies)

  frq       : row vector (discretization of interval)

  split     : vector of frq splitting points indexes

DESCRIPTION
  frequency response discretization ; frq is the discretization of
  [fmin,fmax] such that the peaks in the frequency response are well
  represented.

  Default values for fmin and fmax are 1.d-3, 1.d+3 if h is continuous-time
  or 1.d-3, 1/(2*h('dt')) if h is discrete-time.

  Singularities are located between frq(split(k)) and frq(split(k)+1) for
  k>1.
EXAMPLE
  s=poly(0,'s')
  h=syslin('c',(s^2+2*0.9*10*s+100)/(s^2+2*0.3*10.1*s+102.01))
  h1=h*syslin('c',(s^2+2*0.1*15.1*s+228.01)/(s^2+2*0.9*15*s+225))
  [f1,spl]=calfrq(h1,0.01,1000);
  rf=repfreq(h1,f1);
  plot2d(real(rf)',imag(rf)')

SEE ALSO
  bode, black, nyquist, freq, repfreq, logspace