~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to demos/lmitool/testnorminf

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright INRIA
 
2
getf(SCI+'/demos/lmitool/norminf.sci','c')
 
3
n=4;nu=2;ny=2;
 
4
E=eye(n,n);
 
5
rand('seed',0)
 
6
A=rand(n,n)-3*eye();
 
7
B=rand(n,nu);
 
8
C=rand(ny,n);
 
9
D=0*rand(nu,ny);
 
10
gama=10;
 
11
[X,cost]=norminf(E,A,B,C,D,gama)