1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) ????-2008 - INRIA - Serge Steer
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
10 if sld.dt<>0.1 then pause,end
11 if sld.A<>exp(sl.A*0.1) then pause,end
12 if norm(sld.B-sl.A\(sld.A-eye())*sl.B)>1d-15 then pause,end
15 a=[0.9,0,0.6,-1.4,-4.2;
18 -3.7,-0.5,2.4,-0.6,2.7;
32 sl=syslin('c',a,b,c,d);
35 if sld.dt<>0.1 then pause,end
36 if norm(sld.A-expm(sl.A*0.1))>1d-15 then pause,end
37 if norm(sld.B-sl.A\(sld.A-eye())*sl.B)>1d-14 then pause,end