blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
4
214
content_id
stringlengths
40
40
detected_licenses
listlengths
0
50
license_type
stringclasses
2 values
repo_name
stringlengths
6
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
21 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
141k
586M
star_events_count
int64
0
30.4k
fork_events_count
int64
0
9.67k
gha_license_id
stringclasses
8 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
50 values
src_encoding
stringclasses
23 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
1 class
length_bytes
int64
5
10.4M
extension
stringclasses
29 values
filename
stringlengths
2
96
content
stringlengths
5
10.4M
ce8060366dd26d8e84769a82a1e4bea4176373b2
449d555969bfd7befe906877abab098c6e63a0e8
/137/CH10/EX10.21/prob_10_21.sce
5d61c2ff4a59a0648e48afcb841f3fc8bed6e042
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
454
sce
prob_10_21.sce
// page no 479 //prob no 10.21 // formula for estimate error E is E = mk^ - mk = a1* mk-1 +a2* mk-2 -mk //given: various values of correlation (mk*mk)'= (m^2)',(mk*mk-1)'= .825* (m^2)',(mk*mk-2)'= .562*(m^2)',(mk*mk-3)'= .825*(m^2)' , R02=.562(m^2)', a1=1.1314, a2= -0.3714 // mean square error is given by I=(E^2)'=[1-((.825*a1)+(.562*a2))]*(m^2)'= .2753*(m^2)' clc; m=1; I=.2753*(m^2)'; S=10*log ((m^2)'/I); disp(+'dB',S,"SNR improvement = ");
d2003defef380e145ae782c7c2df107560e1f6f7
449d555969bfd7befe906877abab098c6e63a0e8
/3809/CH13/EX13.4/EX13_4.sce
4580066df0ea6f8b560cc7fdfa12fa17b93ff6c6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
600
sce
EX13_4.sce
//Chapter 13, Example 13.1 clc //Initialisation' ri=10**3 //resistance in ohm rs=100 //resistance in ohm rl=50 //resistance in ohm ro=10 //resistance in ohm vs=2 //voltage ao=10 //output gain //Calculation vi=(ri/(rs+ri))*vs //input voltage vo=ao*vi*(rl/(ro+rl)) //output voltage po=vo**2/rl //output power in watt //Results printf("Output Power = %.1f W",po)
fbc8eea0145c95a1dc078503acc4ae8be5762f50
8217f7986187902617ad1bf89cb789618a90dd0a
/browsable_source/2.2/Unix/scilab-2.2/macros/sci2for/f_mini.sci
af8307c7541f384b65eef86c5535e45918dd4327
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-public-domain", "MIT" ]
permissive
clg55/Scilab-Workbench
4ebc01d2daea5026ad07fbfc53e16d4b29179502
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
refs/heads/master
2023-05-31T04:06:22.931111
2022-09-13T14:41:51
2022-09-13T14:41:51
258,270,193
0
1
null
null
null
null
UTF-8
Scilab
false
false
476
sci
f_mini.sci
//[stk,nwrk,txt,top]=f_mini(nwrk) // //! txt=[] vnms,vtps; select rhs case 1 then s2=stk(top) stk=list(dvmin('+mulf(s2(4),s2(5))+','+s2(1)+',1)','0',s2(3),s2(4),s2(5)) case 2 then s2=stk(top);s1=stk(top-1);top=top-1 if s2(4)=='1'&s2(5)=='1'&s1(4)=='1'&s1(5)=='1'then stk=list('min('+s1(1)+','+s2(1)+')','0',s2(3),'1','1') else warning('mini with 2 matrix args: not implemented') end else warning('mini with more tha 2 args: not implemented') end //end
2a83fb0dce711b36c994fa3b3c48dc929cc5bc75
449d555969bfd7befe906877abab098c6e63a0e8
/599/CH6/EX6.16/example6_16.sce
f235578dafb85b4732f2cb0271acd85d27cbeb66
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
999
sce
example6_16.sce
clear; clc; printf("\t Example 6.16\n"); m1=.12; //initial moisture content dT=85; //product of 85 degree is used in design purpose U=1700; //overall heat transfer coefficient m2=.4; //final moisture content r=20; //production rate //4 kg of moisture is present in 100 kg product t=4*20/100; // moisture content in 20 kg moisture w=20-t; //dry solid weight i=w*m1/(1-m1); //initial moisture content j=i-t //water evaporated ds=2296.1; //latent heat for vaporisation at 85 degree in kj/kg h=j*ds; //heat required (assuming th esolid mix. enters at 85) //U*A*dT = j*ds A=h/(U*dT); //surface area of the roller required to produce aproduction rate of 20 kg product per hour printf("\n surface area of the roller required to produce aproduction rate of 20 kg product per hour:%f m^2",A/3.600); //end
e3f63a9b716b2e2aed3f6266e712ddc1c5b4e418
449d555969bfd7befe906877abab098c6e63a0e8
/1358/CH1/EX1.7/Example17.sce
10006b7ed0254464b523ec21e8806c8453d2d0dd
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
713
sce
Example17.sce
// Display mode mode(0); // Display warning for floating point exception ieee(1); clear; clc; disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 1, Example 7") // Using isentropic P-T Relation T02' = T01 * (P02/P01) ^ (gamm - 1 / 2) //Total to total Efficiency etta tt implies T01 - T02 = (T01 - T02") * ettatt //Power input W1 = cp * delta To //Power output W2 = W1 * N2 ^ 2 * D2 ^ 2 / (N1 * D2)^2 ettatt = 0.85; T01 = 1050; gamm = 1.4; T02 = T01 * (1/4)^((1.4-1)/2); disp("Power input in KJ/Kg and Power output in KJ/Kg are :") W1 = 1.005 * 292.13 W2 = 293.59 * 1000 * 12500 ^ 2 * .2 ^ 2 / (15500^2 * 0.3^2) disp("Therefore power output = ") Power = W2/1000
62a2d977f16918046116569ad6389efdaa6c254c
a76fc4b155b155bb59a14a82b5939a30a9f74eca
/ProjetTomEval/tomeval/men.tst
14ccbca61f4643965b7e80d1aa35f1b7842c5b2d
[]
no_license
isliulin/JFC-Tools
aade33337153d7cc1b5cfcd33744d89fe2d56b79
98b715b78ae5c01472ef595b1faa5531f356e794
refs/heads/master
2023-06-01T12:10:51.383944
2021-06-17T14:41:07
2021-06-17T14:41:07
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
8,697
tst
men.tst
Plan Coupe du monde MEN 19, Hommes 15-49 ans 101 -1 1 1 0 1,B198,101 f:\source\SFR01 13100000 1 1 2,1719,4,1,0,4.9, 10/06/98,1 2,1729,4,1,0,5.1, 10/06/98,1 2,1819,4,1,0,12.6, 10/06/98,1 2,1829,4,1,0,12.7, 10/06/98,1 2,1919,4,1,0,11.4, 10/06/98,1 2,1929,4,1,0,6.9, 10/06/98,1 1,2039,4,1,0,9.9, 10/06/98,1 1,2059,4,1,0,11.3, 10/06/98,1 1,2149,4,1,0,14.3, 10/06/98,1 1,2159,4,1,0,14.3, 10/06/98,1 1,2249,4,1,0,8.0, 10/06/98,1 1,1729,8,1,0,5.5, 11/06/98,1 1,1819,8,1,0,10.9, 11/06/98,1 1,1829,8,1,0,11.4, 11/06/98,1 1,1919,8,1,0,10.5, 11/06/98,1 2,2059,8,1,0,9.6, 11/06/98,1 2,2139,8,1,0,14.1, 11/06/98,1 2,2149,8,1,0,14.1, 11/06/98,1 2,2229,8,1,0,7.4, 11/06/98,1 2,2239,8,1,0,3.9, 11/06/98,1 3,1418,16,1,0,1.7, 12/06/98,1 3,1428,16,1,0,2.4, 12/06/98,1 3,1518,16,1,0,4.3, 12/06/98,1 3,1528,16,1,0,4.2, 12/06/98,1 3,1618,16,1,0,4.5, 12/06/98,1 3,1628,16,1,0,3.3, 12/06/98,1 1,1729,16,1,0,4.2, 12/06/98,1 1,1819,16,1,0,8.7, 12/06/98,1 1,1829,16,1,0,9.2, 12/06/98,1 1,1919,16,1,0,7.9, 12/06/98,1 3,2058,16,1,0,11.8, 12/06/98,1 3,2138,16,1,0,21.8, 12/06/98,1 3,2148,16,1,0,21.1, 12/06/98,1 3,2228,16,1,0,19.0, 12/06/98,1 3,2238,16,1,0,9.1, 12/06/98,1 1,1429,32,1,0,6.3, 13/06/98,1 1,1519,32,1,0,9.4, 13/06/98,1 1,1529,32,1,0,8.9, 13/06/98,1 1,1619,32,1,0,6.5, 13/06/98,1 2,1729,32,1,0,4.0, 13/06/98,1 2,1819,32,1,0,7.3, 13/06/98,1 2,1829,32,1,0,7.0, 13/06/98,1 2,1919,32,1,0,7.2, 13/06/98,1 2,1929,32,1,0,4.1, 13/06/98,1 1,2039,32,1,0,10.8, 13/06/98,1 1,2059,32,1,0,11.0, 13/06/98,1 1,2149,32,1,0,11.3, 13/06/98,1 1,2159,32,1,0,11.8, 13/06/98,1 1,2249,32,1,0,6.5, 13/06/98,1 3,1418,64,1,0,1.4, 14/06/98,1 3,1428,64,1,0,3.8, 14/06/98,1 3,1518,64,1,0,8.9, 14/06/98,1 3,1528,64,1,0,8.8, 14/06/98,1 3,1618,64,1,0,7.4, 14/06/98,1 3,1628,64,1,0,4.8, 14/06/98,1 1,1729,64,1,0,6.5, 14/06/98,1 1,1819,64,1,0,8.9, 14/06/98,1 1,1829,64,1,0,9.5, 14/06/98,1 1,1919,64,1,0,7.9, 14/06/98,1 2,2059,64,1,0,7.6, 14/06/98,1 2,2139,64,1,0,12.4, 14/06/98,1 2,2149,64,1,0,11.9, 14/06/98,1 2,2229,64,1,0,8.1, 14/06/98,1 2,2239,64,1,0,3.6, 14/06/98,1 1,1349,1,1,0,3.6, 15/06/98,1 1,1409,1,1,0,4.4, 15/06/98,1 1,1429,1,1,0,4.3, 15/06/98,1 1,1519,1,1,0,4.2, 15/06/98,1 1,1529,1,1,0,4.8, 15/06/98,1 1,1619,1,1,0,3.8, 15/06/98,1 2,1719,1,1,0,0.9, 15/06/98,1 2,1729,1,1,0,3.1, 15/06/98,1 2,1819,1,1,0,6.9, 15/06/98,1 2,1829,1,1,0,7.4, 15/06/98,1 2,1919,1,1,0,6.6, 15/06/98,1 2,1929,1,1,0,4.6, 15/06/98,1 3,2058,1,1,0,6.0, 15/06/98,1 3,2138,1,1,0,14.4, 15/06/98,1 3,2148,1,1,0,12.5, 15/06/98,1 3,2228,1,1,0,7.7, 15/06/98,1 3,2238,1,1,0,3.2, 15/06/98,1 3,1728,2,1,0,2.0, 16/06/98,1 3,1818,2,1,0,6.6, 16/06/98,1 3,1828,2,1,0,6.2, 16/06/98,1 3,1918,2,1,0,8.2, 16/06/98,1 3,1928,2,1,0,6.4, 16/06/98,1 1,2039,2,1,0,9.0, 16/06/98,1 1,2059,2,1,0,11.7, 16/06/98,1 1,2149,2,1,0,14.1, 16/06/98,1 1,2159,2,1,0,14.7, 16/06/98,1 1,2249,2,1,0,8.7, 16/06/98,1 2,1719,4,1,0,0.5, 17/06/98,1 2,1729,4,1,0,2.3, 17/06/98,1 2,1819,4,1,0,6.6, 17/06/98,1 2,1829,4,1,0,6.8, 17/06/98,1 2,1919,4,1,0,7.2, 17/06/98,1 2,1929,4,1,0,3.9, 17/06/98,1 3,2058,4,1,0,5.9, 17/06/98,1 3,2138,4,1,0,13.9, 17/06/98,1 3,2148,4,1,0,12.0, 17/06/98,1 3,2228,4,1,0,9.5, 17/06/98,1 3,2238,4,1,0,5.6, 17/06/98,1 2,1719,8,1,0,0.4, 18/06/98,1 2,1729,8,1,0,2.6, 18/06/98,1 2,1819,8,1,0,6.4, 18/06/98,1 2,1829,8,1,0,6.4, 18/06/98,1 2,1919,8,1,0,6.1, 18/06/98,1 2,1929,8,1,0,3.6, 18/06/98,1 1,2039,8,1,0,14.1, 18/06/98,1 1,2059,8,1,0,17.6, 18/06/98,1 1,2149,8,1,0,22.9, 18/06/98,1 1,2159,8,1,0,22.0, 18/06/98,1 1,2249,8,1,0,15.3, 18/06/98,1 1,2259,8,1,0,7.9, 18/06/98,1 1,1729,16,1,0,3.6, 19/06/98,1 1,1819,16,1,0,6.4, 19/06/98,1 1,1829,16,1,0,6.5, 19/06/98,1 1,1919,16,1,0,7.5, 19/06/98,1 3,2058,16,1,0,4.2, 19/06/98,1 3,2138,16,1,0,7.2, 19/06/98,1 3,2148,16,1,0,6.8, 19/06/98,1 3,2228,16,1,0,6.2, 19/06/98,1 3,2238,16,1,0,5.6, 19/06/98,1 3,1428,32,1,0,2.0, 20/06/98,1 3,1518,32,1,0,4.7, 20/06/98,1 3,1528,32,1,0,4.3, 20/06/98,1 3,1618,32,1,0,4.2, 20/06/98,1 3,1628,32,1,0,2.6, 20/06/98,1 1,1729,32,1,0,2.9, 20/06/98,1 1,1819,32,1,0,6.0, 20/06/98,1 1,1829,32,1,0,6.1, 20/06/98,1 1,1919,32,1,0,6.0, 20/06/98,1 2,2059,32,1,0,3.2, 20/06/98,1 2,2139,32,1,0,7.3, 20/06/98,1 2,2149,32,1,0,6.3, 20/06/98,1 2,2229,32,1,0,3.9, 20/06/98,1 2,2239,32,1,0,2.6, 20/06/98,1 1,1429,64,1,0,4.9, 21/06/98,1 1,1519,64,1,0,8.9, 21/06/98,1 1,1529,64,1,0,8.8, 21/06/98,1 1,1619,64,1,0,6.8, 21/06/98,1 2,1719,64,1,0,1.6, 21/06/98,1 2,1729,64,1,0,4.0, 21/06/98,1 2,1819,64,1,0,8.1, 21/06/98,1 2,1829,64,1,0,7.2, 21/06/98,1 2,1919,64,1,0,6.4, 21/06/98,1 2,1929,64,1,0,6.1, 21/06/98,1 3,2058,64,1,0,4.3, 21/06/98,1 3,2138,64,1,0,10.5, 21/06/98,1 3,2148,64,1,0,9.0, 21/06/98,1 3,2228,64,1,0,8.1, 21/06/98,1 3,2238,64,1,0,3.9, 21/06/98,1 3,1718,1,1,0,0.7, 22/06/98,1 3,1728,1,1,0,1.7, 22/06/98,1 3,1818,1,1,0,4.6, 22/06/98,1 3,1828,1,1,0,4.4, 22/06/98,1 3,1918,1,1,0,6.7, 22/06/98,1 3,1928,1,1,0,5.7, 22/06/98,1 1,2039,1,1,0,9.2, 22/06/98,1 1,2059,1,1,0,11.1, 22/06/98,1 1,2149,1,1,0,11.4, 22/06/98,1 1,2159,1,1,0,10.2, 22/06/98,1 1,2249,1,1,0,7.5, 22/06/98,1 1,1559,2,1,0,1.7, 23/06/98,1 1,1649,2,1,0,4.4, 23/06/98,1 1,1659,2,1,0,4.7, 23/06/98,1 1,1749,2,1,0,6.3, 23/06/98,1 1,1809,2,1,0,5.4, 23/06/98,1 2,2059,2,1,0,5.9, 23/06/98,1 2,2139,2,1,0,13.1, 23/06/98,1 2,2149,2,1,0,12.2, 23/06/98,1 2,2229,2,1,0,12.4, 23/06/98,1 2,2239,2,1,0,6.6, 23/06/98,1 2,1549,4,1,0,1.6, 24/06/98,1 2,1559,4,1,0,2.8, 24/06/98,1 2,1649,4,1,0,8.8, 24/06/98,1 2,1659,4,1,0,9.5, 24/06/98,1 2,1749,4,1,0,10.8, 24/06/98,1 2,1759,4,1,0,6.4, 24/06/98,1 1,2039,4,1,0,9.2, 24/06/98,1 1,2059,4,1,0,10.3, 24/06/98,1 1,2149,4,1,0,13.7, 24/06/98,1 1,2159,4,1,0,13.1, 24/06/98,1 1,2249,4,1,0,11.5, 24/06/98,1 1,2329,4,1,0,6.2, 24/06/98,1 1,2339,4,1,0,4.0, 24/06/98,1 1,2429,4,1,0,2.0, 24/06/98,1 3,1559,8,1,0,2.6, 25/06/98,1 3,1648,8,1,0,5.3, 25/06/98,1 3,1658,8,1,0,5.2, 25/06/98,1 3,1748,8,1,0,6.1, 25/06/98,1 3,1758,8,1,0,3.6, 25/06/98,1 2,2059,8,1,0,5.9, 25/06/98,1 2,2139,8,1,0,11.9, 25/06/98,1 2,2149,8,1,0,10.9, 25/06/98,1 2,2239,8,1,0,7.2, 25/06/98,1 1,1559,16,1,0,2.1, 26/06/98,1 1,1649,16,1,0,4.3, 26/06/98,1 1,1659,16,1,0,4.3, 26/06/98,1 1,1749,16,1,0,5.5, 26/06/98,1 1,1809,16,1,0,4.1, 26/06/98,1 3,2058,16,1,0,6.1, 26/06/98,1 3,2138,16,1,0,12.8, 26/06/98,1 3,2148,16,1,0,12.6, 26/06/98,1 3,2238,16,1,0,8.7, 26/06/98,1 2,1619,32,1,0,2.7, 27/06/98,1 2,1629,32,1,0,5.1, 27/06/98,1 2,1719,32,1,0,9.0, 27/06/98,1 2,1729,32,1,0,9.0, 27/06/98,1 1,2039,32,1,0,8.4, 27/06/98,1 1,2059,32,1,0,8.3, 27/06/98,1 1,2149,32,1,0,9.9, 27/06/98,1 1,2159,32,1,0,10.1, 27/06/98,1 1,2249,32,1,0,6.5, 27/06/98,1 1,1559,64,1,0,10.5, 28/06/98,1 1,1629,64,1,0,12.2, 28/06/98,1 1,1729,64,1,0,19.2, 28/06/98,1 1,1739,64,1,0,19.5, 28/06/98,1 1,1779,64,1,0,21.5, 28/06/98,1 1,1829,64,1,0,15.1, 28/06/98,1 2,2059,64,1,0,5.9, 28/06/98,1 2,2139,64,1,0,9.5, 28/06/98,1 2,2149,64,1,0,8.4, 28/06/98,1 2,2229,64,1,0,10.2, 28/06/98,1 2,2239,64,1,0,3.8, 28/06/98,1 3,1618,1,1,0,1.0, 29/06/98,1 3,1628,1,1,0,1.7, 29/06/98,1 3,1718,1,1,0,5.6, 29/06/98,1 3,1728,1,1,0,6.5, 29/06/98,1 3,1818,1,1,0,7.7, 29/06/98,1 3,1828,1,1,0,4.8, 29/06/98,1 3,2058,1,1,0,5.9, 29/06/98,1 3,2138,1,1,0,12.6, 29/06/98,1 3,2148,1,1,0,12.2, 29/06/98,1 3,2228,1,1,0,11.7, 29/06/98,1 3,2238,1,1,0,6.1, 29/06/98,1 3,1628,2,1,0,1.8, 30/06/98,1 3,1718,2,1,0,5.7, 30/06/98,1 3,1728,2,1,0,5.9, 30/06/98,1 3,1818,2,1,0,6.7, 30/06/98,1 3,1828,2,1,0,4.8, 30/06/98,1 1,2039,2,1,0,9.4, 30/06/98,1 1,2059,2,1,0,11.1, 30/06/98,1 1,2149,2,1,0,15.7, 30/06/98,1 1,2159,2,1,0,16.9, 30/06/98,1 1,2249,2,1,0,20.6, 30/06/98,1 3,1718,16,1,0,6.5, 03/07/98,1 3,1728,16,1,0,9.9, 03/07/98,1 3,1818,16,1,0,21.1, 03/07/98,1 3,1828,16,1,0,20.8, 03/07/98,1 3,1888,16,1,0,25.5, 03/07/98,1 3,1918,16,1,0,26.7, 03/07/98,1 3,1928,16,1,0,16.3, 03/07/98,1 2,2059,16,1,0,4.9, 03/07/98,1 2,2139,16,1,0,15.5, 03/07/98,1 2,2149,16,1,0,16.2, 03/07/98,1 2,2229,16,1,0,11.7, 03/07/98,1 2,2239,16,1,0,6.3, 03/07/98,1 1,1629,32,1,0,3.6, 04/07/98,1 1,1729,32,1,0,9.1, 04/07/98,1 1,1739,32,1,0,9.5, 04/07/98,1 1,1829,32,1,0,8.0, 04/07/98,1 1,2039,32,1,0,6.8, 04/07/98,1 1,2059,32,1,0,8.0, 04/07/98,1 1,2149,32,1,0,11.6, 04/07/98,1 1,2159,32,1,0,12.2, 04/07/98,1 1,2249,32,1,0,8.8, 04/07/98,1 2,2059,2,1,0,7.2, 04/07/98,1 2,2139,2,1,0,21.2, 04/07/98,1 2,2149,2,1,0,20.1, 04/07/98,1 2,2189,2,1,0,26.7, 04/07/98,1 2,2229,2,1,0,13.4, 04/07/98,1 2,2239,2,1,0,5.4, 04/07/98,1 1,2039,4,1,0,14.2, 08/07/98,1 1,2059,4,1,0,15.7, 08/07/98,1 1,2149,4,1,0,26.2, 08/07/98,1 1,2159,4,1,0,26.2, 08/07/98,1 1,2249,4,1,0,24.6, 08/07/98,1 3,2058,32,1,0,5.6, 11/07/98,1 3,2138,32,1,0,11.7, 11/07/98,1 3,2149,32,1,0,11.4, 11/07/98,1 3,2228,32,1,0,11.2, 11/07/98,1 3,2238,32,1,0,4.1, 11/07/98,1 1,2059,64,1,0,22.7, 12/07/98,1 1,2149,64,1,0,34.5, 12/07/98,1 1,2159,64,1,0,34.0, 12/07/98,1 1,2249,64,1,0,30.0, 12/07/98,1 1,2259,64,1,0,8.7, 12/07/98,1 EOJ
cf8cacc641409e5b85aaa427d34f94c137b8dd5d
449d555969bfd7befe906877abab098c6e63a0e8
/551/CH4/EX4.32/32.sce
b97de6dd6d54d8520dcdb69207ba1585ddbe55dd
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
380
sce
32.sce
clc V1=0.15; //m^3 p1=15; //bar T1=550; //K T2=T1; r=4; //r=V2/V1 V2=r*V1; T3=290; //K p2=p1*V1/V2; W_12=p1*V1*log(V2/V1)*10^2; //kJ V3=V2; p3=p2*T3/T2; W_23=0; n=log(p1/p3)/log(V3/V1); W_31=(p3*V3-p1*V1)/(n-1)*10^2; //kJ disp("net work done = ") Wnet=W_12+W_23+W_31 disp("kJ") Qnet=Wnet; disp("Heat transferred during the cycle = ") disp(Qnet) disp("kJ")
f83fd2466f447afab3dea31ad84cb8b6423fcf63
449d555969bfd7befe906877abab098c6e63a0e8
/3574/CH12/EX12.2/EX12_2.sce
38946081198dbbe4a56ea80346abef1b8e63c24d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,276
sce
EX12_2.sce
// Example 12.2 // Computation of (a) No load voltage (b) Voltage regulation // (c) Resistance setting of rheostat necessary to obtain rated voltage // at rated conditions // Page No. 487 clc; clear; close; // Given data P=300000; // Shunt generator power rating VT=240; // Shunt generator voltage rating Ra=0.00234; // Armature winding resistance RIP=0.00080; // Resistance of interpole winding Fnet=5100; // Net mmf Vnl=255; // No load voltage Vrated=240; // Rated voltage Nf=1020; // Turns per pole Vf=120; // Source that separately excites the generator If=5.69; Rf=18.1; // (a) No load voltage Ia=P/VT; // Armature current Ea=VT+Ia*(Ra+RIP); // Armature emf Ff=Fnet/(1-0.121); // (b) Voltage regulation VR=(Vnl-Vrated)*100/Vrated; // (c) Resistance setting of rheostat necessary to obtain rated voltage at rated conditions If=Ff/Nf; Rrheo=(Vf/If)-Rf; // Rheostat setting // Display result on command window printf("\n No load voltage = %0.0f V ",Vnl); printf("\n Voltage regulation = %0.2f Percent ",VR); printf("\n Resistance setting of rheostat necessary = %0.0f Ohm",Rrheo);
bb48034a5366ce196ca7e92fd5a83df060589372
449d555969bfd7befe906877abab098c6e63a0e8
/275/CH2/EX2.2.41/Ch2_2_41.sce
aff562693f1e0fa7c390954b56ccbb7c1738f84b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
262
sce
Ch2_2_41.sce
clc disp("Example 2.41") printf("\n") disp("Calculate minimum value of capacitance used in the filter to keep ripple voltage below 2%") Vm=282.84 f=50 Idc=12*10^-3 r=0.02 RL=Vm/Idc C=(1/r)/(4*sqrt(3)*f*RL) printf("capacitor required >\t%e Farad\n",C)
2003294477fca9b02692d066204e5dda4eba9208
299721455523ed57682bfaa01171a2cad61590b9
/exp 1/Multiplication of Matrices.sce
fd25c666339c66e3bbb5a756176c4a940011317c
[]
no_license
Anupamgupta01/SCILAB-PROGRAMS
5acc63c3409fa62f02a1f60ed488c10c7d489b88
924a153d3227c007a3682b487a1ebd14a523da96
refs/heads/master
2023-05-11T14:14:25.453037
2021-06-05T22:25:37
2021-06-05T22:25:37
374,222,790
0
0
null
null
null
null
UTF-8
Scilab
false
false
803
sce
Multiplication of Matrices.sce
clc; m=input("Enter number of rows of the first Matrix: "); n=input("Enter number of columns of the first Matrix: "); p=input("Enter number of rows of the second Matrix: "); q=input("Enter number of columns of the second Matrix: "); if n==p disp('Matrices are conformable for multiplication') else disp('Matrices are not conformable for multiplication') break; end A=zeros(m,n) B=zeros(p,q) disp('enter the first Matrix') for i=1:m for j=1:n A(i,j)=input('\'); end end disp('enter the second Matrix') for i=1:p for j=1:q B(i,j)=input('\'); end end C=zeros(m,q); for i=1:m for j=1:q for k=1:n C(i,j)=C(i,j)+A(i,k)*B(k,j); end end end disp('The first matrix is') disp(A) disp('The Second matrix is') disp(B) disp('The product of the two matrices is') disp(C)
ccf70b4a1521d2a766efc1a42689264006ba4f63
48b28720abdd652b3faddcdd82d77b841fce24a9
/scilab/plotiterations.sci
7d6db7dd0787d7b9a54ac9c183cd101e764bc469
[]
no_license
mcodevb/math-modelling-book
4aceba280b0405848781023a2e899bbf7e0643ab
59b310d5d2072b4fd2637914757221071aad0c9e
refs/heads/master
2022-04-06T07:25:22.683663
2019-06-21T01:01:11
2019-06-21T01:01:11
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
839
sci
plotiterations.sci
function plotiterations(ics,n,b,bnds) for k = 1:size(ics,1), x = ics(k,1); y = ics(k,2); plot(x,y,'r-d'); for j = 1:n, x1 = nonlinearexample([x;y],b); plot([x1(1) x],[x1(2) y],'r-d'); if (x1(1) < bnds(1,1) | x1(2) < bnds(1,2) | x1(1) > bnds(2,1) | x1(2) > bnds(2,2)) then break end x = x1(1); y = x1(2); end end set(gca(),'data_bounds',bnds); endfunction function x1 = nonlinearexample(x0,b) x = x0(1); y = x0(2); x1 = [x*(1-x)+b*y; y/2+x]; endfunction clf ics = [.4 0; .78 0; .79 0; 1 0]; b = -0.25; eq0 = [0 0]; eq1 = [2*b 4*b]; bnds = [-1 -1.5; 1 1]; plotiterations(ics,24,b,bnds) plot(eq0(1),eq0(2),'b-o') plot(eq1(1),eq1(2),'b-o') xs2eps(0,'nonlinearexample.eps')
4d431c22e83238b482868ebc74c7f88a9f1e7691
931df7de6dffa2b03ac9771d79e06d88c24ab4ff
/CPS TEST.sce
66caa5da4f76e05b9a401845cadd385bdd01ed1f
[]
no_license
MBHuman/Scenarios
be1a722825b3b960014b07cda2f12fa4f75c7fc8
1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137
refs/heads/master
2023-01-14T02:10:25.103083
2020-11-21T16:47:14
2020-11-21T16:47:14
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
15,484
sce
CPS TEST.sce
Name=CPS test PlayerCharacters=clicker BotCharacters=actualbot.bot IsChallenge=true Timelimit=10.0 PlayerProfile=clicker AddedBots=actualbot.bot PlayerMaxLives=0 BotMaxLives=0 PlayerTeam=1 BotTeams=2 MapName=cps.map MapScale=2.0 BlockProjectilePredictors=true BlockCheats=true InvinciblePlayer=true InvincibleBots=true Timescale=1.0 BlockHealthbars=true TimeRefilledByKill=0.0 ScoreToWin=0.0 ScorePerDamage=0.1 ScorePerKill=0.0 ScorePerMidairDirect=0.0 ScorePerAnyDirect=0.0 ScorePerTime=0.0 ScoreLossPerDamageTaken=0.0 ScoreLossPerDeath=0.0 ScoreLossPerMidairDirected=0.0 ScoreLossPerAnyDirected=0.0 ScoreMultAccuracy=false ScoreMultDamageEfficiency=false ScoreMultKillEfficiency=false GameTag=Spam, Button mashing WeaponHeroTag=steve DifficultyTag=3 AuthorsTag=bozott BlockHitMarkers=false BlockHitSounds=false BlockMissSounds=false BlockFCT=false Description=test how fast you click GameVersion=1.0.5 [Aim Profile] Name=Default MinReactionTime=0.3 MaxReactionTime=0.4 MinSelfMovementCorrectionTime=0.001 MaxSelfMovementCorrectionTime=0.05 FlickFOV=30.0 FlickSpeed=1.5 FlickError=15.0 TrackSpeed=3.5 TrackError=3.5 MaxTurnAngleFromPadCenter=75.0 MinRecenterTime=0.3 MaxRecenterTime=0.5 OptimalAimFOV=30.0 OuterAimPenalty=1.0 MaxError=40.0 ShootFOV=15.0 VerticalAimOffset=0.0 MaxTolerableSpread=5.0 MinTolerableSpread=1.0 TolerableSpreadDist=2000.0 MaxSpreadDistFactor=2.0 [Bot Profile] Name=actualbot DodgeProfileNames=dofpuckingnothing DodgeProfileWeights=1.0 DodgeProfileMaxChangeTime=5.0 DodgeProfileMinChangeTime=1.0 WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0 AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default WeaponSwitchTime=3.0 UseWeapons=true CharacterProfile=bigguy SeeThroughWalls=false [Character Profile] Name=clicker MaxHealth=100.0 WeaponProfileNames=cpsgun;;;;;;; MinRespawnDelay=1.0 MaxRespawnDelay=5.0 StepUpHeight=75.0 CrouchHeightModifier=0.5 CrouchAnimationSpeed=1.0 CameraOffset=X=0.000 Y=0.000 Z=0.000 HeadshotOnly=false DamageKnockbackFactor=8.0 MovementType=Base MaxSpeed=1000.0 MaxCrouchSpeed=500.0 Acceleration=16000.0 AirAcceleration=16000.0 Friction=8.0 BrakingFrictionFactor=2.0 JumpVelocity=800.0 Gravity=100.0 AirControl=0.25 CanCrouch=true CanPogoJump=false CanCrouchInAir=false CanJumpFromCrouch=false EnemyBodyColor=X=255.000 Y=0.000 Z=0.000 EnemyHeadColor=X=255.000 Y=255.000 Z=255.000 TeamBodyColor=X=0.000 Y=0.000 Z=255.000 TeamHeadColor=X=255.000 Y=255.000 Z=255.000 BlockSelfDamage=false InvinciblePlayer=false InvincibleBots=false BlockTeamDamage=false AirJumpCount=0 AirJumpVelocity=800.0 MainBBType=Cylindrical MainBBHeight=230.0 MainBBRadius=55.0 MainBBHasHead=true MainBBHeadRadius=45.0 MainBBHeadOffset=0.0 MainBBHide=false ProjBBType=Cylindrical ProjBBHeight=230.0 ProjBBRadius=55.0 ProjBBHasHead=true ProjBBHeadRadius=45.0 ProjBBHeadOffset=0.0 ProjBBHide=true HasJetpack=false JetpackActivationDelay=0.2 JetpackFullFuelTime=4.0 JetpackFuelIncPerSec=1.0 JetpackFuelRegensInAir=false JetpackThrust=6000.0 JetpackMaxZVelocity=400.0 JetpackAirControlWithThrust=0.25 AbilityProfileNames=;;; HideWeapon=false AerialFriction=0.0 StrafeSpeedMult=1.0 BackSpeedMult=1.0 RespawnInvulnTime=0.0 BlockedSpawnRadius=0.0 BlockSpawnFOV=0.0 BlockSpawnDistance=0.0 RespawnAnimationDuration=0.5 AllowBufferedJumps=true BounceOffWalls=false LeanAngle=0.0 LeanDisplacement=0.0 AirJumpExtraControl=0.0 ForwardSpeedBias=1.0 HealthRegainedonkill=0.0 HealthRegenPerSec=0.0 HealthRegenDelay=0.0 JumpSpeedPenaltyDuration=0.0 JumpSpeedPenaltyPercent=0.25 [Character Profile] Name=bigguy MaxHealth=10000.0 WeaponProfileNames=;;;;;;; MinRespawnDelay=1.0 MaxRespawnDelay=5.0 StepUpHeight=0.0 CrouchHeightModifier=0.5 CrouchAnimationSpeed=1.0 CameraOffset=X=0.000 Y=0.000 Z=0.000 HeadshotOnly=false DamageKnockbackFactor=8.0 MovementType=Base MaxSpeed=0.0 MaxCrouchSpeed=500.0 Acceleration=0.0 AirAcceleration=16000.0 Friction=0.0 BrakingFrictionFactor=0.0 JumpVelocity=0.0 Gravity=100.0 AirControl=0.25 CanCrouch=false CanPogoJump=false CanCrouchInAir=false CanJumpFromCrouch=false EnemyBodyColor=X=255.000 Y=0.000 Z=0.000 EnemyHeadColor=X=255.000 Y=255.000 Z=255.000 TeamBodyColor=X=0.000 Y=0.000 Z=255.000 TeamHeadColor=X=255.000 Y=255.000 Z=255.000 BlockSelfDamage=false InvinciblePlayer=false InvincibleBots=false BlockTeamDamage=false AirJumpCount=0 AirJumpVelocity=800.0 MainBBType=Spheroid MainBBHeight=300.0 MainBBRadius=150.0 MainBBHasHead=false MainBBHeadRadius=0.1 MainBBHeadOffset=0.0 MainBBHide=false ProjBBType=Spheroid ProjBBHeight=2.0 ProjBBRadius=0.1 ProjBBHasHead=false ProjBBHeadRadius=0.1 ProjBBHeadOffset=0.0 ProjBBHide=true HasJetpack=false JetpackActivationDelay=0.2 JetpackFullFuelTime=4.0 JetpackFuelIncPerSec=1.0 JetpackFuelRegensInAir=false JetpackThrust=6000.0 JetpackMaxZVelocity=400.0 JetpackAirControlWithThrust=0.25 AbilityProfileNames=;;; HideWeapon=true AerialFriction=0.0 StrafeSpeedMult=1.0 BackSpeedMult=1.0 RespawnInvulnTime=0.0 BlockedSpawnRadius=0.0 BlockSpawnFOV=360.0 BlockSpawnDistance=0.0 RespawnAnimationDuration=0.5 AllowBufferedJumps=true BounceOffWalls=false LeanAngle=0.0 LeanDisplacement=0.0 AirJumpExtraControl=0.0 ForwardSpeedBias=1.0 HealthRegainedonkill=0.0 HealthRegenPerSec=0.0 HealthRegenDelay=0.0 JumpSpeedPenaltyDuration=0.0 JumpSpeedPenaltyPercent=0.25 [Dodge Profile] Name=dofpuckingnothing MaxTargetDistance=100000.0 MinTargetDistance=0.0 ToggleLeftRight=false ToggleForwardBack=false MinLRTimeChange=0.2 MaxLRTimeChange=0.5 MinFBTimeChange=0.2 MaxFBTimeChange=0.5 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.0 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.0 TargetStrafeOverride=Ignore TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.3 MaxCrouchTime=0.6 MinJumpTime=0.3 MaxJumpTime=0.6 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=0.25 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Weapon Profile] Name=cpsgun Type=Hitscan ShotsPerClick=1 DamagePerShot=1.0 KnockbackFactor=4.0 TimeBetweenShots=0.01 Pierces=false Category=SemiAuto BurstShotCount=1 TimeBetweenBursts=0.5 ChargeStartDamage=10.0 ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000 ChargeTimeToAutoRelease=2.0 ChargeTimeToCap=1.0 ChargeMoveSpeedModifier=1.0 MuzzleVelocityMin=X=2000.000 Y=0.000 Z=0.000 MuzzleVelocityMax=X=2000.000 Y=0.000 Z=0.000 InheritOwnerVelocity=0.0 OriginOffset=X=0.000 Y=0.000 Z=0.000 MaxTravelTime=5.0 MaxHitscanRange=100000.0 GravityScale=1.0 HeadshotCapable=true HeadshotMultiplier=2.0 MagazineMax=0 AmmoPerShot=1 ReloadTimeFromEmpty=0.5 ReloadTimeFromPartial=0.5 DamageFalloffStartDistance=100000.0 DamageFalloffStopDistance=100000.0 DamageAtMaxRange=25.0 DelayBeforeShot=0.0 HitscanVisualEffect=Tracer ProjectileGraphic=Ball VisualLifetime=0.1 WallParticleEffect=None HitParticleEffect=None BounceOffWorld=false BounceFactor=0.5 BounceCount=0 HomingProjectileAcceleration=0.0 ProjectileEnemyHitRadius=1.0 CanAimDownSight=false ADSZoomDelay=0.0 ADSZoomSensFactor=0.7 ADSMoveFactor=1.0 ADSStartDelay=0.0 ShootSoundCooldown=0.08 HitSoundCooldown=0.08 HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000 ADSBlocksShooting=false ShootingBlocksADS=false KnockbackFactorAir=4.0 RecoilNegatable=false DecalType=0 DecalSize=30.0 DelayAfterShooting=0.0 BeamTracksCrosshair=false AlsoShoot= ADSShoot= StunDuration=0.0 CircularSpread=true SpreadStationaryVelocity=300.0 PassiveCharging=false BurstFullyAuto=true FlatKnockbackHorizontal=0.0 FlatKnockbackVertical=0.0 HitscanRadius=0.0 HitscanVisualRadius=6.0 TaggingDuration=0.0 TaggingMaxFactor=1.0 TaggingHitFactor=1.0 ProjectileTrail=None RecoilCrouchScale=1.0 RecoilADSScale=1.0 PSRCrouchScale=1.0 PSRADSScale=1.0 ProjectileAcceleration=0.0 AccelIncludeVertical=false AimPunchAmount=0.0 AimPunchResetTime=0.2 AimPunchCooldown=0.5 AimPunchHeadshotOnly=false AimPunchCosmeticOnly=false MinimumDecelVelocity=0.0 PSRManualNegation=false PSRAutoReset=true AimPunchUpTime=0.05 AmmoReloadedOnKill=1 CancelReloadOnKill=false FlatKnockbackHorizontalMin=0.0 FlatKnockbackVerticalMin=0.0 ADSScope=No Scope ADSFOVOverride=103.0 ADSFOVScale=Clamped Horizontal ADSAllowUserOverrideFOV=false Explosive=false Radius=500.0 DamageAtCenter=100.0 DamageAtEdge=100.0 SelfDamageMultiplier=0.5 ExplodesOnContactWithEnemy=false DelayAfterEnemyContact=0.0 ExplodesOnContactWithWorld=false DelayAfterWorldContact=0.0 ExplodesOnNextAttack=false DelayAfterSpawn=0.0 BlockedByWorld=false SpreadSSA=1.0,1.0,-1.0,5.0 SpreadSCA=1.0,1.0,-1.0,5.0 SpreadMSA=1.0,1.0,-1.0,5.0 SpreadMCA=1.0,1.0,-1.0,5.0 SpreadSSH=1.0,1.0,-1.0,5.0 SpreadSCH=1.0,1.0,-1.0,5.0 SpreadMSH=1.0,1.0,-1.0,5.0 SpreadMCH=1.0,1.0,-1.0,5.0 MaxRecoilUp=0.0 MinRecoilUp=0.0 MinRecoilHoriz=0.0 MaxRecoilHoriz=0.0 FirstShotRecoilMult=1.0 RecoilAutoReset=false TimeToRecoilPeak=0.05 TimeToRecoilReset=0.35 AAMode=0 AAPreferClosestPlayer=false AAAlpha=0.05 AAMaxSpeed=1.0 AADeadZone=0.0 AAFOV=30.0 AANeedsLOS=true TrackHorizontal=true TrackVertical=true AABlocksMouse=false AAOffTimer=0.0 AABackOnTimer=0.0 TriggerBotEnabled=false TriggerBotDelay=0.0 TriggerBotFOV=1.0 StickyLock=false HeadLock=false VerticalOffset=0.0 DisableLockOnKill=false UsePerShotRecoil=false PSRLoopStartIndex=0 PSRViewRecoilTracking=0.45 PSRCapUp=9.0 PSRCapRight=4.0 PSRCapLeft=4.0 PSRTimeToPeak=0.175 PSRResetDegreesPerSec=40.0 UsePerBulletSpread=false [Map Data] reflex map version 8 global entity type WorldSpawn String32 targetGameOverCamera end UInt8 playersMin 1 UInt8 playersMax 16 brush vertices -256.000000 0.000000 256.000000 0.000000 0.000000 256.000000 0.000000 0.000000 -256.000000 -256.000000 0.000000 -256.000000 -256.000000 -16.000000 256.000000 0.000000 -16.000000 256.000000 0.000000 -16.000000 -256.000000 -256.000000 -16.000000 -256.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 structural/dev/dev_grey128 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 structural/dev/dev_grey128 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 structural/dev/dev_grey128 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 structural/dev/dev_grey128 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 structural/dev/dev_grey128 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 structural/dev/dev_grey128 brush vertices 0.000000 208.000000 272.000000 16.000000 208.000000 272.000000 16.000000 208.000000 -272.000000 0.000000 208.000000 -272.000000 0.000000 -16.000000 272.000000 16.000000 -16.000000 272.000000 16.000000 -16.000000 -272.000000 0.000000 -16.000000 -272.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -256.000000 208.000000 -256.000000 0.000000 208.000000 -256.000000 0.000000 208.000000 -272.000000 -256.000000 208.000000 -272.000000 -256.000000 -16.000000 -256.000000 0.000000 -16.000000 -256.000000 0.000000 -16.000000 -272.000000 -256.000000 -16.000000 -272.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -256.000000 208.000000 256.000000 0.000000 208.000000 256.000000 0.000000 208.000000 -256.000000 -256.000000 208.000000 -256.000000 -256.000000 192.000000 256.000000 0.000000 192.000000 256.000000 0.000000 192.000000 -256.000000 -256.000000 192.000000 -256.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 structural/dev/dev_grey128 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 structural/dev/dev_grey128 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 structural/dev/dev_grey128 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 structural/dev/dev_grey128 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 structural/dev/dev_grey128 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 structural/dev/dev_grey128 brush vertices -272.000000 208.000000 272.000000 -256.000000 208.000000 272.000000 -256.000000 208.000000 -272.000000 -272.000000 208.000000 -272.000000 -272.000000 -16.000000 272.000000 -256.000000 -16.000000 272.000000 -256.000000 -16.000000 -272.000000 -272.000000 -16.000000 -272.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 brush vertices -256.000000 208.000000 272.000000 0.000000 208.000000 272.000000 0.000000 208.000000 256.000000 -256.000000 208.000000 256.000000 -256.000000 -16.000000 272.000000 0.000000 -16.000000 272.000000 0.000000 -16.000000 256.000000 -256.000000 -16.000000 256.000000 faces 0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 entity type PlayerSpawn Vector3 position -128.000000 64.000000 -144.000000 Bool8 teamB 0 entity type CameraPath UInt8 posLerp 2 UInt8 angleLerp 2 entity type Effect Vector3 position 0.000000 256.000000 0.000000 String64 effectName internal/misc/reflectionprobe entity type Target Vector3 position 320.000000 256.000000 320.000000 Vector3 angles -135.000000 30.000000 0.000000 String32 name end entity type PlayerSpawn Vector3 position -128.000000 64.000000 144.000000 Vector3 angles 180.000000 0.000000 0.000000 Bool8 teamA 0
f08130b5759e27b53bd1ecad9bf73ea17be16765
449d555969bfd7befe906877abab098c6e63a0e8
/3875/CH10/EX10.17/10_17.sce
b97570e6ef82b8046a6931dbfb364597c584e992
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
655
sce
10_17.sce
clc; clear; h=6.63*10^-34 //Plancks constant in J-s c=3*10^8 //velocity of light in m/s E0=6.20*10^3 //energy of photon in keV freq_s=0.5/100 //frequency shift m=9.1*10^-31 //mass in kg //CALCULATION lambda0=(h*c)/(E0*1.6*10^-19) //wavelength in m delta_E=(freq_s*E0)/10^3 //Loss in energy of photon in keV E=(E0/10^3)-delta_E //energy of scattered photon on keV lambda=(h*c)/(E*10^3*1.6*10^-19) //wavelength of scattered photon in m delta_lambda=lambda-lambda0 //compton shift phi=acosd(1-(m*c*delta_lambda)/h) mprintf("The angle through which Xray is scattered is = %2.1f degree",phi) //The answer varies due to round off error.
ae1889b59e11dd1c616ddf6af275848a493566e8
449d555969bfd7befe906877abab098c6e63a0e8
/2279/CH4/EX4.26/eg_4_26.sce
0b55d5c1b0b3a0b03368d82a168c091a15294c13
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
901
sce
eg_4_26.sce
//Interconnectiuion of LTI systems n=-10:10; for i=1:length(n) if(n(i)==0) h1(i)=2; else h1(i)=1; end end for i=1:length(n) if(n(i)==2) h2(i)=1; else h2(i)=0; end end for i=1:length(n) if(n(i)>=1) h3(i)=1; else h3(i)=0; end end for i=1:length(n) if(n(i)>= -1) h4(i)=1; else h4(i)=0; end end for i=1:length(n) h5(i)=n(i); h6(i)=1; end h23=h2.*h3; h234=h4+h23; h1234=h1.*h234; h56=h5.*h6; h=h56+h1234; x=[1 -0.5]; n1=[0 1]; y=convol(x,h); n2=-10:11; subplot(3,1,1) xtitle("input signal x(n)","....................n","x[n]"); plot(n1,x,'.'); subplot(3,1,2) xtitle("system response h(n)","....................n","h[n]"); plot(n,h,'.'); subplot(3,1,3) xtitle("output signal y(n)",".............................n","y[n]"); plot(n2,y,'.');
105fded30601da9d3e8ed3f639edc619950fb276
449d555969bfd7befe906877abab098c6e63a0e8
/269/CH10/EX10.15/ex15.sce
70aa07d103cb6df8bbcb1e289d561b2d76c01922
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
164
sce
ex15.sce
s=%s p=s^3+2*s^2+2*s+40 h=routh_t(p) disp(h) disp("from the table there is a sign change ") disp("from 2 to -18 and -18 t0 40 and hence system is not stable ")
2161707569f990984904b28ce570a148031d38d2
449d555969bfd7befe906877abab098c6e63a0e8
/2159/CH10/EX10.16/1016.sce
e2221c9b6004ac6eeaef5480be3e5703e002849a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
172
sce
1016.sce
// problem 10.16 sg=1.08 w=9810*sg Q=0.3 H=12 no=0.75 P=w*Q*H/(no*1000) p=w*H disp(p,P,"power in Kw required by the pump,pressure developed by the pump in N/m2")
d93abd46f10f0bcaec3b2c10b02fe298b99af0ef
1bb72df9a084fe4f8c0ec39f778282eb52750801
/test/TX54.prev.tst
dd856f3521c4b3cbad6c36214ae702c55c308aeb
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
gfis/ramath
498adfc7a6d353d4775b33020fdf992628e3fbff
b09b48639ddd4709ffb1c729e33f6a4b9ef676b5
refs/heads/master
2023-08-17T00:10:37.092379
2023-08-04T07:48:00
2023-08-04T07:48:00
30,116,803
2
0
null
null
null
null
UTF-8
Scilab
false
false
3,922
tst
TX54.prev.tst
TranspositionSet={[1,0,2]} considerNonPrimitive Expanding for base=2, level=4, reasons+features=base,transpose,primitive,same,similiar norm Refined variables=x,y,z [0+1x,0+1y,0+1z]: unknown -> [1] [0,0,0] -x³-3x²*y-3x*y²-y³+3x²*z+5x*y*z+3y²*z-3x*z²-3y*z²+z³ -> solution [0,0,0],trivial(3) [1,0,1],trivial(3) [0,1,1],trivial(3) ---------------- level 0 expanding queue[0]^-1,meter=[2,2,2]: -x³-3x²*y-3x*y²-y³+3x²*z+5x*y*z+3y²*z-3x*z²-3y*z²+z³ [0+2x,0+2y,0+2z]: non-primitive -> solution [0,0,0],trivial(3) [2,0,2],trivial(3) [0,2,2],trivial(3) [1+2x,1+2y,0+2z]: unknown -> [1] [1,1,0] 12x+12x²+4x³+12y+24x*y+12x²*y+12y²+12x*y²+4y³-11z-22x*z-12x²*z-22y*z-20x*y*z-12y²*z+12z²+12x*z²+12y*z²-4z³+4 [1+2x,0+2y,1+2z]: unknown -> [2] [1,0,1] 4x³+y+2x*y+12x²*y+12x*y²+4y³-12x²*z+2y*z-20x*y*z-12y²*z+12x*z²+12y*z²-4z³ -> solution [1,0,1],trivial(3) [3,0,3],trivial(3) [0+2x,1+2y,1+2z]: transposed [2] by [1,0,2] endexp[0] ---------------- level 1 expanding queue[1]^0,meter=[1,1,2]: 12x+12x²+4x³+12y+24x*y+12x²*y+12y²+12x*y²+4y³-11z-22x*z-12x²*z-22y*z-20x*y*z-12y²*z+12z²+12x*z²+12y*z²-4z³+4 [1+2x,1+2y,0+4z]: unknown -> [3] [0,0,0] 6x+6x²+2x³+6y+12x*y+6x²*y+6y²+6x*y²+2y³-11z-22x*z-12x²*z-22y*z-20x*y*z-12y²*z+24z²+24x*z²+24y*z²-16z³+2 endexp[1] expanding queue[2]^0,meter=[1,2,1]: 4x³+y+2x*y+12x²*y+12x*y²+4y³-12x²*z+2y*z-20x*y*z-12y²*z+12x*z²+12y*z²-4z³ [1+2x,0+4y,1+2z]: unknown -> [4] [0,0,0] 2x³+y+2x*y+12x²*y+24x*y²+16y³-6x²*z+2y*z-20x*y*z-24y²*z+6x*z²+12y*z²-2z³ -> solution [1,0,1],trivial(3) [3,0,3],trivial(3) endexp[2] ---------------- level 2 expanding queue[3]^1,meter=[1,1,2]: 6x+6x²+2x³+6y+12x*y+6x²*y+6y²+6x*y²+2y³-11z-22x*z-12x²*z-22y*z-20x*y*z-12y²*z+24z²+24x*z²+24y*z²-16z³+2 [1+2x,1+2y,0+8z]: unknown -> [5] [0,0,0] 3x+3x²+x³+3y+6x*y+3x²*y+3y²+3x*y²+y³-11z-22x*z-12x²*z-22y*z-20x*y*z-12y²*z+48z²+48x*z²+48y*z²-64z³+1 endexp[3] expanding queue[4]^2,meter=[1,2,1]: 2x³+y+2x*y+12x²*y+24x*y²+16y³-6x²*z+2y*z-20x*y*z-24y²*z+6x*z²+12y*z²-2z³ [1+2x,0+8y,1+2z]: unknown -> [6] [0,0,0] x³+y+2x*y+12x²*y+48x*y²+64y³-3x²*z+2y*z-20x*y*z-48y²*z+3x*z²+12y*z²-z³ -> solution [1,0,1],trivial(3) [3,0,3],trivial(3) endexp[4] ---------------- level 3 expanding queue[5]^3,meter=[2,2,2]: 3x+3x²+x³+3y+6x*y+3x²*y+3y²+3x*y²+y³-11z-22x*z-12x²*z-22y*z-20x*y*z-12y²*z+48z²+48x*z²+48y*z²-64z³+1 [3+4x,1+4y,0+16z]: unknown -> [7] [1,0,0] 12x+12x²+4x³+12y+24x*y+12x²*y+12y²+12x*y²+4y³-45z-92x*z-48x²*z-84y*z-80x*y*z-48y²*z+192z²+192x*z²+192y*z²-256z³+4 [1+4x,3+4y,0+16z]: transposed [7] by [1,0,2] [1+4x,1+4y,8+16z]: unknown -> [8] [0,0,1] 29x-18x²+4x³+29y-28x*y+12x²*y-18y²+12x*y²+4y³-107z+148x*z-48x²*z+148y*z-80x*y*z-48y²*z-288z²+192x*z²+192y*z²-256z³-13 [3+4x,3+4y,8+16z]: unknown -> [9] [1,1,1] 9x-6x²+4x³+9y-4x*y+12x²*y-6y²+12x*y²+4y³-3z+60x*z-48x²*z+60y*z-80x*y*z-48y²*z-96z²+192x*z²+192y*z²-256z³+4 endexp[5] expanding queue[6]^4,meter=[2,2,2]: x³+y+2x*y+12x²*y+48x*y²+64y³-3x²*z+2y*z-20x*y*z-48y²*z+3x*z²+12y*z²-z³ [1+4x,0+16y,1+4z]: unknown -> [10] [0,0,0] 4x³+y+4x*y+48x²*y+192x*y²+256y³-12x²*z+4y*z-80x*y*z-192y²*z+12x*z²+48y*z²-4z³ -> solution [1,0,1],trivial(3) [5,0,5],trivial(3) [3+4x,8+16y,1+4z]: unknown -> [11] [1,1,0] 77x+30x²+4x³+303y+244x*y+48x²*y+480y²+192x*y²+256y³-69z-52x*z-12x²*z-228y*z-80x*y*z-192y²*z+30z²+12x*z²+48y*z²-4z³+64 [3+4x,0+16y,3+4z]: unknown -> [12] [1,0,1] 4x³+9y+12x*y+48x²*y+192x*y²+256y³-12x²*z+12y*z-80x*y*z-192y²*z+12x*z²+48y*z²-4z³ -> solution [3,0,3],trivial(3) [7,0,7],trivial(3) [1+4x,8+16y,3+4z]: unknown -> [13] [0,1,1] 33x+18x²+4x³+111y+156x*y+48x²*y+288y²+192x*y²+256y³-25z-28x*z-12x²*z-140y*z-80x*y*z-192y²*z+18z²+12x*z²+48y*z²-4z³+15 endexp[6] ---------------- level 4 Maximum level 4 [14] mod 2: -x³-3x²*y-3x*y²-y³+3x²*z+5x*y*z+3y²*z-3x*z²-3y*z²+z³
b572ebe1f677f1f817ff649b1a14197eacaaef97
31cfd6fac62ce1e0f8bb81f96db3978b301d4fd2
/Equações Diferencias/Euler PVI/euler.sce
86ff74d441182757065d9d5db9799de804f1715b
[]
no_license
PierreVieira/Scilab_Programs
2205084b7356cf9ab68e8b04525e55fd7e29636c
63d717f04db929c81dc1ff7fa9eb886f3c6b6a8c
refs/heads/master
2020-09-09T00:59:34.924700
2020-03-17T18:46:50
2020-03-17T18:46:50
221,296,397
0
0
null
null
null
null
UTF-8
Scilab
false
false
83
sce
euler.sce
exec('euler.sci') a = 0; b = 1; m = 10; y0 = 1; [VetX, VetY] = Euler(a, b, m, y0);
08db471a712de61cc71a4bb53f1ceb6b7b55d150
449d555969bfd7befe906877abab098c6e63a0e8
/2330/CH9/EX9.11/ex9_11.sce
7398d7f9bab486ea44926da5ab77fb7087a97fe7
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
555
sce
ex9_11.sce
// Example 9.11 format('v',6) clc; clear; close; // given data V_E= 1.71;// in V R_E= 240;// in Ω V_CC= 12;// in V R_C= 1*10^3;// in Ω R_L= 1*10^3;// in Ω I= 0.355*10^-3;// in A I_CQ= V_E/R_E;// in A I_C= I_CQ;// in A // The collector emitter voltage, V_CEQ= V_CC-I_C*(R_C+R_E);// in V r_L= R_C*R_L/(R_C+R_L);// in Ω PP= 2*V_CEQ;// in V // The maximum ac load power, P_Lmax= PP^2/(8*R_L);// in W I_CC= I_C+I;// in A P_CC= V_CC*I_CC;// in W // The efficiency Eta= P_Lmax/P_CC*100;// in % disp(Eta,"The efficiency in % is : ")
01c985a52b1ad99b34653f0875e791a22b2a9e67
449d555969bfd7befe906877abab098c6e63a0e8
/551/CH12/EX12.20/20.sce
7d3d6a6310c85ea38e759fd29655a4ac19ab0497
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
487
sce
20.sce
clc h1=3250; //kJ/kg h2=2170; //kJ/kg h_f2=173.9; //kJ/kg W=h1-h2; Q=h1-h_f2; n_thermal=W/Q; disp("Thermal effifciency=") disp(n_thermal); x2=0.83; //From mollier chart disp("x2=") disp(x2) disp("Second case") h1=3250; //kJ/kg h2=2807; //kJ/kg h3=3263; //kJ/kg h4=2426; //kJ/kg h_f4=173.9; //kJ/kg W=h1-h2+h3-h4; Q=h1-h_f4+h3-h2; n_thermal=W/Q; disp("Thermal effifciency=") disp(n_thermal); x4=0.935; //From mollier chart disp("x4=") disp(x4)
00b18d78d92767941535ef2919997466f924cc84
127f3a4b49df924522f80739a53cc288d5521807
/tp2/exercice3.sci
fdf1a155e74a6ace5ff2730ec9df90b329be3dc5
[]
no_license
iimen/TD-TP-CN
94e90aae917e47b8cc4d6d8b80af803b0dc82986
81da5d066b4ae7f3a2947f2fd4f4e67a88b5863a
refs/heads/master
2023-01-24T16:23:51.161089
2020-12-17T12:29:55
2020-12-17T12:29:55
318,002,785
0
0
null
null
null
null
UTF-8
Scilab
false
false
211
sci
exercice3.sci
n=10; A= rand(n,n) B=rand(n,n) tic; C3b =matmat3b(A,B); toc; //***************** tic; C2b =matmat2b(A,B); toc; //***************** tic; C1b =matmat1b(A,B); toc; //**************** //plot2d(t,s,style=[-1]);
b6219b2964b6c5cab497d935611e39f2ebe7c05c
449d555969bfd7befe906877abab098c6e63a0e8
/1646/CH5/EX5.9/Ch05Ex9.sce
a934e238bda758f1d904813999cc955ba1ff3cd6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
422
sce
Ch05Ex9.sce
// Scilab Code Ex5.9: Page:300 (2011) clc;clear; D5 = 3.36e-003;....// Diameter of Newton's 5th ring, m D15 = 5.90e-003;....// Diameter of Newton's 15th ring, m m = 10; // Number of ring R = 1;....// Radius of the plano-convex lens, m lambda = (D15^2-D5^2)/(4*m*R); printf("\nThe wavelength of the light used = %4d angstrom", lambda/1e-010); // Result // The wavelength of the light used = 5880 angstrom
73e6bab45504ca71a1c445156e2631fa3d397be1
449d555969bfd7befe906877abab098c6e63a0e8
/3886/CH8/EX8.13/8_13.sce
de1cbf0aa6e14abfca36c6c404a40b23e9c33e91
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
353
sce
8_13.sce
//Force P to make motion impending to the left //Refer fig.8.17 N1=250 N2=1000*cosd(45) N3=500 F1=0.25*N1 //N F2=0.25*N2 //N F3=0.25*N3 //N //let us give virtual displacement towards left //Applying virtual work principle //(P-F1-1000*sind(45)-F2-F3)*delta(s)=0 P=F1+1000*sind(45)+F2+F3 //N printf("The required force is P=%.2f N",P)
3dfd3b8414b2d71c43a6f7675c7c5f0095aed4b6
449d555969bfd7befe906877abab098c6e63a0e8
/1775/CH2/EX2.19/Chapter2_Example19.sce
7fc7b60ba501cdacd103a414550d827146c451ff
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,246
sce
Chapter2_Example19.sce
//Chapter-2, Illustration 19, Page 77 //Title: Gas Power Cycles //============================================================================= clc clear //INPUT DATA T1=291;//Temperature at point 1 in K P1=100;//Pressure at point 1 in kN/(m^2) nC=0.85;//Isentropic efficiency of compressor nT=0.88;//Isentropic effficiency of turbine rp=8;//Pressure ratio T3=1273;//Temperature at point 3 in K m=4.5;//Mass flow rate of air in kg/s y=1.4;//Ratio of speciifc heats Cp=1.006;//Specific heat at constant pressure in kJ/kg-K //CALCULATIONS x=(y-1)/y;//Ratio T2s=T1*(rp^x);//Temperature at point 2s in K T2=T1+((T2s-T1)/nC);//Temperature at point 2 in K t2=T2-273;//Temperature at point 2 in oC T4s=T3*((1/rp)^x);//Temperature at point 4s in K T4=T3-((T3-T4s)*nT);//Temperature at point 4 in K t4=T4-273;//Temperature at point 4 in oC W=m*Cp*((T3-T4)-(T2-T1));//Net power output in kW nth=(((T3-T4)-(T2-T1))/(T3-T2))*100;//Thermal efficiency WR=W/(m*Cp*(T3-T4));//Work ratio //OUTPUT mprintf('Net power output of the turbine is %3.0f kW \n Thermal efficiency of the plant is %3.0f percent \n Work ratio is %3.3f',W,nth,WR) //==============================END OF PROGRAM=================================
09f392ce8924136dca3c34a55a7308e8e5941452
21d4cac793d0a486bb57b68b5bf5f36c44f84d7a
/ex2_3.sce
e804bfdc278fba46b9db576e6762d54f2af6508d
[]
no_license
irish15/workspace_scilab
57e25803d1c266b80b5c55c45e0de5d228fb1892
80102b69c70770e147c32efad55c79dc53a9b084
refs/heads/master
2022-11-19T09:56:47.067078
2020-07-22T07:58:24
2020-07-22T07:58:24
281,613,353
0
0
null
null
null
null
UTF-8
Scilab
false
false
102
sce
ex2_3.sce
c = [-10 -12]'; A = [ 3 12 9 6 ]; b = [48 54]'; xopt=karmarkar([],[],c,[],[],[],[],[],A,b) disp(xopt)
eaf320a12f3e6f5961ed34878e9865f0cb70b350
449d555969bfd7befe906877abab098c6e63a0e8
/858/CH2/EX2.17/example_17.sce
9a7ffc6a889e434c191960728f2ccce79502b4a6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
392
sce
example_17.sce
clc clear printf("example 2.17 page number 77\n\n") //to find molecular foemula C=93.75 //% of carbon H2=6.25 //% of hydrogen x=C/12 //number of carbon atoms y=H2/2 //number of hydrogen atoms molar_mass=64 density=4.41*29; ratio=density/molar_mass; x=ratio*5; y=ratio*4; printf("x = %f, y = %f",x,y) printf("\n\nformula of butyric acid is = C10H8")
7cebd06048929f77d274d501b98c107887a1a672
449d555969bfd7befe906877abab098c6e63a0e8
/3369/CH2/EX2.11/Ex2_11.sce
67670ce531867a458b3fbbe6cd3e13cfd1b87f5c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
575
sce
Ex2_11.sce
//Chapter 2, Exmaple 11, page 75 //Calculate the potential within the mesh clc clear //Based on figure 2.38(b) //equations are obtained using Eq.2.46 A1 = 1/2*(0.54+0.16) A2 = 1/2*(0.91+0.14) S = [0.5571 -0.4571 -0.1;-0.4751 0.828 0.3667;-0.1 0.667 0.4667] //By obtaining the elements of the global stiffness matrix(Sadiku,1994) //and by emplying the Eq.2.49(a) S1 = [1.25 -0.014;-0.014 0.8381] S2 = [-0.7786 -0.4571;-0.4571 -0.3667] Phi13 = [0 ;10] val1 = S2*Phi13 Phi24 = S1\val1 disp(-Phi24,"The values of Phi2 and Phi4 are:") //Answers may vary due to round of error
a73e207a9820bb4a817f758f6e145c354fc9feab
449d555969bfd7befe906877abab098c6e63a0e8
/3856/CH6/EX6.6/Ex6_6.sce
cc9d01b21d7df8c893720719609c18c539e91e31
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
517
sce
Ex6_6.sce
//To calculate the Molar Enthalpy of Vapourisation //Example 6.6 clc; clear; T=[20,30,40,50,60,70]; p=[17.54,31.82,55.32,92.51,149.38,233.7]; for i=1:6 x(i)=1/(T(i)+273); end for i=1:6 y(i)=log(p(i)); end plot(x,y); xlabel("K/T", "fontsize", 2);//Putting the x-axis as K/T ylabel("ln(p)", "fontsize", 2);//Putting the y-axis as ln(Kp) m=-(y(2)-y(1))/(x(2)-x(1)); R=8.314; delH=R*m/1000; printf("Molar Enthalpy of Vapourization of Water = %.1f kJ mol^-1",delH);
421706f248fe8eb39b9b4ad8498a01fa5643df47
449d555969bfd7befe906877abab098c6e63a0e8
/3733/CH24/EX24.22/Ex24_22.sce
47916767f885a69e507e7c0c911a5736ec837b0f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,385
sce
Ex24_22.sce
// Example 24_22 clc;funcprot(0); //Given data T_1=290;// K p_1=1.01;// bar T_3=650+273;// K p_r=8;// Pressure ratio n_c=0.8;// Isentropic efficiency of compressor n_t1=0.85;// Isentropic efficiency of H.P turbine n_t2=0.83;// Isentropic efficiency of L.P turbine C_pa=1;// kJ/kg.K C_pg=1.15;// kJ/kg.K r_a=1.4;// Specific heat ratio for air r_g=1.33;// Specific heat ratio for gases m_a=10;// The air flow through the compressor in kg/sec //Calculation p_2=p_1*p_r;// bar T_2a=T_1*(p_r)^((r_a-1)/r_a);// K T_2=((T_2a-T_1)/n_c)+T_1;// K W_c=1*C_pa*(T_2-T_1);//Work input to the compressor in kJ/kg W_t1=W_c;// kJ/kg T_4=T_3-(W_t1/C_pg);// K T_4a=T_3-((T_3-T_4)/n_t1);// K p_3=p_2/((T_3/T_4a)^(r_g/(r_g-1)));// bar p_re=p_3/p_1;// The pressure ratio of expansion in the power turbine T_5a=T_4/(p_3/p_1)^((r_g-1)/r_g);// K dT_45=n_t2*(T_4-T_5a);// (dT_45=T_4-T_5) K W_t2=C_pg*(dT_45);//Work developed by power turbine in kJ/kg W_net=W_t2;// The net work done per kg of air in kJ/kg W_t=W_t1+W_t2;// Total work done per in kJ/kg W_r=W_t2/W_t;// Work ratio Q_s=C_pa*(T_3-T_2);// kJ/kg n_th=(W_t2/Q_s)*100;// Thermal efficiency in % P=W_t2*m_a;// Power capacity of the plant in kW printf('\nThe power developed by the unit=%0.0f kW \nThe thermal efficiency=%0.0f percentage \nWork ratio=%0.1f',P,n_th,W_r); // The answer vary due to round off error
82ea68740b7e26b41d79af4d31f395bb6652d55a
8217f7986187902617ad1bf89cb789618a90dd0a
/browsable_source/2.3/Unix-Windows/scilab-2.3/tests/fort.tst
2f7a2c23e689045e575c05bb6aeadec787d5f4f2
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-public-domain", "MIT" ]
permissive
clg55/Scilab-Workbench
4ebc01d2daea5026ad07fbfc53e16d4b29179502
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
refs/heads/master
2023-05-31T04:06:22.931111
2022-09-13T14:41:51
2022-09-13T14:41:51
258,270,193
0
1
null
null
null
null
UTF-8
Scilab
false
false
4,396
tst
fort.tst
// Testing interface of programs put in SCIDIR/routines/default/Ex-fort.f // // Test 1 // Corresponding to the following Fortran code inserted in // SCIDIR/routines/default/Ex-fort.f. // // subroutine foobar1() // include '../stack.h' //c retrieving dimensions of variables # 1,2,3,4 (ch,x,y,z) sent by fort // lch= msize(1,nrch,ncch) // ix= msize(2,nrx,ncx) // iy= msize(3,nry,ncy) // iz= msize(4,nrz,ncz) //c lch=3 (length of 'mul') ix=iy=iz=3 //c nrch=3, nlch=1; nrx=nry=nrz=1; ncx=ncy=ncz=3; //c //c allocating place in the internal stack and defining type // call alloc(1,lch,nrch,ncch,'c') // call alloc(2,ix,nrx,ncx,'i') // call alloc(3,iy,nry,ncy,'r') // call alloc(4,iz,nrz,ncz,'d') // call alloc(5,iz,nrz,ncz,'d') // call alloc(6,iz,nrz,ncz,'d') //c ladr(1),ladr(2),ladr(3),ladr(4),ladr(5),ladr(6) are pointers //c in stk() to (ch,x,y,z,d,w) resp. //c calling the routine // call foubare(stk(ladr(1)),stk(ladr(2)),ix,stk(ladr(3)),iy, // + stk(ladr(4)),nrz,ncz,stk(ladr(5)),stk(ladr(6)),junk) //c return of output variables (in increasing order) located //c at (ladr(2),ladr(3),ladr(4),ladr(5)) resp. i.e (a,b,c,d) resp. // call back(2) // call back(3) // call back(4) // call back(5) // end // //Routine call in Scilab x =[1,2,3];y =[1,2,3;4,5,6];z=[10,11;12,13]; mul=str2code('mul'); [a,b,c,d]=fort('foobar1',mul, x, y, z); norm(a-2*x,1) norm(b-2*y,1) norm(c-2*z,1) [mc,nc]=size(c); w=zeros(c); for i=1:mc;for j=1:nc, w(i,j)=i+j;end;end norm(d-(2*z.*w),1) add=str2code('add'); [a,b,c,d]=fort('foobar1',add, x, y, z); norm(a-(2+x),1) norm(b-(2+y),1) norm(c-(2+z),1) w=zeros(c); for i=1:mc;for j=1:nc, w(i,j)=i+j;end;end norm(d-(2+z+w),1) // // // Test 2 // Routine foobar is in SCIDIR/default/Ex-fort.f // and "foobar" appears in SCIDIR/default/Flist // This is equivalent to -->link("foobar.o","foubare"); // Routine call from scilab: a =[1,2,3];b =[1,2,3;4,5,6];c =[10,11;12,13]; [ma,na]=size(a);ia=ma*na; [mb,nb]=size(b);ib=mb*nb; [mc,nc]=size(c);ic=mc*nc; md=mc;nd=nc; mul=str2code('mul'); [as,bs,cs,ds]=fort('foubare',mul,1,'c',a,2,'i',ia,3,'i',b,4,'r',ib,5,'i',... c,6,'d',mc,7,'i',nc,8,'i',... 'out',[ma,na],2,'i',[mb,nb],4,'r',[mc,nc],6,'d',... [md,nd],9,'d',[mc,nc],9,'d'); norm(as-2*a,1) norm(bs-2*b,1) norm(cs-2*c,1) [mc,nc]=size(c); w=zeros(c); for i=1:mc;for j=1:nc, w(i,j)=i+j;end;end norm(ds-(2*c.*w),1) md=mc;nd=nc; add=str2code('add'); [as,bs,cs,ds]=fort('foubare',add,1,'c',a,2,'i',ia,3,'i',b,4,'r',ib,5,'i',... c,6,'d',mc,7,'i',nc,8,'i',... 'out',[ma,na],2,'i',[mb,nb],4,'r',[mc,nc],6,'d',... [md,nd],9,'d',[mc,nc],w,'d'); norm(as-(2+a),1) norm(bs-(2+b),1) norm(cs-(2+c),1) [mc,nc]=size(c); w=zeros(c); for i=1:mc;for j=1:nc, w(i,j)=i+j;end;end norm(ds-(2+c+w),1) //other valid call (output parameters 1 3 and 5 are also inputs) a =[1,2,3];b =[1,2,3;4,5,6];c =[10,11;12,13];md=mc;nd=nc;mul=str2code('mul'); [as,bs,cs,ds]=fort('foubare',mul,1,'c',a,2,'i',ia,3,'i',b,4,'r',ib,5,'i',... c,6,'d',mc,7,'i',nc,8,'i',... 'out',2,4,6,... [md,nd],9,'d',[mc,nc],10,'d'); norm(as-2*a,1) norm(bs-2*b,1) norm(cs-2*c,1) [mc,nc]=size(c); w=zeros(c); for i=1:mc;for j=1:nc, w(i,j)=i+j;end;end norm(ds-(2*c.*w),1) //-------------------Test no 3--------------------------- // // corresponding to following code inserted in SCIDIR/default/Ex-fort.f // // subroutine foobar3() // include '../stack.h' //c retrieving dimensions of input variables 1,2,3 (x,y,z) // ix=msize(1,nrx,ncx) // iy=msize(2,nry,ncy) // iz=msize(3,nrz,ncz) //c defining variables 4 and 5 (d and w in foubare) // call alloc(4,iz,nrz,ncz,'d') // call alloc(5,iz,nrz,ncz,'d') // call foubare('mul',stk(ladr(1)),ix,stk(ladr(2)),iy, // + stk(ladr(3)),nrz,ncz,stk(ladr(4)),stk(ladr(5)),junk) // return // end // // Call from scilab: a =[1,2,3];b =[1,2,3;4,5,6];c =[10,11;12,13]; [as,bs,cs,ds]=fort('foobar3',a,1,'i',b,2,'r',c,3,'d','out',1,2,3,4); norm(as-2*a,1) norm(bs-2*b,1) norm(cs-2*c,1) [mc,nc]=size(c); w=zeros(c); for i=1:mc;for j=1:nc, w(i,j)=i+j;end;end norm(ds-(2*c.*w),1)
a4720d17e04e8e81f376593e230c6c3a3f401c3b
a62e0da056102916ac0fe63d8475e3c4114f86b1
/set11/s_Fundamentals_Of_Electronic_Devices_J._B._Gupta_1787.zip/Fundamentals_Of_Electronic_Devices_J._B._Gupta_1787/CH6/EX6.12/Exa6_12.sce
5d418b70ac72a043d324e825068b22f124a07abb
[]
no_license
hohiroki/Scilab_TBC
cb11e171e47a6cf15dad6594726c14443b23d512
98e421ab71b2e8be0c70d67cca3ecb53eeef1df6
refs/heads/master
2021-01-18T02:07:29.200029
2016-04-29T07:01:39
2016-04-29T07:01:39
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
186
sce
Exa6_12.sce
errcatch(-1,"stop");mode(2);//Exa 6.12 ; ; //given data delVEB=250;//in mVolts delIE=1;//in mA rin=delVEB/delIE;//in ohm disp(rin,"Dynamic input resistance in ohm : "); exit();
a9e63b00a35f1c833e0c445c17a158972ce634ca
449d555969bfd7befe906877abab098c6e63a0e8
/3269/CH7/EX7.11/Ex7_11.sce
530c0823daafa1eebf934538a40402d680f111ba
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
969
sce
Ex7_11.sce
// Example 7.11 clear all; clc; // Given data H = 70; // Height of square cylindrical reactor in cm rho_wH = 0.065; // Total worth of a control rod at full height rho_wx = 0.01; // Total worth of a control rod to be achieved // Let y-sin(y) = t t = 2*%pi*(rho_wx/rho_wH); // Using Newton Raphson method for solving the transcendental equation y - sin(y) -0.966 = 0 deff('y=f(y)','y = y-sin(y)-0.966') deff('y=f1(y)','y = 1-cos(y)') y0=0.5; // Initial value e = 0.00001; // Relative error tolerance for i=1:4 y1 = y0-f(y0)/f1(y0) e1 = abs(y0-y1) y0 = y1; if abs(y0)<e then break; end end y = y1; // The solution of transcendental equation // Calculation x = (y*H)/(2*%pi); // Result printf('\n The length of control rod to be inserted = %2.1f cm \n',x);
e3935c2bb4bd550ec510b11752869725202347aa
449d555969bfd7befe906877abab098c6e63a0e8
/3860/CH2/EX2.29/Ex2_29.sce
b1d6c3351e1ac8de5ef4df409d7b1ff9139e8cb6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
369
sce
Ex2_29.sce
//Example 2.29: Manipulation POS expression into SOP Expression. clc // Clears the console disp('(A + B'' + C) ( A + B + D) (A'' + C'' + D'')') disp(' = [A + (B'' + C)(B + D)](A'' + C'' + D''') disp(' = (A + B''D + BC)(A'' + C'' + D'')') disp(' = A ( C''+ D'') + A''(B''D + BC )') disp(' = AC'' + AD'' + A''B''D + A''BC') //the reduced expression is displayed.
71e6eeb5f7aaac1783b1fb966f8f63962d62aa33
449d555969bfd7befe906877abab098c6e63a0e8
/416/CH20/EX20.2/example20_2.sce
cf9cf3567ceb929ec286957c4e8bb9ee682b8115
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,470
sce
example20_2.sce
clc clear disp('example 20.2') ee=5*10^16 //electrical energy requirement eer=0.1 //energy requirement i=5*10^6 //investement n=20 //life time ec=4.1 //energy cost r=0.13 //interest rate dr=r/((1+r)^(n)-1) //depreciation rate dr=round(dr*10^5)/10^5 tfc=r+dr //total fixed cost ace=i*tfc //annual cost ace=round(ace/10^2)*10^2 eb=i*ec //electrical bill with present motor teb=eb*(1-eer) //electrical bill with efficiency motor tac=teb+ace //total annual cost with efficiency cost as=eb-tac //annual saving printf(" depreciation rate %.5f \n total fixed charge rate %f\n annual cost of efficiency motor Rs%eper year \n total electrical bill with present motors Rs%eper year \n total electrical bill with efficiency motor Rs.%e \n total annual cost if motors are replaced by high efficiency motors Rs%e per year \n annual saving Rs%d per year",dr,tfc,ace,eb,teb,tac,as) disp('b') pwf=r/(1-((1+r)^-n)) //present worth factor pwf=round(pwf*10^5)/10^5 pwm=teb/pwf //present worth annual cost with existing motors pwm=round(pwm/10^4)*10^4 //present worth with existing motors pwem=eb/pwf //present worth with efficiency motor pwem=round(pwem/10^4)*10^4 pwam=teb/pwf pwam=round(pwam/10^4)*10^4 tpw=pwam+i //total persent worth printf("present worth factor %.5f \n present worth of annual cost with existing motors Rs%e \n present worth of annual cost with new motor Rs%e \n total present worth %e per year",pwf,pwem,pwam,tpw)
223b733010d1287a6efea9ed99336066c6387729
449d555969bfd7befe906877abab098c6e63a0e8
/1616/CH2/EX2.2/ex2_2.sce
7fd59abdb66e87281edf0ab14876f540c8dcc73d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
362
sce
ex2_2.sce
//ex 2.2 to find complex propogation const at (a)1MHz (b)1GHz r=0.1; //in ohm l=0.2e-6; //in henry c=10e-12; //in farad g=0.02; //in mho f1=1e6; w1=2*%pi*f1; k1=sqrt((r+%i*w1*l)*(g+%i*w1*c)); disp('propogation const at F=1MHz is='+string(k1)+'/m'); f2=1e9; w2=2*%pi*f2; k2=sqrt((r+%i*w2*l)*(g+%i*w2*c)); disp('propogation const at F=1GHz is='+string(k2)+'/m');
807dd2bfc8b7d54e42ceefe7f3491d42d21a0e0e
449d555969bfd7befe906877abab098c6e63a0e8
/1394/CH13/EX13.2.1/Ex13_2_1.sce
f2bf627de89817c0363e725c421e7e59adde8210
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
385
sce
Ex13_2_1.sce
clc //Initialization of variables y1 = 0.9999 x0 = y1 // For a total condenser y0 =0.58 + 0.42*x0 // The equilbirum line LbyG = 0.75 yNplus1 = 0.99 A = LbyG/0.42 n= 1 //Calculations xN = (yNplus1-((1-LbyG)*y1))/LbyG yN = 0.58 + 0.42*xN N = (log((yNplus1-yN)/(y1-y0))/log(A))+n//, number of stages //Results printf("the number of stages approximately is %.f",N)
832aca65ae04e56a1fd6d0715241155d7b8011ad
449d555969bfd7befe906877abab098c6e63a0e8
/3835/CH2/EX2.7/Ex2_7.sce
0207ef461f336adbccf5ec665280b826438d75b8
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
181
sce
Ex2_7.sce
clear // //combining series parallel series //[(2+2+2)||(6+5+2)||10]+5 //[[6*6/6+6]+7]||10]+5=[10+10/10*10]+5=5+5=10 printf("\n the value of series parallel resistances is 10 ohm")
b80d74cf307919d4cc2b2c8768e649ada79348fd
12d276a808c8403c4dd3b13dea1edb8720127311
/repeat.sce
f98120e69cafdd888dc3a98b376133d9a160d78d
[]
no_license
npytabitha/VOT3
85b317ae4c120eb2bda125b28c1ad27243d40eab
51032662c4a6f0960393aad4ebf9b3289c641155
refs/heads/develop
2021-01-10T05:44:31.715364
2015-10-01T13:34:47
2015-10-01T13:34:47
43,233,510
0
1
null
2015-10-02T09:05:14
2015-09-27T03:56:10
Scilab
UTF-8
Scilab
false
false
3,247
sce
repeat.sce
active_buttons = 3; #button_codes = 1, 2, 3; # These values will be used to code participant responses #target_button_codes = 0, 0, 2; button_codes = 0, 0, 2; target_button_codes = 0, 0, 1; begin; #neutral_orig array{ TEMPLATE "declaresounds.tem"{ file; "Neutral_TKH.wav"; "Neutral_LS.wav"; "Neutral_Edward.wav"; "Neutral_NXR.wav"; "Neutral_46.wav"; "Neutral_SG.wav"; "Neutral_Joyce.wav"; "Neutral_58.wav"; "Neutral_ML.wav"; "Neutral_Elizabeth.wav"; "Neutral_CW.wav"; "Neutral_SH.wav"; "Neutral_Daryl.wav"; "Neutral_Janvin.wav"; "Neutral_42.wav"; "Neutral_55.wav"; "Neutral_59.wav"; "Neutral_CC.wav"; "Neutral_CKH.wav"; "Neutral_DK.wav"; "Neutral_Ernest.wav"; "Neutral_GC.wav"; "Neutral_GZ.wav"; "Neutral_Madeline.wav"; "Neutral_MSC.wav"; "Neutral_MY.wav"; "Neutral_Rena.wav"; }; }repeat; #neutral_rot array{ TEMPLATE "declaresounds.tem"{ file; "Neutral_42_rot.wav"; "Neutral_55_rot.wav"; "Neutral_59_rot.wav"; "Neutral_CC_rot.wav"; "Neutral_CKH_rot.wav"; "Neutral_DK_rot.wav"; "Neutral_Ernest_rot.wav"; "Neutral_GC_rot.wav"; "Neutral_GZ_rot.wav"; "Neutral_Madeline_rot.wav"; "Neutral_MSC_rot.wav"; "Neutral_MY_rot.wav"; "Neutral_Rena_rot.wav"; "Neutral_ML_rot.wav"; "Neutral_Elizabeth_rot.wav"; "Neutral_SH_rot.wav"; "Neutral_NXR_rot.wav"; "Neutral_CW_rot.wav"; "Neutral_TKH_rot.wav"; "Neutral_Janvin_rot.wav"; "Neutral_58_rot.wav"; "Neutral_Edward_rot.wav"; "Neutral_Daryl_rot.wav"; "Neutral_LS_rot.wav"; "Neutral_46_rot.wav"; "Neutral_SG_rot.wav"; "Neutral_Joyce_rot.wav"; }; }repeat2; #surprise_orig array{ TEMPLATE "declaresounds.tem"{ file; "Surprise_45.wav"; "Surprise_59.wav"; "Surprise_6.wav"; "Surprise_CC.wav"; "Surprise_CW.wav"; "Surprise_Daryl.wav"; "Surprise_Janvin.wav"; "Surprise_Joyce.wav"; "Surprise_LS.wav"; "Surprise_ML.wav"; "Surprise_Rena.wav"; "Surprise_SG.wav"; "Surprise_SH.wav"; "Surprise_TLSM.wav"; "Surprise_CKH.wav"; "Surprise_Ernest.wav"; "Surprise_GZ.wav"; "Surprise_60.wav"; "Surprise_Elizabeth.wav"; "Surprise_Madeline.wav"; "Surprise_GC.wav"; "Surprise_MY.wav"; "Surprise_Edward.wav"; "Surprise_55.wav"; "Surprise_NXR.wav"; "Surprise_MSC.wav"; "Surprise_TKH.wav"; }; }repeat3; #surprise_rot array{ TEMPLATE "declaresounds.tem"{ file; "Surprise_Ernest_rot.wav"; "Surprise_TKH_rot.wav"; "Surprise_55_rot.wav"; "Surprise_Madeline_rot.wav"; "Surprise_CKH_rot.wav"; "Surprise_60_rot.wav"; "Surprise_GZ_rot.wav"; "Surprise_GC_rot.wav"; "Surprise_Edward_rot.wav"; "Surprise_MY_rot.wav"; "Surprise_Elizabeth_rot.wav"; "Surprise_NXR_rot.wav"; "Surprise_MSC_rot.wav"; "Surprise_45_rot.wav"; "Surprise_59_rot.wav"; "Surprise_6_rot.wav"; "Surprise_CC_rot.wav"; "Surprise_CW_rot.wav"; "Surprise_Daryl_rot.wav"; "Surprise_Janvin_rot.wav"; "Surprise_Joyce_rot.wav"; "Surprise_LS_rot.wav"; "Surprise_ML_rot.wav"; "Surprise_Rena_rot.wav"; "Surprise_SG_rot.wav"; "Surprise_SH_rot.wav"; "Surprise_TLSM_rot.wav"; }; }repeat4; begin_pcl; #Create a new array for repeated sounds repeat.shuffle(); repeat.resize(6); repeat2.shuffle(); repeat2.resize(6); repeat3.shuffle(); repeat3.resize(6); repeat4.shuffle(); repeat4.resize(6); repeat.append(repeat2); repeat.append(repeat3); repeat.append(repeat4); sub loop int i = 1 until i > repeat.count() begin; term.print_line(i); return "filename"; i = i + 1 ; end
8c567ad3d97045beebeeca9e1cbcab6d0ac44e7c
268a9da1d2dd8fa0f68e8f013ea104c40b995fb4
/scilab/Tom1.sce
5034b27bc2d23204a33476cdeb020a234474b156
[]
no_license
DipikaPawar12/Octapad
3887659b5084ae13e922784ab707537928956b38
ca485e553c9703b8d8c273eb4764df8481e5448a
refs/heads/master
2022-12-08T00:03:45.336396
2020-08-15T12:55:49
2020-08-15T12:55:49
287,887,411
1
0
null
2020-08-16T06:28:24
2020-08-16T06:28:23
null
UTF-8
Scilab
false
false
790
sce
Tom1.sce
clear; clf; dt=0.0001; t1=0:dt:0.245; a=-0.000016; b=186.7168; c=-3682.684; d=26348.78; e=-81213.64; f=91903.73; y1=a+b*t1+c*t1^2+d*t1^3+e*t1^4+f*t1^5; t2=0.2450+dt:dt:1.5; a1=0.028235; //a1 = -0.26618 b1=1.53787; //b1 = 2.5896; c1=4.19614; //c1 = 4.3281; y2=a1+b1*exp(-c1*t2); t=[t1 t2]; y=[y1 y2]; //plot(t,y); t3 = 0 : dt : 0.1380; t4 = 0.1380 + dt : dt : 1.5; rt=zeros(1:length(t3)); f = 33; //x = 0.5*sin(2*%pi*f*t4)+0.25*sin(4*%pi*f*t4)+0.125*sin(8*%pi*f*t4); x = 10*sin(2*%pi*f*t4)+5*sin(1*%pi*2*f*t4)+2*sin(2*%pi*3*f*t4)+sin(2*%pi*4*f*t4)+0.5*sin(2*%pi*5*f*t4); w = rand(x,"normal"); r = x + w; rtf=[rt x]; z = y.*rtf; plot(t,z); sound(z); xlabel("tX(10^-4)seconds","fontsize",4); ylabel("amplitude","fontsize",4); title("tom Sound","fontsize",4); wavwrite(z,"tom.wav");
5e034d2e06a88b81e45c0ec13c6d7190784a16d6
449d555969bfd7befe906877abab098c6e63a0e8
/1088/CH24/EX24.12/Example12.sce
d07acaca423badb2f4e0110e66cb843fcfdac0ef
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
2,651
sce
Example12.sce
clear flag=1 mode(-1) clc printf("Example 12 : Show the effect of sharing a pipe between two processes from parent to child \n") disp("****************************************************************") disp("Answer : ") disp("INSTRUCTIONS : ") halt(' ') disp("1.These programs are part of systems programming PURELY in Unix and the commands have NO EQUIVALENT IN SCILAB") halt(' ') disp("2.However the .c files which are displayed here are also made into a seperate file.If you are a unix user then try compiling and running the programme with gcc or cc compiler") halt(' ') disp("3.The outputs displayed here are just MOCK OUTPUTS which are DISPLAYED IN THE TEXTBOOK") halt(' ') disp("4.The inconvenience is regretted.") halt('.............Press [ENTER] to continue.....') halt("") clc printf("\tUNIX SHELL SIMULATOR(DEMO VERSION WITH PRELOADED COMMANDS)\n\n\n") i=0 i=i+1;f(i)='/* Program: pipe.c -- Shares a pipe between two processes for data to flow from parent to child*/' i=i+1;f(i)='#include <stdio.h>' i=i+1;f(i)='#include <unistd.h>' i=i+1;f(i)='' i=i+1;f(i)='void quit(char *, int);' i=i+1;f(i)='int main(void) {' i=i+1;f(i)=' int n,fd[2]; /* fd[2] to be filled up by pipe() */' i=i+1;f(i)=' char buf[100]; /* Buffer to be used by read() */' i=i+1;f(i)=' ' i=i+1;f(i)=' if (pipe(fd) < 0) /* fd[0] is read end */' i=i+1;f(i)=' quit('+ascii(34)+'pipe'+ascii(34)+',1); /* fd[1] is write end */' i=i+1;f(i)=' ' i=i+1;f(i)=' switch (fork()) { /* Pipe has four descriptors now */' i=i+1;f(i)=' case -1:quit('+ascii(34)+'Fork error'+ascii(34)+',2);' i=i+1;f(i)=' case 0:close(fd[1]); /* CHILD-Close write end of pipe */' i=i+1;f(i)=' n=read(fd[0],buf,100); /* and read from its read end */' i=i+1;f(i)=' write(STDOUT_FILENO,buf,n);' i=i+1;f(i)=' break;' i=i+1;f(i)=' default: close(fd[0]); /*PARENT-Close read end of pipe */' i=i+1;f(i)=' write(fd[1],'+ascii(34)+'Writing to pipe\n'+ascii(34)+', 16); /* write to write end */' i=i+1;f(i)=' }' i=i+1;f(i)=' exit(0);' i=i+1;f(i)='}' n=i printf("\n\n$ cat pipe.c # to open the file emp.lst") halt(' ') u=mopen('pipe.c','wt') for i=1:n mfprintf(u,"%s\n",f(i)) printf("%s\n",f(i)) end mclose(u) halt('') clc halt(' ') printf("$ cc shell.c") halt(' ') printf("$ a.out ") halt(' ') printf("Writing to pipe") halt(' ') printf("\n\n\n$ exit #To exit the current simulation terminal and return to Scilab console\n\n") halt("........# (hit [ENTER] for result)") //clc() printf("\n\n\t\t\tBACK TO SCILAB CONSOLE...\nLoading initial environment') sleep(1000)
896d87d336ec998e802b4dcb65b050416b979844
449d555969bfd7befe906877abab098c6e63a0e8
/24/CH21/EX21.4/Example21_4.sce
0d818c0398503a0ac52d82fb04ba6797bc9b486d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
234
sce
Example21_4.sce
//Given that eta = 0.75 TH = 100 + 273 TL = 0 + 273 //Sample Problem 21-5 printf("**Sample Problem 21-5**\n") etaMAX = 1 - TL/TH if eta < etaMAX then printf("It is possible") else printf("It is not possible") end
b7f86508e8c66258d4fa89026636e08251ebe08c
f75b5e931e4dd0edfbd407f79ebdfff53b8ad95e
/Matlab codes/bandstop_FIR.sce
5076752d4073b86fc0fac4725e777a110f910b54
[]
no_license
debarnab-mitra/Filter-Design
6885c4d181f7042c00a641f390a5f9681f3a9d34
a45ad042d2f0f80b82493cde3a07be4d72912673
refs/heads/master
2020-03-31T02:26:11.902775
2018-10-06T09:18:19
2018-10-06T09:18:19
151,823,602
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,250
sce
bandstop_FIR.sce
m = 47; q_m = 4; r_m = 7; B_l = 2 + 0.6*q_m + 1.5*r_m; B_h = B_l + 3; transition_width = 1; f_s = 90; un_ws1 = B_l; un_ws2 = B_h; un_wp1 = un_ws1 - transition_width; un_wp2 = un_ws2 + transition_width; w_p1 = 2*%pi*un_wp1/f_s; w_p2 = 2*%pi*un_wp2/f_s; w_s1 = 2*%pi*un_ws1/f_s; w_s2 = 2*%pi*un_ws2/f_s; delta_w = 2*%pi*1/90; constant_k = 12/(2.285*delta_w); N = 40; wc1 = (w_s1+w_p1)/2; //cutoff frequency of Lowpass filter 1 wc2 = (w_s2+w_p2)/2; //cutoff frequency of Lowpass filter 2 wn = zeros(1,(2*N+1)); // the impulse response for i= -N:1:N if(i==0) wn(i+N+1) = 1-((wc2-wc1)/%pi); else wn(i+N+1) = -(sin(wc2*i)-sin(wc1*i))/(i*%pi); end end n = linspace(-N, N,2*N+1); z = poly (0 , 'z','r'); pow_z = (1/z)^n; Hdiscrete = sum(wn.*pow_z); k = linspace(0,1023,1024); k1 = linspace(0,1.2,3); w = (%pi*k)/1024; y1 = horner(Hdiscrete,complex(cos(w),sin(w))); y2 = 1.1*ones(1024,1); y3 = 0.9*ones(1024,1); y4 = 0.1*ones(1024,1); y_wp1 = w_p1*ones(3,1); y_wp2 = w_p2*ones(3,1); y_ws1 = w_s1*ones(3,1); y_ws2 = w_s2*ones(3,1); plot(w,abs(y1),'g'); plot(w,y2); plot(w,y3); plot(w,y4); plot(y_wp1,k1); plot(y_wp2,k1); plot(y_ws1,k1); plot(y_ws2,k1);
6ab2a04537d95543ae4ba4d379dee9b331c0bc65
449d555969bfd7befe906877abab098c6e63a0e8
/3673/CH5/EX5.a.6/Example_a_5_6.sce
3c3f53cb724dbe05b1ba62cf08eb060fae577e57
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
390
sce
Example_a_5_6.sce
//Example_a_5_6 page no:206 clc; V=100; f=50; R=50; C=100*10^-6; Xc=1/(2*%pi*f*C); Bc=1/Xc; G=1/R; Y=sqrt(G^2+Bc^2); Z=1/Y; theta=atand(R/Xc); disp(Z,"the impedence in the circuit is (in ohm)"); disp(theta,"the phase angle in the circuit is (in degree)"); //the impedence value varies slightly with text book due to round off values in text book, hence both answers are same
da6833798eeaf22fb6c37fd360ae30ca1477629e
449d555969bfd7befe906877abab098c6e63a0e8
/1529/CH17/EX17.2/17_02.sce
7c86f6d84f911dc8b96fb799fd17fed75eb34836
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
531
sce
17_02.sce
//Chapter 17, Problem 2, Figure 17.9 clc; C=2*200*10^-12; //capacitance in farad L=0.4; //inductance in henry fc=1/(%pi*sqrt(L*C)); //cut-off frequency R0=sqrt(L/C); //nominal impedance disp("Comparing Fig. 17.9 with the low-pass section of Fig. 17.7(a),"); printf("Inductance L = %f H\n\n",L); printf("Capacitance C = %f pF\n\n",C*10^12); printf("Cut off frequency fc = %.2f KHz\n\n",fc/1000 ); printf("Nominal impedance R0 = %.2f Kohm\n\n",R0/1000);
9c46efb941a4d09cb8b75124729dbbb33d1b08d4
fdc5047b7bf8122bad1e621df236b0481226c36e
/exemplos/xls-link-0.5.0-src/sci_gateway/cpp/builder_gateway_cpp.sce
86ee3b2631f22d78dff9b5e4753b59f980283798
[]
no_license
jpbevila/virtualHartSci
aea3c6ba23d054670eb193f441ea7de982b531cc
a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5
refs/heads/main
2023-07-26T23:05:28.044194
2021-09-09T11:50:59
2021-09-09T11:50:59
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
2,375
sce
builder_gateway_cpp.sce
// This file is released under the 3-clause BSD license. See COPYING-BSD. function builder_gw_cpp() gateway_cpp_path = get_absolute_file_path("builder_gateway_cpp.sce"); // PutLhsVar managed by user in sci_sum and in sci_sub // if you do not this variable, PutLhsVar is added // in gateway generated (default mode in scilab 4.x and 5.x) WITHOUT_AUTO_PUTLHSVAR = %t; lib_name = "gw_xls_link"; gateway_names = ["xls_IsExcelRunning", "sci_XLS_IsExcelRunning"; .. "xls_NewExcel", "sci_XLS_NewExcel"; .. "xls_Quit", "sci_XLS_Quit"; .. "xls_RecoverExcel", "sci_XLS_RecoverExcel"; .. "xls_SetPic", "sci_XLS_SetPic"; .. "xls_OffsetRange", "sci_XLS_OffsetRange"; .. "xls_getProperty", "sci_XLS_getProperty"; .. "xls_setProperty", "sci_XLS_setProperty"; .. "xls_callMethod", "sci_XLS_callMethod"; .. "xls_convertSaveFormat", "sci_XLS_convertSaveFormat"; .. "xls_ExtendRange", "sci_XLS_ExtendRange"; .. "xls_CallMacro", "sci_XLS_CallMacro"; .. "xls_GetRange", "sci_XLS_GetRange"]; file_names = [ "sci_XLS_IsExcelRunning.cpp"; .. "sci_XLS_NewExcel.cpp"; .. "sci_XLS_Quit.cpp"; .. "sci_XLS_RecoverExcel.cpp"; .. "sci_XLS_SetPic.cpp"; .. "sci_XLS_OffsetRange.cpp"; .. "sci_XLS_getProperty.cpp"; .. "sci_XLS_setProperty.cpp"; .. "sci_XLS_callMethod.cpp"; .. "sci_XLS_convertSaveFormat.cpp"; .. "sci_XLS_ExtendRange.cpp"; .. "sci_XLS_CallMacro.cpp"; .. "sci_XLS_GetRange.cpp"]; LIBS = ["..\..\src\cpp\libxls_link"]; LDFLAGS = "ole32.lib oleaut32.lib"; include_paths = [gateway_cpp_path; fullfile(gateway_cpp_path, "..\..\src\cpp")]; CCFLAGS = ilib_include_flag(include_paths); tbx_build_gateway(lib_name, .. gateway_names, .. file_names, .. fullfile(gateway_cpp_path), .. LIBS, .. LDFLAGS, .. CCFLAGS); endfunction builder_gw_cpp(); clear builder_gw_cpp;
816f0df276468560bed0e632fa0541fe8574ed29
598546b56588670efcd591e67deb3578f52ddddc
/btests/4.2.tst
7cee1d9198308d5fc273582d58e8c6d93160654b
[]
no_license
natindo/techpark-HM1
6ae5da7cca55a5306f33fedd9ab4021a0d897cc2
e9a4f25d32b0e802d1749ec2f5d1a250b6e1b2f4
refs/heads/master
2023-08-25T14:35:18.304147
2021-10-13T18:51:42
2021-10-13T18:51:42
416,403,554
0
0
null
null
null
null
UTF-8
Scilab
false
false
54
tst
4.2.tst
KEYS="4 -10" OUT="1 0 -1 -2 -3 -4 -5 -6 -7 -8 -9 -10"
09763d9f4577d425f0c3059b02429a248258ab16
449d555969bfd7befe906877abab098c6e63a0e8
/1370/CH4/EX4.13/Exp4_13.sce
4bf56f34586f3b3d7ae443fc0ce2bc507b3dd113
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
286
sce
Exp4_13.sce
//Example 4.13 clc disp("The coil span of 120 degree is shown in the fig.4.44") disp("The angle of shorts pitch is,") alp=180-120 format(3) disp(alp,"alpha(in degree) = 180 - coil span =") kc=cosd(30) format(6) disp("The chording factor is,") disp(kc,"K_c = cos(alpha/2) =")
f9954cf3ed9233c7776e8c26a4c7809cca18efad
40ca23c059b812f021ca24c6fffbc008fbb7b462
/TEST/drone.tst
20fe186501c3b7bae89cc8a58f32d2656dee9909
[ "MIT" ]
permissive
ihgazni2/kukibanshee
f0e3be99c62435a9ba57e957428c3ae1c2b1848f
80164c06c8335d9f10683d9e8a00e939d17d7932
refs/heads/master
2021-04-06T17:49:00.982559
2019-02-15T03:26:09
2019-02-15T03:26:09
124,391,437
0
0
null
null
null
null
UTF-8
Scilab
false
false
40,752
tst
drone.tst
from xdict.jprint import pobj from xdict.jprint import pdir from kukibanshee.drone import * # from xdict.utils import creat_markdown_tree_links as markdown # arr = ['ckpair2tuple', 'tuple2ckpair', 'ckpair2nv', 'nv2ckpair', 'ckpair2dict', 'dict2ckpair', 'cknv2tuple', 'tuple2cknv', 'cknv2dict', 'dict2cknv', 'ckpt2dict', 'dict2ckpt'] # print(markdown(arr,0,path='kukibanshee/Images/')) ckpair = "TS=0105b666" ckpt = ckpair2tuple(ckpair) ckpt # >>> from kukibanshee.drone import * # >>> ckpair = "TS=0105b666" # >>> ckpt = ckpair2tuple(ckpair) # >>> ckpt # ('TS', '0105b666') # >>> ckpt = ("TS","0105b666") ckpair = tuple2ckpair(ckpt) ckpair # >>> # >>> ckpt = ("TS","0105b666") # >>> ckpair = tuple2ckpair(ckpt) # >>> ckpair # 'TS=0105b666' # >>> ckpair = "TS=0105b666" ckname,ckvalue = ckpair2nv(ckpair) ckname ckvalue # >>> ckpair = "TS=0105b666" # >>> ckname,ckvalue = ckpair2nv(ckpair) # >>> ckname # 'TS' # >>> ckvalue # '0105b666' # >>> ckname = "TS" ckvalue = "0105b666" ckpair = nv2ckpair(ckname,ckvalue) ckpair # >>> # >>> ckname = "TS" # >>> ckvalue = "0105b666" # >>> ckpair = nv2ckpair(ckname,ckvalue) # >>> ckpair # 'TS=0105b666' # >>> ckpair = "TS=0105b666" ckpd = ckpair2dict(ckpair) pobj(ckpd) # >>> # >>> ckpair = "TS=0105b666" # >>> ckpd = ckpair2dict(ckpair) # >>> pobj(ckpd) # { # 'TS': '0105b666' # } # >>> # >>> ckpd = {"TS": "0105b666"} ckpair = dict2ckpair(ckpd) ckpair # >>> # >>> ckpd = {"TS": "0105b666"} # >>> ckpair = dict2ckpair(ckpd) # >>> ckpair # 'TS=0105b666' # >>> ckname = "TS" ckvalue = "0105b666" ckpt = cknv2tuple(ckname,ckvalue) ckpt # >>> ckname = "TS" # >>> ckvalue = "0105b666" # >>> ckpt = cknv2tuple(ckname,ckvalue) # >>> ckpt # ('TS', '0105b666') # >>> ckpt = ("TS","0105b666") ckname,ckvalue = tuple2cknv(ckpt) ckname ckvalue # >>> ckpt = ("TS","0105b666") # >>> ckname,ckvalue = tuple2cknv(ckpt) # >>> ckname # 'TS' # >>> ckvalue # '0105b666' ckname = "TS" ckvalue = "0105b666" ckpd = cknv2dict(ckname,ckvalue) ckpd # >>> # >>> ckname = "TS" # >>> ckvalue = "0105b666" # >>> ckpd = cknv2dict(ckname,ckvalue) # >>> ckpd # {'TS': '0105b666'} # >>> ckpd = {"TS": "0105b666"} ckname,ckvalue = dict2cknv(ckpd) ckname ckvalue # >>> # >>> ckpd = {"TS": "0105b666"} # >>> ckname,ckvalue = dict2cknv(ckpd) # >>> ckname # 'TS' # >>> ckvalue # '0105b666' # >>> ckpt = ("TS","0105b666") ckpd = ckpt2dict(ckpt) pobj(ckpd) # >>> # >>> ckpt = ("TS","0105b666") # >>> ckpd = ckpt2dict(ckpt) # >>> pobj(ckpd) # { # 'TS': '0105b666' # } # >>> ckpd = {"TS": "0105b666"} ckpt = dict2ckpt(ckpd) ckpt # >>> ckpd = {"TS": "0105b666"} # >>> ckpt = dict2ckpt(ckpd) # >>> ckpt # ('TS', '0105b666') # >>> ################################################### from xdict.jprint import pobj from xdict.jprint import pdir from kukibanshee.drone import * from xdict.utils import creat_markdown_tree_links as markdown arr = ['ckstr2pl', 'pl2ckstr', 'ckstr2ptl', 'ptl2ckstr', 'ckstr2pdl', 'pdl2ckstr', 'ckpl2ptl', 'ptl2ckpl', 'ckpl2pdl', 'pdl2ckpl', 'ckptl2pdl', 'pdl2ckptl', 'ckstr2list', 'list2ckstr', 'ckstr2tupleList', 'tupleList2ckstr', 'ckstr2dictList', 'dictList2ckstr', 'ckpl2tupleList', 'tupleList2ckpl', 'ckpl2dictList', 'dictList2ckpl', 'ckptl2dictList', 'dictList2ckptl', 'ckstr2dict', 'dict2ckstr', 'ckpl2dict', 'dict2ckpl', 'ckptl2dict', 'dict2ckptl', 'ckpdl2dict', 'dict2ckpdl'] print(markdown(arr,12,path='kukibanshee/Images/')) #detect_ckele ckele = "TS=0105b666" detect_ckele(ckele) ckele = ("TS","0105b666") detect_ckele(ckele) ckele = {"TS": "0105b666"} detect_ckele(ckele) ckname = "TS" ckvalue = "0105b666" detect_ckele(ckname,ckvalue) # >>> # >>> ckele = "TS=0105b666" # >>> detect_ckele(ckele) # 'ckpair' # >>> ckele = ("TS","0105b666") # >>> detect_ckele(ckele) # 'ckpt' # >>> ckele = {"TS": "0105b666"} # >>> detect_ckele(ckele) # 'ckpd' # >>> ckname = "TS" # >>> ckvalue = "0105b666" # >>> detect_ckele(ckname,ckvalue) # 'cknv' # >>> #ckele2pt ckele = "TS=0105b666" ckpt = ckele2pt(ckele) pobj(ckpt) ckele = ("TS","0105b666") ckpt = ckele2pt(ckele) pobj(ckpt) ckele = {"TS": "0105b666"} ckpt = ckele2pt(ckele) pobj(ckpt) ckname = "TS"from xdict.jprint import pobj ckvalue = "0105b666"from xdict.jprint import pdir ckpt = ckele2pt(ckname,ckvalue) pobj(ckpt)from kukibanshee.drone import * #convert_ckele ckele = "TS=0105b666" ckpt = convert_ckele(ckele,mode='ckpt') pobj(ckpt) ckele = ("TS","0105b666") ckpair = convert_ckele(ckele,mode='ckpair') pobj(ckpair) ckele = {"TS": "0105b666"} ckname,ckvalue = convert_ckele(ckele,mode='cknv') ckname ckvalue ckname = "TS" ckvalue = "0105b666" ckpd = convert_ckele(ckname,ckvalue,mode='ckpd') pobj(ckpd) # >>> # >>> # >>> ckele = "TS=0105b666" # >>> ckpt = convert_ckele(ckele,mode='ckpt') # >>> pobj(ckpt) # ckele = {"TS": "0105b666"} # ( # 'TS', # '0105b666' # ) # >>> ckele = ("TS","0105b666") # >>> ckpair = convert_ckele(ckele,mode='ckpair') # >>> pobj(ckpair) # ckname,ckvalue = convert_ckele(ckele,mode='cknv') # TS=0105b666 # >>> ckele = {"TS": "0105b666"} # >>> ckname,ckvalue = convert_ckele(ckele,mode='cknv') # >>> ckname # 'TS' # >>> ckvalue # '0105b666' # >>> ckname = "TS" # >>> ckvalue = "0105b666" # >>> ckpd = convert_ckele(ckname,ckvalue,mode='ckpd') # >>> pobj(ckpd) # { # 'TS': '0105b666' # } # >>> # >>> #ckbody2ptl ckstr = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' ckpl = ['BIGipServer=rd19', 'TS013d8ed5=0105b6b0', 'TSPD_101=08819c2a', '__RequestVerificationToken=9VdrIliI', 'SP.NET_SessionId=epax'] ckptl = [('BIGipServer', 'rd19'), ('TS013d8ed5', '0105b6b0'), ('TSPD_101', '08819c2a'), ('__RequestVerificationToken', '9VdrIliI'), ('ASP.NET_SessionId', 'epax')] ckpdl = [{'BIGipServer': 'rd19'}, {'TS013d8ed5': '0105b6b0'}, {'TSPD_101': '08819c2a'}, {'__RequestVerificationToken': '9VdrIliI'}, {'ASP.NET_SessionId': 'epax'}] ckdict = {'__RequestVerificationToken': '9VdrIliI', 'ASP.NET_SessionId': 'epax', 'BIGipServer': 'rd19', 'TS013d8ed5': '0105b6b0', 'TSPD_101': '08819c2a'} ckbody2ptl(ckstr) ckbody2ptl(ckpl) ckbody2ptl(ckptl) ckbody2ptl(ckpdl) ckbody2ptl(ckdict) # >>> ckstr = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> ckpl = ['BIGipServer=rd19', 'TS013d8ed5=0105b6b0', 'TSPD_101=08819c2a', '__RequestVerificationToken=9VdrIliI', 'SP.NET_SessionId=epax'] # >>> ckptl = [('BIGipServer', 'rd19'), ('TS013d8ed5', '0105b6b0'), ('TSPD_101', '08819c2a'), ('__RequestVerificationToken', '9VdrIliI'), ('ASP.NET_SessionId', 'epax')] # >>> ckpdl = [{'BIGipServer': 'rd19'}, {'TS013d8ed5': '0105b6b0'}, {'TSPD_101': '08819c2a'}, {'__RequestVerificationToken': '9VdrIliI'}, {'ASP.NET_SessionId': 'epax'}] # >>> ckdict = {'__RequestVerificationToken': '9VdrIliI', 'ASP.NET_SessionId': 'epax', 'BIGipServer': 'rd19', 'TS013d8ed5': '0105b6b0', 'TSPD_101': '08819c2a'} # >>> ckbody2ptl(ckstr) # [('BIGipServer', 'rd19'), ('TS013d8ed5', '0105b6b0'), ('TSPD_101', '08819c2a'), ('__RequestVerificationToken', '9VdrIliI'), ('ASP.NET_SessionId', 'epax')] # >>> ckbody2ptl(ckpl) # [('BIGipServer', 'rd19'), ('TS013d8ed5', '0105b6b0'), ('TSPD_101', '08819c2a'), ('__RequestVerificationToken', '9VdrIliI'), ('SP.NET_SessionId', 'epax')] # >>> ckbody2ptl(ckptl) # [('BIGipServer', 'rd19'), ('TS013d8ed5', '0105b6b0'), ('TSPD_101', '08819c2a'), ('__RequestVerificationToken', '9VdrIliI'), ('ASP.NET_SessionId', 'epax')] # >>> ckbody2ptl(ckpdl) # [('BIGipServer', 'rd19'), ('TS013d8ed5', '0105b6b0'), ('TSPD_101', '08819c2a'), ('__RequestVerificationToken', '9VdrIliI'), ('ASP.NET_SessionId', 'epax')] # >>> ckbody2ptl(ckdict) # [('__RequestVerificationToken', '9VdrIliI'), ('ASP.NET_SessionId', 'epax'), ('BIGipServer', 'rd19'), ('TS013d8ed5', '0105b6b0'), ('TSPD_101', '08819c2a')] # >>> # >>> #convert_ckbody ckstr = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' ckpl = ['BIGipServer=rd19', 'TS013d8ed5=0105b6b0', 'TSPD_101=08819c2a', '__RequestVerificationToken=9VdrIliI', 'SP.NET_SessionId=epax'] ckptl = [('BIGipServer', 'rd19'), ('TS013d8ed5', '0105b6b0'), ('TSPD_101', '08819c2a'), ('__RequestVerificationToken', '9VdrIliI'), ('ASP.NET_SessionId', 'epax')] ckpdl = [{'BIGipServer': 'rd19'}, {'TS013d8ed5': '0105b6b0'}, {'TSPD_101': '08819c2a'}, {'__RequestVerificationToken': '9VdrIliI'}, {'ASP.NET_SessionId': 'epax'}] ckdict = {'__RequestVerificationToken': '9VdrIliI', 'ASP.NET_SessionId': 'epax', 'BIGipServer': 'rd19', 'TS013d8ed5': '0105b6b0', 'TSPD_101': '08819c2a'} convert_ckbody(ckstr) ckbody = convert_ckbody(ckpl,mode='ckdict') pobj(ckbody) convert_ckbody(ckptl,mode='ckpdl') convert_ckbody(ckpdl,mode='ckstr') ckbody = convert_ckbody(ckdict,mode='ckpl') elel.forEach(ckbody,print) #select_ckbody ckstr = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' selected = select_ckbody(ckstr,'BIGipServer','TSPD_101') selected selected = select_ckbody(ckstr,'TSPD_101','BIGipServer') ckdict = ckstr2dict(selected) pobj(ckdict) # >>> # >>> ckstr = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> selected = select_ckbody(ckstr,'BIGipServer','TSPD_101') # >>> selected # 'BIGipServer=rd19; TSPD_101=08819c2a' # >>> selected = select_ckbody(ckstr,'TSPD_101','BIGipServer') # >>> ckdict = ckstr2dict(selected) # >>> pobj(ckdict) # { # 'BIGipServer': 'rd19', # 'TSPD_101': '08819c2a' # } # >>> # >>> #prepend_ckbody dst_ckbody = {'__RequestVerificationToken':'9VdrIliI','ASP.NET_SessionId':'epax'} src_ckbody = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a' ckstr = prepend_ckbody(dst_ckbody,src_ckbody) ckstr # >>> # >>> # >>> dst_ckbody = {'__RequestVerificationToken':'9VdrIliI','ASP.NET_SessionId':'epax'} # >>> src_ckbody = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a' # >>> ckstr = prepend_ckbody(dst_ckbody,src_ckbody) # >>> ckstr # 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> #return ckstr, params could be ckdict/ckpl/ckpdl/ckptl/ckstr # ... #attention ckdict cant keep the order! # ... #ckstr include ckpair # ... #ckdict include ckpd # ... #append_ckbody dst_ckbody = {'__RequestVerificationToken':'9VdrIliI','ASP.NET_SessionId':'epax'} src_ckbody = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a' ckstr = append_ckbody(dst_ckbody,src_ckbody) ckstr # >>> dst_ckbody = {'__RequestVerificationToken':'9VdrIliI','ASP.NET_SessionId':'epax'} # >>> src_ckbody = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a' # >>> ckstr = append_ckbody(dst_ckbody,src_ckbody) # >>> ckstr # '__RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax; BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD _101=08819c2a' # >>> #return ckstr, params could be ckdict/ckpl/ckpdl/ckptl/ckstr # ... #attention ckdict cant keep the order! # ... #ckstr include ckpair # ... #ckdict include ckpd # ... # >>> #insert_ckbody dst_ckbody = '__RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' src_ckbody = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a' ckstr = insert_ckbody(dst_ckbody,src_ckbody,1) ckstr # return ckstr, params could be ckdict/ckpl/ckpdl/ckptl/ckstr # >>> # >>> # >>> dst_ckbody = '__RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> src_ckbody = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a' # >>> ckstr = insert_ckbody(dst_ckbody,src_ckbody,1) # >>> ckstr # '__RequestVerificationToken=9VdrIliI; BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; ASP.NET_SessionId=epax' # >>> # return ckstr, params could be ckdict/ckpl/ckpdl/ckptl/ckstr # ... # >>> # >>> #remove_ckbody ckstr = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' lefted = remove_ckbody(ckstr,'TS013d8ed5') lefted ckdict = ckstr2dict(lefted) pobj(ckdict) ckstr = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' lefted = remove_ckbody(ckstr,'TS013d8ed5',which=1) lefted ckdict = ckstr2dict(lefted) pobj(ckdict) #remove_ckbody,via ckname, allow duplecate, return ckstr,by default remove_all # >>> # >>> ckstr = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> lefted = remove_ckbody(ckstr,'TS013d8ed5') # >>> lefted # 'BIGipServer=rd19; TSPD_101=08819c2a; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> ckdict = ckstr2dict(lefted) # >>> pobj(ckdict) # ckdict = ckstr2dict(lefted) # pobj(ckdict) # remove_ckbody,via ckname, allow duplecate, return ckstr,by default remove_all # { # 'BIGipServer': 'rd19', # 'ASP.NET_SessionId': 'epax', # '__RequestVerificationToken': '9VdrIliI', # 'TSPD_101': '08819c2a' # } # >>> ckstr = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> lefted = remove_ckbody(ckstr,'TS013d8ed5',which=1) # >>> lefted # 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> ckdict = ckstr2dict(lefted) # >>> pobj(ckdict) # { # 'BIGipServer': 'rd19', # 'ASP.NET_SessionId': 'epax', # '__RequestVerificationToken': '9VdrIliI', # 'TSPD_101': '08819c2a', # 'TS013d8ed5': '0105b6b0' # } # >>> #remove_ckbody,via ckname, allow duplecate, return ckstr,by default remove_all # ... # >>> #replace_ckbody ckstr = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' replaced = replace_ckbody(ckstr,'TS013d8ed5','TSreplace=replace') replaced replaced = replace_ckbody(ckstr,'TS013d8ed5',('TSreplace','replace')) replaced replaced = replace_ckbody(ckstr,'TS013d8ed5',{'TSreplace':'replace'}) replaced replaced = replace_ckbody(ckstr,'TS013d8ed5','TSreplace','replace') replaced #### ckstr = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' replaced = replace_ckbody(ckstr,'TS013d8ed5','TSreplace=replace',which=0) replaced replaced = replace_ckbody(ckstr,'TS013d8ed5',('TSreplace','replace'),which=1) replaced # >>> # >>> ckstr = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> replaced = replace_ckbody(ckstr,'TS013d8ed5','TSreplace=replace') # >>> replaced # 'BIGipServer=rd19; TSreplace=replace; TSPD_101=08819c2a; TSreplace=replace; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> replaced = replace_ckbody(ckstr,'TS013d8ed5',('TSreplace','replace')) # >>> replaced # 'BIGipServer=rd19; TSreplace=replace; TSPD_101=08819c2a; TSreplace=replace; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> replaced = replace_ckbody(ckstr,'TS013d8ed5',{'TSreplace':'replace'}) # >>> replaced # 'BIGipServer=rd19; TSreplace=replace; TSPD_101=08819c2a; TSreplace=replace; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> replaced = replace_ckbody(ckstr,'TS013d8ed5','TSreplace','replace') # >>> replaced # 'BIGipServer=rd19; TSreplace=replace; TSPD_101=08819c2a; TSreplace=replace; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> #### # ... ckstr = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> replaced = replace_ckbody(ckstr,'TS013d8ed5','TSreplace=replace',which=0) # >>> replaced # 'BIGipServer=rd19; TSreplace=replace; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> replaced = replace_ckbody(ckstr,'TS013d8ed5',('TSreplace','replace'),which=1) # >>> replaced # 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TSreplace=replace; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> # >>> #uniqulize_ckbody ckstr = 'BIGipServer=rd0; TS013d8ed5=T0; BIGipServer=rd1; TS013d8ed5=T1; SID=0; SID=1' uniqulized = uniqulize_ckbody(ckstr) uniqulized ckstr = 'BIGipServer=rd0; TS013d8ed5=T0; BIGipServer=rd1; TS013d8ed5=T1; SID=0; SID=1' reserved = {'BIGipServer':1,'TS013d8ed5':0,'SID':1} uniqulized = uniqulize_ckbody(ckstr,reserved = reserved) uniqulized # >>> # >>> # >>> ckstr = 'BIGipServer=rd0; TS013d8ed5=T0; BIGipServer=rd1; TS013d8ed5=T1; SID=0; SID=1' # >>> uniqulized = uniqulize_ckbody(ckstr) # >>> uniqulized # 'BIGipServer=rd0; TS013d8ed5=T0; SID=0' # >>> # >>> ckstr = 'BIGipServer=rd0; TS013d8ed5=T0; BIGipServer=rd1; TS013d8ed5=T1; SID=0; SID=1' # >>> reserved = {'BIGipServer':1,'TS013d8ed5':0,'SID':1} # >>> uniqulized = uniqulize_ckbody(ckstr,reserved = reserved) # >>> uniqulized # 'TS013d8ed5=T0; BIGipServer=rd1; SID=1' # >>> # >>> ckstr = 'BIGipServer=rd0; TS013d8ed5=T0; BIGipServer=rd1; TS013d8ed5=T1; SID=0; SID=1' uniqulized = uniqulize_ckbody(ckstr,'BIGipServer','TS013d8ed5') uniqulized ckstr = 'BIGipServer=rd0; TS013d8ed5=T0; BIGipServer=rd1; TS013d8ed5=T1; SID=0; SID=1' reserved = {'BIGipServer':1,'TS013d8ed5':0} uniqulized = uniqulize_ckbody(ckstr,'BIGipServer','TS013d8ed5',reserved=reserved) uniqulized #### #uniqulize_ckbody,via ckname, allow duplecate, return ckstr,by default uniqulize_all # # >>> # >>> # >>> ckstr = 'BIGipServer=rd0; TS013d8ed5=T0; BIGipServer=rd1; TS013d8ed5=T1; SID=0; SID # >>> uniqulized = uniqulize_ckbody(ckstr,'BIGipServer','TS013d8ed5') # >>> uniqulized # 'BIGipServer=rd0; TS013d8ed5=T0; SID=0; SID=1' # >>> # >>> ckstr = 'BIGipServer=rd0; TS013d8ed5=T0; BIGipServer=rd1; TS013d8ed5=T1; SID=0; SID # >>> reserved = {'BIGipServer':1,'TS013d8ed5':0} # >>> uniqulized = uniqulize_ckbody(ckstr,'BIGipServer','TS013d8ed5',reserved=reserved) # >>> uniqulized # 'TS013d8ed5=T0; BIGipServer=rd1; SID=0; SID=1' # >>> # >>> # >>> #split_ckheader ckheader = "Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax" pobj(split_ckheader(ckheader)) pobj(split_ckheader(ckheader,mode='ckstr')) pobj(split_ckheader(ckheader,mode='ckpl')) pobj(split_ckheader(ckheader,mode='ckptl')) pobj(split_ckheader(ckheader,mode='ckpdl')) pobj(split_ckheader(ckheader,mode='ckdict')) #cons_ckheader ckstr = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' ckpl = ['BIGipServer=rd19', 'TS013d8ed5=0105b6b0', 'TSPD_101=08819c2a', '__RequestVerificationToken=9VdrIliI', 'SP.NET_SessionId=epax'] ckptl = [('BIGipServer', 'rd19'), ('TS013d8ed5', '0105b6b0'), ('TSPD_101', '08819c2a'), ('__RequestVerificationToken', '9VdrIliI'), ('ASP.NET_SessionId', 'epax')] ckpdl = [{'BIGipServer': 'rd19'}, {'TS013d8ed5': '0105b6b0'}, {'TSPD_101': '08819c2a'}, {'__RequestVerificationToken': '9VdrIliI'}, {'ASP.NET_SessionId': 'epax'}] ckdict = {'__RequestVerificationToken': '9VdrIliI', 'ASP.NET_SessionId': 'epax', 'BIGipServer': 'rd19', 'TS013d8ed5': '0105b6b0', 'TSPD_101': '08819c2a'} cons_ckheader(ckstr) cons_ckheader(ckpl) cons_ckheader(ckptl) cons_ckheader(ckpdl) cons_ckheader(ckdict) #select_ckheader ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' selected = select_ckheader(ckheader,'BIGipServer','TSPD_101') selected selected = select_ckheader(ckheader,'TSPD_101','BIGipServer') selected # >>> # >>> # >>> ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> selected = select_ckheader(ckheader,'BIGipServer','TSPD_101') # >>> selected # 'Cookie: BIGipServer=rd19; TSPD_101=08819c2a' # >>> selected = select_ckheader(ckheader,'TSPD_101','BIGipServer') # >>> selected # 'Cookie: BIGipServer=rd19; TSPD_101=08819c2a' # >>> # >>> #prepend_ckheader ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' src = 'Cookie: __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' prepended = prepend_ckheader(ckheader,src) prepended ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' src = '__RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' prepended = prepend_ckheader(ckheader,src) prepended ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' src = [('__RequestVerificationToken','9VdrIliI'),('ASP.NET_SessionId','epax')] prepended = prepend_ckheader(ckheader,src) prepended ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' src = {'__RequestVerificationToken':'9VdrIliI','ASP.NET_SessionId':'epax'} prepended = prepend_ckheader(ckheader,src) # using ckdict will lose the order prepended #append_ckheader ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' src = 'Cookie: __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' appended = append_ckheader(ckheader,src) appended ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' src = '__RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' appended = append_ckheader(ckheader,src) appended ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' src = [('__RequestVerificationToken','9VdrIliI'),('ASP.NET_SessionId','epax')] appended = append_ckheader(ckheader,src) appended ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' src = {'__RequestVerificationToken':'9VdrIliI','ASP.NET_SessionId':'epax'} appended = append_ckheader(ckheader,src) appended # >>> # >>> ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' # >>> src = 'Cookie: __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> appended = append_ckheader(ckheader,src) # >>> appended # 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> # >>> ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' # >>> src = '__RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> appended = append_ckheader(ckheader,src) # appended # >>> appended # 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> # >>> ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' # >>> src = [('__RequestVerificationToken','9VdrIliI'),('ASP.NET_SessionId','epax')] # >>> appended = append_ckheader(ckheader,src) # >>> appended # 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> # >>> ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' # >>> src = {'__RequestVerificationToken':'9VdrIliI','ASP.NET_SessionId':'epax'} # >>> appended = append_ckheader(ckheader,src) # >>> appended # 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; ASP.NET_SessionId=epax; __RequestVerificationToken=9VdrIliI' # >>> #insert_ckheader ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' src = 'Cookie: __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' inserted = insert_ckheader(ckheader,src,0) inserted ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' src = '__RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' inserted = insert_ckheader(ckheader,src,1) inserted ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' src = [('__RequestVerificationToken','9VdrIliI'),('ASP.NET_SessionId','epax')] inserted = insert_ckheader(ckheader,src,2) inserted ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' src = {'__RequestVerificationToken':'9VdrIliI','ASP.NET_SessionId':'epax'} inserted = insert_ckheader(ckheader,src,3) inserted # >>> # >>> ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' # src = 'Cookie: __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # inserted = insert_ckheader(ckheader,src,0) # >>> src = 'Cookie: __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> inserted = insert_ckheader(ckheader,src,0) # >>> inserted # 'Cookie: __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax; BIGipServer=rd19; TS013d8ed5=0105b6b0' # >>> # >>> ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' # >>> src = '__RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> inserted = insert_ckheader(ckheader,src,1) # >>> inserted # 'Cookie: BIGipServer=rd19; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax; TS013d8ed5=0105b6b0' # >>> # >>> ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' # >>> src = [('__RequestVerificationToken','9VdrIliI'),('ASP.NET_SessionId','epax')] # >>> inserted = insert_ckheader(ckheader,src,2) # >>> inserted # 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> # >>> ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' # >>> src = {'__RequestVerificationToken':'9VdrIliI','ASP.NET_SessionId':'epax'} # >>> inserted = insert_ckheader(ckheader,src,3) # >>> inserted # 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; ASP.NET_SessionId=epax; __RequestVerificationToken=9VdrIliI' # >>> #remove_ckheader ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' removed = remove_ckheader(ckheader,'TS013d8ed5') removed ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' removed = remove_ckheader(ckheader,'TS013d8ed5',which=1) removed #remove_ckheader,via ckname, allow duplecate, return ckheader,by default remove_all # >>> # >>> # >>> ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> removed = remove_ckheader(ckheader,'TS013d8ed5') # >>> removed # 'Cookie: BIGipServer=rd19; TSPD_101=08819c2a; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> # >>> ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> removed = remove_ckheader(ckheader,'TS013d8ed5',which=1) # >>> removed # 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> # >>> #replace_ckheader ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' replaced = replace_ckheader(ckheader,'TS013d8ed5','TSreplace=replace') replaced replaced = replace_ckheader(ckheader,'TS013d8ed5',('TSreplace','replace')) replaced replaced = replace_ckheader(ckheader,'TS013d8ed5',{'TSreplace':'replace'}) replaced replaced = replace_ckheader(ckheader,'TS013d8ed5','TSreplace','replace') replaced #### ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' replaced = replace_ckheader(ckheader,'TS013d8ed5','TSreplace=replace',which=0) replaced replaced = replace_ckheader(ckheader,'TS013d8ed5',('TSreplace','replace'),which=1) replaced replaced = replace_ckheader(ckheader,'TS013d8ed5',{'TSreplace':'replace'},which=0) replaced replaced = replace_ckheader(ckheader,'TS013d8ed5','TSreplace','replace',which=1) replaced #replace_ckheader,via ckname, allow duplecate, return ckheader,by default replace_all # >>> #replace_ckheader # ... ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> replaced = replace_ckheader(ckheader,'TS013d8ed5','TSreplace=replace') # >>> replaced # 'Cookie: BIGipServer=rd19; TSreplace=replace; TSPD_101=08819c2a; TSreplace=replace; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> replaced = replace_ckheader(ckheader,'TS013d8ed5',('TSreplace','replace')) # >>> replaced # 'Cookie: BIGipServer=rd19; TSreplace=replace; TSPD_101=08819c2a; TSreplace=replace; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> replaced = replace_ckheader(ckheader,'TS013d8ed5',{'TSreplace':'replace'}) # >>> replaced # 'Cookie: BIGipServer=rd19; TSreplace=replace; TSPD_101=08819c2a; TSreplace=replace; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> replaced = replace_ckheader(ckheader,'TS013d8ed5','TSreplace','replace') # >>> replaced # 'Cookie: BIGipServer=rd19; TSreplace=replace; TSPD_101=08819c2a; TSreplace=replace; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> #### # ... ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> replaced = replace_ckheader(ckheader,'TS013d8ed5','TSreplace=replace',which=0) # >>> replaced # 'Cookie: BIGipServer=rd19; TSreplace=replace; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> replaced = replace_ckheader(ckheader,'TS013d8ed5',('TSreplace','replace'),which=1) # >>> replaced # 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TSreplace=replace; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> replaced = replace_ckheader(ckheader,'TS013d8ed5',{'TSreplace':'replace'},which=0) # >>> replaced # 'Cookie: BIGipServer=rd19; TSreplace=replace; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> replaced = replace_ckheader(ckheader,'TS013d8ed5','TSreplace','replace',which=1) # >>> replaced # 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TSreplace=replace; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> #replace_ckheader,via ckname, allow duplecate, return ckheader,by default replace_all # ... # >>> #uniqulize_ckheader ckheader = 'Cookie: BIGipServer=rd0; TS013d8ed5=T0; BIGipServer=rd1; TS013d8ed5=T1; SID=0; SID=1' uniqulized = uniqualize_ckheader(ckheader) uniqulized ckheader = 'Cookie: BIGipServer=rd0; TS013d8ed5=T0; BIGipServer=rd1; TS013d8ed5=T1; SID=0; SID=1' reserved = {'BIGipServer':1,'TS013d8ed5':0,'SID':1} uniqulized = uniqualize_ckheader(ckheader,reserved = reserved) uniqulized ckheader = 'Cookie: BIGipServer=rd0; TS013d8ed5=T0; BIGipServer=rd1; TS013d8ed5=T1; SID=0; SID=1' uniqulized = uniqualize_ckheader(ckheader,'BIGipServer','TS013d8ed5') uniqulized ckheader = 'Cookie: BIGipServer=rd0; TS013d8ed5=T0; BIGipServer=rd1; TS013d8ed5=T1; SID=0; SID=1' reserved = {'BIGipServer':1,'TS013d8ed5':0} uniqulized = uniqualize_ckheader(ckheader,'BIGipServer','TS013d8ed5',reserved=reserved) uniqulized #### #uniqualize_ckheader,via ckname, allow duplecate, return ckheader,by default uniqulize_all # ckheader = 'Cookie: BIGipServer=rd0; TS013d8ed5=T0; BIGipServer=rd1; TS013d8ed5=T1; SID=0; SID=1' uniqulized = uniqualize_ckheader(ckheader) uniqulized ckheader = 'Cookie: BIGipServer=rd0; TS013d8ed5=T0; BIGipServer=rd1; TS013d8ed5=T1; SID=0; SID=1' reserved = {'BIGipServer':1,'TS013d8ed5':0,'SID':1} uniqulized = uniqualize_ckheader(ckheader,reserved = reserved) uniqulized ckheader = 'Cookie: BIGipServer=rd0; TS013d8ed5=T0; BIGipServer=rd1; TS013d8ed5=T1; SID=0; SID=1' uniqulized = uniqualize_ckheader(ckheader,'BIGipServer','TS013d8ed5') uniqulized ckheader = 'Cookie: BIGipServer=rd0; TS013d8ed5=T0; BIGipServer=rd1; TS013d8ed5=T1; SID=0; SID=1' reserved = {'BIGipServer':1,'TS013d8ed5':0} uniqulized = uniqualize_ckheader(ckheader,'BIGipServer','TS013d8ed5',reserved=reserved) uniqulized #### #uniqualize_ckheader,via ckname, allow duplecate, return ckheader,by default uniqulize_all # # >>> # >>> ckheader = 'Cookie: BIGipServer=rd0; TS013d8ed5=T0; BIGipServer=rd1; TS013d8ed5=T1; SID=0; SID=1' # >>> uniqulized = uniqualize_ckheader(ckheader) # >>> uniqulized # 'Cookie: BIGipServer=rd0; TS013d8ed5=T0; SID=0' # >>> # >>> ckheader = 'Cookie: BIGipServer=rd0; TS013d8ed5=T0; BIGipServer=rd1; TS013d8ed5=T1; SID=0; SID=1' # >>> reserved = {'BIGipServer':1,'TS013d8ed5':0,'SID':1} # >>> uniqulized = uniqualize_ckheader(ckheader,reserved = reserved) # >>> uniqulized # 'Cookie: TS013d8ed5=T0; BIGipServer=rd1; SID=1' # >>> # >>> ckheader = 'Cookie: BIGipServer=rd0; TS013d8ed5=T0; BIGipServer=rd1; TS013d8ed5=T1; SID=0; SID=1' # >>> uniqulized = uniqualize_ckheader(ckheader,'BIGipServer','TS013d8ed5') # >>> uniqulized # 'Cookie: BIGipServer=rd0; TS013d8ed5=T0; SID=0; SID=1' # >>> # >>> ckheader = 'Cookie: BIGipServer=rd0; TS013d8ed5=T0; BIGipServer=rd1; TS013d8ed5=T1; SID=0; SID=1' # >>> reserved = {'BIGipServer':1,'TS013d8ed5':0} # >>> uniqulized = uniqualize_ckheader(ckheader,'BIGipServer','TS013d8ed5',reserved=reserved) # >>> uniqulized # 'Cookie: TS013d8ed5=T0; BIGipServer=rd1; SID=0; SID=1' # >>> # >>> #### # ... #uniqualize_ckheader,via ckname, allow duplecate, return ckheader,by default uniqulize_all # ... # # ... # >>> #select ckstr = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' selected = select(ckstr,'BIGipServer','TSPD_101') selected ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' selected = select(ckheader,'BIGipServer','TSPD_101') selected # >>> # >>> # >>> ckstr = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; __RequestVerific ationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> selected = select(ckstr,'BIGipServer','TSPD_101') # >>> selected # 'BIGipServer=rd19; TSPD_101=08819c2a' # >>> # >>> ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; __Req uestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> selected = select(ckheader,'BIGipServer','TSPD_101') # >>> selected # 'Cookie: BIGipServer=rd19; TSPD_101=08819c2a' # >>> # >>> dst_ckbody = {'__RequestVerificationToken':'9VdrIliI','ASP.NET_SessionId':'epax'} src_ckbody = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a' ckstr = prepend(dst_ckbody,src_ckbody) ckstr ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' src = 'Cookie: __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' prepended = prepend(ckheader,src) prepended # >>> # >>> dst_ckbody = {'__RequestVerificationToken':'9VdrIliI','ASP.NET_SessionId':'epax'} # >>> src_ckbody = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a' # >>> ckstr = prepend(dst_ckbody,src_ckbody) # prepended = prepend(ckheader,src) # >>> ckstr # 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; __RequestVerificationToken=9 # >>> # >>> ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' # >>> src = 'Cookie: __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> prepended = prepend(ckheader,src) # >>> prepended # 'Cookie: __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax; BIGipServer=rd19; # >>> # >>> # >>> dst_ckbody = {'__RequestVerificationToken':'9VdrIliI','ASP.NET_SessionId':'epax'} src_ckbody = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a' ckstr = append(dst_ckbody,src_ckbody) ckstr ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' src = 'Cookie: __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' appended = append(ckheader,src) appended # >>> # >>> dst_ckbody = {'__RequestVerificationToken':'9VdrIliI','ASP.NET_SessionId':'epax'} # >>> src_ckbody = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a' # >>> ckstr = append(dst_ckbody,src_ckbody) # >>> ckstr # '__RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax; BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a' # >>> # ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' # >>> ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' # >>> src = 'Cookie: __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> appended = append(ckheader,src) # >>> appended # 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> dst_ckbody = '__RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' src_ckbody = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a' ckstr = insert(dst_ckbody,src_ckbody,1) ckstr ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' src = 'Cookie: __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' inserted = insert(ckheader,src,0) inserted # >>> # >>> dst_ckbody = '__RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> src_ckbody = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a' # >>> ckstr = insert(dst_ckbody,src_ckbody,1) # >>> ckstr # '__RequestVerificationToken=9VdrIliI; BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=0 # >>> # >>> ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0' # >>> src = 'Cookie: __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> inserted = insert(ckheader,src,0) # >>> inserted # 'Cookie: __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax; BIGipServer=rd19; # >>> # >>> ckstr = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' lefted = remove(ckstr,'TS013d8ed5') lefted ##### ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' removed = remove(ckheader,'TS013d8ed5') removed # >>> # >>> ckstr = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013d8ed5=0105brIliI; ASP.NET_SessionId=epax' # >>> lefted = remove(ckstr,'TS013d8ed5') # >>> lefted # 'BIGipServer=rd19; TSPD_101=08819c2a; __RequestVerificationToken=9VdrIliI; ASP.NET_Sess # >>> ##### # ... ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013onToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> removed = remove(ckheader,'TS013d8ed5') # >>> removed # 'Cookie: BIGipServer=rd19; TSPD_101=08819c2a; __RequestVerificationToken=9VdrIliI; ASP. # >>> # >>> ckstr = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' replaced = replace(ckstr,'TS013d8ed5','TSreplace=replace') replaced #### ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' replaced = replace(ckheader,'TS013d8ed5','TSreplace=replace') replaced # >>> # >>> ckstr = 'BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> replaced = replace(ckstr,'TS013d8ed5','TSreplace=replace') # replaced = replace(ckheader,'TS013d8ed5','TSreplace=replace') # >>> replaced # 'BIGipServer=rd19; TSreplace=replace; TSPD_101=08819c2a; TSreplace=replace; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> #### # ... ckheader = 'Cookie: BIGipServer=rd19; TS013d8ed5=0105b6b0; TSPD_101=08819c2a; TS013d8ed5=0105b6b0; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> replaced = replace(ckheader,'TS013d8ed5','TSreplace=replace') # >>> replaced # 'Cookie: BIGipServer=rd19; TSreplace=replace; TSPD_101=08819c2a; TSreplace=replace; __RequestVerificationToken=9VdrIliI; ASP.NET_SessionId=epax' # >>> ckstr = 'BIGipServer=rd0; TS013d8ed5=T0; BIGipServer=rd1; TS013d8ed5=T1; SID=0; SID=1' uniqulized = uniqualize(ckstr) uniqulized #### ckheader = 'Cookie: BIGipServer=rd0; TS013d8ed5=T0; BIGipServer=rd1; TS013d8ed5=T1; SID=0; SID=1' uniqulized = uniqualize(ckheader) uniqulized # >>> # >>> # >>> ckstr = 'BIGipServer=rd0; TS013d8ed5=T0; BIGipServer=rd1; TS013d8ed5=T1; SID=0; SID =1' # >>> uniqulized = uniqualize(ckstr) # >>> uniqulized # 'BIGipServer=rd0; TS013d8ed5=T0; SID=0' # >>> #### # ... ckheader = 'Cookie: BIGipServer=rd0; TS013d8ed5=T0; BIGipServer=rd1; TS013d8ed5=T1; SID=0; SID=1' # >>> uniqulized = uniqualize(ckheader) # >>> uniqulized # 'Cookie: BIGipServer=rd0; TS013d8ed5=T0; SID=0' # >>> # >>>
6cbe2237453d479b852c29641ff98b3ec5322465
f5bb8d58446077a551e4d9a6461a55255db523fe
/interpolação_polinomial/calc3.sce
6b420e6a83ade4bc37ffc56feb3c019b8f0f3b1d
[]
no_license
appositum/numerical-calculus
6be1a9990a1621c705af6ba5694cf8c7b891d06e
7759e74ce9ce5c5826f96be7de84a2f7ecb97c91
refs/heads/master
2021-07-19T18:19:09.336819
2018-11-27T21:52:36
2018-11-27T21:52:36
143,060,426
1
0
null
null
null
null
UTF-8
Scilab
false
false
640
sce
calc3.sce
// calculo de erro de interpolaçao // x | x1 | x2 // f(x) | f(x1) | f(x2) // n = 2 // Estimativa do erro // Er(x) <= |(x-x1)(x-x2)| / 2! * max λ∈[x1, x2] * |f^(n)(λ)| // Sendo f(x) = 1/x^2 determine o pol. interpolador para x1 = 3 e x2 = 4 usando o método de Lagrange // f(x1)*(x-x2) / (x1-x2) + f(x2)*(x-x1)/(x2-x1) function y=f(x) y = x.^(-2) endfunction // derivada de segunda ordem function y=df(x) y = 6.*x.^(-4) endfunction // maximo da derivada t = 3:0.05:4 w = abs(df(t)) M = max(w) R = abs((3.5-3).*(3.5-4))./factorial(2) erro = M.*R printf("Estimativa de erro:") disp(erro)
43a220324b989adfae54820ba9516b955d941917
449d555969bfd7befe906877abab098c6e63a0e8
/3731/CH6/EX6.17/Ex6_17.sce
8aafafe27243ae25dc87a0d336bb5bb1577b8642
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,280
sce
Ex6_17.sce
//Chapter 6:Induction Motor Drives //Example 17 clc; //Variable Initialization //Ratings of the star connected Induction motor f=50 // frequency in HZ Vl=440 //line voltage in V P=6 // number of poles Ns=120*f/P //synchronous speed //Parameters referred to the stator Xr_=1.2 // rotor winding reactance in ohm Xs=Xr_ // stator winding reactance in ohm Rr_=0.4 // resistance of the rotor windings in ohm Rs=0.5 // resistance of the stator windings in ohm Xm=50 // magnetizing reatance a=3.5 // stator to rotor turns ratio delta=0 // duty ratio at the given breakdown torque Sm=1 // slip at standstill //Solution //Slip at maximum torque without an external resistance is Sm=Rr_/sqrt(Rs**2+(Xs+Xr_)**2) //When an external resistanc Re referred to the stator is connected x=Sm*sqrt(Rs**2+(Xs+Xr_)**2) //x=Re+Rr_ Re=x-Rr_ y=0.5*a**2*(1-delta) // y=0.5*a**2*R*(1-delta) //y=Re R=Re/y //(Ns-N)/Ns //(Ns/Ns)-(N/Ns) Sm=(Ns/Ns)-(1/Ns) c=(x*Sm-Rr_)/(0.5*a**2*R) //c=(1-delta) delta=1-c //given duty ratio //Results mprintf("Variation of the duty ratio is:%.3f*N*10**(-3)",delta*1000) mprintf("\nHence the duty ratio must change linearly with speed N")
92c9fbe10887f3ca4c5897fe0519501c1ed98f8c
be07c1e346737e6e38bb958d9a66f52f6da2180a
/Regression/VCAST_TIME/VCAST_TIME_W.tst
e578af63fcae6c2a21b8773eeb31f5179c6a75e9
[]
no_license
dpreisser/Training
1bc8840d646306d861f4c7610a28bb23667f06e5
97eb58c7963e4725d6a2ad9e8200ca9367c84061
refs/heads/master
2021-01-10T13:03:12.508795
2016-04-11T12:49:06
2016-04-11T12:49:06
54,963,561
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,644
tst
VCAST_TIME_W.tst
-- VectorCAST 6.4d (02/29/16) -- Test Case Script -- -- Environment : VCAST_TIME_W -- Unit(s) Under Test: vcast_time -- -- Script Features TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT TEST.SCRIPT_FEATURE:MIXED_CASE_NAMES TEST.SCRIPT_FEATURE:STANDARD_SPACING_R2 TEST.SCRIPT_FEATURE:OVERLOADED_CONST_SUPPORT TEST.SCRIPT_FEATURE:UNDERSCORE_NULLPTR TEST.SCRIPT_FEATURE:FULL_PARAMETER_TYPES TEST.SCRIPT_FEATURE:STATIC_HEADER_FUNCS_IN_UUTS -- -- Test Case: time_add_seconds.001 TEST.UNIT:vcast_time TEST.SUBPROGRAM:time_add_seconds TEST.NEW TEST.NAME:time_add_seconds.001 TEST.NOTES: Author: Date: Version: Requirement: TEST.END_NOTES: TEST.VALUE:vcast_time.time_add_seconds.start.mins:(2)59 TEST.VALUE:vcast_time.time_add_seconds.start.secs:(2)59 TEST.VALUE:vcast_time.time_add_seconds.seconds:1,61 TEST.EXPECTED:vcast_time.time_add_seconds.return.mins:(2)60 TEST.EXPECTED:vcast_time.time_add_seconds.return.secs:0,60 TEST.END -- Test Case: time_add_seconds.002 TEST.UNIT:vcast_time TEST.SUBPROGRAM:time_add_seconds TEST.NEW TEST.NAME:time_add_seconds.002 TEST.NOTES: Author: Date: Version: Requirement: TEST.END_NOTES: TEST.VALUE:vcast_time.time_add_seconds.seconds:1 TEST.VALUE_USER_CODE:vcast_time.time_add_seconds.start <<vcast_time.time_add_seconds.start>>.mins = 59; <<vcast_time.time_add_seconds.start>>.secs = 59; TEST.END_VALUE_USER_CODE: TEST.EXPECTED_USER_CODE:vcast_time.time_add_seconds.return {{ <<vcast_time.time_add_seconds.return>>.mins == 60 }} {{ <<vcast_time.time_add_seconds.return>>.secs == 0 }} TEST.END_EXPECTED_USER_CODE: TEST.END
013c42120b3d815e3279391f141ec3b3eba48f53
717ddeb7e700373742c617a95e25a2376565112c
/1445/CH2/EX2.23/Ex2_23.sce
7ff18778699d0514b02c8de119fdaf83eb228079
[]
no_license
appucrossroads/Scilab-TBC-Uploads
b7ce9a8665d6253926fa8cc0989cda3c0db8e63d
1d1c6f68fe7afb15ea12fd38492ec171491f8ce7
refs/heads/master
2021-01-22T04:15:15.512674
2017-09-19T11:51:56
2017-09-19T11:51:56
92,444,732
0
0
null
2017-05-25T21:09:20
2017-05-25T21:09:19
null
UTF-8
Scilab
false
false
1,153
sce
Ex2_23.sce
//CHAPTER 2- STEADY-STATE ANALYSIS OF SINGLE-PHASE A.C. CIRCUIT //Example 22 // read it as example 22 in the book on page 2.76 disp("CHAPTER 2"); disp("EXAMPLE 23"); //Given //Equation of an Ac current with respect to origin //i=100.sin2.pi.50t //i=100.sin 100.pi.t // //VARIABLE INITIALIZATION A=100 //Amplitude in Amps f=50 //frquency in Hz t1=1/600 //sec after wave becomes zero again a1=86.6 //amplitude at some time t after start //SOLUTION //solution (a) //Amplitude at 1/600 second after it becomes zero // w=f*2*%pi; //angular speed hp=1/(2*f); //half period, the point where sine beomes zero again after origin //The hald period , hp, needs to be added to 1/600 sec t=hp+t1; a2=A*sin(w*t); disp("SOLUTION (a)"); disp(sprintf("Amplitude after 1/600 sec is %3.0f A", a2)); disp(" "); //solution (b) //since A=A0.sinwt, t=asin(A/A0)/w t2=(asin(a1/A))/w; disp("SOLUTION (b)"); disp(sprintf("The time at which amp would be %3.2f is %3.3f sec", a1,t2));//text book answer is 1/300 sec // //END
2ecf09e03c3b3a7c90372185c9fce8017e9a436a
449d555969bfd7befe906877abab098c6e63a0e8
/3428/CH3/EX1.3.24/Ex1_3_24.sce
e968badf024644ca52f003bdd7baed561c455a74
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
504
sce
Ex1_3_24.sce
//Section-1,Example-7,Page no.AC-273 //To calculate the amount of lime and soda required for the softening of 300000 litres of water. clc; A_1=34 //CO2(ppm) A_2=403 //HCO3-(ppm) A_3=96 //Mg2+(ppm) A_4=160 //Ca2+(ppm) A_5=20 //NaAlO2(ppm) V=(3*10^5/10^6) L_R=(74/100)*((A_3*(100/24))+(A_2*(100/122))+(A_1*(100/44))-(A_5*(100/164)))*V disp(L_R,'Lime requirement(kg)') S_R=(106/100)*((A_4*(100/40))+(A_3*(100/24))-(A_2*(100/122)))*V disp(S_R,'Soda requirement(kg)')
5ff87353ddabc4d871775a211bfba08c25563af7
449d555969bfd7befe906877abab098c6e63a0e8
/1664/CH12/EX12.2/Ex12_2.sce
16758b72007cf97bc46d71bd93c4949f2a2c7f0d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
302
sce
Ex12_2.sce
//Example NO.12.2 //Page No.356 //To find critical field. clc;clear; Tc = 7.26;//Critical temperature of lead -[K]. Ho = 6.4*10^3;//Magnetic field -[A/m^3]. T = 5;//Temperature -[K]. Hc = Ho*(1-((T^(2))/(Tc^(2))));//Critical magnetic field printf("\nCritical field at 5K is %.2f T",Hc);
cd3a7f323f5ac54800d020abbf91b8da47672588
6f93c26af9664a4531dba8754a6166713ca83d91
/homework10/TestHexBoard.tst
6e8a1b0d2661f6226a8644c814448ccbafaae87b
[]
no_license
terryd300/Data-Structures
b2d4cff3a86576942c1234856a4c456d97315623
fe91b086b38f2ed6a7915cf160ba01dd2c340b9f
refs/heads/main
2023-07-18T01:35:26.980071
2021-08-31T16:53:14
2021-08-31T16:53:14
401,778,521
0
0
null
null
null
null
UTF-8
Scilab
false
false
166
tst
TestHexBoard.tst
1914280505="<3,2,1>=FOREST" 701246749=2 374059176=4 990435279="null" 349645244="DESERT" 1361484314="UnsupportedOperationException" 662212="FOREST<2,3,-1>" 34733118=3
621c17970b06039b3974715be144aed5e4d750b1
01ecab2f6eeeff384acae2c4861aa9ad1b3f6861
/prog_assembly/libs/scilab_code/ekvfit_nfet.sce
ade3e68e7fc265cc92e15b82143c4f318ad2bf39
[]
no_license
jhasler/rasp30
9a7c2431d56c879a18b50c2d43e487d413ceccb0
3612de44eaa10babd7298d2e0a7cddf4a4b761f6
refs/heads/master
2023-05-25T08:21:31.003675
2023-05-11T16:19:59
2023-05-11T16:19:59
62,917,238
3
3
null
null
null
null
UTF-8
Scilab
false
false
7,864
sce
ekvfit_nfet.sce
function [Is, VT, kappa]=ekvfit_nfet(Vg, Isat, epsilon, plotting) Is = 0; VT = 0; kappa = 0; [WIfirst, WIlast, WIm, WIb, WIN]=linefit(Vg, log(Isat), epsilon); if WIN==0 error('Could not find a weak-inversion region.'); end if plotting == 'on_all' scf(1);clf(1); plot2d("nl", Vg, Isat, style=1);p = get("hdl"); p.children.mark_style = 9; p.children.thickness = 1; p.children.line_mode="off"; plot2d("nl", Vg(WIfirst:WIlast), Isat(WIfirst:WIlast), style=1);p = get("hdl"); p.children.mark_style = 9; p.children.thickness = 3; p.children.line_mode="off"; plot2d("nl", Vg, exp(WIm*Vg + WIb), style=1);p = get("hdl"); p.children.line_style = 1; p.children.thickness = 3; p.children.thickness = 3;p.children.line_mode="on"; legend(" Data1","Polynomial Model1","Data2","Polynomial Model2","in_lower_right"); a=gca();a.data_bounds=[0 1e-12; 2.5 1e-3]; xtitle("","Vg(V)","Isat(A)"); title('Weak-Inversion Fit'); end if min(abs(Isat(WIfirst:WIlast)))>1e-6 error('Identified a candidate weak-inversion region, but all current levels exceed typical weak-inversion currents.'); end if max(abs(Isat(WIfirst:WIlast)))>1e-6 warning('Identified a candidate weak-inversion region, but some current levels exceed typical weak-inversion currents.'); end [SIfirst, SIlast, SIm, SIb, SIN]=linefit(Vg, sqrt(Isat), epsilon); if SIN==0 error('Could not find a strong-inversion region.'); end if plotting == 'on_all' scf(2);clf(2); plot2d("nn", Vg, sqrt(Isat), style=1);p = get("hdl"); p.children.mark_style = 9; p.children.thickness = 1; p.children.line_mode="off"; plot2d("nn", Vg(SIfirst:SIlast), sqrt(Isat(SIfirst:SIlast)), style=1);p = get("hdl"); p.children.mark_style = 9; p.children.thickness = 3; p.children.line_mode="off"; plot2d("nn", Vg, SIm*Vg + SIb, style=1);p = get("hdl"); p.children.line_style = 1; p.children.thickness = 3; p.children.thickness = 3;p.children.line_mode="on"; legend(" Data1","Polynomial Model1","Data2","Polynomial Model2","in_lower_right"); a=gca();a.data_bounds=[0 0; 2.5 1e-2]; xtitle("","Vg(V)","Isat(A)"); title('Strong-Inversion Fit'); end if max(abs(Isat(SIfirst:SIlast)))<0.1e-6 error('Identified a candidate strong-inversion region, but all current levels are lower than typical strong-inversion currents.'); end if min(abs(Isat(SIfirst:SIlast)))<0.1e-6 warning('Identified a candidate strong-inversion region, but some current levels are lower than typical strong-inversion currents.'); end if SIfirst>WIlast first = WIfirst; last = SIlast; elseif WIfirst>SIlast first = SIfirst; last = WIlast; else error('Weak-inversion and strong-inversion regions found were not disjoint.'); end VT=-SIb/SIm; //Is=2*spline(Vg(first:last), Isat(first:last), VT); splin_Is=2*splin(Vg(first:last), Isat(first:last)); Is=interp(VT,Vg(first:last), Isat(first:last),splin_Is); R=0.61803399; C=1.-R; tol=1e-4; x0=0.1*Is; x1=Is; x2=(1.+9.*C)*Is; x3=10.*Is; dVg=diff(Vg(first:last)); temp=diff(log(exp(sqrt(Isat(first:last)/x1))-1))./dVg; f1=stdev(temp)/mean(temp); temp=diff(log(exp(sqrt(Isat(first:last)/x2))-1))./dVg; f2=stdev(temp)/mean(temp); while abs(x3-x0)>tol*(abs(x1)+abs(x2)), if f2<f1, x0=x1; x1=x2; x2=R*x1+C*x3; f1=f2; temp=diff(log(exp(sqrt(Isat(first:last)/x2))-1))./dVg; f2=stdev(temp)/mean(temp); if plotting == 'on_all' [EKVfirst, EKVlast, m, b, N]=linefit(Vg(first:last), log(exp(sqrt(Isat(first:last)/x2))-1), epsilon); // scf(3);clf(3); // plot2d("nl", Vg(first:last), exp(sqrt(Isat(first:last)/x2))-1, style=1);p = get("hdl"); p.children.mark_style = 9; p.children.thickness = 3; p.children.line_mode="off"; // plot2d("nl", Vg(first:last), exp(m*Vg(first:last)+b), style=1);p = get("hdl"); p.children.line_style = 1; p.children.thickness = 3; p.children.thickness = 3;p.children.line_mode="on"; // legend(" Data1","Polynomial Model1","Data2","Polynomial Model2","in_lower_right"); // xtitle("","Vg(V)","Isat(A)"); // title(['Optimizing Specific Current: I_s = ', string(x2), 'A']); end else x3=x2; x2=x1; x1=R*x2+C*x0; f2=f1; temp=diff(log(exp(sqrt(Isat(first:last)/x1))-1))./dVg; f1=stdev(temp)/mean(temp); if plotting == 'on_all' [EKVfirst, EKVlast, m, b, N]=linefit(Vg(first:last), log(exp(sqrt(Isat(first:last)./x1))-1), epsilon); // scf(4);clf(4); // plot2d("nl",Vg(first:last), exp(sqrt(Isat(first:last)/x1))-1, style=1);p = get("hdl"); p.children.mark_style = 9; p.children.thickness = 3; p.children.line_mode="off"; // plot2d("nl", Vg(first:last), exp(m*Vg(first:last)+b), style=1);p = get("hdl"); p.children.line_style = 1; p.children.thickness = 3; p.children.thickness = 3;p.children.line_mode="on"; // legend(" Data1","Polynomial Model1","Data2","Polynomial Model2","in_lower_right"); // xtitle("","Vg(V)","Isat(A)"); // title(['Optimizing Specific Current: I_s = ', string(x1), 'A']); end end end if f1<f2, Is=x1; else Is=x2; end [EKVfirst, EKVlast, m, b, N]=linefit(Vg(first:last), log(exp(sqrt(Isat(first:last)./Is))-1), epsilon); VT=-b/m; kappa=2*m*0.0258; if plotting == 'on_all' | plotting == 'on_final' scf(5);clf(5); plot2d("nl",Vg, Isat, style=1);p = get("hdl"); p.children.mark_style = 9; p.children.thickness = 1; p.children.line_mode="off"; plot2d("nl",Vg(WIfirst:WIlast), Isat(WIfirst:WIlast), style=2);p = get("hdl"); p.children.mark_style = 9; p.children.thickness = 3; p.children.line_mode="off"; plot2d("nl",Vg(SIfirst:SIlast), Isat(SIfirst:SIlast), style=2);p = get("hdl"); p.children.mark_style = 9; p.children.thickness = 3; p.children.line_mode="off"; c=log(1+exp(kappa*(Vg-VT)/(2*0.0258))).^2; plot2d("nl", Vg, Is*(log(1+exp(kappa*(Vg-VT)/(2*0.0258)))).^2, style=1);p = get("hdl"); p.children.line_style = 1; p.children.thickness = 3; p.children.thickness = 3;p.children.line_mode="on"; legend(" Data1","Polynomial Model1","Data2","Polynomial Model2","in_lower_right"); a=gca();a.data_bounds=[0 1e-12; 2.5 1e-3]; xtitle("","Vg(V)","Isat(A)"); title(['EKV Fit: I_s = '+string(Is)+'A, V_T = '+string(VT)+'V, Kappa = '+string(kappa)]); scf(6);clf(6); plot2d("nn",Vg, Isat, style=1);p = get("hdl"); p.children.mark_style = 9; p.children.thickness = 1; p.children.line_mode="off"; plot2d("nn",Vg(WIfirst:WIlast), Isat(WIfirst:WIlast), style=2);p = get("hdl"); p.children.mark_style = 9; p.children.thickness = 3; p.children.line_mode="off"; plot2d("nn",Vg(SIfirst:SIlast), Isat(SIfirst:SIlast), style=2);p = get("hdl"); p.children.mark_style = 9; p.children.thickness = 3; p.children.line_mode="off"; c=log(1+exp(kappa*(Vg-VT)/(2*0.0258))).^2; plot2d("nn", Vg, Is*(log(1+exp(kappa*(Vg-VT)/(2*0.0258)))).^2, style=1);p = get("hdl"); p.children.line_style = 1; p.children.thickness = 3; p.children.thickness = 3;p.children.line_mode="on"; legend(" Data1","Polynomial Model1","Data2","Polynomial Model2","in_lower_right"); //a=gca();a.data_bounds=[0 1e-10; 2.5 1e-3]; xtitle("","Vg(V)","Isat(A)"); title(['EKV Fit: I_s = '+string(Is)+'A, V_T = '+string(VT)+'V, Kappa = '+string(kappa)]); end endfunction
431b87c1c0bbf71756e83f41a6d311752061e677
3f974cd2e8f9ee9d8172734dc7ba7838e9ed889a
/Ex1.circuitoRLpassa-baixa.sce
3079a5e7432a17dc7c1746eeaea77158dd7e40cd
[]
no_license
nascimento-luciano/Electric-Circuits
e18988f6a6a7e1e854a9d800b000b715c7c0ad56
fd6835556fc00c934eb62cd31429db2658213c40
refs/heads/main
2023-03-18T20:02:44.516155
2021-03-30T20:23:28
2021-03-30T20:23:28
353,131,432
1
0
null
null
null
null
UTF-8
Scilab
false
false
631
sce
Ex1.circuitoRLpassa-baixa.sce
R=20;L=0.1; fc=R/(2*%pi*L); f = logspace(-2,4,1e4); mod_H = 1./((1+(f./fc).^2).^0.5); mod_H_db=20*log10(mod_H) ang_H = (180/%pi)*(atan(f./fc)); scf(6); clf(6); subplot(2,1,1) //plot('ln',f,mod_H,'k-','LineWidth',3) plot('ln',f,mod_H_db,'k-','LineWidth',3) plot('ln',f,1/sqrt(2)*f./f,'k--','LineWidth',1) xlabel "$f (Hz)$" fontsize 5 //ylabel "$módulo$" fontsize 5 ylabel "$módulo_{dB}$" fontsize 5 legend(['H(jw)'],-1); set(gca(),'font_size',3) subplot(2,1,2) plot('ln',f,ang_H,'k-','LineWidth',3) xlabel "$f (Hz)$" fontsize 5 ylabel "$Fase(º)$" fontsize 5 legend(['<H(jw)'],-1); set(gca(),'font_size',3)
b59990dc2ad59717f788cd5a336cdf01e4315872
449d555969bfd7befe906877abab098c6e63a0e8
/1133/CH8/EX8.41/Example8_41.sce
ee337cb024a42105daeacba7a35e82028f28de28
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
2,267
sce
Example8_41.sce
//Example 8.41 clc disp("Mod-12 synchronous counter using D flip-flop :") disp("Let Number of flip-flop required = n") disp(" 2^n >= 12") disp(" n = 4") disp("Excitation table") disp("Present State Next State ") disp("QD QC QB QA Q_D+1 Q_C+1 Q_B+1 Q_A+1") disp("0 0 0 0 0 0 0 1") disp("0 0 0 1 0 0 1 0") disp("0 0 1 0 0 0 1 1") disp("0 0 1 1 0 1 0 0") disp("0 1 0 0 0 1 0 1") disp("0 1 0 1 0 1 1 0") disp("0 1 1 0 0 1 1 1") disp("0 1 1 1 1 0 0 0") disp("1 0 0 0 1 0 0 1") disp("1 0 0 1 1 0 1 0") disp("1 0 1 0 1 0 1 1") disp("1 0 1 1 0 0 0 0") disp("") disp("K-map Simplification") disp(" For D_A") disp(" QB''QA'' QB''QA QBQA QBQA''") disp("QD''QC'' 1 0 0 1") disp("QD''QC 1 0 0 1") disp("QDQC X X X X") disp("QDQC'' 1 0 0 1") disp("D_A = QA''") disp("") disp(" For D_B") disp(" QB''QA'' QB''QA QBQA QBQA''") disp("QD''QC'' 0 1 0 1") disp("QD''QC 0 1 0 1") disp("QDQC X X X X") disp("QDQC'' 0 1 0 1") disp("D_B = QB'' QaA + QA'' QB") disp(" = QA XOR QB") disp("") disp(" For D_C") disp(" QB''QA'' QB''QA QBQA QBQA''") disp("QD''QC'' 0 0 1 0") disp("QD''QC 1 1 0 1") disp("QDQC X X X X") disp("QDQC'' 0 0 0 0") disp("D_C = QC QB'' + QC QA'' + QD'' QC'' QB QA") disp("") disp(" For D_D") disp(" QB''QA'' QB''QA QBQA QBQA''") disp("QD''QC'' 0 0 0 0") disp("QD''QC 0 0 1 0") disp("QDQC X X X X") disp("QDQC'' 1 1 0 1") disp("D_D = QD QB'' + QC QB QA + QD QA''")
789c6e4f4b248a96eb7c32f7f88757f60057790f
449d555969bfd7befe906877abab098c6e63a0e8
/1850/CH5/EX5.11/exa_5_11.sce
f4c1e7a29944397cbcf4b1b2f4b24bc53631e3d6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
467
sce
exa_5_11.sce
// Exa 5.11 clc; clear; close; // Given data C=0.01;// in micro F C=C*10^-6;// in F omega= 10000;// in rad/second // Vout/V1= (Rf/R1)/(1+s*C*Rf) // substituting s= j*omega we have // Vout/V1 = (Rf/R1)/sqrt((omega*C*Rf)^2+1) // At omega=0 // Vout/V1= Rf/R1 // Formula omega= 1/(C*Rf) Rf= 1/(C*omega);// in ohm Rf= Rf*10^-3;// in k ohm // 20*log10(Rf/R1) = 20 R1= Rf/10;// in k ohm disp(Rf,"Value of Rf in k ohm"); disp(R1,"Value of R1 in k ohm");
04b0cda206a1d6b7b10c33af283ad63691bb2235
b8456ea3f2eba9bfe8f7437a04c15c600def5247
/TPscilab/ex1a.sce
9fc40e7ec4c60d553aab4c6b7f9d5e48cd98ed17
[]
no_license
NirnaethArniedi/INF311
5d828a328861b063331961b19cb33ac92343d532
708816af22be8316b969ecec9aef42a194c3c988
refs/heads/master
2016-09-06T02:50:34.304392
2014-06-23T13:31:43
2014-06-23T13:31:43
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
108
sce
ex1a.sce
n=8 A=[] for i=1:n for k=1:n A(i,k)=k*i end end disp(A) z=linspace(1,n,n) x=z' B=x*z disp(B)
3cd91017f4e8ec7b8b344dfd91b5291a279400a0
449d555969bfd7befe906877abab098c6e63a0e8
/662/CH7/EX7.1/ex7_1.sci
aaa73570c6163de5c47b6f55a86e086ff3401e7a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
754
sci
ex7_1.sci
//Example 7.1 //lowercase to uppercase character conversion using a programmer defined function funcprot(0); function[c2] = lower_to_upper (c1) //function definition //as conditional (?:) operater is not present in scilab, so we need to use if-else instead. if (ascii(c1) >= ascii('a')) &(ascii(c1) <= ascii('z')) then c2=ascii(ascii('A')+ascii(c1)- ascii('a')); else c2=c1; end return c2; endfunction function[] = main() printf("Please enter a lowercase character: "); lower= scanf("%c"); upper= lower_to_upper (lower); //function call printf("\n The uppercase equivalent is %c\n\n",upper); endfunction //calling main function. main();
8ea7db9fb7b586440c0ef0f12a5e5c836498dc25
449d555969bfd7befe906877abab098c6e63a0e8
/3871/CH10/EX10.3/Ex10_3.sce
42285ccc2255f0722c690e884a7bda29f117143f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,095
sce
Ex10_3.sce
//=========================================================================== //chapter 10 example 3 clc; clear all; //variable declaration V = 120; //voltage in V I = 8; //current in A RA = 0.3; //resistance in Ω AR = 0.01; //maximum reading of ammeter in A VR = 0.1; //maximum reading of voltmeter in V AR1 = 10; //ammeter rane 0-10 A AV1 = 150; //voltmeter range in 0-150 V EA = 0.25; //constructional error of ammeter in % EV = 0.5; //constructional error of voltmeter in % //calculations Rm = V/I; //measured value of unknown resistance in Ω Rx = Rm-RA; //true value of unknown resistance in Ω EA1 = (AR/AR1)*100; //reading error of ammeter in % EV1 = (VR/AV1)*100; //reading of voltmeter in % dI = EA+EA1; //error in ammeter reading in % dv = EV+EV1; //error in voltmeter reading in % d =dI+dv; //total error in % ranging - to + R1 = Rx+d; //Value of Rx is specified as Ω R2 = Rx-d; //Value of Rx is specified as Ω //result mprintf("Value of Rx is specified = %3.3f,%3.3f Ω",R1,R2);
93beff183cc8905fbdd3958819825e10af3d2a46
449d555969bfd7befe906877abab098c6e63a0e8
/911/CH1/EX1.2/ex_1_2.sce
4fd4408e2cd49ee267f93f75afe14d276b387578
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
219
sce
ex_1_2.sce
//example 1.2 // // decimal to binary conversion // clc clear disp('decimal equivalent of 00001110 is') ans = bin2dec ('00001110') // decimal equivalent of binary number // disp (ans) // answer in decimal form//
33604880023e893681dab4a4fbee092ff39a704a
51326358678113eea1e2c6ed7afe97b9b94d4042
/udemy_8_7/public/typo3conf/ext/extension_builder/Resources/Private/CodeTemplates/Extbase/Configuration/TypoScript/setup.tst
8cc88c83b6fe3530e632191ec678876b150a873f
[ "GPL-2.0-or-later", "Apache-2.0", "GPL-2.0-only", "MIT" ]
permissive
slaleye/typo3-v8.7-extension
881d6b89edc991815e67ccf77565ca6d3b94b450
96a0c953cd80e7bda73314c53871c73fde99a979
refs/heads/master
2020-09-25T07:49:21.994135
2020-01-24T22:35:03
2020-01-24T22:35:03
225,953,883
0
0
MIT
2020-01-24T22:35:04
2019-12-04T20:46:05
PHP
UTF-8
Scilab
false
false
3,257
tst
setup.tst
{namespace k=EBT\ExtensionBuilder\ViewHelpers}<f:for each="{extension.plugins}" as="plugin"> plugin.{extension.shortExtensionKey}_{plugin.key} { view { templateRootPaths.0 = EXT:{extension.extensionKey}/Resources/Private/Templates/ templateRootPaths.1 = <k:curlyBrackets>$plugin.{extension.shortExtensionKey}_{plugin.key}.view.templateRootPath</k:curlyBrackets> partialRootPaths.0 = EXT:{extension.extensionKey}/Resources/Private/Partials/ partialRootPaths.1 = <k:curlyBrackets>$plugin.{extension.shortExtensionKey}_{plugin.key}.view.partialRootPath</k:curlyBrackets> layoutRootPaths.0 = EXT:{extension.extensionKey}/Resources/Private/Layouts/ layoutRootPaths.1 = <k:curlyBrackets>$plugin.{extension.shortExtensionKey}_{plugin.key}.view.layoutRootPath</k:curlyBrackets> } persistence { storagePid = <k:curlyBrackets>$plugin.{extension.shortExtensionKey}_{plugin.key}.persistence.storagePid</k:curlyBrackets> #recursive = 1 } features { #skipDefaultArguments = 1 # if set to 1, the enable fields are ignored in BE context ignoreAllEnableFieldsInBe = 0 # Should be on by default, but can be disabled if all action in the plugin are uncached requireCHashArgumentForActionArguments = 1 } mvc { #callDefaultActionIfActionCantBeResolved = 1 } } </f:for> <f:if condition="{extension.plugins}"> # these classes are only used in auto-generated templates plugin.{extension.shortExtensionKey}._CSS_DEFAULT_STYLE ( textarea.f3-form-error { background-color:#FF9F9F; border: 1px #FF0000 solid; } input.f3-form-error { background-color:#FF9F9F; border: 1px #FF0000 solid; } .{extension.cssClassName} table { border-collapse:separate; border-spacing:10px; } .{extension.cssClassName} table th { font-weight:bold; } .{extension.cssClassName} table td { vertical-align:top; } .typo3-messages .message-error { color:red; } .typo3-messages .message-ok { color:green; } ) </f:if> <f:for each="{extension.backendModules}" as="backendModule"> # Module configuration module.{extension.shortExtensionKey}_{backendModule.mainModule}_{extension.unprefixedShortExtensionKey}{backendModule.key} { persistence { storagePid = <k:curlyBrackets>$module.{extension.shortExtensionKey}_{backendModule.key}.persistence.storagePid</k:curlyBrackets> } view { templateRootPaths.0 = EXT:{extension.extensionKey}/Resources/Private/Backend/Templates/ templateRootPaths.1 = <k:curlyBrackets>$module.{extension.shortExtensionKey}_{backendModule.key}.view.templateRootPath</k:curlyBrackets> partialRootPaths.0 = EXT:{extension.extensionKey}/Resources/Private/Backend/Partials/ partialRootPaths.1 = <k:curlyBrackets>$module.{extension.shortExtensionKey}_{backendModule.key}.view.partialRootPath</k:curlyBrackets> layoutRootPaths.0 = EXT:{extension.extensionKey}/Resources/Private/Backend/Layouts/ layoutRootPaths.1 = <k:curlyBrackets>$module.{extension.shortExtensionKey}_{backendModule.key}.view.layoutRootPath</k:curlyBrackets> } } </f:for>
f9f72e0742bc373b2b651d437c5e73055ae0f0f3
449d555969bfd7befe906877abab098c6e63a0e8
/3557/CH19/EX19.11/Ex19_11.sce
0ac07ca4cfddd12c6e88c0f85d33d67c1fb85b9a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
303
sce
Ex19_11.sce
//Example 19.11// EK=(-7112);//eV // the innermost electron orbital shell EL=(-708);//eV // the innermost electron next shell Eka=abs(EK-EL) mprintf("Eka = %i eV",Eka) EM=(-53);//eV //heavier electrons Ekb=abs(EK-EM) mprintf("\nEkb = %i eV",Ekb) EKLL=abs(EK-EL)-abs(EL) mprintf("\nEKLL = %i eV",EKLL)
1e352cc9434dc3250eeaa1216cd56009e90f031d
449d555969bfd7befe906877abab098c6e63a0e8
/24/CH17/EX17.3/Example17_3.sce
99374f7a4fb1e6d0bcbc7a05b3e41154ba43fd83
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
389
sce
Example17_3.sce
//Given that u1 = 1.4*10^-4 //in kg/m u2 = 2.8*10^-4 //in kg/m L1 = 3.0 //in m L2 = 2.0 //in m T = 400 //in N //Sample Problem 17-3 printf("**Sample Problem 17-3**\n") v1 = sqrt(T/u1) v2 = sqrt(T/u2) t1 = L1/v1 t2 = L2/v2 if t1<t2 then printf("The pulse on string1 will reach the knot first") else printf("The pulse on string2 will reach the knot first") end
d885b8da13d148daa0e48c48fecb75d7bcd7727b
449d555969bfd7befe906877abab098c6e63a0e8
/3440/CH3/EX3.2/Ex3_2.sce
2e5e757a830f13b918580ba2179af6cc5f7ac82f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
369
sce
Ex3_2.sce
clc T=300 //K k=8.617*10^-5 //eV/K q=1.6*10**-19 //C NA=10^19 //cm^-3 ND=10^16//cm^-3 ni=9.65*10^9 epsilonx=8.854*10^-12 //F/m Vbi=(k*T)*log(NA*ND/ni^2) disp(Vbi,"the built in potential in V=") W=sqrt(2*Vbi/q*ND) disp(W,"W in cm =") // ans in textbook is wrong epsilonm=((q*ND*W)) disp(epsilonm,"epsilonm in V/cm") // ans in textbook is wrong
0c82aeb4f9a96dedbb96ae483690827ed0655a98
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/8/file.tst
dee90106cca4d1faf9d84795640c6b5f845365ce
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Scilab
false
false
21
tst
file.tst
tST " Howdy Hackers "
5ae72f8c18d111424357adf52b18e5c7f125a0fe
449d555969bfd7befe906877abab098c6e63a0e8
/1382/CH6/EX6.31/EX_6_31.SCE
51f7db0595edeff7498f7895e8152a5d1f14839a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
427
sce
EX_6_31.SCE
// Example 6.31;//gain and harmonic distortion clc; clear; close; A2= 200;// open loop voltage gain Beta=0.1;// feedback ratio D2=0.02;//first stage distortion D2d= (D2/(1+Beta*A2))*100;//second stage distortion A2d=A2/(1+Beta*A2);//GAIN A1=round(A2/A2d);//gain of first stage disp(A1,"gain of first stage is") disp(D2d,"second stage distortion is") disp("second stage distortion is calculated wrong in the book")
2aedf8a15666cd28df751ee30354c3b79c361841
449d555969bfd7befe906877abab098c6e63a0e8
/2417/CH7/EX7.17/Ex7_17.sce
0c40b079ee8c492de9bfc4782cf5a175312da605
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
484
sce
Ex7_17.sce
//scilab 5.4.1 clear; clc; printf("\t\t\tProblem Number 7.17\n\n\n"); // Chapter 7 : Mixtures Of Ideal Gases // Problem 7.17 (page no. 347) // Solution //Problem 7.13 using the psychrometric chart //Entering figure 7.11 at a dry-bulb temperature of 80 F,we proceed vertically until we reach 50% humidity curve.At this intersection,we proceed horizontally and read the dew-point temperature as approximately 60 F. printf("The dew point temperature of air is 60 F\n");
8bb6d03bdd98ca71982a5069ec47d92f927a970a
5a05d7e1b331922620afe242e4393f426335f2e3
/macros/upfirdn.sci
9068db0331cb224f819ffa778e7cae70a91d0741
[]
no_license
sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox
2728cf855f58886c7c4a9317cc00784ba8cd8a5b
91f8045f58b6b96dbaaf2d4400586660b92d461c
refs/heads/master
2022-04-19T17:33:22.731810
2020-04-22T12:17:41
2020-04-22T12:17:41
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,277
sci
upfirdn.sci
// Copyright (C) 2018 - IIT Bombay - FOSSEE // // This file must be used under the terms of the CeCILL. // This source file is licensed as described in the file COPYING, which // you should have received as part of this distribution. The terms // are also available at // http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt // Author:[insert name] // Organization: FOSSEE, IIT Bombay // Email: toolbox@scilab.in //Function y=upfirdn(xin,h,p,q) // //this function upsamples the input data xin by factor "p", filters it using fiter coefficients "h" and the downsamples this filtered data by a factor "q". //Esentially it is a cascade of three processes: //1)Upsampling(Interpolation) //2)Filtering //3)Downsampling(Decimation) //Test cases: //1.yout=upfirdn (1:100, 1, 1, 1) //Expected output: yout=1:100 //2.yout=upfirdn (1:100, 1, 1, 2) //Expected outut: yout=1:2:100 function yout = upfirdn(xin,h,p,q) [nargout,nargin]=argn(); if(nargin < 2) error("usage : yout = upfirdn(xin,h,p,q)"); end if(nargin < 3) p = 1; q = 1; end if(nargin < 4) q = 1; end if(floor(p) ~= p | floor(q) ~= q | p < 1 | q < 1) error('p and q must be positive integer'); end yout = upsample(xin,p); yout = filter(h,1,yout); yout = downsample(yout,q); endfunction
87ba0f918156307b73e0577d42bf84824a9711fe
449d555969bfd7befe906877abab098c6e63a0e8
/2873/CH12/EX12.2/Ex12_2.sce
9be21c9aedf5d2b58462e2b7025c8c20740255ca
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
2,579
sce
Ex12_2.sce
// Display mode mode(0); // Display warning for floating point exception ieee(1); clear; clc; disp("Engineering Thermodynamics by Onkar Singh Chapter 12 Example 2") h1=40;//average heat transfer coefficient at inner surface in KJ/m^2 hr oc h6=50;//average heat transfer coefficient at outer surface in KJ/m^2 hr oc deltax_steel=2*10^-3;//mild steel sheets thickness in m deltax_wool=5*10^-2;//thickness of glass wool insulation in m k_wool=0.16;//thermal conductivity of wool in KJ/m hr k_steel=160;//thermal conductivity of steel in KJ/m hr T1=25;//kitchen temperature in degree celcius T6=5;//refrigerator temperature in degree celcius disp("here thermal resistances are") disp("R1=thermal resistance due to convection between kitchen air and outer surface of refrigerator wall(T1 & T2)") disp("R2=thermal resistance due to conduction across mild steel wall between 2 & 3(T2 & T3)") disp("R3=thermal resistance due to conduction across glass wool between 3 & 4(T3 & T4)") disp("R4=thermal resistance due to conduction across mild steel wall between 4 & 5(T4 & T5)") disp("R5=thermal resistance due to convection between inside refrigerator wall and inside of refrigerator between 5 & 6(T5 & T6)") disp("overall heat transfer coefficient for one dimentional steady state heat transfer") disp("(1/U)=(1/h1)+(deltax_steel/k_steel)+(deltax_wool/k_wool)+(deltax_steel/k_steel)+(1/h6)") disp("so U=1/((1/h1)+(deltax_steel/k_steel)+(deltax_wool/k_wool)+(deltax_steel/k_steel)+(1/h6))in KJ/m^2hr oc") U=1/((1/h1)+(deltax_steel/k_steel)+(deltax_wool/k_wool)+(deltax_steel/k_steel)+(1/h6)) U=2.8;//approx. disp("rate of heat transfer(Q)=U*A*(T1-T6)in KJ/m^2 hr") disp("wall surface area(A) in m^2") A=4*(1*0.5) Q=U*A*(T1-T6) disp("so rate of heat transfer=112 KJ/m^2 hr ") disp("Q=A*h1*(T1-T2)=k_steel*A*(T2-T3)/deltax_steel=k_wool*A*(T3-T4)/deltax_wool") disp("Q=k_steel*A*(T4-T5)/deltax_steel=A*h6*(T5-T6)") disp("substituting,T2=T1-(Q/(A*h1))in degree celcius") T2=T1-(Q/(A*h1)) disp("so temperature of outer wall,T2=23.6 oc") disp("T3=T2-(Q*deltax_steel/(k_steel*A))in degree ") T3=T2-(Q*deltax_steel/(k_steel*A)) disp("so temperature at interface of outer steel wall and wool,T3=23.59 oc") disp("T4=T3-(Q*deltax_wool/(k_wool*A))in degree celcius") T4=T3-(Q*deltax_wool/(k_wool*A)) disp("so temperature at interface of wool and inside steel wall,T4=6.09 oc") disp("T5=T4-(Q*deltax_steel/(k_steel*A))in degree celcius") T5=T4-(Q*deltax_steel/(k_steel*A)) disp("so temperature at inside of inner steel wall,T5=6.08 oc")
4e20c3db0890d34ad242ff23af7a57b132fc1340
f542bc49c4d04b47d19c88e7c89d5db60922e34e
/PresentationFiles_Subjects/CONT/UW80JVR/ATWM1_Working_Memory_MEG_UW80JVR_Session1/ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce
f83fd2fa5b17fac46b7001d2c2aab9b9a12503c8
[]
no_license
atwm1/Presentation
65c674180f731f050aad33beefffb9ba0caa6688
9732a004ca091b184b670c56c55f538ff6600c08
refs/heads/master
2020-04-15T14:04:41.900640
2020-02-14T16:10:11
2020-02-14T16:10:11
56,771,016
0
1
null
null
null
null
UTF-8
Scilab
false
false
49,381
sce
ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce
# ATWM1 MEG Experiment scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1"; #scenario_type = fMRI; # Fuer Scanner #scenario_type = fMRI_emulation; # Zum Testen scenario_type = trials; # for MEG #scan_period = 2000; # TR #pulses_per_scan = 1; #pulse_code = 1; pulse_width=6; default_monitor_sounds = false; active_buttons = 2; response_matching = simple_matching; button_codes = 10, 20; default_font_size = 36; default_font = "Arial"; default_background_color = 0 ,0 ,0 ; write_codes=true; # for MEG only begin; #Picture definitions box { height = 382; width = 382; color = 0, 0, 0;} frame1; box { height = 369; width = 369; color = 255, 255, 255;} frame2; box { height = 30; width = 4; color = 0, 0, 0;} fix1; box { height = 4; width = 30; color = 0, 0, 0;} fix2; box { height = 30; width = 4; color = 255, 0, 0;} fix3; box { height = 4; width = 30; color = 255, 0, 0;} fix4; box { height = 369; width = 369; color = 42, 42, 42;} background; TEMPLATE "StimuliDeclaration.tem" {}; trial { sound sound_incorrect; time = 0; duration = 1; } wrong; trial { sound sound_correct; time = 0; duration = 1; } right; trial { sound sound_no_response; time = 0; duration = 1; } miss; # Start of experiment (MEG only) - sync with CTF software trial { picture { box frame1; x=0; y=0; box frame2; x=0; y=0; box background; x=0; y=0; bitmap fixation_cross_black; x=0; y=0; } expStart; time = 0; duration = 1000; code = "ExpStart"; port_code = 80; }; # baselinePre (at the beginning of the session) trial { picture { box frame1; x=0; y=0; box frame2; x=0; y=0; box background; x=0; y=0; bitmap fixation_cross_black; x=0; y=0; }default; time = 0; duration = 10000; #mri_pulse = 1; code = "BaselinePre"; port_code = 91; }; TEMPLATE "ATWM1_Working_Memory_MEG.tem" { trigger_encoding trigger_retrieval cue_time preparation_time encoding_time single_stimulus_presentation_time delay_time retrieval_time intertrial_interval alerting_cross stim_enc1 stim_enc2 stim_enc3 stim_enc4 stim_enc_alt1 stim_enc_alt2 stim_enc_alt3 stim_enc_alt4 trial_code stim_retr1 stim_retr2 stim_retr3 stim_retr4 stim_cue1 stim_cue2 stim_cue3 stim_cue4 fixationcross_cued retr_code the_target_button posX1 posY1 posX2 posY2 posX3 posY3 posX4 posY4; 41 62 292 292 399 125 1742 2992 2192 fixation_cross gabor_150 gabor_135 gabor_119 gabor_029 gabor_150 gabor_135 gabor_119_alt gabor_029_alt "1_1_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_1750_3000_2200_gabor_patch_orientation_150_135_119_029_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_119_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_1_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_119_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1842 2992 2542 fixation_cross gabor_086 gabor_067 gabor_106 gabor_037 gabor_086 gabor_067 gabor_106_alt gabor_037_alt "1_2_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_2550_gabor_patch_orientation_086_067_106_037_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_175_framed blank blank blank blank fixation_cross_target_position_3_4 "1_2_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_175_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2192 2992 1892 fixation_cross gabor_102 gabor_070 gabor_040 gabor_128 gabor_102_alt gabor_070 gabor_040 gabor_128_alt "1_3_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_2200_3000_1900_gabor_patch_orientation_102_070_040_128_target_position_1_4_retrieval_position_1" gabor_149_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_3_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_149_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2092 2992 1992 fixation_cross gabor_162 gabor_100 gabor_118 gabor_075 gabor_162_alt gabor_100_alt gabor_118 gabor_075 "1_4_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_2100_3000_2000_gabor_patch_orientation_162_100_118_075_target_position_1_2_retrieval_position_2" gabor_circ gabor_100_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_4_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_100_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1792 2992 2192 fixation_cross gabor_004 gabor_153 gabor_081 gabor_033 gabor_004 gabor_153 gabor_081_alt gabor_033_alt "1_5_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_1800_3000_2200_gabor_patch_orientation_004_153_081_033_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_170_framed blank blank blank blank fixation_cross_target_position_3_4 "1_5_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_170_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 1742 2992 2542 fixation_cross gabor_090 gabor_106 gabor_124 gabor_069 gabor_090 gabor_106_alt gabor_124 gabor_069_alt "1_6_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_UncuedRetriev_300_300_399_1750_3000_2550_gabor_patch_orientation_090_106_124_069_target_position_2_4_retrieval_position_1" gabor_090_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_6_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_090_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1992 2992 1992 fixation_cross gabor_097 gabor_008 gabor_119 gabor_042 gabor_097 gabor_008_alt gabor_119_alt gabor_042 "1_7_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_2000_3000_2000_gabor_patch_orientation_097_008_119_042_target_position_2_3_retrieval_position_2" gabor_circ gabor_148_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_7_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_148_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1942 2992 2292 fixation_cross gabor_092 gabor_025 gabor_077 gabor_153 gabor_092_alt gabor_025 gabor_077 gabor_153_alt "1_8_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_1950_3000_2300_gabor_patch_orientation_092_025_077_153_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_153_framed blank blank blank blank fixation_cross_target_position_1_4 "1_8_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_153_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 2142 2992 2042 fixation_cross gabor_095 gabor_026 gabor_159 gabor_179 gabor_095 gabor_026_alt gabor_159_alt gabor_179 "1_9_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_UncuedRetriev_300_300_399_2150_3000_2050_gabor_patch_orientation_095_026_159_179_target_position_2_3_retrieval_position_1" gabor_046_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_9_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_046_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1742 2992 2542 fixation_cross gabor_095 gabor_023 gabor_070 gabor_113 gabor_095 gabor_023 gabor_070_alt gabor_113_alt "1_10_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_1750_3000_2550_gabor_patch_orientation_095_023_070_113_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_158_framed blank blank blank blank fixation_cross_target_position_3_4 "1_10_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_158_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1942 2992 1992 fixation_cross gabor_164 gabor_121 gabor_033 gabor_148 gabor_164_alt gabor_121 gabor_033_alt gabor_148 "1_11_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_1950_3000_2000_gabor_patch_orientation_164_121_033_148_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_033_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_11_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_033_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1792 2992 2442 fixation_cross gabor_119 gabor_087 gabor_006 gabor_156 gabor_119_alt gabor_087_alt gabor_006 gabor_156 "1_12_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_1800_3000_2450_gabor_patch_orientation_119_087_006_156_target_position_1_2_retrieval_position_2" gabor_circ gabor_087_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_12_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_087_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2092 2992 2042 fixation_cross gabor_174 gabor_058 gabor_097 gabor_126 gabor_174_alt gabor_058 gabor_097_alt gabor_126 "1_13_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_2100_3000_2050_gabor_patch_orientation_174_058_097_126_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_142_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_13_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_142_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2042 2992 2292 fixation_cross gabor_029 gabor_087 gabor_165 gabor_051 gabor_029 gabor_087_alt gabor_165_alt gabor_051 "1_14_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_2050_3000_2300_gabor_patch_orientation_029_087_165_051_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_165_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_14_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_165_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1742 2992 2342 fixation_cross gabor_120 gabor_012 gabor_149 gabor_091 gabor_120_alt gabor_012 gabor_149 gabor_091_alt "1_15_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_1750_3000_2350_gabor_patch_orientation_120_012_149_091_target_position_1_4_retrieval_position_1" gabor_120_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_15_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_120_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1842 2992 2492 fixation_cross gabor_004 gabor_094 gabor_042 gabor_111 gabor_004_alt gabor_094 gabor_042_alt gabor_111 "1_16_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_2500_gabor_patch_orientation_004_094_042_111_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_179_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_16_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_179_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 1842 2992 2392 fixation_cross gabor_080 gabor_051 gabor_122 gabor_014 gabor_080_alt gabor_051 gabor_122 gabor_014_alt "1_17_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_UncuedRetriev_300_300_399_1850_3000_2400_gabor_patch_orientation_080_051_122_014_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_167_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_17_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_167_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1842 2992 1942 fixation_cross gabor_137 gabor_053 gabor_070 gabor_113 gabor_137 gabor_053_alt gabor_070_alt gabor_113 "1_18_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_1850_3000_1950_gabor_patch_orientation_137_053_070_113_target_position_2_3_retrieval_position_2" gabor_circ gabor_053_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_18_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_053_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 1742 2992 2142 fixation_cross gabor_039 gabor_144 gabor_080 gabor_122 gabor_039 gabor_144 gabor_080_alt gabor_122_alt "1_19_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_UncuedRetriev_300_300_399_1750_3000_2150_gabor_patch_orientation_039_144_080_122_target_position_3_4_retrieval_position_2" gabor_circ gabor_144_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_19_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_144_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1792 2992 2592 fixation_cross gabor_008 gabor_180 gabor_120 gabor_161 gabor_008 gabor_180_alt gabor_120_alt gabor_161 "1_20_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_1800_3000_2600_gabor_patch_orientation_008_180_120_161_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_120_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_20_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_120_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2092 2992 1892 fixation_cross gabor_083 gabor_057 gabor_012 gabor_029 gabor_083 gabor_057 gabor_012_alt gabor_029_alt "1_21_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_2100_3000_1900_gabor_patch_orientation_083_057_012_029_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_012_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_21_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_012_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2092 2992 2342 fixation_cross gabor_129 gabor_110 gabor_003 gabor_065 gabor_129 gabor_110_alt gabor_003 gabor_065_alt "1_22_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_2100_3000_2350_gabor_patch_orientation_129_110_003_065_target_position_2_4_retrieval_position_2" gabor_circ gabor_155_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_22_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_155_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1742 2992 2242 fixation_cross gabor_047 gabor_122 gabor_016 gabor_102 gabor_047_alt gabor_122 gabor_016_alt gabor_102 "1_23_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_1750_3000_2250_gabor_patch_orientation_047_122_016_102_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_016_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_23_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_016_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1792 2992 1992 fixation_cross gabor_013 gabor_036 gabor_143 gabor_165 gabor_013_alt gabor_036 gabor_143 gabor_165_alt "1_24_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_1800_3000_2000_gabor_patch_orientation_013_036_143_165_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_120_framed blank blank blank blank fixation_cross_target_position_1_4 "1_24_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_120_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 1892 2992 2592 fixation_cross gabor_150 gabor_012 gabor_132 gabor_169 gabor_150 gabor_012 gabor_132_alt gabor_169_alt "1_25_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_UncuedRetriev_300_300_399_1900_3000_2600_gabor_patch_orientation_150_012_132_169_target_position_3_4_retrieval_position_2" gabor_circ gabor_012_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_25_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_012_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1942 2992 2592 fixation_cross gabor_043 gabor_024 gabor_152 gabor_179 gabor_043_alt gabor_024_alt gabor_152 gabor_179 "1_26_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_1950_3000_2600_gabor_patch_orientation_043_024_152_179_target_position_1_2_retrieval_position_2" gabor_circ gabor_072_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_26_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_072_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2242 2992 2592 fixation_cross gabor_061 gabor_019 gabor_140 gabor_034 gabor_061_alt gabor_019 gabor_140_alt gabor_034 "1_27_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_2250_3000_2600_gabor_patch_orientation_061_019_140_034_target_position_1_3_retrieval_position_1" gabor_108_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_27_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_108_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2192 2992 2242 fixation_cross gabor_011 gabor_135 gabor_118 gabor_166 gabor_011_alt gabor_135_alt gabor_118 gabor_166 "1_28_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_2200_3000_2250_gabor_patch_orientation_011_135_118_166_target_position_1_2_retrieval_position_1" gabor_059_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_28_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_059_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 1792 2992 2242 fixation_cross gabor_068 gabor_053 gabor_088 gabor_122 gabor_068_alt gabor_053 gabor_088 gabor_122_alt "1_29_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_UncuedRetriev_300_300_399_1800_3000_2250_gabor_patch_orientation_068_053_088_122_target_position_1_4_retrieval_position_2" gabor_circ gabor_053_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_29_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_053_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2042 2992 2092 fixation_cross gabor_057 gabor_113 gabor_026 gabor_084 gabor_057 gabor_113 gabor_026_alt gabor_084_alt "1_30_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_2050_3000_2100_gabor_patch_orientation_057_113_026_084_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_084_framed blank blank blank blank fixation_cross_target_position_3_4 "1_30_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_084_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2242 2992 2092 fixation_cross gabor_028 gabor_141 gabor_105 gabor_087 gabor_028_alt gabor_141 gabor_105_alt gabor_087 "1_31_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_2250_3000_2100_gabor_patch_orientation_028_141_105_087_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_059_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_31_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_059_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1992 2992 1942 fixation_cross gabor_120 gabor_057 gabor_037 gabor_096 gabor_120_alt gabor_057_alt gabor_037 gabor_096 "1_32_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_2000_3000_1950_gabor_patch_orientation_120_057_037_096_target_position_1_2_retrieval_position_2" gabor_circ gabor_057_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_32_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_057_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2242 2992 1892 fixation_cross gabor_173 gabor_111 gabor_039 gabor_129 gabor_173 gabor_111 gabor_039_alt gabor_129_alt "1_33_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_2250_3000_1900_gabor_patch_orientation_173_111_039_129_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_039_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_33_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_039_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1842 2992 2192 fixation_cross gabor_034 gabor_084 gabor_009 gabor_114 gabor_034_alt gabor_084 gabor_009_alt gabor_114 "1_34_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_1850_3000_2200_gabor_patch_orientation_034_084_009_114_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_009_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_34_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_009_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 2092 2992 2092 fixation_cross gabor_012 gabor_090 gabor_145 gabor_040 gabor_012 gabor_090_alt gabor_145_alt gabor_040 "1_35_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_UncuedRetriev_300_300_399_2100_3000_2100_gabor_patch_orientation_012_090_145_040_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_040_framed blank blank blank blank fixation_cross_target_position_2_3 "1_35_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_040_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2242 2992 2192 fixation_cross gabor_052 gabor_165 gabor_142 gabor_030 gabor_052_alt gabor_165 gabor_142_alt gabor_030 "1_36_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_2250_3000_2200_gabor_patch_orientation_052_165_142_030_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_142_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_36_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_142_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1942 2992 1992 fixation_cross gabor_078 gabor_149 gabor_005 gabor_033 gabor_078_alt gabor_149 gabor_005 gabor_033_alt "1_37_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_1950_3000_2000_gabor_patch_orientation_078_149_005_033_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_168_framed blank blank blank blank fixation_cross_target_position_1_4 "1_37_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_168_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2192 2992 2342 fixation_cross gabor_125 gabor_167 gabor_107 gabor_048 gabor_125_alt gabor_167 gabor_107 gabor_048_alt "1_38_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_2200_3000_2350_gabor_patch_orientation_125_167_107_048_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_048_framed blank blank blank blank fixation_cross_target_position_1_4 "1_38_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_048_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2192 2992 2142 fixation_cross gabor_177 gabor_098 gabor_053 gabor_123 gabor_177_alt gabor_098 gabor_053_alt gabor_123 "1_39_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_2200_3000_2150_gabor_patch_orientation_177_098_053_123_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_008_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_39_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_008_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1892 2992 2092 fixation_cross gabor_098 gabor_012 gabor_175 gabor_147 gabor_098 gabor_012_alt gabor_175_alt gabor_147 "1_40_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_2100_gabor_patch_orientation_098_012_175_147_target_position_2_3_retrieval_position_2" gabor_circ gabor_012_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_40_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_012_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2142 2992 2342 fixation_cross gabor_148 gabor_008 gabor_114 gabor_067 gabor_148_alt gabor_008 gabor_114_alt gabor_067 "1_41_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_2150_3000_2350_gabor_patch_orientation_148_008_114_067_target_position_1_3_retrieval_position_1" gabor_148_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_41_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_148_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1892 2992 2392 fixation_cross gabor_040 gabor_023 gabor_112 gabor_130 gabor_040 gabor_023_alt gabor_112_alt gabor_130 "1_42_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_2400_gabor_patch_orientation_040_023_112_130_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_063_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_42_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_063_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 1842 2992 2542 fixation_cross gabor_140 gabor_071 gabor_095 gabor_030 gabor_140 gabor_071 gabor_095_alt gabor_030_alt "1_43_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_UncuedRetriev_300_300_399_1850_3000_2550_gabor_patch_orientation_140_071_095_030_target_position_3_4_retrieval_position_1" gabor_005_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_43_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_005_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1892 2992 2492 fixation_cross gabor_014 gabor_062 gabor_129 gabor_084 gabor_014_alt gabor_062_alt gabor_129 gabor_084 "1_44_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_2500_gabor_patch_orientation_014_062_129_084_target_position_1_2_retrieval_position_1" gabor_149_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_44_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_149_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2142 2992 2242 fixation_cross gabor_177 gabor_001 gabor_037 gabor_090 gabor_177_alt gabor_001 gabor_037_alt gabor_090 "1_45_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_2150_3000_2250_gabor_patch_orientation_177_001_037_090_target_position_1_3_retrieval_position_1" gabor_177_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_45_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_177_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1942 2992 2292 fixation_cross gabor_110 gabor_126 gabor_153 gabor_005 gabor_110_alt gabor_126_alt gabor_153 gabor_005 "1_46_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_1950_3000_2300_gabor_patch_orientation_110_126_153_005_target_position_1_2_retrieval_position_2" gabor_circ gabor_126_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_46_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_126_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1892 2992 1942 fixation_cross gabor_002 gabor_173 gabor_146 gabor_022 gabor_002_alt gabor_173_alt gabor_146 gabor_022 "1_47_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_1950_gabor_patch_orientation_002_173_146_022_target_position_1_2_retrieval_position_2" gabor_circ gabor_038_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_47_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_038_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 1992 2992 2442 fixation_cross gabor_044 gabor_114 gabor_090 gabor_007 gabor_044 gabor_114 gabor_090_alt gabor_007_alt "1_48_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_UncuedRetriev_300_300_399_2000_3000_2450_gabor_patch_orientation_044_114_090_007_target_position_3_4_retrieval_position_2" gabor_circ gabor_114_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_48_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_114_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1742 2992 2042 fixation_cross gabor_151 gabor_077 gabor_007 gabor_133 gabor_151_alt gabor_077_alt gabor_007 gabor_133 "1_49_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_1750_3000_2050_gabor_patch_orientation_151_077_007_133_target_position_1_2_retrieval_position_2" gabor_circ gabor_027_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_49_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_027_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1892 2992 2292 fixation_cross gabor_030 gabor_112 gabor_167 gabor_002 gabor_030_alt gabor_112 gabor_167 gabor_002_alt "1_50_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_2300_gabor_patch_orientation_030_112_167_002_target_position_1_4_retrieval_position_1" gabor_077_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_50_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_077_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 2142 2992 2492 fixation_cross gabor_076 gabor_037 gabor_055 gabor_108 gabor_076 gabor_037_alt gabor_055_alt gabor_108 "1_51_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_UncuedRetriev_300_300_399_2150_3000_2500_gabor_patch_orientation_076_037_055_108_target_position_2_3_retrieval_position_1" gabor_124_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_51_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_124_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1892 2992 2342 fixation_cross gabor_099 gabor_074 gabor_179 gabor_043 gabor_099_alt gabor_074 gabor_179_alt gabor_043 "1_52_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_2350_gabor_patch_orientation_099_074_179_043_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_130_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_52_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_130_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2192 2992 1942 fixation_cross gabor_115 gabor_044 gabor_085 gabor_172 gabor_115 gabor_044_alt gabor_085_alt gabor_172 "1_53_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_2200_3000_1950_gabor_patch_orientation_115_044_085_172_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_133_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_53_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_133_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2142 2992 1892 fixation_cross gabor_105 gabor_061 gabor_083 gabor_043 gabor_105_alt gabor_061 gabor_083 gabor_043_alt "1_54_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_2150_3000_1900_gabor_patch_orientation_105_061_083_043_target_position_1_4_retrieval_position_1" gabor_105_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_54_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_105_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1792 2992 2142 fixation_cross gabor_078 gabor_001 gabor_140 gabor_021 gabor_078 gabor_001 gabor_140_alt gabor_021_alt "1_55_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_1800_3000_2150_gabor_patch_orientation_078_001_140_021_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_021_framed blank blank blank blank fixation_cross_target_position_3_4 "1_55_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_021_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2042 2992 2392 fixation_cross gabor_103 gabor_079 gabor_156 gabor_120 gabor_103_alt gabor_079_alt gabor_156 gabor_120 "1_56_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_2050_3000_2400_gabor_patch_orientation_103_079_156_120_target_position_1_2_retrieval_position_2" gabor_circ gabor_031_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_56_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_031_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2042 2992 2142 fixation_cross gabor_008 gabor_122 gabor_044 gabor_177 gabor_008 gabor_122_alt gabor_044_alt gabor_177 "1_57_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_2050_3000_2150_gabor_patch_orientation_008_122_044_177_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_091_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_57_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_091_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 1992 2992 2292 fixation_cross gabor_073 gabor_047 gabor_110 gabor_029 gabor_073 gabor_047 gabor_110_alt gabor_029_alt "1_58_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_UncuedRetriev_300_300_399_2000_3000_2300_gabor_patch_orientation_073_047_110_029_target_position_3_4_retrieval_position_2" gabor_circ gabor_002_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_58_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_002_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1992 2992 1942 fixation_cross gabor_032 gabor_086 gabor_122 gabor_105 gabor_032 gabor_086 gabor_122_alt gabor_105_alt "1_59_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_2000_3000_1950_gabor_patch_orientation_032_086_122_105_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_122_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_59_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_122_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 2242 2992 2042 fixation_cross gabor_161 gabor_138 gabor_010 gabor_071 gabor_161 gabor_138_alt gabor_010_alt gabor_071 "1_60_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_UncuedRetriev_300_300_399_2250_3000_2050_gabor_patch_orientation_161_138_010_071_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_071_framed blank blank blank blank fixation_cross_target_position_2_3 "1_60_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_071_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1992 2992 2042 fixation_cross gabor_145 gabor_080 gabor_005 gabor_121 gabor_145 gabor_080_alt gabor_005_alt gabor_121 "1_61_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_2000_3000_2050_gabor_patch_orientation_145_080_005_121_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_055_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_61_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_055_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1942 2992 2192 fixation_cross gabor_148 gabor_077 gabor_062 gabor_103 gabor_148_alt gabor_077 gabor_062_alt gabor_103 "1_62_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_1950_3000_2200_gabor_patch_orientation_148_077_062_103_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_062_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_62_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_062_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2042 2992 2492 fixation_cross gabor_002 gabor_179 gabor_114 gabor_162 gabor_002_alt gabor_179 gabor_114 gabor_162_alt "1_63_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_2050_3000_2500_gabor_patch_orientation_002_179_114_162_target_position_1_4_retrieval_position_1" gabor_137_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_63_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_137_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2092 2992 2442 fixation_cross gabor_104 gabor_061 gabor_079 gabor_032 gabor_104 gabor_061_alt gabor_079_alt gabor_032 "1_64_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_2100_3000_2450_gabor_patch_orientation_104_061_079_032_target_position_2_3_retrieval_position_2" gabor_circ gabor_014_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_64_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_014_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1842 2992 2142 fixation_cross gabor_054 gabor_038 gabor_171 gabor_010 gabor_054_alt gabor_038 gabor_171 gabor_010_alt "1_65_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_2150_gabor_patch_orientation_054_038_171_010_target_position_1_4_retrieval_position_1" gabor_100_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_65_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_100_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2142 2992 2242 fixation_cross gabor_178 gabor_035 gabor_004 gabor_115 gabor_178 gabor_035_alt gabor_004 gabor_115_alt "1_66_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_2150_3000_2250_gabor_patch_orientation_178_035_004_115_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_115_framed blank blank blank blank fixation_cross_target_position_2_4 "1_66_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_115_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2042 2992 2092 fixation_cross gabor_018 gabor_176 gabor_003 gabor_148 gabor_018_alt gabor_176 gabor_003_alt gabor_148 "1_67_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_2050_3000_2100_gabor_patch_orientation_018_176_003_148_target_position_1_3_retrieval_position_1" gabor_018_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_67_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_018_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 2242 2992 2392 fixation_cross gabor_048 gabor_092 gabor_162 gabor_118 gabor_048_alt gabor_092 gabor_162_alt gabor_118 "1_68_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_UncuedRetriev_300_300_399_2250_3000_2400_gabor_patch_orientation_048_092_162_118_target_position_1_3_retrieval_position_2" gabor_circ gabor_138_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_68_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_138_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2192 2992 1892 fixation_cross gabor_067 gabor_051 gabor_110 gabor_178 gabor_067 gabor_051_alt gabor_110 gabor_178_alt "1_69_Encoding_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_300_300_399_2200_3000_1900_gabor_patch_orientation_067_051_110_178_target_position_2_4_retrieval_position_2" gabor_circ gabor_051_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_69_Retrieval_Working_Memory_MEG_P5_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_051_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 1792 2992 2442 fixation_cross gabor_070 gabor_120 gabor_098 gabor_041 gabor_070_alt gabor_120_alt gabor_098 gabor_041 "1_70_Encoding_Working_Memory_MEG_P5_RL_Salient_DoChange_UncuedRetriev_300_300_399_1800_3000_2450_gabor_patch_orientation_070_120_098_041_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_177_framed blank blank blank blank fixation_cross_target_position_1_2 "1_70_Retrieval_Working_Memory_MEG_P5_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_177_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; }; # baselinePost (at the end of the session) trial { picture { box frame1; x=0; y=0; box frame2; x=0; y=0; box background; x=0; y=0; bitmap fixation_cross_black; x=0; y=0; }; time = 0; duration = 5000; code = "BaselinePost"; port_code = 92; };
b4e1756478003110254d86717127c2562d392df5
2ae858a680a4ccf8a2ec89a45a1e48a0292d8eab
/macros/getParamsBoost.sci
9b865ff4f8d33d3e08592b3abeb37a099bc504fa
[]
no_license
shreyneil/FOSSEE-Image-Processing-Toolbox
f315a82c325b2d6cbd0611689f3e30071a38490d
dd1cbd0dcbe0c3dd11d6ce1ab205b4b72011ae56
refs/heads/master
2020-12-02T16:26:13.755637
2017-07-07T19:22:33
2017-07-07T19:22:33
96,552,147
0
0
null
2017-07-07T15:32:15
2017-07-07T15:32:15
null
UTF-8
Scilab
false
false
308
sci
getParamsBoost.sci
function classifierDescription = getParamsBoost(Categoryclassifier) Categoryclassifier_list = classifierToList(Categoryclassifier); temp = raw_getParamsBoost(Categoryclassifier_list); classifierDescription = struct("bt", temp(1), "wc", temp(2),"wtr",temp(3),"md",temp(4),"use_surr",temp(5)); endfunction
742ba0f8adcfbfbbd374dc20e2cfe4b807496ef0
449d555969bfd7befe906877abab098c6e63a0e8
/3532/CH3/EX3.4.1/Ex3_5.sce
f5f515bd1f38dbaf043b96e2f261b714aef470a0
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,174
sce
Ex3_5.sce
clc clear mprintf('Mechanical vibrations by G.K.Grover\n Example 3.4.1\n') //given data J=0.06 //moment of inertia of disc of pendulum in Kg-m^2 G=4.4*10^10 //rigidity modulus in N/m^2 l=0.4 //lenght of shaft in m d=0.1 //diametre of shaft in m a1=9 //amplitude of first oscillation in degrees a2=6 //amplitude of second oscillation in degrees a3=4 //amplitude of third oscillation in degrees //calculations delta=log(a1/a2) //logarithmic decrement eqn 3.4.1 explained in sec 3.4 zeta=delta/sqrt(4*%pi^2+delta^2) //representing zeta from eqn 3.4.1 in sec 3.4 Kt=(G/l)*(%pi/32)*d^4 //(%pi/32)*d^4 is the section modulus C=zeta*2*sqrt(Kt*J) // torsional damping coefficient which is the damping torque at unit velocity (similar to eqn 3.3.6 in sec 3.3) Wn=sqrt(Kt/J) // undamped natural freq in rad/sec T=2*%pi/(sqrt(1-zeta^2)*Wn) //periodic time of vibration fn=Wn/(2*%pi) //natural freq of undamped vibration //output mprintf(' a)logarithmic decrement is %4.4f\n b)damping torque at unit velocity is %4.4f N-m/rad\n c)periodic time of vibration is %4.5f sec\n frequency of vibration if the disc is removed from viscous fluid is %4.4f Hz',delta,C,T,fn)
0f58a86523f6d1521132cbc64c9d200769c87790
449d555969bfd7befe906877abab098c6e63a0e8
/548/DEPENDENCIES/6_09data.sci
cbea2aa35dadae923dc49dd7b5d93f3b1633d6e1
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
362
sci
6_09data.sci
//for the CP-1: W=13127.5;//normal gross weight(N) S=16.165;//wingarea(m^2) a=4.2*%pi/180;//approx minimum glide angle(radian).from example 6.7 D1=0.905;//density at 3048 m(Kg/m^3) D2=1.155;//density at 609.6 m(Kg/m^3) Cl=0.634;//lift coefficient corresponding to minimum glide angle i.e maximum L/D(from example 6.1) Wl=W/S//wing loading (W/S in N/m^2)
9c10ff870b88a600a9b0c69e9ad97ed4d49cf181
449d555969bfd7befe906877abab098c6e63a0e8
/3760/CH2/EX2.15/Ex2_15.sce
e0f0607969f82bdb043082e7bd2056a501eacec6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,199
sce
Ex2_15.sce
clc; B=[ 0.2 0.4 0.6 0.8 1 1.2]; H=[ 50 100 160 225 300 400]; plot(H,B); xlabel('magnetic field intensity'); ylabel('magnetic flux density'); title('B-H curve'); p=0.2; // force exerted by spring g1=0.5*10^-2; // air gap length g2=0.1*10^-2; // reduced gap length after coil is energised n=2000; // coil turns l=0.2; // mean length of magnetic iron path A=0.2*10^-4; // area of cross-section g=9.81; // acceleration due to gravity l1=6; // gap length l2=3; // gap length between spring and core uo=4*%pi*10^-7; // free space permeability disp('case a'); fe=(p*g*l2)/l1; // electromagnetic torque Bg=sqrt((2*fe*uo)/A); // air gap flux density printf('Air gap flux density is %f T\n',Bg); // corresponding to value of Bg from B-H curve H is Hg=87.7; // magnetic flux intensity ATi=l*Hg; // total ampere turn for iron path ATg=(Bg*g1)/uo; // ampere turn for air gap AT=ATi+ATg; // total ampere turns ie=AT/n; printf('Exciting current required to close the armature relay is %f A\n',ie); disp('case b'); ATg=(Bg*g2)/uo; // ampere turn for air gap AT=ATi+ATg; // total ampere turns ie=AT/n; printf('Exciting current required to keep the armature closed is %f A\n',ie);
19672705b10ff0c2d0f749e503643175aad7c254
b9602336613b26d0b9c22a09d219c0ed8e158b4e
/armadilloToolbox/macros/armaClust.sci
a2ae1f967c13664db78092e096bdbff0e24022bf
[ "BSD-2-Clause" ]
permissive
CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox
d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd
70c97cda4e0dd54df0a638e9b99f380c09ffa37e
refs/heads/master
2022-12-11T01:28:28.742041
2020-08-26T12:24:27
2020-08-26T12:24:27
290,481,428
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,542
sci
armaClust.sci
// Copyright (C) 2019 - IIT Bombay - FOSSEE // // This file must be used under the terms of the CeCILL. // This source file is licensed as described in the file COPYING, which // you should have received as part of this distribution. The terms // are also available at // http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt // Author: Rupak Rokade // Organization: FOSSEE, IIT Bombay // Email: toolbox@scilab.in function [y] = armaClust(inp1, inp2, opt) // armaClust function applies clustering techninques. // // Syntax // y = armaClust(inp1, inp2, opt) // // Parameters // y : ouput variable // inp1: Function Name // inp2: input array / 2d array // opt : optional additional arguements // // Description // This function contains the clustering functions for 1darray/2darray // // // Examples // // Calculating the normcdf and lognormpdf // y = [1,2,3,4,5,6,7,8] // res = armaClust("normcdf",y) // res = armaClust("lognormpdf",y) // // Examples // // Calculating the corelation and covariance , input dimension must be same // y1 = [1,2,3; 4,5,6; 7,8,9] // y2 = [1,9,3; 3,5,6; 7,8,5] // res = armaClust("cor",y1,y2) // res = armaClust("cov",y1,y2) // // Examples // // Calculating the principal component analysis // y1 = [1,2,3; 4,5,6; 7,8,9] // res = armaClust("princomp",y1) // // Authors // Ajay.S, Kalai Chelvan.M, Pooja K, Prabhakar P, Dr.K.Indra Gandhi endfunction
c41b62049aedc3d7cd42d4a3de2d57ff1530a7c7
449d555969bfd7befe906877abab098c6e63a0e8
/3811/CH3/EX3.9/Ex3_9.sce
73d716810811abcb61985130e98b759518c6aaf6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,035
sce
Ex3_9.sce
//Book name: Fundamentals of electrical drives by Mohamad A. El- Sharkawi //chapter 3 //example 3.9 //edition 1 //publisher and place:Nelson Engineering clc; clear; Vab=208;//source voltage in volts Vs=Vab/3^(1/2);//rms voltage in volts Vm=Vs*2^(1/2);//maximum peak voltage in volts disp('a)To find maximum average voltage across the load:') Vavemax=(3*3^(1/2)*Vm)/%pi; disp(Vavemax,'maximum average voltage across the load') disp('b)To find the triggering angle at the average voltage of the load:') xold=1;//assumed value c=30;//constant value x=asind((%pi/(3*sqrt(3)))-(cosd(xold+c))); err=100;//assumed value while(err>0.0001) xnew=asind((%pi/(3*sqrt(3)))-(cosd(x+c))); x=xnew; err=abs(xnew-xold); xold=x; end disp(x,'The triggering angle in degree is') disp('c)To find load voltage when the triggering angle is -30 degree :') Vave=(3*3^(1/2)*Vm)/(2*%pi); disp(Vave,'Load voltage when the triggering angle is -30 degree in volt is') //The part (b) answer given in the book is wrong
98e0713ca5dd4b9430cbcdf34fac9bfd35ee4c2d
449d555969bfd7befe906877abab098c6e63a0e8
/1076/CH3/EX3.13/3_13.sce
0aa12e3b803ffb9ea5c506771c9b0ba03aec9b75
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
812
sce
3_13.sce
clear; clc; Z=complex(14.1, 51.48); Y=complex(0, 1.194e-3); Zc=sqrt(Z/Y); g=sqrt(Z*Y); A=cosh(g); B=Zc* sinh(g); C=sinh(g)/Zc; D=A; mprintf("\nZc= %s", string(round(abs(Zc)*1000)/1000) +'/_'+ string(round(atand(imag(Zc)/real(Zc))*100)/100) ) mprintf("\npropgation const= %s", string(round(abs(g)*1000)/1000) +'/_'+ string(round(atand(imag(g)/real(g))*100)/100) ) mprintf("\nA= %s", string(round(abs(A)*1000)/1000) +'/_'+ string(round(atand(imag(A)/real(A))*100)/100) ) mprintf("\nB= %s", string(round(abs(B)*1000)/1000) +'/_'+ string(round(atand(imag(B)/real(B))*100)/100) ) mprintf("\nC= %s", string(round(abs(C)*1000)/1000) +'/_'+ string(round(atand(imag(C)/real(C))*100)/100 +180) ) mprintf("\nD= %s", string(round(abs(D)*1000)/1000) +'/_'+ string(round(atand(imag(D)/real(D))*100)/100) )
d5f29eedf284f1d913f0957e5a4bdb0292faf5a8
449d555969bfd7befe906877abab098c6e63a0e8
/557/CH12/EX12.3/3.sce
3945c71005e51418a8203b94a18aa293d111f1c6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
405
sce
3.sce
clc; funcprot(0); //Example 12.3 //Initializing the variables U0 = 80*1000/3600; d = 0.02; rho =1.2; mu = 1.7*10^-5; A = 0.02*500; // Projected area of wire N = 20; // No of cables //Calculations Re = rho*U0*d/mu; Cd = 1.2;// From figure 12.10 for given Re; D = 0.5*rho*Cd*A*U0^2 F = N*D; f = 0.198*(U0/d)*(1-19.7/Re); disp(f,"Frequency (Hz):",F/1000,"Total force on tower (kN):");
6a006eba7c01c6b1876cfdb0cc4fa526db6bcd17
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.4/macros/percent/%r_f_r.sci
3bbc1b730c0aed230413d27a12d1dca54a752817
[ "LicenseRef-scancode-public-domain", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
clg55/Scilab-Workbench
4ebc01d2daea5026ad07fbfc53e16d4b29179502
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
refs/heads/master
2023-05-31T04:06:22.931111
2022-09-13T14:41:51
2022-09-13T14:41:51
258,270,193
0
1
null
null
null
null
UTF-8
Scilab
false
false
155
sci
%r_f_r.sci
function [f]=%r_f_r(s1,s2) //f=[s1;s2] //! // Copyright INRIA [s1,s2]=sysconv(s1,s2) f=tlist(['r','num','den','dt'],[s1(2);s2(2)],[s1(3);s2(3)],s1(4))
199e3829fdcba48c18cd282ddc9089d6f83d6c86
449d555969bfd7befe906877abab098c6e63a0e8
/1727/CH5/EX5.11/5_11.sce
e84199083f2a535fe9fa53afcf50c76b70d837f1
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
327
sce
5_11.sce
clc //Initialization of variables g=9.81 //m/s^2 rho=10^3 //kg/m^3 Cv=0.92 P=210*10^3 //Pa d=0.05 //m ret=1.5 //m/s^2 //calculations H=P/(g*rho) Va=Cv*(2*g*H) h=Cv^2 *H h2= Cv^2 *2*g*H/(2*(g+ret)) //results printf("The height to which the jet will rise is %.2f m",h) printf("\n In case 2., height = %.2f m",h2)
7eb733d8534a7e3a9f2474b1e6a6d9b38adb8115
449d555969bfd7befe906877abab098c6e63a0e8
/213/CH7/EX7.4/7_4.sce
64d2e0c227dcbe6542c43232b27e8f05531cf606
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
904
sce
7_4.sce
//To find velocity, angular velocity and rubbing speed clc //Given: NBA=120 //rpm AB=150/1000,DC=450/1000,BC=450/1000,dC=50/1000,rC=dC/2 //m //Sloution: //Refer Fig. 7.12 //Calculating the angular velocity of the crank AB omegaBA=2*%pi*NBA/60 //rad/s //Calculating the linear velocity of B with respect to A vBA=omegaBA*AB //m/s vB=vBA //By measurement from the velocity diagram, Fig. 7.12(b), vF=0.7,vCD=2.25,vCB=2.25 //m/s //Calculating the angular velocity of DC omegaDC=vCD/DC //rad/s //Calculating the angular velocity of BC omegaCB=vCB/BC //rad/s //Calculating the rubbing speed at the pin C vr=(omegaCB-omegaDC)*rC //The rubbing speed at the pin C,m/s //Results: printf("\n\n The velocity of block F, vF = %.1f m/s.\n",vF) printf(" The angular velocity of DC, omegaDC = %d rad/s, anticlockwise about D.\n",omegaDC) printf(" The rubbing speed at the pin C is %d m/s.\n\n",vr)
48b852f9713799fa5020c796693c026c4b83b2bc
449d555969bfd7befe906877abab098c6e63a0e8
/2939/CH11/EX11.2/Ex11_2.sce
3ffffa6b9ba24ddba7d9d0e295dac92c6b07fb99
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
1,082
sce
Ex11_2.sce
//Ex11_2 clc; //Given: // for benzene in CGS units density1=.879; lac1=.06014; // linear absorption coefficient // for cyclohexane in CGS units density2=0.779; lac2=.05656; // linear absorption coefficient l=6.023*10^23;// avogadro constant ue=0.211;// electron absorption coefficent in barn per electron // 1 b=10^(-24) cm^2 //solution: (a)Benzene a1=78;// atomic mass of benzene mac1=lac1/density1; //mass absorption coefficient mb=(mac1*a1)/(l*10^-24); //molecule absorption coefficient of benzene printf("\n The molecule absorption coefficient of benzene in b/molecule is = %f ",mb) printf("\n The mass absorption coefficient of benzene in cm^2/g is = %f ",mac1) //solution: (b)cyclohexane a2=84;// atomic mass of cyclohexane mac2=lac2/density2; //mass absorption coefficient mc=(mac2*a2)/(l*10^-24); //molecule absorption coefficient of cyclohexane printf("\n \n The molecule absorption coefficient of cyclohexane in b/molecule is = %f ",mc) printf("\n The mass absorption coefficient of cyclohexane in cm^2/g is = %f ",mac2)
2952325766c427b934cbfca0da9358ac0a3f7a43
f542bc49c4d04b47d19c88e7c89d5db60922e34e
/PresentationFiles_Subjects/CONT/ATWM1_Working_Memory_MEG_RN53WUD_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce
e3602415774b9d03f24f86529b3b3515856cecf6
[]
no_license
atwm1/Presentation
65c674180f731f050aad33beefffb9ba0caa6688
9732a004ca091b184b670c56c55f538ff6600c08
refs/heads/master
2020-04-15T14:04:41.900640
2020-02-14T16:10:11
2020-02-14T16:10:11
56,771,016
0
1
null
null
null
null
UTF-8
Scilab
false
false
48,617
sce
ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce
# ATWM1 MEG Experiment scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2"; #scenario_type = fMRI; # Fuer Scanner #scenario_type = fMRI_emulation; # Zum Testen scenario_type = trials; # for MEG #scan_period = 2000; # TR #pulses_per_scan = 1; #pulse_code = 1; pulse_width=6; default_monitor_sounds = false; active_buttons = 2; response_matching = simple_matching; button_codes = 10, 20; default_font_size = 36; default_font = "Arial"; default_background_color = 0 ,0 ,0 ; write_codes=true; # for MEG only begin; #Picture definitions box { height = 382; width = 382; color = 0, 0, 0;} frame1; box { height = 369; width = 369; color = 255, 255, 255;} frame2; box { height = 30; width = 4; color = 0, 0, 0;} fix1; box { height = 4; width = 30; color = 0, 0, 0;} fix2; box { height = 30; width = 4; color = 255, 0, 0;} fix3; box { height = 4; width = 30; color = 255, 0, 0;} fix4; box { height = 369; width = 369; color = 42, 42, 42;} background; TEMPLATE "StimuliDeclaration.tem" {}; trial { sound sound_incorrect; time = 0; duration = 1; } wrong; trial { sound sound_correct; time = 0; duration = 1; } right; trial { sound sound_no_response; time = 0; duration = 1; } miss; # Start of experiment (MEG only) - sync with CTF software trial { picture { box frame1; x=0; y=0; box frame2; x=0; y=0; box background; x=0; y=0; bitmap fixation_cross_black; x=0; y=0; } expStart; time = 0; duration = 1000; code = "ExpStart"; port_code = 80; }; # baselinePre (at the beginning of the session) trial { picture { box frame1; x=0; y=0; box frame2; x=0; y=0; box background; x=0; y=0; bitmap fixation_cross_black; x=0; y=0; }default; time = 0; duration = 10000; #mri_pulse = 1; code = "BaselinePre"; port_code = 91; }; TEMPLATE "ATWM1_Working_Memory_MEG.tem" { trigger_encoding trigger_retrieval cue_time preparation_time encoding_time single_stimulus_presentation_time delay_time retrieval_time intertrial_interval alerting_cross stim_enc1 stim_enc2 stim_enc3 stim_enc4 stim_enc_alt1 stim_enc_alt2 stim_enc_alt3 stim_enc_alt4 trial_code stim_retr1 stim_retr2 stim_retr3 stim_retr4 stim_cue1 stim_cue2 stim_cue3 stim_cue4 fixationcross_cued retr_code the_target_button posX1 posY1 posX2 posY2 posX3 posY3 posX4 posY4; 44 62 292 292 399 125 1792 2992 2292 fixation_cross gabor_171 gabor_058 gabor_144 gabor_033 gabor_171_alt gabor_058 gabor_144 gabor_033_alt "2_1_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2300_gabor_patch_orientation_171_058_144_033_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_144_framed gabor_circ blank blank blank blank fixation_cross_white "2_1_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_144_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1742 2992 1892 fixation_cross gabor_176 gabor_131 gabor_065 gabor_093 gabor_176_alt gabor_131_alt gabor_065 gabor_093 "2_2_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_1900_gabor_patch_orientation_176_131_065_093_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_045_framed blank blank blank blank fixation_cross_white "2_2_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_045_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1892 2992 2192 fixation_cross gabor_006 gabor_058 gabor_120 gabor_096 gabor_006 gabor_058 gabor_120_alt gabor_096_alt "2_3_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2200_gabor_patch_orientation_006_058_120_096_target_position_1_2_retrieval_position_1" gabor_006_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_3_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_006_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1792 2992 2542 fixation_cross gabor_176 gabor_001 gabor_024 gabor_160 gabor_176 gabor_001 gabor_024_alt gabor_160_alt "2_4_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2550_gabor_patch_orientation_176_001_024_160_target_position_1_2_retrieval_position_2" gabor_circ gabor_141_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_4_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_141_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2142 2992 1942 fixation_cross gabor_180 gabor_060 gabor_096 gabor_030 gabor_180 gabor_060_alt gabor_096 gabor_030_alt "2_5_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_1950_gabor_patch_orientation_180_060_096_030_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_096_framed gabor_circ blank blank blank blank fixation_cross_white "2_5_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_096_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1992 2992 1942 fixation_cross gabor_058 gabor_040 gabor_168 gabor_004 gabor_058 gabor_040_alt gabor_168 gabor_004_alt "2_6_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_1950_gabor_patch_orientation_058_040_168_004_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_168_framed gabor_circ blank blank blank blank fixation_cross_white "2_6_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_168_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2142 2992 2492 fixation_cross gabor_036 gabor_096 gabor_009 gabor_115 gabor_036_alt gabor_096 gabor_009 gabor_115_alt "2_7_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2500_gabor_patch_orientation_036_096_009_115_target_position_2_3_retrieval_position_2" gabor_circ gabor_096_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_7_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_096_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 63 292 292 399 125 2242 2992 2242 fixation_cross gabor_058 gabor_145 gabor_035 gabor_019 gabor_058_alt gabor_145 gabor_035_alt gabor_019 "2_8_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_2250_3000_2250_gabor_patch_orientation_058_145_035_019_target_position_2_4_retrieval_position_1" gabor_103_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_8_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_103_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1842 2992 2242 fixation_cross gabor_007 gabor_094 gabor_173 gabor_120 gabor_007_alt gabor_094 gabor_173_alt gabor_120 "2_9_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2250_gabor_patch_orientation_007_094_173_120_target_position_2_4_retrieval_position_2" gabor_circ gabor_049_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_9_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_049_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2092 2992 2142 fixation_cross gabor_140 gabor_034 gabor_011 gabor_056 gabor_140_alt gabor_034_alt gabor_011 gabor_056 "2_10_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2150_gabor_patch_orientation_140_034_011_056_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_056_framed blank blank blank blank fixation_cross_white "2_10_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_056_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1992 2992 2192 fixation_cross gabor_013 gabor_091 gabor_030 gabor_070 gabor_013_alt gabor_091 gabor_030_alt gabor_070 "2_11_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2200_gabor_patch_orientation_013_091_030_070_target_position_2_4_retrieval_position_2" gabor_circ gabor_091_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_11_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_091_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 64 292 292 399 125 2042 2992 2242 fixation_cross gabor_129 gabor_076 gabor_145 gabor_161 gabor_129 gabor_076_alt gabor_145 gabor_161_alt "2_12_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_2050_3000_2250_gabor_patch_orientation_129_076_145_161_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_161_framed blank blank blank blank fixation_cross_white "2_12_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_161_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2192 2992 1992 fixation_cross gabor_085 gabor_024 gabor_059 gabor_130 gabor_085 gabor_024_alt gabor_059_alt gabor_130 "2_13_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2000_gabor_patch_orientation_085_024_059_130_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_130_framed blank blank blank blank fixation_cross_white "2_13_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_130_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1942 2992 2542 fixation_cross gabor_165 gabor_044 gabor_132 gabor_114 gabor_165 gabor_044_alt gabor_132 gabor_114_alt "2_14_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2550_gabor_patch_orientation_165_044_132_114_target_position_1_3_retrieval_position_1" gabor_026_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_14_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_026_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1992 2992 2242 fixation_cross gabor_152 gabor_129 gabor_063 gabor_078 gabor_152_alt gabor_129_alt gabor_063 gabor_078 "2_15_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2250_gabor_patch_orientation_152_129_063_078_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_015_framed gabor_circ blank blank blank blank fixation_cross_white "2_15_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_015_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 64 292 292 399 125 1742 2992 2042 fixation_cross gabor_087 gabor_120 gabor_056 gabor_105 gabor_087_alt gabor_120 gabor_056 gabor_105_alt "2_16_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_1750_3000_2050_gabor_patch_orientation_087_120_056_105_target_position_2_3_retrieval_position_1" gabor_087_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_16_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_087_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2042 2992 2092 fixation_cross gabor_099 gabor_126 gabor_151 gabor_046 gabor_099_alt gabor_126 gabor_151_alt gabor_046 "2_17_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2100_gabor_patch_orientation_099_126_151_046_target_position_2_4_retrieval_position_2" gabor_circ gabor_078_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_17_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_078_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2192 2992 2042 fixation_cross gabor_131 gabor_104 gabor_063 gabor_042 gabor_131 gabor_104 gabor_063_alt gabor_042_alt "2_18_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2050_gabor_patch_orientation_131_104_063_042_target_position_1_2_retrieval_position_2" gabor_circ gabor_104_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_18_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_104_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 64 292 292 399 125 1942 2992 1892 fixation_cross gabor_119 gabor_009 gabor_053 gabor_141 gabor_119_alt gabor_009 gabor_053_alt gabor_141 "2_19_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_1950_3000_1900_gabor_patch_orientation_119_009_053_141_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_053_framed gabor_circ blank blank blank blank fixation_cross_white "2_19_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_053_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1742 2992 2292 fixation_cross gabor_112 gabor_176 gabor_133 gabor_159 gabor_112_alt gabor_176 gabor_133_alt gabor_159 "2_20_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2300_gabor_patch_orientation_112_176_133_159_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_022_framed blank blank blank blank fixation_cross_white "2_20_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_022_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1842 2992 2142 fixation_cross gabor_110 gabor_020 gabor_039 gabor_054 gabor_110_alt gabor_020 gabor_039_alt gabor_054 "2_21_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2150_gabor_patch_orientation_110_020_039_054_target_position_2_4_retrieval_position_2" gabor_circ gabor_070_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_21_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_070_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2242 2992 2142 fixation_cross gabor_004 gabor_110 gabor_157 gabor_172 gabor_004_alt gabor_110_alt gabor_157 gabor_172 "2_22_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2150_gabor_patch_orientation_004_110_157_172_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_172_framed blank blank blank blank fixation_cross_white "2_22_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_172_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2142 2992 2092 fixation_cross gabor_073 gabor_004 gabor_128 gabor_109 gabor_073_alt gabor_004 gabor_128_alt gabor_109 "2_23_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2100_gabor_patch_orientation_073_004_128_109_target_position_2_4_retrieval_position_2" gabor_circ gabor_004_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_23_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_004_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2242 2992 2442 fixation_cross gabor_098 gabor_066 gabor_008 gabor_125 gabor_098 gabor_066_alt gabor_008 gabor_125_alt "2_24_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2450_gabor_patch_orientation_098_066_008_125_target_position_1_3_retrieval_position_1" gabor_049_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_24_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_049_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2142 2992 2142 fixation_cross gabor_149 gabor_079 gabor_060 gabor_027 gabor_149_alt gabor_079_alt gabor_060 gabor_027 "2_25_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2150_gabor_patch_orientation_149_079_060_027_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_027_framed blank blank blank blank fixation_cross_white "2_25_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_027_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2042 2992 2592 fixation_cross gabor_142 gabor_093 gabor_023 gabor_157 gabor_142 gabor_093_alt gabor_023 gabor_157_alt "2_26_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2600_gabor_patch_orientation_142_093_023_157_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_071_framed gabor_circ blank blank blank blank fixation_cross_white "2_26_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_071_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 64 292 292 399 125 1742 2992 2192 fixation_cross gabor_084 gabor_165 gabor_020 gabor_060 gabor_084 gabor_165 gabor_020_alt gabor_060_alt "2_27_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_1750_3000_2200_gabor_patch_orientation_084_165_020_060_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_060_framed blank blank blank blank fixation_cross_white "2_27_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_060_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1842 2992 2192 fixation_cross gabor_054 gabor_002 gabor_024 gabor_092 gabor_054 gabor_002_alt gabor_024 gabor_092_alt "2_28_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2200_gabor_patch_orientation_054_002_024_092_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_024_framed gabor_circ blank blank blank blank fixation_cross_white "2_28_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_024_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2092 2992 1992 fixation_cross gabor_007 gabor_173 gabor_068 gabor_128 gabor_007_alt gabor_173 gabor_068 gabor_128_alt "2_29_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2000_gabor_patch_orientation_007_173_068_128_target_position_2_3_retrieval_position_2" gabor_circ gabor_038_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_29_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_038_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2242 2992 2392 fixation_cross gabor_004 gabor_032 gabor_061 gabor_180 gabor_004 gabor_032_alt gabor_061_alt gabor_180 "2_30_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2400_gabor_patch_orientation_004_032_061_180_target_position_1_4_retrieval_position_1" gabor_143_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_30_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_143_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1892 2992 2142 fixation_cross gabor_147 gabor_041 gabor_020 gabor_110 gabor_147_alt gabor_041 gabor_020_alt gabor_110 "2_31_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2150_gabor_patch_orientation_147_041_020_110_target_position_2_4_retrieval_position_2" gabor_circ gabor_178_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_31_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_178_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 64 292 292 399 125 1892 2992 1942 fixation_cross gabor_032 gabor_163 gabor_106 gabor_049 gabor_032_alt gabor_163_alt gabor_106 gabor_049 "2_32_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_1900_3000_1950_gabor_patch_orientation_032_163_106_049_target_position_3_4_retrieval_position_1" gabor_032_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_32_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_032_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2092 2992 2042 fixation_cross gabor_059 gabor_124 gabor_008 gabor_170 gabor_059_alt gabor_124 gabor_008_alt gabor_170 "2_33_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2050_gabor_patch_orientation_059_124_008_170_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_170_framed blank blank blank blank fixation_cross_white "2_33_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_170_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1842 2992 2592 fixation_cross gabor_140 gabor_031 gabor_156 gabor_002 gabor_140_alt gabor_031 gabor_156_alt gabor_002 "2_34_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2600_gabor_patch_orientation_140_031_156_002_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_002_framed blank blank blank blank fixation_cross_white "2_34_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_002_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1842 2992 1892 fixation_cross gabor_084 gabor_173 gabor_038 gabor_103 gabor_084 gabor_173 gabor_038_alt gabor_103_alt "2_35_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_1900_gabor_patch_orientation_084_173_038_103_target_position_1_2_retrieval_position_2" gabor_circ gabor_173_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_35_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_173_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2142 2992 2392 fixation_cross gabor_160 gabor_026 gabor_140 gabor_095 gabor_160 gabor_026_alt gabor_140_alt gabor_095 "2_36_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2400_gabor_patch_orientation_160_026_140_095_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_095_framed blank blank blank blank fixation_cross_white "2_36_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_095_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2092 2992 2092 fixation_cross gabor_130 gabor_095 gabor_059 gabor_074 gabor_130_alt gabor_095_alt gabor_059 gabor_074 "2_37_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2100_gabor_patch_orientation_130_095_059_074_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_074_framed blank blank blank blank fixation_cross_white "2_37_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_074_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 63 292 292 399 125 1792 2992 1992 fixation_cross gabor_001 gabor_016 gabor_121 gabor_139 gabor_001 gabor_016_alt gabor_121 gabor_139_alt "2_38_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_1800_3000_2000_gabor_patch_orientation_001_016_121_139_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_089_framed blank blank blank blank fixation_cross_white "2_38_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_089_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1942 2992 1892 fixation_cross gabor_160 gabor_035 gabor_019 gabor_053 gabor_160 gabor_035 gabor_019_alt gabor_053_alt "2_39_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_1900_gabor_patch_orientation_160_035_019_053_target_position_1_2_retrieval_position_2" gabor_circ gabor_035_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_39_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_035_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1942 2992 1992 fixation_cross gabor_149 gabor_124 gabor_169 gabor_015 gabor_149_alt gabor_124_alt gabor_169 gabor_015 "2_40_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_2000_gabor_patch_orientation_149_124_169_015_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_169_framed gabor_circ blank blank blank blank fixation_cross_white "2_40_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_169_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 63 292 292 399 125 1742 2992 2292 fixation_cross gabor_121 gabor_177 gabor_042 gabor_161 gabor_121 gabor_177_alt gabor_042_alt gabor_161 "2_41_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_1750_3000_2300_gabor_patch_orientation_121_177_042_161_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_087_framed gabor_circ blank blank blank blank fixation_cross_white "2_41_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_087_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1942 2992 2392 fixation_cross gabor_048 gabor_073 gabor_004 gabor_026 gabor_048_alt gabor_073 gabor_004_alt gabor_026 "2_42_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_2400_gabor_patch_orientation_048_073_004_026_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_026_framed blank blank blank blank fixation_cross_white "2_42_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_026_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2192 2992 2492 fixation_cross gabor_109 gabor_175 gabor_021 gabor_149 gabor_109 gabor_175 gabor_021_alt gabor_149_alt "2_43_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2500_gabor_patch_orientation_109_175_021_149_target_position_1_2_retrieval_position_1" gabor_061_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_43_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_061_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1892 2992 2442 fixation_cross gabor_010 gabor_147 gabor_040 gabor_083 gabor_010 gabor_147_alt gabor_040_alt gabor_083 "2_44_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2450_gabor_patch_orientation_010_147_040_083_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_083_framed blank blank blank blank fixation_cross_white "2_44_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_083_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2092 2992 2542 fixation_cross gabor_135 gabor_172 gabor_008 gabor_064 gabor_135 gabor_172_alt gabor_008_alt gabor_064 "2_45_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2550_gabor_patch_orientation_135_172_008_064_target_position_1_4_retrieval_position_1" gabor_135_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_45_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_135_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1792 2992 2242 fixation_cross gabor_073 gabor_133 gabor_158 gabor_096 gabor_073 gabor_133 gabor_158_alt gabor_096_alt "2_46_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2250_gabor_patch_orientation_073_133_158_096_target_position_1_2_retrieval_position_1" gabor_026_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_46_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_026_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 63 292 292 399 125 1842 2992 2542 fixation_cross gabor_070 gabor_136 gabor_095 gabor_008 gabor_070_alt gabor_136 gabor_095 gabor_008_alt "2_47_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_1850_3000_2550_gabor_patch_orientation_070_136_095_008_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_053_framed blank blank blank blank fixation_cross_white "2_47_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_053_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2242 2992 2342 fixation_cross gabor_062 gabor_103 gabor_170 gabor_151 gabor_062_alt gabor_103_alt gabor_170 gabor_151 "2_48_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2350_gabor_patch_orientation_062_103_170_151_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_016_framed blank blank blank blank fixation_cross_white "2_48_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_016_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1892 2992 2442 fixation_cross gabor_154 gabor_068 gabor_048 gabor_015 gabor_154 gabor_068_alt gabor_048 gabor_015_alt "2_49_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2450_gabor_patch_orientation_154_068_048_015_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_094_framed gabor_circ blank blank blank blank fixation_cross_white "2_49_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_094_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1792 2992 2442 fixation_cross gabor_006 gabor_121 gabor_038 gabor_086 gabor_006_alt gabor_121_alt gabor_038 gabor_086 "2_50_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2450_gabor_patch_orientation_006_121_038_086_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_038_framed gabor_circ blank blank blank blank fixation_cross_white "2_50_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_038_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1992 2992 2492 fixation_cross gabor_117 gabor_175 gabor_089 gabor_038 gabor_117 gabor_175 gabor_089_alt gabor_038_alt "2_51_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2500_gabor_patch_orientation_117_175_089_038_target_position_1_2_retrieval_position_1" gabor_068_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_51_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_068_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 63 292 292 399 125 1942 2992 2042 fixation_cross gabor_142 gabor_092 gabor_068 gabor_028 gabor_142_alt gabor_092 gabor_068_alt gabor_028 "2_52_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_1950_3000_2050_gabor_patch_orientation_142_092_068_028_target_position_2_4_retrieval_position_1" gabor_007_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_52_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_007_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1792 2992 2342 fixation_cross gabor_162 gabor_128 gabor_039 gabor_144 gabor_162_alt gabor_128 gabor_039_alt gabor_144 "2_53_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2350_gabor_patch_orientation_162_128_039_144_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_144_framed blank blank blank blank fixation_cross_white "2_53_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_144_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1792 2992 1942 fixation_cross gabor_177 gabor_133 gabor_025 gabor_007 gabor_177_alt gabor_133 gabor_025_alt gabor_007 "2_54_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_1950_gabor_patch_orientation_177_133_025_007_target_position_2_4_retrieval_position_2" gabor_circ gabor_087_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_54_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_087_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 64 292 292 399 125 2142 2992 2092 fixation_cross gabor_153 gabor_131 gabor_096 gabor_116 gabor_153_alt gabor_131_alt gabor_096 gabor_116 "2_55_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_2150_3000_2100_gabor_patch_orientation_153_131_096_116_target_position_3_4_retrieval_position_2" gabor_circ gabor_131_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_55_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_131_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1892 2992 2342 fixation_cross gabor_101 gabor_081 gabor_155 gabor_040 gabor_101 gabor_081 gabor_155_alt gabor_040_alt "2_56_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2350_gabor_patch_orientation_101_081_155_040_target_position_1_2_retrieval_position_2" gabor_circ gabor_126_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_56_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_126_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2242 2992 2292 fixation_cross gabor_100 gabor_154 gabor_085 gabor_125 gabor_100 gabor_154_alt gabor_085 gabor_125_alt "2_57_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2300_gabor_patch_orientation_100_154_085_125_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_085_framed gabor_circ blank blank blank blank fixation_cross_white "2_57_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_085_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2042 2992 2042 fixation_cross gabor_064 gabor_179 gabor_091 gabor_037 gabor_064 gabor_179_alt gabor_091 gabor_037_alt "2_58_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2050_gabor_patch_orientation_064_179_091_037_target_position_1_3_retrieval_position_1" gabor_112_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_58_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_112_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 63 292 292 399 125 1742 2992 1992 fixation_cross gabor_001 gabor_117 gabor_085 gabor_037 gabor_001 gabor_117_alt gabor_085_alt gabor_037 "2_59_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_1750_3000_2000_gabor_patch_orientation_001_117_085_037_target_position_1_4_retrieval_position_2" gabor_circ gabor_162_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_59_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_162_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 1842 2992 2492 fixation_cross gabor_006 gabor_143 gabor_062 gabor_175 gabor_006 gabor_143 gabor_062_alt gabor_175_alt "2_60_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2500_gabor_patch_orientation_006_143_062_175_target_position_1_2_retrieval_position_2" gabor_circ gabor_143_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_60_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_143_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2192 2992 2342 fixation_cross gabor_058 gabor_178 gabor_099 gabor_034 gabor_058 gabor_178_alt gabor_099_alt gabor_034 "2_61_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2350_gabor_patch_orientation_058_178_099_034_target_position_1_4_retrieval_position_1" gabor_012_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_61_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_012_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2042 2992 1892 fixation_cross gabor_066 gabor_109 gabor_046 gabor_002 gabor_066 gabor_109 gabor_046_alt gabor_002_alt "2_62_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_1900_gabor_patch_orientation_066_109_046_002_target_position_1_2_retrieval_position_2" gabor_circ gabor_155_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_62_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_155_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1992 2992 2592 fixation_cross gabor_098 gabor_035 gabor_150 gabor_175 gabor_098 gabor_035_alt gabor_150 gabor_175_alt "2_63_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2600_gabor_patch_orientation_098_035_150_175_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_011_framed gabor_circ blank blank blank blank fixation_cross_white "2_63_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_011_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 63 292 292 399 125 2092 2992 1942 fixation_cross gabor_132 gabor_109 gabor_003 gabor_049 gabor_132_alt gabor_109 gabor_003_alt gabor_049 "2_64_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_2100_3000_1950_gabor_patch_orientation_132_109_003_049_target_position_2_4_retrieval_position_1" gabor_180_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_64_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_180_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 62 292 292 399 125 2192 2992 2292 fixation_cross gabor_170 gabor_128 gabor_085 gabor_147 gabor_170 gabor_128_alt gabor_085_alt gabor_147 "2_65_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2300_gabor_patch_orientation_170_128_085_147_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_147_framed blank blank blank blank fixation_cross_white "2_65_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_147_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1742 2992 2342 fixation_cross gabor_116 gabor_131 gabor_172 gabor_001 gabor_116 gabor_131 gabor_172_alt gabor_001_alt "2_66_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2350_gabor_patch_orientation_116_131_172_001_target_position_1_2_retrieval_position_2" gabor_circ gabor_082_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_66_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_082_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 1892 2992 2092 fixation_cross gabor_159 gabor_136 gabor_114 gabor_099 gabor_159 gabor_136_alt gabor_114 gabor_099_alt "2_67_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2100_gabor_patch_orientation_159_136_114_099_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_069_framed gabor_circ blank blank blank blank fixation_cross_white "2_67_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_069_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2192 2992 2192 fixation_cross gabor_143 gabor_029 gabor_053 gabor_073 gabor_143_alt gabor_029 gabor_053_alt gabor_073 "2_68_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2200_gabor_patch_orientation_143_029_053_073_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_118_framed blank blank blank blank fixation_cross_white "2_68_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_118_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 64 292 292 399 125 1992 2992 2592 fixation_cross gabor_031 gabor_004 gabor_110 gabor_160 gabor_031_alt gabor_004 gabor_110_alt gabor_160 "2_69_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_2000_3000_2600_gabor_patch_orientation_031_004_110_160_target_position_2_4_retrieval_position_1" gabor_031_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_69_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_031_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 44 61 292 292 399 125 2042 2992 2392 fixation_cross gabor_157 gabor_042 gabor_094 gabor_069 gabor_157 gabor_042_alt gabor_094_alt gabor_069 "2_70_Encoding_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2400_gabor_patch_orientation_157_042_094_069_target_position_1_4_retrieval_position_1" gabor_112_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_70_Retrieval_Working_Memory_MEG_P7_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_112_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; }; # baselinePost (at the end of the session) trial { picture { box frame1; x=0; y=0; box frame2; x=0; y=0; box background; x=0; y=0; bitmap fixation_cross_black; x=0; y=0; }; time = 0; duration = 5000; code = "BaselinePost"; port_code = 92; };
00f0add635854f1eea175c2b0ee11b8ec2984a33
449d555969bfd7befe906877abab098c6e63a0e8
/3828/CH5/EX5.4/Ex5_4.sce
10e21b090d6704ae5a950fa7657e36d9c7537415
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
335
sce
Ex5_4.sce
//Chapter 5 : Fibre Optics clear; //Variable declaration delr=12*10**-3 //fractional refractive index change NA=0.22 //Numerical aperture //Calculations n1=NA/sqrt(2*delr) n2=n1-(n1*delr) //Result mprintf("Refractive index of core material= %f",n1) mprintf("\nRefractive index of cladding material= %f",n2)
e40a5c0dc857828a4c960703b32c34dbc57a8246
449d555969bfd7befe906877abab098c6e63a0e8
/2207/CH6/EX6.6.11/ex_6_6_11.sce
35b3eecff2bb1239786b3956277a3a35b1c899d9
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
712
sce
ex_6_6_11.sce
//Example 6.6.11: value of current limiting resistor ,maximum and minimum duty cycle clc; clear; close; format('v',6) //given data : v=325;//in volts eb=120;//in volts r=0.2;//in ohms ra=0.3;//in ohms e=120;//in volts rb=0.2;//in ohms rl=0.3;//in ohms d=60;//in percentage i=20;//in amperes vo=(d/100)*v;// R=((i*rl)-(v-eb)+(i*rb))/(-i);// disp("part (a)") disp(R,"value of current limiting resistor in ohm is") //value of current limiting resistor is calculated wrong in the textbook disp("part (b)") p=15;// R=9.45;// vmax=v+(v*(p/100));// vmin=v-(v*(p/100));// Dmax=((i*R)/vmin)*100;// Dmin=((i*R)/vmax)*100;// disp(Dmax,"maximum duty cycle in percentage is") disp(Dmin,"minimum duty cycle in percentage is")
b7ee3aaed0cccfa065888ecb2634cc53b7b6fb87
449d555969bfd7befe906877abab098c6e63a0e8
/995/CH2/EX2.11/Ex2_11.sce
7bec7edb2bf621065bedb43c5c7f912c915b9a30
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
85
sce
Ex2_11.sce
//Ex:2.11 clc; clear; close; printf("Resistance = 0.22 ohm with 20%% tolerance");
9ce295e21237418987a7e760c7560d7c8fbf30da
a62e0da056102916ac0fe63d8475e3c4114f86b1
/set7/s_Electronic_Instrumentation_And_Measurements_D._A._Bell_182.zip/Electronic_Instrumentation_And_Measurements_D._A._Bell_182/CH9/EX9.10/example9_10.sce
f3dc82d57147f3dd121a3fa981aa759ac1f86cfd
[]
no_license
hohiroki/Scilab_TBC
cb11e171e47a6cf15dad6594726c14443b23d512
98e421ab71b2e8be0c70d67cca3ecb53eeef1df6
refs/heads/master
2021-01-18T02:07:29.200029
2016-04-29T07:01:39
2016-04-29T07:01:39
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
285
sce
example9_10.sce
errcatch(-1,"stop");mode(2);// to find the frequency // example 9-10 in page 268 ; // data given C=13D-12; Rs=600; // input capacitance in farad and source resistance in ohm //calculation printf("frequency=%.1f MHz",1/(2*%pi*C*Rs*10^6)); //result //frequency=20.4 MHz exit();
dbe4f12ba315fc10f6d057a2c3ca959e18e646f3
449d555969bfd7befe906877abab098c6e63a0e8
/2294/CH1/EX1.21/EX1_21.sce
2ecbd2b872f0dc69c9f7a88be9bba5e7496f242a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
927
sce
EX1_21.sce
//Example 1.21<i> //whether the signal is energy signal clc ; t =0:0.001:10; y= exp (-3*t); E= integrate ( ' ( exp(-3*t)) ^2 ' , ' t ' ,0 ,2* %pi ); disp (E, ' Energy o f the s i g n a l i s ' ); disp ( 'since the energy is finite , hence it is energy signal'); //example1.21<iii> //show whethet x(t)=cost is a power or energy signal clc; t=0:0.01:100; x=cos(t); P=(integrate('cos(t)^2','t',0,2*%pi))/(2*%pi); disp(P,'The power of the signal is:'); E=(integrate('cos(t)^2','t',0,2*%pi)); disp(E,'The energy is:'); disp('As t tends to infinity energy also tends to iinfinity but power remains finite.hence it is power signal'); //Example 1.21<iv> //Find the energy of the signal clc; E=0;//initialize for n=0:200 x(n+1)=(1/3)^n; end for n=0:200 E=E+x(n+1)^2; end if E<%inf then disp(E,'The energy of the signal is;'); else disp('The given signal is not energy signal'); end
88e542cc51c0ae6bd52f47729a49cbf4f6644c1e
449d555969bfd7befe906877abab098c6e63a0e8
/3673/CH5/EX5.a.2/Example_a_5_2.sce
5eedb09011aff0053a48463f89b4d932234b2a65
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
623
sce
Example_a_5_2.sce
//Example_a_5_2 page no:202 clc; V=10; Z=100+(((125.66*%i)*(314.15*%i))/((125.66*%i)+(314.15*%i))); Zmag=sqrt(real(Z)^2+imag(Z)^2); Zang=atand(imag(Z)/real(Z)); disp(Zmag,"the magnitude of impedence is (in ohm)"); disp(Zang,"the angle of impedence is (in degree)"); Imag=V/Zmag; Iang=0-Zang; disp(Imag,"the magnitude of current is (in A)"); disp(Iang,"the angle of current is (in degree)"); //inductance value is doubled Z=100+(%i*179.7); Zmag=sqrt(real(Z)^2+imag(Z)^2); Zang=atand(imag(Z)/real(Z)); disp(Zmag,"the magnitude of impedence is (in ohm)"); disp(Zang,"the angle of impedence is (in degree)");
0083d17c03394c8775d98308d216cef3a859c5af
449d555969bfd7befe906877abab098c6e63a0e8
/1964/CH5/EX5.9/ex5_9.sce
47d520451a8b09a9e45fb5a177ab456172090869
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
752
sce
ex5_9.sce
//Chapter-5, Example 5.9, Page 169 //============================================================================= clc clear //INPUT DATA phi=40;//phase in degrees V=150;//voltage in Volts I=8;//current in A //the applied voltage lags behind the current .That means the current leads the voltage //hence pf is leading //CALCULATIONS pf=cos(phi*%pi/180);//in degrees--->leading //hence it is a capacitive circuit pa=V*I*pf;//active power in W pr=V*I*sin(phi*%pi/180);//reactive power in VAR mprintf("Thus active and reactive power are %3.1f W and %3.1f VAR respectively",pa,pr); //=================================END OF PROGRAM====================================================================================================== ;
9aa4b65b8c47c4723c232f062d6783047ee41ef5
d8cab241a02c8d06f859a4adbf2748d68c08d385
/Gauss_seidel.sce
1627aaea2fe5bb433f02896b9f60617245a18e49
[]
no_license
eluire/CN
6327b9619a6e00d2870912830393def2ca82b856
e2027e0d20c549bb1a79ce830c6affcf4cbe1149
refs/heads/master
2021-09-16T07:13:23.367948
2018-06-18T10:51:21
2018-06-18T10:51:21
126,038,180
0
0
null
null
null
null
UTF-8
Scilab
false
false
354
sce
Gauss_seidel.sce
clc xold=zeros(4,1); xnew=zeros(4,1); p=5 i=0 while(1) xnew(1)=((0.3*xold(2)+0.6*xold(3)+1.8)/3) xnew(2)=((0.6*xnew(1)+0.6*xold(3)+10.8)/6) xnew(3)=((1.6*xnew(2)+6.4*xold(4)-8)/8) xnew(4)=((0.2*xnew(1)+0.6*xnew(2)-0.4*xnew(3)+3)/2) erro_rel=(max(abs(xnew-xold)))/(max(abs(xnew))); xold=xnew i=i+1 if(erro_rel<10^-p) break end end
6a3dc47ff416ac78415a953ca14f5356db2d302c
7f93d02173ea31f52112f8ced858c9b9aa839094
/Canales_Kelp_Depletion/Kelp_model.sce
f93dab74dd54d5602e1bf227d3553e3a52f34df8
[]
no_license
KunWang-Fishery/DataPoorMethods
c9274449ffb0d15066dbb7b0a0da9587e5438d0c
2ee26e5dc02afb8511a164c9eb47023a675cf49a
refs/heads/master
2023-04-21T20:43:49.174102
2021-05-05T15:38:42
2021-05-05T15:38:42
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
4,184
sce
Kelp_model.sce
clear //------------------------------------------------------------------- ydp=2; //numero de años promedio representan el agotamiento percibido... nsim=300; // numero de simulaciones... opE=1; //opciones de error de proceso, 1: error en el reclutamiento, 2: error en M, 3: error en produccion... // error_std sigmaR=0.3; sigmaM=0.2; a_h=15.105; // parametros de la distr_ de h tipo beta determinados previamente IC95% 0.6-0.9 b_h=4.3464; M=0.3; // limites de proporción máxima de varado en los desembarques rho1=0.1; rho2=0.3; //------------------------------------------------------------------- // FUNCION OBJETIVO //------------------------------------------------------------------------------ function [fun,B,P,alfa,betta,indice]=rutina(Xo,hv,dep,n,Captura,varado,Mv,errR,opE,sigmaR) indice=0; K=exp(Xo); B(1)=K; m=1-exp(-Mv); alfa=4*hv*m*K/(5*hv-1); betta=(1-hv)*K/(5*hv-1); Capt=(1-varado).*Captura; for i=2:n // variabilidad solo en el reclutamiento P(i)=max([(alfa*B(i-1)/(betta+B(i-1)))*exp(errR(i-1)+0.5*sigmaR^2)-m*B(i-1),0]); if opE==2; // variabilidad en M P(i)=alfa*B(i-1)/(betta+B(i-1))-m*B(i-1)*exp(errR(i-1)+0.5*sigmaR^2); end if opE==3; // variabilidad en la fnc de producción P(i)=(alfa*B(i-1)/(betta+B(i-1))-m*B(i-1))*exp(errR(i-1)+0.5*sigmaR^2); end B(i)=B(i-1)+P(i)-Capt(i-1); end if(min(m*B-varado.*Captura)<0); indice=-1; end fun=(B(n)-K*dep).^2; endfunction //---------------------------------------------------------------------------- Captura=fscanfMat("desembarques.txt"); // capturas de Caldera Deple=fscanfMat("deple.txt"); // importa valores empiricos Ko=sum(Captura); largo=length(Captura); for j=1:nsim // loop de simulaciones disp([j]) errR(:,j)= grand(largo-1, 1, "nor", 0, sigmaR);// error proceso produccion latente en R errM= grand(1, 1, "nor", 0, sigmaM);// error proceso produccion latente en M. Varía entre escenarios hv(j)= grand(1, 1, "bet", a_h, b_h);// error proceso produccion latente en h. Varía entre escenarios. rho(j)= grand(1, 1, "unf", rho1, rho2);// error proceso varado anual no informativo. Varía entre escenarios. Valor=Deple(round(grand(1, 1, "unf", 1, length(Deple))));// muestra aleatoria empírico del agotamiento // los valores de deplecion son agrupados en tres categorias 20-40; 40-60 y 60-80. Se realiza un remuestreo aleatorio proporcional a la distribucion empirica resultante y dentro del rango seleccionado, se elige un valor desde una distribución uniforme acotada entre los valores del rango. La recionalidad es que el pescador puede entregar con mayor precision, rangos redondeadosdentro de los cuales cualquier valor puede resultar igualmente probable if Valor<0.40 then deple(j)=grand(1, 1, "unf", 0.2, 0.4); end if Valor>=0.40 & Valor<0.60 then deple(j)=grand(1, 1, "unf", 0.4, 0.6); end // if Valor>=0.60 then deple(j)=grand(1, 1, "unf", 0.6, 0.8); end Mv(j)=M*exp(errM); // valor aleatorio de M varado=1-(1-rho(j)).*Captura/max(Captura); Capt=(1-varado).*Captura; [log_K]=fminsearch(list(rutina,hv(j),deple(j),length(Captura),Captura,varado,Mv(j),errR(:,j), opE, sigmaR),log(Ko)); [fun(j),Bio,P,alfa(j),betta(j),indice(j)]=rutina(log_K,hv(j),deple(j),length(Captura),Captura,varado,Mv(j),errR(:,j), opE,sigmaR); Pobla(:,j)=Bio; Produ(:,j)=P; B0(j)=Bio(1); Bmsy(j)=-betta(j)+sqrt(alfa(j).*betta(j)./(1-exp(-Mv(j)))); MSY(j)=alfa(j)+(1-exp(-Mv(j))).*betta(j)-2*sqrt((1-exp(-Mv(j))).*alfa(j).*betta(j)); end // fin simulaciones subplot(2,2,1), histplot(10,Bmsy); title('Bmsy','FontSize',5) subplot(2,2,2), histplot(10,MSY); title('MSY','FontSize',5) subplot(2,2,3), histplot(10,deple); title('Agotamiento','FontSize',5) subplot(2,2,4), plot(Pobla,'g'); plot(median(Pobla,'c'),'k','Linewidth',3); title('Biomasa','FontSize',5) save("salidas.sod","Pobla","Captura","Mv","hv","deple","rho","Deple","B0","Bmsy","MSY");
f2ee352f9369759d41a442fc51184b77535265b7
449d555969bfd7befe906877abab098c6e63a0e8
/51/CH12/EX12.3/12_3.sce
a41fc38d55bd3b6c3e65a8b21cb93ac32c4554ae
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
332
sce
12_3.sce
clc; clear; exec("C:\Program Files\scilab-5.3.0\bin\TCP\12_3data.sci"); V=Q/((%pi/4)*(D/12)^2);//ft/sec hL=KL*(V^2)/(2*32.2);//ft //from value of T pv=0.5069;//psi sw=62.22;//lb/(ft^3); sw =specific weight z1max=(patm*144/sw)-hL-(pv*144/sw)-NPSHr;//ft disp("ft",z1max,"The maximum height at which the pump can be located=")
eed73dc3067efe2c5fc7f71b5fb3c50655259adf
449d555969bfd7befe906877abab098c6e63a0e8
/2330/CH8/EX8.1/ex8_1.sce
93cb2b478ec6b3779fd399454c02005da838eef4
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
351
sce
ex8_1.sce
// Example 8.1 format('v',6) clc; clear; close; // given data V_EE= 10;// in V V_BE= 0.7;// in V R_E= 20*10^3;// in Ω V_CC= 25;// in V R_C= 10*10^3;// in Ω // The emitter current I_E= (V_EE-V_BE)/R_E;// in A I_C= I_E;// in A // The collector to base voltage, V_CB= V_CC-I_C*R_C;// in V disp(V_CB,"The value of V_CB in volts is : ")
4faa082816188a3ddcb600b50895b1e6eb327e73
449d555969bfd7befe906877abab098c6e63a0e8
/2102/CH1/EX1.11/exa_1_11.sce
04218f546ec94d74a13267e9297140fde3ae083e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
233
sce
exa_1_11.sce
// Exa 1.11 clc; clear; close; // Given data H= 5*10^3;// in amp/meter N= 50; l= 10;//in cm l=l*10^-2;// in m n=N/l;// in turns/meter i= H/n;// in amp disp(i,"Current should be sent through the solenoid in ampere is : ")
52c6e604ec75cb3d0e33236bc8ff3dd156e26c82
bc7dfe8e57c0246b70975caa4a9714f842b567d1
/ch11/spell.tst
9b1ea6ef35768b78b19347d072adab2bba27024b
[]
no_license
TheSlamAnderson/cst203-data-structures
60b6943d3f1098f2823ec1a88b4f3faa067179a0
c36b64cd9cea1b194fe4a4ce5163699cf60a2149
refs/heads/master
2021-11-08T04:27:16.481424
2017-03-01T15:57:57
2017-03-01T15:57:57
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
87
tst
spell.tst
teh message contians the url for the web-page and a misspeled url for the email adress
f009aff87ca8f269e4d61aa9842e68a1e3321f8d
42fdf741bf64ea2e63d1546bb08356286f994505
/test_20160816_vd_sr_vmm16x16_sr_sr_itg_sr_adc_bk/input_pattern.sce
d825a618c6665aa7c5ad18ecaf3334c3eb0d3eba
[]
no_license
skim819/RASP_Workspace_sihwan
7e3cd403dc3965b8306ec203007490e3ea911e3b
0799e146586595577c8efa05c647b8cb92b962f4
refs/heads/master
2020-12-24T05:22:25.775823
2017-04-01T22:15:18
2017-04-01T22:15:18
41,511,563
1
0
null
null
null
null
UTF-8
Scilab
false
false
28,686
sce
input_pattern.sce
//weight16x16 =[ //250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06; //250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06; //250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06; //250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06; //250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06; //250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06; //250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06; //250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06; //250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06; //250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06; //250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06; //250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06; //250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06; //250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06; //250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06; //250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06 250e-06; //]; //weight16x16 =[ ////250e-06 1e-09 330e-06 1e-09 330e-06 1e-09 250e-06 1e-09 330e-06 1e-09 330e-06 1e-09 250e-06 1e-09 250e-06 1e-09; //250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09; //250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09; //250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09; //250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09; //250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09; //250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09; //250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09; //250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09; //250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09; //250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09; //250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09; //250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09; //250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09; //250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09; //250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09; //250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09 250e-06 1e-09; //]; weight16x16 =[ 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12; 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12; 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12; 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12; 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12; 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12; 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12; 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12; 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12; 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12; 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12; 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12; 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12; 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12; 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12; 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12 200e-06 50e-12; ]; // First values of Vin & Vd_Vref set the default value. Vin00 = [1.4 ... linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ... linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ... linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ... linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ... linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ... linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ... linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ... linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ... linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ... linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ... linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ... linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ... linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ... linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ... linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ... linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) linspace(1.7,1.7,16) linspace(1.1,1.1,16) ]; //zigzag_10=[1.7 1.1 1.7 1.1 1.7 1.1 1.7 1.1 1.7 1.1 1.7 1.1 1.7 1.1 1.7 1.1 ]; zigzag_10=[2.1 0.7 2.1 0.7 2.1 0.7 2.1 0.7 2.1 0.7 2.1 0.7 2.1 0.7 2.1 0.7 ]; //zigzag_01=[1.1 1.7 1.1 1.7 1.1 1.7 1.1 1.7 1.1 1.7 1.1 1.7 1.1 1.7 1.1 1.7]; zigzag_01=[0.7 2.1 0.7 2.1 0.7 2.1 0.7 2.1 0.7 2.1 0.7 2.1 0.7 2.1 0.7 2.1 ]; Vin01 = [1.4 ... zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ... zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ... zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ... zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ... zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ... zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ... zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ... zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ... zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ... zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ... zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ... zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ... zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ... zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ... zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ... zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 zigzag_10 ]; Vin02 = [1.4 ... zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ... zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ... zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ... zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ... zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ... zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ... zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ... zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ... zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ... zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ... zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ... zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ... zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ... zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ... zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ... zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 zigzag_01 ]; Vin03 = [1.4 ... zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ... zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ... zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ... zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ... zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ... zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ... zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ... zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ... zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ... zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ... zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ... zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ... zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ... zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ... zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ... zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 ]; Vin04 = [1.4 ... zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ... zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ... zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ... zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ... zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ... zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ... zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ... zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ... zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ... zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ... zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ... zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ... zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ... zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ... zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ... zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 zigzag_01 zigzag_10 ... ]; Vin05 =[1.4 linspace(1.4,1.4,4096)]; //Vin=Vin00; //Vin=Vin01; //Vin=Vin02; //Vin=Vin03; Vin=Vin04; //Vin=Vin05; entire_length = 4097; //Vd_Vref = [linspace(1.95,1.95,entire_length)]; //Vd_Vref = [linspace(1.9,1.9,entire_length)]; //Vd_Vref = [linspace(1.85,1.85,entire_length)]; //Vd_Vref = [linspace(1.8,1.8,entire_length)]; //Vd_Vref = [linspace(1.75,1.75,entire_length)]; // default //Vd_Vref = [linspace(1.72,1.72,entire_length)]; Vd_Vref = [linspace(1.7,1.7,entire_length)]; //Vd_Vref = [linspace(1.65,1.65,entire_length)]; //Vd_Vref = [linspace(1.6,1.6,entire_length)]; sr_out_clk = [linspace(0,0,entire_length) ]; sr_out_D = [linspace(0,0,entire_length) ]; sr_itg_in_clk = [linspace(0,0,entire_length) ]; sr_itg_in_D = [linspace(0,0,entire_length) ]; itg_ini = [linspace(0,0,entire_length) ]; sr_vmm_out_clk = [linspace(0,0,entire_length) ]; sr_vmm_out_D = [linspace(0,0,entire_length) ]; sr_vmm_in_clk = [linspace(0,0,entire_length) ]; sr_vmm_in_D = [linspace(0,0,entire_length) ]; nodeset = [linspace(0,0,entire_length) ]; disp(size(Vin),size(itg_ini)); exec("/home/ubuntu/rasp30/prog_assembly/libs/scilab_code/image_convolution_vmm_sr.sce",-1); //unix_w("sudo tclsh ~/rasp30/prog_assembly/libs/tcl/read_mem2_NoRelease.tcl -start_address 0x4200 -length 1 -output_file_name a1") //weight16x16 =[ //200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06; //200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06; //200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06; //200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06; //200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06; //200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06; //200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06; //200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06; //200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06; //200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06; //200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06; //200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06; //200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06; //200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06; //200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06; //200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06 200e-06; //]; //weight16x16 =[ // 1e-09 2e-09 3e-09 4e-09 5e-09 6e-09 7e-09 8e-09 9e-09 10e-09 11e-09 12e-09 13e-09 14e-09 15e-09 16e-09; // 17e-09 18e-09 19e-09 20e-09 21e-09 22e-09 23e-09 24e-09 25e-09 26e-09 27e-09 28e-09 29e-09 30e-09 31e-09 32e-09; // 33e-09 34e-09 35e-09 36e-09 37e-09 38e-09 39e-09 40e-09 41e-09 42e-09 43e-09 44e-09 45e-09 46e-09 47e-09 48e-09; // 49e-09 50e-09 51e-09 52e-09 53e-09 54e-09 55e-09 56e-09 57e-09 58e-09 59e-09 60e-09 61e-09 62e-09 63e-09 64e-09; // 65e-09 66e-09 67e-09 68e-09 69e-09 70e-09 71e-09 72e-09 73e-09 74e-09 75e-09 76e-09 77e-09 78e-09 79e-09 80e-09; // 81e-09 82e-09 83e-09 84e-09 85e-09 86e-09 87e-09 88e-09 89e-09 90e-09 91e-09 92e-09 93e-09 94e-09 95e-09 96e-09; // 97e-09 98e-09 99e-09 100e-09 101e-09 102e-09 103e-09 104e-09 105e-09 106e-09 107e-09 108e-09 109e-09 110e-09 111e-09 112e-09; //113e-09 114e-09 115e-09 116e-09 117e-09 118e-09 119e-09 120e-09 121e-09 122e-09 123e-09 124e-09 125e-09 126e-09 127e-09 128e-09; //129e-09 130e-09 131e-09 132e-09 133e-09 134e-09 135e-09 136e-09 137e-09 138e-09 139e-09 140e-09 141e-09 142e-09 143e-09 144e-09; //145e-09 146e-09 147e-09 148e-09 149e-09 150e-09 151e-09 152e-09 153e-09 154e-09 155e-09 156e-09 157e-09 158e-09 159e-09 160e-09; //161e-09 162e-09 163e-09 164e-09 165e-09 166e-09 167e-09 168e-09 169e-09 170e-09 171e-09 172e-09 173e-09 174e-09 175e-09 176e-09; //177e-09 178e-09 179e-09 180e-09 181e-09 182e-09 183e-09 184e-09 185e-09 186e-09 187e-09 188e-09 189e-09 190e-09 191e-09 192e-09; //193e-09 194e-09 195e-09 196e-09 197e-09 198e-09 199e-09 200e-09 201e-09 202e-09 203e-09 204e-09 205e-09 206e-09 207e-09 208e-09; //209e-09 210e-09 211e-09 212e-09 213e-09 214e-09 215e-09 216e-09 217e-09 218e-09 219e-09 220e-09 221e-09 222e-09 223e-09 224e-09; //225e-09 226e-09 227e-09 228e-09 229e-09 230e-09 231e-09 232e-09 233e-09 234e-09 235e-09 236e-09 237e-09 238e-09 239e-09 240e-09; //241e-09 242e-09 243e-09 244e-09 245e-09 246e-09 247e-09 248e-09 249e-09 250e-09 251e-09 252e-09 253e-09 254e-09 255e-09 256e-09; //];