File: Non_linear.cosf

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 (113 lines) | stat: -rw-r--r-- 5,790 bytes parent folder | download
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
scicos_ver = 'scicos2.3.1'
scs_m=list()
scs_m(1)=list([450,450,0,0],['Non_linear','/usr/local/lib/scilab/macros/scicos/'],[],[],..
' ',list(),list(%t,[0.8,0.8,0.8]),[],[],[])
scs_m(2)=list('Block',..
         list([39.593909,354.3038],[40,40],%t,['0.1';'1'],0,0,[],[],..
         ['thick=xget(''thickness'');xset(''thickness'',2);';
         'xx=orig(1)+[1;2;2;3;3;4;4]/5*sz(1);';
         'yy= orig(2)+[1;1;2;2;3;3;4]/5*sz(2);';
         'xpoly(xx,yy,''lines'');';
         'xset(''thickness'',thick);']),..
         list('qzrnd',-1,-1,[],[],[],[],0.1,1,'c',[],[%t,%f],' ',list()),' ',..
         'QUANT_f')
scs_m(3)=list('Block',..
         list([39.593909,266.58228],[40,40],%t,['-1';'1';'1'],0,0,[],[],..
         ['thick=xget(''thickness'');xset(''thickness'',2);';
         'xx=orig(1)+[4/5;1/2+1/5;1/2-1/5;1/5]*sz(1);';
         'yy=orig(2)+[1-1/5;1-1/5;1/5;1/5]*sz(2);';
         'xpoly(xx,yy,''lines'');';
         'xset(''thickness'',thick)']),..
         list('lusat',1,1,[],[],[],[],[-1;1;1],[],'c',[],[%t,%f],' ',list()),' ',..
         'SAT_f')
scs_m(4)=list('Block',..
         list([31.472081,43.565401],[16.666667,16.666667],%t,[],[0;0],0,[],[],[]),..
         list(list('prod',2),[-1;-1],-1,[],[],[],[],[],[],'c',[],[%t,%f],' ',..
         list()),' ','PROD_f')
scs_m(5)=list('Block',..
         list([39.593909,108.22785],[40,40],%t,['1';'%e'],0,0,[],[],..
         'xstringb(orig(1),orig(2),''a^u'',sz(1),sz(2),''fill'');'),..
         list('expblk',-1,-1,[],[],[],[],2.7182818,[],'c',[],[%t,%f],' ',list()),..
         ' ','EXPBLK_f')
scs_m(6)=list('Block',..
         list([144.16244,354.3038],[40,40],%t,' ',0,0,[],[],..
         'xstringb(orig(1),orig(2),''sin'',sz(1),sz(2),''fill'')'),..
         list('sinblk',-1,-1,[],[],[],[],[],[],'c',[],[%t,%f],' ',list()),' ',..
         'SINBLK_f')
scs_m(7)=list('Block',..
         list([144.16244,266.58228],[40,40],%t,' ',0,0,[],[],..
         'xstringb(orig(1),orig(2),[''cos''],sz(1),sz(2),''fill'');'),..
         list('cosblk',-1,-1,[],[],[],[],[],[],'c',[],[%t,%f],' ',list()),' ',..
         'COSBLK_f')
scs_m(8)=list('Block',..
         list([144.16244,191.39241],[40,40],%t,'-1',0,0,[],[],..
         'xstringb(orig(1),orig(2),''tan'',sz(1),sz(2),''fill'');'),..
         list('tanblk',-1,-1,[],[],[],[],[],[],'c',[],[%t,%f],' ',list()),' ',..
         'TANBLK_f')
scs_m(9)=list('Block',..
         list([144.16244,108.22785],[40,40],%t,' ',0,0,[],[],..
         'xstringb(orig(1),orig(2),''1/u'',sz(1),sz(2),''fill'');'),..
         list('invblk',-1,-1,[],[],[],[],[],[],'c',[],[%t,%f],' ',list()),' ',..
         'INVBLK_f')
scs_m(10)=list('Block',..
          list([237.56345,354.3038],[40,40],%t,'%e',0,0,[],[],..
          'xstringb(orig(1),orig(2),''Log'',sz(1),sz(2),''fill'');'),..
          list('logblk',-1,-1,[],[],[],[],2.7182818,[],'c',[],[%t,%f],' ',list()),..
          ' ','LOGBLK_f')
scs_m(11)=list('Block',..
          list([144.16244,31.898734],[40,40],%t,'1.5',0,0,[],[],..
          'xstringb(orig(1),orig(2),''u^a'',sz(1),sz(2),''fill'');'),..
          list('powblk',-1,-1,[],[],[],[],1.5,[],'c',[],[%t,%f],' ',list()),' ',..
          'POWBLK_f')
scs_m(12)=list('Block',..
          list([237.56345,266.58228],[40,40],%t,' ',0,0,[],[],..
          'xstringb(orig(1),orig(2),''Abs'',sz(1),sz(2),''fill'')'),..
          list(list('absblk',1),-1,-1,[],[],[],[],[],[],'c',[],[%t,%f],' ',..
          list()),' ','ABSBLK_f')
scs_m(13)=list('Block',..
          list([39.593909,191.39241],[40,40],%t,[],0,0,[],[],..
          ['rpar=model(8);n=size(rpar,''*'')/2;';
          'thick=xget(''thickness'');xset(''thickness'',2);';
          'xx=rpar(1:n);yy=rpar(n+1:2*n);';
          'mnx=mini(xx);xx=xx-mnx*ones(xx);mxx=maxi(xx);';
          'xx=orig(1)+sz(1)*(1/10+(4/5)*xx/mxx);';
          'mnx=mini(yy);yy=yy-mnx*ones(yy);mxx=maxi(yy);';
          'yy=orig(2)+sz(2)*(1/10+(4/5)*yy/mxx);';
          'xpoly(xx,yy,''lines'');';
          'xset(''thickness'',thick);']),..
          list('lookup',1,1,[],[],[],[],[-2;-1;1;2;-1;1;-1;1],[],'c',[],[%t,%f],..
          ' ',list()),' ','LOOKUP_f')
scs_m(14)=list('Block',..
          list([237.56345,191.39241],[40,40],%t,'-1',0,0,[],[],..
          'xstringb(orig(1),orig(2),''MIN'',sz(1),sz(2),''fill'')'),..
          list('minblk',-1,1,[],[],[],[0;0],[],[],'c',[],[%t,%f],' ',list()),' ',..
          'MIN_f')
scs_m(15)=list('Block',..
          list([237.56345,108.22785],[40,40],%t,' ',0,0,[],[],..
          'xstringb(orig(1),orig(2),''Max'',sz(1),sz(2),''fill'');'),..
          list('maxblk',-1,1,[],[],[],[0;0],[],[],'c',[],[%t,%f],' ',list()),' ',..
          'MAX_f')
scs_m(16)=list('Block',..
          list([237.56345,31.898734],[40;50],%t,..
          ['[0;1]';
          '[]';
          '[0.2+%i*0.8,0.2-%i*0.8;';
          '0.3+%i*0.7,0.3-%i*0.7]';
          '[1;1]';
          '[]';
          '[0;0]'],[0;0],0,0,[],..
          ['txt=[''N(z,p)'';''-----'';''D(z,p)''];';
          'xstringb(orig(1),orig(2),txt,sz(1),sz(2),''fill'');']),..
          list('dlradp',[1;1],1,1,[],[],[0;0],..
          [0;1;0.2;0.3;0.2;0.3;0.8;0.7;-0.8;-0.7;1;1],[0;2;2],'d',[],[%t,%f],' ',..
          list()),' ','DLRADAPT_f')
scs_m(17)=list('Block',..
          list([314.59276,353.16456],[40,40],%t,['[0;1]';'[0;1]'],0,0,[],[],..
          'xstringb(orig(1),orig(2),''interp'',sz(1),sz(2),''fill'');'),..
          list('intrpl',1,1,[],[],[],[],[0;1;0;1],[],'c',[],[%t,%f],' ',list()),..
          ' ','INTRPLBLK_f')
scs_m(18)=list('Block',..
          list([307.78781,267.72152],[60,40],%t,['[0;1]';'[0;1]';'[0;1]'],[0;0],..
          0,[],[],'xstringb(orig(1),orig(2),''interp2'',sz(1),sz(2),''fill'');'),..
          list(list('intrp2',1),[1;1],1,[],[],[],[],[0;1;0;1;0;1;1;2],[2;2],'c',..
          [],[%t,%f],' ',list()),' ','INTRP2BLK_f')