File: calfrq.man

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 (44 lines) | stat: -rw-r--r-- 1,165 bytes parent folder | download | duplicates (2)
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
39
40
41
42
43
44
.TH calfrq 1 "April 1993" "Scilab Group" "Scilab Function"
.so ../sci.an 
.SH NAME
calfrq - frequency response discretization
.SH CALLING SEQUENCE
.nf
[frq,split]=calfrq(h,[fmin,fmax])
.fi
.SH PARAMETERS
.TP 10
h    
: SISO linear system (\fVsyslin\fR list)
.TP
fmin,fmax 
: real scalars (min and max frequencies)
.TP
frq  
: row vector (discretization of interval)
.TP
split 
: vector of frq splitting points indexes
.SH DESCRIPTION
frequency response discretization ; \fVfrq\fR is the discretization of  
\fV[fmin,fmax]\fR 
such that the peaks in the frequency response are well represented. 
.LP
Default values for \fVfmin\fR and \fVfmax\fR are
\fV1.d-3\fR, \fV1.d+3\fR if \fVh\fR is continuous-time
or \fV1.d-3\fR, \fV1/(2*h('dt'))\fR if \fVh\fR is discrete-time.
.LP
Singularities are located between \fVfrq(split(k))\fR and \fVfrq(split(k)+1)\fR
for \fVk>1\fR.

.SH EXAMPLE
.nf
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)')
.fi
.SH SEE ALSO
bode, black, nyquist, freq, repfreq, logspace