~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to demos/optimization/lmitool/testh2hinf

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright INRIA
 
2
getf(SCI+'/demos/lmitool/h2hinf.sci','c');
 
3
n=4;m1=1;m2=2;n1=2;n2=2;
 
4
A=rand(n,n);
 
5
B2=rand(n,m2);
 
6
C2=rand(n2,n);
 
7
B1=rand(n,m1);
 
8
C1=rand(n1,n);
 
9
D11=rand(n1,m1);
 
10
D12=rand(n1,m2);
 
11
D22=rand(n2,m2);
 
12
gama=10;
 
13
[X,Y,L]=h2hinf(A,B1,B2,C1,C2,D11,D12,D22,gama)
 
14