File: rational.man

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 (28 lines) | stat: -rw-r--r-- 876 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
.TH rational 1 "April 1993" "Scilab Group" "Scilab Objects"
.so ../sci.an
.SH NAME
rational - Scilab objects, rational in Scilab
.SH DESCRIPTION
A rational \fVr\fR is a quotient of two polynomials \fVr=num/den\fR.
The internal representation of a rational is a list.
\fVr=tlist('['r','num','den','dt'],num,den,[])\fR is the same as \fVr=num/den\fR.
A rational matrix can be defined with the usual syntax
e.g. \fV[r11,r12;r21,r22]\fR is a 2x2 matrix where \fVrij\fR are 
1x1 rationals.
A rational matrix can also be defined as above as a list
\fVtlist(['r','num','den','dt'],num,den,[])\fR with \fVnum\fR and \fVden\fR polynomial matrices.
.SH EXAMPLES
.nf
s=poly(0,'s');
W=[1/s,1/(s+1)]
W'*W
Num=[s,s+2;1,s];Den=[s*s,s;s,s*s];
tlist(['r','num','den','dt'],Num,Den,[])
H=Num./Den
syslin('c',Num,Den)
syslin('c',H)
[Num1,Den1]=simp(Num,Den)
.fi
.SH SEE ALSO
poly, syslin, simp