File: testh2hinf

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 (14 lines) | stat: -rw-r--r-- 268 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright INRIA
getf(SCI+'/demos/lmitool/h2hinf.sci','c');
n=4;m1=1;m2=2;n1=2;n2=2;
A=rand(n,n);
B2=rand(n,m2);
C2=rand(n2,n);
B1=rand(n,m1);
C1=rand(n1,n);
D11=rand(n1,m1);
D12=rand(n1,m2);
D22=rand(n2,m2);
gama=10;
[X,Y,L]=h2hinf(A,B1,B2,C1,C2,D11,D12,D22,gama)