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
69f9e86e71cccce197d51c620dc615d330444609
449d555969bfd7befe906877abab098c6e63a0e8
/2504/CH11/EX11.2/11_2.sce
655fbd9bb96c64ce5e507a5ca2cad4c7bcf7dd23
[]
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
393
sce
11_2.sce
clc //initialisation of variables clear vbm= 38 //ft/sec va= 17.94 //ft/sec a= 147.5 //degrees vwm= 10.37 //ft/sec C= 1430 //lbf/ft P= 763 //lbf/ft^2 //CALCULATIONS vwm1= vbm+va*cotd(a) p= (vwm-vwm1)/vwm C1= C*(1-p) P1= P*(1-p) //RESULTS printf ('Oulet Velocity = %.2f ft/sec',vwm1) printf ('\n Torque = %.f lbf/ft',C1) printf ('\n Workdone by the rotor = %.f lbf/ft^2',P1)
627c50d339c1ae7f0d5382f6df36d4baa4b20864
449d555969bfd7befe906877abab098c6e63a0e8
/278/CH11/EX11.13/ex_11_12.sce
b7180140a5a9148c7bdb95a68816de38d59c9e0d
[]
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
480
sce
ex_11_12.sce
//determine the size of bolts clc //solution //given //ref fig 11.31 W=30000//N ft=60//N/mm^2 L1=80//mm L2=250//mm L=500//mm Wt1=W/4//N printf("the value of Wt1 is,%f N\n",Wt1) w=(W*L)/(2*(L1^2+L2^2))//N/mm printf("the value of w is,%f N/mm\n",w) Wt2=w*L2//N printf("the value of Wt2 is,%f N\n",Wt2) Wt=Wt1+Wt2//N printf("the value of Wt is,%f N\n",Wt) pi=3.14 //klet dc be coire dia dc=sqrt((Wt*4)/(pi*ft))//mm printf("the core diameter of bolt is,%f mm",dc)
b2523719d1b1a1769a17153aea70197e2004ed47
b7a19323e17ceac9d22a1559fbb3e7d61795fd21
/Systemy Inteligentne 2/Projekt 4/proj_dane_1 — kopia.tst
73dccbbb44d8a39d265e5773640c91ffafdbb30c
[]
no_license
kameshi/STUDIA
61f53f5722b108a70c862ce6b889a3e890bd8a7f
11dfad719ed6d409c1e40033e65727f20a0f0a52
refs/heads/master
2021-05-11T15:36:57.854563
2018-01-16T00:21:56
2018-01-16T00:21:56
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,805
tst
proj_dane_1 — kopia.tst
we we wy x1 x2 #d -9,697 9,175 Klasa1 -8,636 8,045 Klasa1 -7,991 7,259 Klasa1 -7,221 6,718 Klasa1 -6,076 5,613 Klasa1 -4,932 4,483 Klasa1 -3,912 3,034 Klasa1 -2,996 2,518 Klasa1 -2,143 1,462 Klasa1 -1,269 0,626 Klasa1 -1,748 -0,381 Klasa1 -3,371 -0,061 Klasa1 -4,62 0,872 Klasa1 -6,888 3,746 Klasa1 -8,262 3,992 Klasa1 -9,406 3,157 Klasa1 -9,385 1,265 Klasa1 -6,742 0,258 Klasa1 -7,866 0,332 Klasa1 -8,22 -2,027 Klasa1 -7,367 -1,732 Klasa1 -6,659 -1,167 Klasa1 -5,39 -0,626 Klasa1 -4,287 -2,739 Klasa1 -3,329 -1,977 Klasa1 -6,867 -2,297 Klasa1 -9,177 -0,798 Klasa1 -7,471 5,195 Klasa1 -8,532 6,767 Klasa1 -9,531 4,778 Klasa1 6,722 6,178 Klasa2 7,679 7,259 Klasa2 8,741 7,971 Klasa2 9,261 8,634 Klasa2 5,681 5,416 Klasa2 4,87 4,385 Klasa2 3,684 2,985 Klasa2 2,04 1,977 Klasa2 0,479 0,504 Klasa2 1,062 -0,135 Klasa2 1,582 -0,798 Klasa2 2,393 -1,486 Klasa2 2,997 -2,1 Klasa2 3,538 -2,69 Klasa2 4,35 -1,584 Klasa2 5,681 -0,282 Klasa2 5,14 0,577 Klasa2 6,098 1,388 Klasa2 7,658 1,363 Klasa2 8,99 1,191 Klasa2 8,574 2,862 Klasa2 8,262 4,041 Klasa2 6,16 3,279 Klasa2 4,433 2,027 Klasa2 3,33 1,167 Klasa2 2,373 0,43 Klasa2 5,827 -3,034 Klasa2 6,597 -3,009 Klasa2 6,431 -1,216 Klasa2 8,283 -1,56 Klasa2 -4,953 -4,851 Klasa3 -3,683 -3,722 Klasa3 -1,228 -3,623 Klasa3 0,541 -3,623 Klasa3 2,477 -3,623 Klasa3 3,933 -4,016 Klasa3 5,057 -5,073 Klasa3 6,035 -5,932 Klasa3 6,743 -6,866 Klasa3 7,742 -7,775 Klasa3 8,449 -8,634 Klasa3 0,562 -5,785 Klasa3 -1,748 -5,711 Klasa3 -0,603 -6,596 Klasa3 -2,83 -6,62 Klasa3 -4,162 -5,613 Klasa3 -5,119 -6,522 Klasa3 -4,162 -7,554 Klasa3 -6,68 -7,48 Klasa3 -7,7 -7,431 Klasa3 -0,041 -9,199 Klasa3 1,499 -9,101 Klasa3 2,435 -9,003 Klasa3 4,745 -7,578 Klasa3 -7,929 -8,806 Klasa3 -5,848 -8,978 Klasa3 -4,016 -8,929 Klasa3 -1,935 -7,701 Klasa3 -6,201 -6,055 Klasa3 1,166 -7,652 Klasa3
2579ad7484fe642a50b4307dc16bcedfbc88170b
449d555969bfd7befe906877abab098c6e63a0e8
/182/CH9/EX9.11/example9_11.sce
dd14259dbb8d1a9b9941779cd31cde2889b4cbae
[]
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
251
sce
example9_11.sce
// to determine the frequency // example 9-11 in page 269 clc; // Data Given C=3.5D-12; Rs=600; // capacitance in farad and source resistance in ohm //calculation printf("frequency=%.1f MHz",1/(2*%pi*C*Rs*10^6)); //result //frequency=75.8 MHz
7123e1da9010fc56d7744f779f364c5359eed045
449d555969bfd7befe906877abab098c6e63a0e8
/2063/CH1/EX1.23/1_23.sce
b14f9f058e8a1436539cb4d0e4c6372d875fe19c
[]
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
922
sce
1_23.sce
clc clear //Input data P1=1;//Pressure at the beginning of compression stroke of an oil engine working on a air standard dual cycle in bar T1=303;//Temperature at the beginning of compression stroke in K P3=40;//The maximum pressure reached in bar T4=1673;//Maximum temperature reached in K P4=P3;//Pressure at the start of constant pressure heat addition in bar Cp=1.004;//Specific heat at constant pressure in kJ/kg K Cv=0.717;//Specific heat at constant volume in kJ/kg K r1=10;//Compression ratio //Calculations r=Cp/Cv;//Isentropic ratio T2=T1*r1^(r-1);//Temperature at the end of compression stroke in K P2=P1*r1^r;//Pressure at the end of compression stroke in bar T3=T2*(P3/P2);//Temperature at the end of constant volume heat addition in K rho=T4/T3;//Cut off ratio //Output printf('(a)Temperature at the end of constant volume heat addition is %3.1f K\n (b)Cut off ratio is %3.3f',T3,rho)
445a0b4a3b487e82e47a52ba89450b49bfa22fd6
b29e9715ab76b6f89609c32edd36f81a0dcf6a39
/ketpicscifiles6/Fontsize.sci
218b599fa6e5a449d76f7cfdae8f67cb7d5ddabf
[]
no_license
ketpic/ketcindy-scilab-support
e1646488aa840f86c198818ea518c24a66b71f81
3df21192d25809ce980cd036a5ef9f97b53aa918
refs/heads/master
2021-05-11T11:40:49.725978
2018-01-16T14:02:21
2018-01-16T14:02:21
117,643,554
1
0
null
null
null
null
UTF-8
Scilab
false
false
788
sci
Fontsize.sci
function Fontsize(Ookisa) global Wfile FID; Str='%'; Ucode=ascii(Ookisa); S=char(Ucode(1)); if S=='n' Str='\normalsize%'; end if S=='s' if length(Ucode)==1 Tmp=''; else Tmp=char(Ucode(2)); end if Tmp=='s' Str='\scriptsize%'; else Str='\small%'; end end if S=='f' Str='\footnotesize%'; end if S=='t' Str='\tiny%'; end if S=='l' Str='\large%'; end if S=='L' if length(Ucode)==1 Tmp='a'; else Tmp=char(Ucode(2)); end if Tmp=='a' Str='\Large%'; else Str='\LARGE%'; end end if S=='h' Str='\huge%'; end if S=='H' Str='\Huge%'; end if Wfile=='default' mprintf('%s\n',Str); else mfprintf(FID,'%s\n',Str); end endfunction
cb0d89112e694fdf43db2f297779de6671813e4b
3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc
/Pack/Área 1/M3/bissec.sce
b394d3c1b78c5a2498d09af3c65de2852e5d7f06
[ "MIT" ]
permissive
JPedroSilveira/numerical-calculus-with-scilab
32e04e9b1234a0a82275f86aa2d6416198fa6c81
190bc816dfaa73ec2efe289c34baf21191944a53
refs/heads/master
2023-05-10T22:39:02.550321
2021-05-11T17:17:09
2021-05-11T17:17:09
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
446
sce
bissec.sce
function y= f(x) y = sin(x) - 6 + x // função do problema endfunction a = -100 // início do intervalo b = 100 // fim do intervalo //obs: você pode alterar o intervalo para ficar mais próximo da raiz do função, caso você já a conheça. //plote a função no Geogebra para facilitar, caso queira. m = (a+b)/2 for i = 1:1000 m = (a+b)/2 if(f(a)*f(m)<0) then b=m else a=m end disp([a b]) end
e53631f6866819a1ccd11d26857e473f65f63107
449d555969bfd7befe906877abab098c6e63a0e8
/1319/CH2/EX2.3/2_3.sce
d2e6cfa8e94a8a9430e3b5f9163bebfa143eea38
[]
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,665
sce
2_3.sce
// To calculate current in each branch using loop analysis and point voltages in a given network. clc; clear; // MESH Equations for the given network. //3.95*i1-3.75*i2+0*i3=120 //-3.75*i1+9.5*i2-5.45*i3=0 //0*i1-5.45*i2+5.55*i3=-110 // Positive of 120V DC supply connected to 0.2 ohm resistor // Positive of 110 DC supply connected to 0.1 ohm resistor //Voltage supplies are 120V and 110V R=[3.95 -3.75 0;-3.75 9.5 -5.45; 0 -5.45 5.55]; E=[120;0;-110]; R1=abs(R(2)); // Resistor carrying ia R2=abs(R(8)); // Resistor carrying ib // Loop Currents I=inv(R)*E; i1=I(1); i2=I(2); i3=I(3); ia=i1-i2; // Assumed direction from Mesh 1 ib=i2-i3; // Assumed direction from Mesh 2 // Using Nodal Analysis to find V1 and V2. V1=R1*ia; V2=R2*ib; disp('A',ib,'ib (through 2 resistor between 7 ohm and 3 ohm resistor) =','A',ia,'ia(through 1 ohm resistor) =','A',i3,'i3 =','A',i2,'i2 =','A',i1,'i1 =','The Calculated Loop Currents are') disp('The Negative sign indicates that the assumed direction of flow of current should be reveresed') // To obtain the magnitude of direction. if(i1<0) i1=abs(i1); end if(i2<0) i2=abs(i2); end if(i3<0) i3=abs(i3); end if(ia<0) ia=abs(ia); end if(ib<0) ib=abs(ib); end disp('A',i1,'The Current through 0.2 ohm resistor on the 120V side =') disp('A',i2,'The Current through 0.3 ohm resistor =') disp('A',i3,'The Current through 0.1 ohm resistor on the 110V side =') disp('A',ia,'The Current through 3.75 ohm resistor =') disp('A',ib,'The Current through 5.45 ohm resistor =') disp('V',V1,'The voltage V1 =') disp('V',V2,'The voltage V2 =')
78c8f166008afc78d7b215ab14eac7863c075463
449d555969bfd7befe906877abab098c6e63a0e8
/680/CH2/EX2.06/2_06.sce
0d89cd2c5744ce3be192728ba8747c783622c30f
[]
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
278
sce
2_06.sce
//Problem 2.06: //initializing the variables: sg = 0.8 abvis = 0.02;// in cP pref = 62.43; // in lb/ft3 //calculation: p = sg*pref u = abvis*6.720E-4; // in lb/ft.sec v = u/p printf("\n\nResult\n\n") printf("\n kinematic viscosity of a gas is %.3E ft2/sec\n",v)
e033d87bc8b132815869793f12291ae4ac73a092
449d555969bfd7befe906877abab098c6e63a0e8
/243/CH4/EX4.16/4_16.sce
d1b87e09188fefce4df4d083c8ad18c331605160
[]
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
551
sce
4_16.sce
//Example No. 4_16 //Condition and Stability //Pg No. 82 clear ; close ; clc ; C1 = 7.00 ; C2 = 3.00 ; m1 = 2.00 ; m2 = 2.01 ; x = (C1 - C2)/(m2 - m1) y = m1*((C1 - C2)/(m2 - m1)) + C1 disp(y,'y = ',x,'x = ') disp('Changing m2 from 2.01 to 2.005') m2 = 2.005 x = (C1 - C2)/(m2 - m1) y = m1*((C1 - C2)/(m2 - m1)) + C1 mprintf('\n x = %i \n y = %i \n From the above results we can see that for small change in m2 results in almost 100 percent change in the values of x and y.Therefore, the problem is absolutely ill-conditioned \n',x,y)
68790526e1b02d5f0dc8594b812060498514cce0
68e53df229b123d7681a4f7fa4db43b4982d5362
/sigma.sce
c951f5e81bfd3e3b3be76ee3a4c6d12cf877ed8f
[]
no_license
yeoleparesh/Control-system
06c30e594d51fec7a8ffabc452a7866b38604a23
dee7fbfd3c2c46cc1d4d0a3cb8af45d918da972b
refs/heads/master
2021-01-17T12:38:05.661769
2019-01-03T12:03:53
2019-01-03T12:03:53
59,283,431
0
3
null
null
null
null
UTF-8
Scilab
false
false
132
sce
sigma.sce
// Function sigma // Example1 s=%s; sys=syslin('c',1/(1+s)); sigma(sys) sigma(sys,sys^2) sigma(sys,20:40) [V,w]=sigma(sys)
efe01e6b6cd82c2dbd1e8ec6d48ad010428d3398
449d555969bfd7befe906877abab098c6e63a0e8
/2747/CH13/EX13.2/Ex13_2.sce
57a94751eae44570b02de758b5bb780ed7c8ea36
[]
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
557
sce
Ex13_2.sce
clc clear //Initialization of variables m1=5.28 m2=1.28 m3=23.52 //calculations m=m1+m2+m3 x1=m1/m x2=m2/m x3=m3/m C=12/44 *m1/ m O=(32/44 *m1 + m2)/m N=m3/m sum1=(x1+x2+x3)*100 sum2=(C+N+O)*100 //results printf("From gravimetric analysis, co2 = %.1f percent , o2 = %.1f percent and n2 = %.1f percent",x1*100,x2*100,x3*100) printf("\n From ultimate analysis, co2 = %.2f percent , o2 = %.2f percent and n2 = %.2f percent",C*100,O*100,N*100) printf("\n Sum in case 1 = %.1f percent",sum1) printf("\n Sum in case 2 = %.1f percent",sum2)
42dc249d14f5627cd1e925d36b0e6f1fb00b615f
4ed576b765859807d6c29665521e0697d6f9bae7
/archive/04/ex4.4.sce
c474fa5284d44247b682093ea9cad924ce0b8d6a
[]
no_license
sbednarz/scilab
96b9182730fa48d11f27840fc197d151adb01e2c
28f81c58bc4972eeb41f403cb157fb989e809f41
refs/heads/master
2021-07-11T04:42:04.289126
2021-05-17T20:55:19
2021-05-17T20:55:19
100,467,366
3
1
null
2020-06-19T06:49:18
2017-08-16T08:37:06
Scilab
UTF-8
Scilab
false
false
1,113
sce
ex4.4.sce
// A => B, k // // A0 = 2 // B0 = 0 // y0 = [A0; B0] // t0 = 0 // k = 1e-3 // // How to calculate reaction time when [B] reaches 1.2 mol/L? function dy = model(t, y) A = y(1) B = y(2) dAdt = -k*A dBdt = k*A dy=[dAdt, dBdt] endfunction // integrate ODE (model) until end_of_calculations(t, y) = 0 function z = end_of_calculations(t, y) A = y(1) B = y(2) z = B - 1.2 // B = 1.2 => B - 1.2 = 0 endfunction A0 = 2 B0 = 0 y0 = [A0; B0] t0 = 0 tend = 3600 k = 1e-3 // plot A(t), B(t) t = linspace(0,3600) // seconds y = ode(y0, t0, t, model) clf plot(t,y(1,:),'b-') plot(t,y(2,:),'g-') plot([0,3600], [1.2,1.2],'g--') legend(['[A]';'[B]']) xlabel('Time, s') ylabel('Concentration, mol/L') // main calculations // integrate ODE (model) until end_of_calculations(t, y) = 0 // t = t0 .. t_optim [y,rd] = ode("roots", y0, t0, tend, model, 1,end_of_calculations) // results t_optim = rd(1) A_optim = y(1) B_optim = y(2) // report printf("At t=%.2f s [A]=%.3f mol/L [B]=%.3f mol/L", t_optim, A_optim, B_optim) //plot plot(t_optim, B_optim,'mx') plot([t_optim,t_optim], [0,B_optim],'m--')
c3e894130b2188536d9050a3710fd27ce529280b
c49a028f382c3baddcd641c1972dd72bb60eaadc
/EXTRA/slicing_vector.sce
970e3c2f7ca75d80b01106431950ad7ffb0f4e02
[]
no_license
BhautikDonga/SCILAB
484fcc9ac58885a4ccc549ccc85e2a4a507d5d0a
b330ca555276eb57c1e88ffc745ecfa3b8ebfa0c
refs/heads/master
2020-04-07T15:48:23.036273
2018-12-05T01:27:34
2018-12-05T01:27:34
158,501,669
1
0
null
null
null
null
UTF-8
Scilab
false
false
360
sce
slicing_vector.sce
A = matrix(1:42,7,6); // vector of all the elements of A A(:) // the j-th column of A A(:,j) // the i-th row of A A(i,:) // elements of columns from j to k and all rows A(:,j:k) // elements of all columns and rows from j to k A(j:k,:) w = matrix(101:142,7,6); A(:) = w // if indices are not integer i = 1:0.4:10; //indices A(i)
3a8e03238d3c885279b3ce9f1cb4411d94ceba57
449d555969bfd7befe906877abab098c6e63a0e8
/695/CH3/EX3.7/Ex3_7.txt
46be6f5f47bd052307f6e73c88b9bf24150973ae
[]
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,116
txt
Ex3_7.txt
//Caption:Determine the (a)Equivalent resistance,leakage reactances and impedance reffered to high voltage side (b)Equivalent resistance,leakage reactances and impedance reffered to high voltage side (c)Total copper loss of transformer //Exa:3.7 clc; clear; close; f=50;//in Hz P=30*1000;//in watts E_1=3000;//in volts E_2=300;//in volts R_1=2.5;//in ohms R_2=0.018;//in ohms X_1=3.8;//in ohms X_2=0.052;//in ohms a=E_1/E_2; R1=R_1+a^2*R_2; X1=X_1+a^2*X_2; Z1=sqrt(R1^2+X1^2); disp(R1,'(a)Equivalent resistance reffered to high voltage side (in ohms)='); disp(X1,' Equivalent reactance reffered to high voltage side (in ohms)='); disp(Z1,' Equivalent impedance reffered to high voltage side (in ohms)='); R2=R_1/a^2+R_2; X2=X_1/a^2+X_2; Z2=sqrt(R2^2+X2^2); disp(R2,'(b)Equivalent resistance reffered to low voltage side (in ohms)='); disp(X2,' Equivalent reactance reffered to low voltage side (in ohms)='); disp(Z2,' Equivalent impedance reffered to low voltage side (in ohms)='); I_1=P/E_1; I_2=P/E_2; P_cu=I_1^2*R1; disp(P_cu,'(c)Total copper loss of transformer (in watts)=')
73bd440f89a6d02cc7e59db29cb0b104d903a507
449d555969bfd7befe906877abab098c6e63a0e8
/323/CH5/EX5.12/ex5_12.sci
6d74661656a49bb99740ddbf46eab12bcc74e22a
[]
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,166
sci
ex5_12.sci
//Chapter 5,Ex5.12,Pg5.14 clc; E1=4400 //Primary EMF R1=3.45 //Primary resistance in ohms X1=5.2 //Primary reactance in ohms E2=220 //Secondary EMF R2=0.009 //Secondary resistance in ohms X2=0.015 //Secondary reactance in ohms K=E2/E1 I1=50*1000/E1 //Using the formula I1=kVA rating*1000/E printf("\n Full load Primary current I1=%.2f A \n",I1) I2=50*1000/220 printf("\n Full load secondary current I2=%.2f A \n",I2) R01=R1+(R2/(K*K)) printf("\n Equivalent resistance referred to primary=%.2f ohms \n",R01) X01=X1+(X2/(K*K)) printf("\n Equivalent reactance referred to primary =%.1f ohms \n",X01) Z01=sqrt((R01^2)+(X01*X01)) printf("\n Equivalent impedance referred to primary=%.2f ohms \n",Z01) R02=(K^2)*R01 printf("\n Equivalent resistance referred to secondary=%.2f ohms \n",R02) X02=(K^2)*X01 printf("\n Equivalent reactance referred to secondary=%.3f ohms \n",X02) Z02=(K^2)*Z01 printf("\n Equivalent impedance referred to secondary=%.2f ohms \n",Z02) CL1=(I1^2)*R1 + (I2^2)*R2 printf("\n Copper losses with individual resistances=%.2f W \n",CL1) CL2=(I1^2)*R01 printf("\n Copper loss with equivalent resistances=%.1f W \n",CL2)
bc6560879472467c27cb0bc1b1e7371f1e83bc74
449d555969bfd7befe906877abab098c6e63a0e8
/1514/CH20/EX20.5/20_5.sce
ab6e481e11206b16b03512f5ac1947c3d4d5b645
[]
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
748
sce
20_5.sce
//chapter 20 //example 20.5 //page 651 clear; clc ; //given Eb=200;//battery voltage mV es=0;//signal voltage V Rl=80;//load resistance in ohm Ed=Eb+es; Id=2;//diode current mA Er=(Eb+es); Il1=Er/Rl;//load current mA Ib1=Id+Il1;//battery current mA es=100;//mV Ed=Eb+es; Id=1; Il2=Ed/Rl; Ib2=Id+Il2; deitaIl=Il2-Il1;//change in Il deltaIb=Ib2-Ib1;//change in Ib es=-100;//mV Ed=Eb+es; Id=3; Il3=Ed/Rl; Ib3=Id+Il3; deltaIl= Il3 - Il1;//change in Il deltaIb=Ib3-Ib1;//change in Ib //current gain io=deltaIl; is=deltaIb; Ai=io/is; //op voltage deltaEr=es; eo=deltaEr; //voltage gain Av=eo/es; //power gain Ap=Ai*Av; printf("\ncurrent gain=%d\nvoltage gain=%d\npower gain=%d",Ai,Av,Ap)
3f6e65200992c6920ab931b7cbb2062ca17857f0
449d555969bfd7befe906877abab098c6e63a0e8
/1627/CH5/EX5.3/Ex5_3.sce
42e8c9e31d8878a018a0e9a14338931dae0e8aef
[]
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
184
sce
Ex5_3.sce
clc //initialisation of variables P=135//bars Q=201//min p=448 //CALCULATIONS FPH=P*Q/p*0.1//hp //RESULTS printf('The fluid horsepower potential of the system is=% f hp',FPH)
9e14a4c362c606203ec63b961a0df801a5f16d2f
449d555969bfd7befe906877abab098c6e63a0e8
/1088/CH24/EX24.1/Example1.sce
045f764f7ad2110b2724d6ffbb2e5b9bcae6a6a1
[]
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,988
sce
Example1.sce
clear flag=1 mode(-1) clc printf("Example 1 : Show the method of showing all the type of process IDs \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: process.c -- Lists process and user credentials The PID, PPID, real and effective UIDs and GIDs */' i=i+1;f(i)='#include <stdio.h>' i=i+1;f(i)='int main(void) {' i=i+1;f(i)=' printf('+ascii(34)+'PID : %4d,PPDI : %4d\n'+ascii(34)+',getpid(),getppid());' i=i+1;f(i)=' printf('+ascii(34)+'UID : %4d, GID : %4d\n'+ascii(34)+',getuid(),getgid());' i=i+1;f(i)=' printf('+ascii(34)+'EUID : %4d,EGID : %4d\n'+ascii(34)+',geteuid(),getegid());' i=i+1;f(i)=' exit(0);' i=i+1;f(i)='}' n=i printf("\n\n$ cat process.c # to open the file emp.lst") halt(' ') u=mopen('process.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 process.c") halt(' ') printf("$ a.out") halt(' ') printf("PID : 1035, PPID: 1028\nUID : 102, GID: 10\nEUID: 102, EGID: 10\n") 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)
246ee5dda0115eeca8d44f3aaa494cbe3c2dab84
0eea7d48e039f70051ddf39a431c9325998e775e
/fatoracaoLU_PlusPivotamentoParcial.sce
92c30b8fb2e2c6140b1f0bdfd3aedf954440c755
[]
no_license
dannylong/Dannylong
dc3e200009a356e5c63481737a6f3c3a515fbdab
5103df01e5bfef3031627b7eb35f815b63ed862c
refs/heads/master
2016-09-14T04:58:31.471187
2016-05-09T00:32:58
2016-05-09T00:32:58
58,337,691
0
0
null
null
null
null
UTF-8
Scilab
false
false
3,992
sce
fatoracaoLU_PlusPivotamentoParcial.sce
clear; // Fatoração LU COM pivotamento parcial function [L, U, P] = fatoracaoLU(A) [linhas colunas] = size(A); L = eye(linhas, colunas); // Matriz para as permutações de linhas de A e b -> A' = PA = LU; Ly = Pb; Ux = y P = eye(linhas, colunas); for j = 1:colunas pivo = A(j,j); //Pivotamento maiorLinha = j; for i = (j+1):linhas //procurar a linha do maior elemento if (abs(A(i,j)) > abs(A(maiorLinha, j))) then maiorLinha = i; end end //Permutar a linha do pivo(j) com a linha maiorLinha aux = A(j,:); A(j,:) = A(maiorLinha, :); A(maiorLinha, :) = aux; P_n = eye(linhas, colunas); P_aux = P_n(j, :); P_n(j, :) = P_n(maiorLinha, :); P_n(maiorLinha, :) = P_aux; // Atualizar a Matriz P, ao final de cada permutação parcial P = P_n * P; // Atualizar a Matriz L, ao final de cada permutação parcial L_aux = L(j, 1:j-1); L(j, 1:j-1) = L(maiorLinha, 1:j-1); L(maiorLinha, 1:j-1) = L_aux; //Atualizar o pivo após o pivotamento pivo = A(j,j) for i = (j+1):linhas lambda = A(i,j)/pivo; //zerar todos os termos abaixo do pivo (elemento genérico A(i, j)) A(i,:) = A(i, :) - lambda * A(j,:); L(i, j) = lambda; end end // No final(para um SL de ordem 3 sem pivotamento, e. g.), L = [1 0 0; lambda21 1 0; lambda31 lambda32 1]; // ---------------------------------------------------------------------------------------------------------------------------- // U recebe todos os termos da matriz A modificada (matriz triangular superior), mas deve ser corrigida posteriormente, pois... // erros de arredondamente podem deixar termos abaixo dos pivôs muito pequenos, mas ainda assim não nulos U = A; // Garantir que a parte à esquerda(ou abaixo, sei lá xD) da diagonal principal tenha todos os termos nulos for j = 1:colunas for i = (j+1):linhas U(i, j) = 0; end end endfunction A = [3 -4 1; 1 2 2; 4 0 -3]; B = [2 1 1 0;4 3 3 1;8 7 9 5;6 7 9 8]; C = [2 3;1 7]; // Exemplo de uso da função acima no console: [L U P] = fatoracaoLU(B) // Tratamento da Matriz aumentada "triangular superior" function x = resolMatTrSupAumentada(Ab) [linhas colunas] = size(Ab); x = (1:linhas)'; // Vetor solução, inicializado com uma sequência de 1 à ordem da Matriz A for i = linhas:-1:1 pivo = Ab(i, i); x(i) = Ab(i, colunas)/pivo; for j = 1:(colunas-1); if (j<>i) then x(i) = x(i) - x(j)*Ab(i, j)/pivo; end end end endfunction // Tratamento da Matriz aumentada "triangular inferior" function x = resolMatTrInfAumentada(Ab) [linhas colunas] = size(Ab); x = (1:linhas)'; // Vetor solução, inicializado com uma sequência de 1 à ordem da Matriz A for i = 1:linhas pivo = Ab(i, i); x(i) = Ab(i, colunas)/pivo; for j = 1:(colunas-1); if (j<>i) then x(i) = x(i) - x(j)*Ab(i, j)/pivo; end end end endfunction function x = resolverSistemaLinear(A, b) x = resolMatTrSupAumentada(gauss(A,b)); endfunction // 5ª questão da lista de Sistemas Lineares function Minv = inversaComLUPP(A) [l c] = size(A); I = eye(l, c); [mL mU mP] = fatoracaoLU(A); Minv = A; for (j = 1:c) e_n = I(:, j); y_n = resolMatTrInfAumentada([mL mP*e_n]); x_n = resolMatTrSupAumentada([mU y_n]); Minv(:, j) = x_n; end endfunction // #FIM da 5ª questão da lista de Sistemas Lineares
150f6363b2512188bb6ff72d0aaf34b91ce67fa6
449d555969bfd7befe906877abab098c6e63a0e8
/278/CH15/EX15.11/ex_15_11.sce
620b49aa9575a80360a95846beacd600a134967c
[]
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
979
sce
ex_15_11.sce
clc //solution //given //ref fig 15.27 As=15//mm^2 tu=400//N/mm^2 ft=80//N/mm^2 pb=20//N/mm^2 Ps=As*tu//N //let P1 be force in link LM P1=(Ps*100)/(350)//N //taking momnet abt N,we get P P=(P1*100)/(900)//N N=P1+P//N //let d be dia and l be length of pins //l=1.25d //N=d*l*pb=25*d^2 //d=sqrt(N/25)//mm printf("the dia is,%f mm\n",sqrt(N/25)) printf("the dia is ,say 10 mm\n") d=10//mm l=1.25*d//mm printf("the length of pin is,%f mm\n",l) ti=(N*4)/(2*d^2*%pi)//N/mm^2 printf("the induced stress is,%f mm\n",ti) printf("sinc induced stress is withi safe limits,then design is safe\n") printf("the dia of hole is,%f mm\n",d+6) printf("the dia of boss is,%f mm\n",2*16) //design for link //let d1 be dia of link //N=(%pi/4)*d1^2*ft=62.84*d1^2 d1=sqrt(N/62.84)//mm printf("the dia of link is,%f mm\n",d1) //let t3 be thickness and B be width of lever t3=12.5//mm M=N*100//N-mm //Z=(1/6)*t*B^2=2.1*B^2 //fb=M/Z=90762/B^2 B=sqrt(90762/80)//mm printf("the width of lever is,%f mm",B)
d9eaf7d09627ef202622455dfe54dd02a20b06bc
e0124ace5e8cdd9581e74c4e29f58b56f7f97611
/3913/CH12/EX12.31/Ex12_31.sce
787083ccdf26412dc35d7319d624bb9ab3b61f21
[]
no_license
psinalkar1988/Scilab-TBC-Uploads-1
159b750ddf97aad1119598b124c8ea6508966e40
ae4c2ff8cbc3acc5033a9904425bc362472e09a3
refs/heads/master
2021-09-25T22:44:08.781062
2018-10-26T06:57:45
2018-10-26T06:57:45
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
157
sce
Ex12_31.sce
//Chapter 12 : Solutions to the Exercises //Scilab 6.0.1 //Windows 10 clear; clc; //Solution for 7.8 A=[1 0 1 0;0 0 1 1;0 0 0 1;1 1 0 0] disp(A)
4baf28cdf1563054ced6c884c9fdbfb1ea45243f
449d555969bfd7befe906877abab098c6e63a0e8
/2939/CH10/EX10.13/Ex10_13.sce
b28bb922406d3350e7903d5ca5840f69812bfeb9
[]
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
290
sce
Ex10_13.sce
// Ex10_13 clc; // Given: w=5;// in g ai=55;// counts per 10 min A0=15.8;// in dpm/g // Solution: cpm=55/10; dpm=cpm*100/10; // 10% efficient counting sa=dpm/w;// in dpm/g t=5730*log(A0/sa)/(0.693); // Age determination printf("The age of the sample is = %f years",t)
55e969bf9716d6df3146ab801ad8bfc5138bfaaa
f542bc49c4d04b47d19c88e7c89d5db60922e34e
/PresentationFiles_Subjects/CONT/ATWM1_Working_Memory_MEG_MF93WRV_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce
6deba37dc02f61de868c3abaf8eb3a9fcd313cf8
[]
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,600
sce
ATWM1_Working_Memory_MEG_Nonsalient_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 = 28; default_font = "Arial"; default_background_color = 0 ,0 ,0 ; write_codes=true; # for MEG only begin; #Picture definitions box { height = 300; width = 300; color = 0, 0, 0;} frame1; box { height = 290; width = 290; 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 = 290; width = 290; color = 128, 128, 128;} 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; 43 61 292 292 399 125 1742 2992 1942 fixation_cross gabor_121 gabor_179 gabor_100 gabor_032 gabor_121_alt gabor_179_alt gabor_100 gabor_032 "1_1_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_1950_gabor_patch_orientation_121_179_100_032_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_150_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_1_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_150_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 2192 2992 2242 fixation_cross gabor_098 gabor_178 gabor_056 gabor_123 gabor_098 gabor_178 gabor_056_alt gabor_123_alt "1_2_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2250_gabor_patch_orientation_098_178_056_123_target_position_1_2_retrieval_position_2" gabor_circ gabor_178_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_2_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_178_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 2042 2992 2142 fixation_cross gabor_087 gabor_138 gabor_104 gabor_169 gabor_087 gabor_138_alt gabor_104_alt gabor_169 "1_3_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_2150_gabor_patch_orientation_087_138_104_169_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_169_framed blank blank blank blank fixation_cross_target_position_1_4 "1_3_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_169_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 1942 2992 2542 fixation_cross gabor_016 gabor_077 gabor_037 gabor_094 gabor_016_alt gabor_077 gabor_037_alt gabor_094 "1_4_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2550_gabor_patch_orientation_016_077_037_094_target_position_2_4_retrieval_position_2" gabor_circ gabor_122_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_4_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_122_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 1792 2992 2192 fixation_cross gabor_131 gabor_001 gabor_167 gabor_048 gabor_131 gabor_001 gabor_167_alt gabor_048_alt "1_5_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2200_gabor_patch_orientation_131_001_167_048_target_position_1_2_retrieval_position_1" gabor_083_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_5_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_083_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 2192 2992 1892 fixation_cross gabor_110 gabor_060 gabor_002 gabor_166 gabor_110_alt gabor_060_alt gabor_002 gabor_166 "1_6_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_1900_gabor_patch_orientation_110_060_002_166_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_139_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_6_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_139_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 64 292 292 399 125 2092 2992 2192 fixation_cross gabor_062 gabor_044 gabor_023 gabor_105 gabor_062_alt gabor_044_alt gabor_023 gabor_105 "1_7_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2100_3000_2200_gabor_patch_orientation_062_044_023_105_target_position_3_4_retrieval_position_2" gabor_circ gabor_044_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_7_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_044_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 1942 2992 2092 fixation_cross gabor_113 gabor_030 gabor_098 gabor_008 gabor_113_alt gabor_030_alt gabor_098 gabor_008 "1_8_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_2100_gabor_patch_orientation_113_030_098_008_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_008_framed blank blank blank blank fixation_cross_target_position_3_4 "1_8_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_008_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 2142 2992 2492 fixation_cross gabor_149 gabor_042 gabor_009 gabor_116 gabor_149 gabor_042_alt gabor_009 gabor_116_alt "1_9_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2500_gabor_patch_orientation_149_042_009_116_target_position_1_3_retrieval_position_1" gabor_149_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_9_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_149_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 1792 2992 2042 fixation_cross gabor_060 gabor_093 gabor_040 gabor_123 gabor_060_alt gabor_093_alt gabor_040 gabor_123 "1_10_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2050_gabor_patch_orientation_060_093_040_123_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_171_framed blank blank blank blank fixation_cross_target_position_3_4 "1_10_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_171_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 2092 2992 2192 fixation_cross gabor_082 gabor_143 gabor_108 gabor_125 gabor_082_alt gabor_143_alt gabor_108 gabor_125 "1_11_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2200_gabor_patch_orientation_082_143_108_125_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_059_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_11_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_059_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 2192 2992 1942 fixation_cross gabor_033 gabor_076 gabor_154 gabor_018 gabor_033 gabor_076_alt gabor_154 gabor_018_alt "1_12_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_1950_gabor_patch_orientation_033_076_154_018_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_154_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_12_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_154_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 63 292 292 399 125 1742 2992 1992 fixation_cross gabor_045 gabor_074 gabor_091 gabor_109 gabor_045 gabor_074_alt gabor_091_alt gabor_109 "1_13_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1750_3000_2000_gabor_patch_orientation_045_074_091_109_target_position_1_4_retrieval_position_2" gabor_circ gabor_029_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_13_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_029_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 2042 2992 2242 fixation_cross gabor_067 gabor_052 gabor_139 gabor_174 gabor_067 gabor_052_alt gabor_139 gabor_174_alt "1_14_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2250_gabor_patch_orientation_067_052_139_174_target_position_1_3_retrieval_position_1" gabor_112_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_14_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_112_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 1992 2992 2192 fixation_cross gabor_162 gabor_040 gabor_104 gabor_128 gabor_162 gabor_040_alt gabor_104 gabor_128_alt "1_15_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2200_gabor_patch_orientation_162_040_104_128_target_position_1_3_retrieval_position_1" gabor_162_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_15_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_162_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 1942 2992 2292 fixation_cross gabor_124 gabor_006 gabor_042 gabor_170 gabor_124_alt gabor_006 gabor_042 gabor_170_alt "1_16_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_2300_gabor_patch_orientation_124_006_042_170_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_042_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_16_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_042_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 1792 2992 2592 fixation_cross gabor_073 gabor_003 gabor_021 gabor_051 gabor_073_alt gabor_003 gabor_021 gabor_051_alt "1_17_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2600_gabor_patch_orientation_073_003_021_051_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_161_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_17_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_161_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 63 292 292 399 125 1842 2992 2442 fixation_cross gabor_052 gabor_073 gabor_121 gabor_158 gabor_052_alt gabor_073 gabor_121 gabor_158_alt "1_18_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1850_3000_2450_gabor_patch_orientation_052_073_121_158_target_position_2_3_retrieval_position_1" gabor_100_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_18_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_100_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 1792 2992 2142 fixation_cross gabor_036 gabor_058 gabor_090 gabor_163 gabor_036_alt gabor_058_alt gabor_090 gabor_163 "1_19_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2150_gabor_patch_orientation_036_058_090_163_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_116_framed blank blank blank blank fixation_cross_target_position_3_4 "1_19_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_116_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 2092 2992 2392 fixation_cross gabor_130 gabor_113 gabor_146 gabor_096 gabor_130 gabor_113_alt gabor_146_alt gabor_096 "1_20_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2400_gabor_patch_orientation_130_113_146_096_target_position_1_4_retrieval_position_1" gabor_130_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_20_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_130_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 2242 2992 1892 fixation_cross gabor_132 gabor_173 gabor_002 gabor_116 gabor_132_alt gabor_173 gabor_002 gabor_116_alt "1_21_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_1900_gabor_patch_orientation_132_173_002_116_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_048_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_21_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_048_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 63 292 292 399 125 1742 2992 2292 fixation_cross gabor_136 gabor_031 gabor_052 gabor_072 gabor_136_alt gabor_031_alt gabor_052 gabor_072 "1_22_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1750_3000_2300_gabor_patch_orientation_136_031_052_072_target_position_3_4_retrieval_position_1" gabor_090_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_22_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_090_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 2092 2992 2442 fixation_cross gabor_034 gabor_177 gabor_066 gabor_090 gabor_034 gabor_177_alt gabor_066 gabor_090_alt "1_23_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2450_gabor_patch_orientation_034_177_066_090_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_066_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_23_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_066_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 1842 2992 2442 fixation_cross gabor_101 gabor_162 gabor_073 gabor_011 gabor_101_alt gabor_162 gabor_073 gabor_011_alt "1_24_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2450_gabor_patch_orientation_101_162_073_011_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_073_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_24_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_073_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 1892 2992 2092 fixation_cross gabor_137 gabor_006 gabor_158 gabor_081 gabor_137_alt gabor_006 gabor_158_alt gabor_081 "1_25_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2100_gabor_patch_orientation_137_006_158_081_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_031_framed blank blank blank blank fixation_cross_target_position_2_4 "1_25_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_031_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 64 292 292 399 125 1842 2992 2392 fixation_cross gabor_067 gabor_123 gabor_157 gabor_141 gabor_067 gabor_123_alt gabor_157 gabor_141_alt "1_26_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1850_3000_2400_gabor_patch_orientation_067_123_157_141_target_position_1_3_retrieval_position_2" gabor_circ gabor_123_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_26_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_123_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 2042 2992 2592 fixation_cross gabor_006 gabor_158 gabor_140 gabor_122 gabor_006_alt gabor_158 gabor_140_alt gabor_122 "1_27_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_2600_gabor_patch_orientation_006_158_140_122_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_122_framed blank blank blank blank fixation_cross_target_position_2_4 "1_27_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_122_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 2242 2992 2442 fixation_cross gabor_012 gabor_088 gabor_137 gabor_167 gabor_012 gabor_088 gabor_137_alt gabor_167_alt "1_28_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2450_gabor_patch_orientation_012_088_137_167_target_position_1_2_retrieval_position_1" gabor_058_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_28_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_058_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 2042 2992 2342 fixation_cross gabor_037 gabor_124 gabor_096 gabor_015 gabor_037 gabor_124 gabor_096_alt gabor_015_alt "1_29_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_2350_gabor_patch_orientation_037_124_096_015_target_position_1_2_retrieval_position_1" gabor_037_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_29_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_037_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 64 292 292 399 125 1742 2992 1992 fixation_cross gabor_056 gabor_006 gabor_166 gabor_135 gabor_056_alt gabor_006 gabor_166 gabor_135_alt "1_30_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1750_3000_2000_gabor_patch_orientation_056_006_166_135_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_135_framed blank blank blank blank fixation_cross_target_position_2_3 "1_30_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_135_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 1992 2992 2092 fixation_cross gabor_092 gabor_179 gabor_152 gabor_028 gabor_092 gabor_179_alt gabor_152 gabor_028_alt "1_31_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2100_gabor_patch_orientation_092_179_152_028_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_152_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_31_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_152_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 1992 2992 2242 fixation_cross gabor_013 gabor_168 gabor_099 gabor_143 gabor_013 gabor_168_alt gabor_099 gabor_143_alt "1_32_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2250_gabor_patch_orientation_013_168_099_143_target_position_1_3_retrieval_position_1" gabor_013_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_32_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_013_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 1742 2992 2342 fixation_cross gabor_098 gabor_041 gabor_128 gabor_162 gabor_098_alt gabor_041 gabor_128 gabor_162_alt "1_33_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2350_gabor_patch_orientation_098_041_128_162_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_128_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_33_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_128_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 2192 2992 2542 fixation_cross gabor_120 gabor_003 gabor_154 gabor_175 gabor_120_alt gabor_003 gabor_154 gabor_175_alt "1_34_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2550_gabor_patch_orientation_120_003_154_175_target_position_2_3_retrieval_position_2" gabor_circ gabor_003_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_34_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_003_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 2242 2992 1942 fixation_cross gabor_131 gabor_014 gabor_065 gabor_103 gabor_131_alt gabor_014 gabor_065_alt gabor_103 "1_35_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_1950_gabor_patch_orientation_131_014_065_103_target_position_2_4_retrieval_position_2" gabor_circ gabor_014_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_35_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_014_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 64 292 292 399 125 1842 2992 2192 fixation_cross gabor_133 gabor_110 gabor_177 gabor_048 gabor_133_alt gabor_110 gabor_177 gabor_048_alt "1_36_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1850_3000_2200_gabor_patch_orientation_133_110_177_048_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_048_framed blank blank blank blank fixation_cross_target_position_2_3 "1_36_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_048_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 1842 2992 2042 fixation_cross gabor_019 gabor_107 gabor_075 gabor_144 gabor_019_alt gabor_107 gabor_075 gabor_144_alt "1_37_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2050_gabor_patch_orientation_019_107_075_144_target_position_2_3_retrieval_position_2" gabor_circ gabor_057_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_37_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_057_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 1892 2992 1942 fixation_cross gabor_176 gabor_024 gabor_129 gabor_060 gabor_176 gabor_024 gabor_129_alt gabor_060_alt "1_38_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_1950_gabor_patch_orientation_176_024_129_060_target_position_1_2_retrieval_position_1" gabor_041_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_38_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_041_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 1792 2992 2142 fixation_cross gabor_045 gabor_170 gabor_155 gabor_119 gabor_045 gabor_170_alt gabor_155_alt gabor_119 "1_39_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2150_gabor_patch_orientation_045_170_155_119_target_position_1_4_retrieval_position_1" gabor_045_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_39_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_045_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 1992 2992 2092 fixation_cross gabor_123 gabor_033 gabor_168 gabor_055 gabor_123 gabor_033_alt gabor_168 gabor_055_alt "1_40_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2100_gabor_patch_orientation_123_033_168_055_target_position_1_3_retrieval_position_1" gabor_078_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_40_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_078_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 63 292 292 399 125 1792 2992 2542 fixation_cross gabor_134 gabor_115 gabor_073 gabor_090 gabor_134 gabor_115_alt gabor_073_alt gabor_090 "1_41_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1800_3000_2550_gabor_patch_orientation_134_115_073_090_target_position_1_4_retrieval_position_2" gabor_circ gabor_161_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_41_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_161_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 1842 2992 2042 fixation_cross gabor_047 gabor_176 gabor_127 gabor_152 gabor_047_alt gabor_176 gabor_127_alt gabor_152 "1_42_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2050_gabor_patch_orientation_047_176_127_152_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_152_framed blank blank blank blank fixation_cross_target_position_2_4 "1_42_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_152_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 1892 2992 2242 fixation_cross gabor_089 gabor_031 gabor_162 gabor_005 gabor_089 gabor_031 gabor_162_alt gabor_005_alt "1_43_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2250_gabor_patch_orientation_089_031_162_005_target_position_1_2_retrieval_position_1" gabor_137_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_43_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_137_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 2242 2992 1942 fixation_cross gabor_089 gabor_123 gabor_006 gabor_148 gabor_089_alt gabor_123 gabor_006 gabor_148_alt "1_44_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_1950_gabor_patch_orientation_089_123_006_148_target_position_2_3_retrieval_position_2" gabor_circ gabor_073_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_44_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_073_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 1892 2992 1892 fixation_cross gabor_075 gabor_127 gabor_046 gabor_015 gabor_075 gabor_127_alt gabor_046 gabor_015_alt "1_45_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_1900_gabor_patch_orientation_075_127_046_015_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_046_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_45_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_046_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 1792 2992 2492 fixation_cross gabor_074 gabor_053 gabor_005 gabor_036 gabor_074 gabor_053_alt gabor_005_alt gabor_036 "1_46_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2500_gabor_patch_orientation_074_053_005_036_target_position_1_4_retrieval_position_1" gabor_074_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_46_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_074_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 64 292 292 399 125 1892 2992 2342 fixation_cross gabor_157 gabor_128 gabor_096 gabor_076 gabor_157 gabor_128 gabor_096_alt gabor_076_alt "1_47_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1900_3000_2350_gabor_patch_orientation_157_128_096_076_target_position_1_2_retrieval_position_3" gabor_circ gabor_circ gabor_096_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_47_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_096_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 1942 2992 2392 fixation_cross gabor_085 gabor_108 gabor_044 gabor_161 gabor_085 gabor_108_alt gabor_044_alt gabor_161 "1_48_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2400_gabor_patch_orientation_085_108_044_161_target_position_1_4_retrieval_position_1" gabor_134_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_48_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_134_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 1992 2992 1992 fixation_cross gabor_090 gabor_123 gabor_036 gabor_013 gabor_090_alt gabor_123_alt gabor_036 gabor_013 "1_49_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2000_gabor_patch_orientation_090_123_036_013_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_013_framed blank blank blank blank fixation_cross_target_position_3_4 "1_49_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_013_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 2092 2992 2292 fixation_cross gabor_137 gabor_097 gabor_178 gabor_007 gabor_137 gabor_097 gabor_178_alt gabor_007_alt "1_50_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2300_gabor_patch_orientation_137_097_178_007_target_position_1_2_retrieval_position_2" gabor_circ gabor_051_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_50_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_051_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 63 292 292 399 125 1842 2992 2342 fixation_cross gabor_017 gabor_107 gabor_036 gabor_141 gabor_017_alt gabor_107 gabor_036_alt gabor_141 "1_51_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1850_3000_2350_gabor_patch_orientation_017_107_036_141_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_173_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_51_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_173_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 1942 2992 2142 fixation_cross gabor_038 gabor_146 gabor_064 gabor_115 gabor_038_alt gabor_146 gabor_064 gabor_115_alt "1_52_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2150_gabor_patch_orientation_038_146_064_115_target_position_2_3_retrieval_position_2" gabor_circ gabor_006_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_52_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_006_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 1742 2992 2592 fixation_cross gabor_124 gabor_061 gabor_016 gabor_175 gabor_124_alt gabor_061 gabor_016 gabor_175_alt "1_53_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2600_gabor_patch_orientation_124_061_016_175_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_016_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_53_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_016_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 1892 2992 2042 fixation_cross gabor_018 gabor_170 gabor_126 gabor_053 gabor_018_alt gabor_170 gabor_126_alt gabor_053 "1_54_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2050_gabor_patch_orientation_018_170_126_053_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_103_framed blank blank blank blank fixation_cross_target_position_2_4 "1_54_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_103_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 2142 2992 2042 fixation_cross gabor_116 gabor_057 gabor_007 gabor_163 gabor_116_alt gabor_057_alt gabor_007 gabor_163 "1_55_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_2050_gabor_patch_orientation_116_057_007_163_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_028_framed blank blank blank blank fixation_cross_target_position_3_4 "1_55_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_028_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 1742 2992 2142 fixation_cross gabor_168 gabor_153 gabor_082 gabor_001 gabor_168_alt gabor_153 gabor_082 gabor_001_alt "1_56_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2150_gabor_patch_orientation_168_153_082_001_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_132_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_56_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_132_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 1992 2992 2492 fixation_cross gabor_084 gabor_125 gabor_107 gabor_149 gabor_084_alt gabor_125_alt gabor_107 gabor_149 "1_57_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2500_gabor_patch_orientation_084_125_107_149_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_059_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_57_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_059_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 63 292 292 399 125 2142 2992 2292 fixation_cross gabor_002 gabor_122 gabor_050 gabor_179 gabor_002_alt gabor_122_alt gabor_050 gabor_179 "1_58_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2150_3000_2300_gabor_patch_orientation_002_122_050_179_target_position_3_4_retrieval_position_1" gabor_140_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_58_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_140_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 2192 2992 1992 fixation_cross gabor_161 gabor_029 gabor_001 gabor_080 gabor_161_alt gabor_029_alt gabor_001 gabor_080 "1_59_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2000_gabor_patch_orientation_161_029_001_080_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_001_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_59_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_001_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 2242 2992 2292 fixation_cross gabor_139 gabor_113 gabor_050 gabor_161 gabor_139 gabor_113_alt gabor_050 gabor_161_alt "1_60_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2300_gabor_patch_orientation_139_113_050_161_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_050_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_60_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_050_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 64 292 292 399 125 2092 2992 1992 fixation_cross gabor_179 gabor_043 gabor_094 gabor_121 gabor_179 gabor_043 gabor_094_alt gabor_121_alt "1_61_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2100_3000_2000_gabor_patch_orientation_179_043_094_121_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_121_framed blank blank blank blank fixation_cross_target_position_1_2 "1_61_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_121_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 2192 2992 2092 fixation_cross gabor_173 gabor_005 gabor_093 gabor_125 gabor_173 gabor_005_alt gabor_093_alt gabor_125 "1_62_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2100_gabor_patch_orientation_173_005_093_125_target_position_1_4_retrieval_position_1" gabor_173_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_62_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_173_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 2142 2992 2242 fixation_cross gabor_157 gabor_046 gabor_067 gabor_178 gabor_157 gabor_046 gabor_067_alt gabor_178_alt "1_63_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_2250_gabor_patch_orientation_157_046_067_178_target_position_1_2_retrieval_position_1" gabor_019_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_63_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_019_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 63 292 292 399 125 2142 2992 2342 fixation_cross gabor_134 gabor_150 gabor_165 gabor_117 gabor_134 gabor_150_alt gabor_165 gabor_117_alt "1_64_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2150_3000_2350_gabor_patch_orientation_134_150_165_117_target_position_1_3_retrieval_position_2" gabor_circ gabor_010_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_64_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_010_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 2042 2992 2592 fixation_cross gabor_007 gabor_088 gabor_173 gabor_153 gabor_007 gabor_088 gabor_173_alt gabor_153_alt "1_65_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2600_gabor_patch_orientation_007_088_173_153_target_position_1_2_retrieval_position_2" gabor_circ gabor_040_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_65_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_040_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 2142 2992 2492 fixation_cross gabor_081 gabor_138 gabor_050 gabor_155 gabor_081_alt gabor_138 gabor_050_alt gabor_155 "1_66_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_2500_gabor_patch_orientation_081_138_050_155_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_107_framed blank blank blank blank fixation_cross_target_position_2_4 "1_66_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_107_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 2042 2992 1892 fixation_cross gabor_006 gabor_160 gabor_121 gabor_144 gabor_006_alt gabor_160_alt gabor_121 gabor_144 "1_67_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_1900_gabor_patch_orientation_006_160_121_144_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_121_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_67_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_121_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 61 292 292 399 125 1942 2992 1892 fixation_cross gabor_099 gabor_055 gabor_035 gabor_125 gabor_099_alt gabor_055 gabor_035_alt gabor_125 "1_68_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_1900_gabor_patch_orientation_099_055_035_125_target_position_2_4_retrieval_position_2" gabor_circ gabor_009_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_68_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_009_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 64 292 292 399 125 1892 2992 2542 fixation_cross gabor_094 gabor_056 gabor_162 gabor_121 gabor_094_alt gabor_056 gabor_162 gabor_121_alt "1_69_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1900_3000_2550_gabor_patch_orientation_094_056_162_121_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_121_framed blank blank blank blank fixation_cross_target_position_2_3 "1_69_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_121_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 43 62 292 292 399 125 2242 2992 2392 fixation_cross gabor_082 gabor_106 gabor_154 gabor_041 gabor_082 gabor_106_alt gabor_154 gabor_041_alt "1_70_Encoding_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2400_gabor_patch_orientation_082_106_154_041_target_position_1_3_retrieval_position_1" gabor_082_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_70_Retrieval_Working_Memory_MEG_P2_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_082_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; }; # 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; };
7aa7a9a448702507c0b2ebcaf6c1bcd7ac72142f
449d555969bfd7befe906877abab098c6e63a0e8
/2339/CH4/EX4.9.1/Ex4_9.sce
85d41dae4df97cd0a2c6ec08ab315161b46dde90
[]
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
242
sce
Ex4_9.sce
clc clear //For throttling H1=H2 //At 11 bar Hf=781.3; //in kJ/kg Hfg=2000.4; //in kJ/kg //At 1 bar Hg=2675.5; //in kJ/kg x=(Hg-Hf)/Hfg; printf('The Dryness Fraction: %3.3f kJ/kg',x); printf('\n');
c393f5a4f11e8cc4e16c2b60e12f5458cefe023d
449d555969bfd7befe906877abab098c6e63a0e8
/3821/CH13/EX13.2/Example13_2.sce
97278971742cf5e0b01d8ae6f04be73c1047e014
[]
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
500
sce
Example13_2.sce
////Chapter 13 Steam Engines ////Example 13.2 Page No 283 ///Find Therotical mean effective pressure //Input data clc; clear; a=5/100; //Engine cylinder of the stroke valume in % P1=12; //Pressure of the stream rc=3; //Cut-off is one-third Pb=1.1; //Constant the back pressure in bar //Calulation //Therotical mean effective pressure Pm Pm=P1*(1/rc+((1/rc)+a)*log((1+a)/((1/rc)+a)))-Pb; //Output printf('Therotical mean effective pressure=%f N/m^2 \n',Pm);
110acccab0589d567ead70268c5fd0864deb7855
6d062718c2fd2b66d1d024737ecb85dded477c6b
/vetor.sci
03432a5d3cf30811dbfdd9a89e365c75f7f4f003
[]
no_license
scilab-siscon/TransferFunction
1606130fad11a5edd7cb77ac6fbe431f6930ecfd
276017a470f76e647fa433180833f38bbabe8907
refs/heads/master
2022-12-16T05:23:02.488781
2020-09-14T05:13:48
2020-09-14T05:13:48
281,795,713
0
0
null
null
null
null
UTF-8
Scilab
false
false
215
sci
vetor.sci
//teste2 clc clear qtd = input("Digite a Quantidade de elementos :") n=qtd for i=1:n f(i) = input("Digite a numero "); end for i=1:n printf('\nQuantidade = %d', f(i)) end
075e3e32356c41cef2950fda7b9a05773b2b5c47
449d555969bfd7befe906877abab098c6e63a0e8
/1904/CH3/EX3.9/3_9.sce
6c89897db04fcd39db8787095c969aec653f702d
[]
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,176
sce
3_9.sce
//To Determine phasors and phasor diagrams when loaded with a balanced resistor //Page 154 clc; clear; R=2.77; //Resistance of the balanced load //From Phasor Diagram in Result file Vab=480*exp(%i*0); //Reference Voltage MVn=abs(Vab)/sqrt(3); //Magnitude of line to neutral voltages //Angles of Three phase voltages ta=-30; tb=-150; tc=90; //Angles of Winding according to the Line Currents tx3x2=30; //Leading tx1x2=-30; //Lagging I=MVn/R; //Magnitude of current //Low Voltage Current Phasors Ia=I*exp(%i*%pi*ta/180); Ib=I*exp(%i*%pi*tb/180); Ic=I*exp(%i*%pi*tc/180); pfT=cosd(ta-ta); //Angle of Ia is same as phase voltage //Resistance load printf('\na) The Low voltage current phasors are:\n') printf('A is %g/_%g A\n',abs(Ia),ta) printf('B is %g/_%g A\n',abs(Ib),tb) printf('C is %g/_%g A\n',abs(Ic),tc) printf('b) The Phasor Diagram is the ''b'' diagram of in the result file\n') printf('c) The Power Factor of the Transformer is %g\n',pfT) printf('d) Power Factor as seen by winding x3x2 of transformer 2 is %g leading\n',cosd(tx3x2)) printf('e) Power Factor as seen by winding x1x2 of transformer 2 is %g lagging\n',cosd(tx1x2))
bcc1ac0ffeb7f5f3100fcde4ddde19d1d9697917
b29e9715ab76b6f89609c32edd36f81a0dcf6a39
/ketpicscifiles6/Texctr.sci
2a8b08ca5c95b0db918bb4b2411459cd28768048
[]
no_license
ketpic/ketcindy-scilab-support
e1646488aa840f86c198818ea518c24a66b71f81
3df21192d25809ce980cd036a5ef9f97b53aa918
refs/heads/master
2021-05-11T11:40:49.725978
2018-01-16T14:02:21
2018-01-16T14:02:21
117,643,554
1
0
null
null
null
null
UTF-8
Scilab
false
false
242
sci
Texctr.sci
// // 2010.05.15 function Out=Texctr(N) if type(N)==1 Alpha='abcdefghijklmnopqrstuvwxyz'; Out='ketpicctr'+part(Alpha,N); else if part(N,1)=='\' Out=part(N,2:length(N)); else Out=N; end; end; endfunction
69d743677573fdec1770f781c985cf9224b1c32a
449d555969bfd7befe906877abab098c6e63a0e8
/1529/CH5/EX5.14/5_14.sce
09d8c8a4beb62e2c119fd08dabdbdfdf9127a54e
[]
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
5_14.sce
//Chapter 5, Problem 14, Figure 5.27 clc; //Resistance R1 R2 R3 R4 R5 R1=2; R2=9; R3=1.4; R4=2; R5=8; V=17; R45=(R4*R5)/(R4+R5); R34=R3+R45; R23=(R2*R34)/(R2+R34); R=R1+R23; //the circuit is gradually reduced in stages as shown in Fig. 5.28(a)–(d). I=V/R; I1=(R2/(R2+R34))*I; Ix=(R1/(R1+R5))*I1; printf("From Fig. 5.27,\n\n"); printf("Current Ix = %f A",Ix);
a9b2d23a12a13626e47a518cc41efcb785b4cb3c
56ae453b5537f39dbd832dd0416f3c804aa1b937
/microdaq/macros/microdaq_blocks/mdaq_encoder.sci
8dab8650b6cf507210321672d0746b393e070972
[ "BSD-3-Clause" ]
permissive
grtwall/Scilab
38bc8bc978e715b770da61482a9ac30e0cb806d3
e44e0dc0d357a6baf875d33ddd435a29e053b7f1
refs/heads/master
2020-07-22T16:48:31.589484
2018-07-31T13:15:40
2018-07-31T13:15:40
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
3,696
sci
mdaq_encoder.sci
function [x,y,typ] = mdaq_encoder(job,arg1,arg2) encoder_desc = ["This block reads MicroDAQ quadrature encoder inputs."; "It uses x4 mode to decode quadrature signal."; "In case of high frequency signals (up to 2MHz) ENC1/ENC2"; "modules shall be used. ENC3/ENC4 are suitable for lower "; "frequency signals (up to 100kHz)"; ""; "In order to use ENC1/2/3/4 setup DIO lines as following:"; "ENC1 - DIO1/2 - function: DIO, direction: input"; "ENC2 - DIO3/4 - function: DIO, direction: input"; "ENC3 - DIO5/6 - function: DIO, direction: input"; "ENC4 - DIO7/8 - function: DIO, direction: input"; ""; "Reset (R) block input allows to reset encoder value"; "to zero (0) value with rising edge."; "" "R input - reset input"; ""; "P output- current encoder counter value"; "D output - direction: 0 - no change, 1 - CW, 2 - CCW"; ""; "Encoder module: ENC1, ENC2, ENC3, ENC4"; ""; "Set block parameters:"]; x=[];y=[];typ=[]; select job case 'set' then x=arg1 model=arg1.model; graphics=arg1.graphics; exprs=graphics.exprs; while %t do try [ok,encoder_module_str,encoder_init_value,exprs]=.. scicos_getvalue(encoder_desc,.. ['Encoder module:';.. 'Encoder init position:'],.. list('str',1,'vec',1),exprs) catch [ok,encoder_module_str,encoder_init_value,exprs]=.. scicos_getvalue(encoder_desc,.. ['Encoder module:';.. 'Encoder init position:'],.. list('str',1,'vec',1),exprs) end if ~ok then break end encoder_module_str = convstr(encoder_module_str, 'l'); encoder_module = strtod(part(encoder_module_str, 4:5)); if isnan(encoder_module) == %t | part(encoder_module_str, 1:3) <> "enc" then ok = %f; message("Wrong Encoder module selected!"); end if encoder_module > 4 | encoder_module < 1 then ok = %f; message("Wrong Encoder module selected!"); end if ok then [model,graphics,ok] = check_io(model,graphics, [1], [1,1], 1, []); graphics.exprs = exprs; model.rpar = []; model.ipar = [encoder_module; encoder_init_value]; model.dstate = []; x.graphics = graphics; x.model = model; break; end end case 'define' then encoder_module = 1; encoder_module_str = []; encoder_init_value = 0; model=scicos_model() model.sim=list('mdaq_encoder_sim',5); model.in =[1]; model.in2=[1]; model.intyp=[1]; model.out=[1;1]; model.out2=[1;1]; model.outtyp=[1;1]; model.evtin=1; model.rpar=[]; model.ipar=[encoder_module; encoder_init_value]; model.dstate=[]; model.blocktype='d'; model.dep_ut=[%t %f]; exprs=["ENC1";sci2exp(encoder_init_value)]; gr_i=['xstringb(orig(1),orig(2),[''CH:'' ; string(encoder_module)],sz(1),sz(2),''fill'');']; x=standard_define([4 3],model,exprs,gr_i); x.graphics.in_implicit=[]; x.graphics.exprs=exprs; x.graphics.style=["blockWithLabel;verticalLabelPosition=center;displayedLabel=%1$s;fontColor=#5f5f5f"] x.graphics.out_label = ["P", "D"]; x.graphics.in_label = ["R"]; end endfunction
7feb52d7d8891ebf586af6687a43348ba736ed29
449d555969bfd7befe906877abab098c6e63a0e8
/746/DEPENDENCIES/9_08.sci
a6004efa48b5ad70b27d21368f0f23457d06aee5
[]
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
297
sci
9_08.sci
//Wing area(in ft^2): A=1600; //Aspect ratio: ar=6.5; //Groos weight of aircraft(in lbf): W=150000; //Coefficient of drag at zero lift : Cd0=0.0182; //Sonic speed at sea level(in mph): c=759; //Density of air(in slug/ft^3): p=0.00238; //Srall speed at sea level(in mph): Vssl=175;
bdb2ffda986275a8cfa02eca1e618146ba113b87
449d555969bfd7befe906877abab098c6e63a0e8
/3511/CH5/EX5.5/Ex5_5.sce
bdd8e085c44e79dbf66736047b53e7d254b1132b
[]
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
758
sce
Ex5_5.sce
clc; p1=1.4; // Pressure at state 1 in bar T1=310; // Temperature at state 1 in kelvin rp=5; // Pressure ratio Tmax=1050; // Maximum temperatuer in kelvin WN=3000; // Net output in kW Cp=1.005; // Specific heat at constant pressure in kJ/kg K r=1.4; // Specific heat ratio R=287; // Characteristic gas constant in J/kg K T3=Tmax; T2=T1*(rp)^((r-1)/r); // Temperature at the state 2 T4=T3/(rp)^((r-1)/r); // Temperature at the state 4 T5=T4; // As regenerator effectiveness in 100 % m=WN/(Cp*((T3-T4)-(T2-T1))); // mass flow rate of air eff=(T3-T4-T2+T1)/(T3-T5); // Efficiency of a cycle disp ("%",eff*100,"(i). Thermal efficiency of the cycle = "); disp ("kg/min (roundoff error)",m*60,"(ii). The mass flow rate of air per minute = ");
8d4058930cac2f9c6ca32b355d06c3b824196846
01ecab2f6eeeff384acae2c4861aa9ad1b3f6861
/sci2blif/rasp_design_added_blocks/pfet_i2v.sce
df4f1cf27c265f5bdcd96657b868ca669226d196
[]
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
196
sce
pfet_i2v.sce
//style.fontSize=12; //style.displayedLabel="<table> <tr> <td><b>In</b></td> <td>pfet_i2v</td> <td align=right><b>Out</b></td> </tr> </table>"; //pal5 = xcosPalAddBlock(pal5,"pfet_i2v",[],style);
7373772ded323304d83f5615a6a7826de4383ba4
449d555969bfd7befe906877abab098c6e63a0e8
/2159/CH12/EX12.4/124.sce
c453eecf242d45c00287f384cb51781b4da154dc
[]
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
246
sce
124.sce
// problem 12.4 H=150 Q=6 N=400/60 D1=1.2 x1=20 x2=90 B1=0.1 u1=3.142*D1*N Vf1=Q/(3.142*D1*B1) Vw1=Vf1/tand(x1) Vw2=0 w=9810 g=9.81 P=w*Q*Vw1*u1/(g*1000) disp(P,Vw2,Vw1,"whirl component at inlet and outlet,power developed in Kw")
a2d027bcca43792248b240c4d6f5d0273f5d5e7c
449d555969bfd7befe906877abab098c6e63a0e8
/2297/CH7/EX7.1/Ex7_1.sce
0453f5678b0c26f5b743795dadb970d13194aa0d
[]
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
644
sce
Ex7_1.sce
//Example 7.1// width and length clc; clear; close; format('v',6) vph=400;//phase voltage in volts n=3;//number of phase kw=36;//power in kW r=((vph^2)/(n*((kw*10^3)/n)));//resistance in ohms p=1.016*10^-6;//resitivity t=0.3;//thickness in mm x=(((r*t*10^-3)/(p)));//variable t1=1000;//initial temperature in degree celsius t1k=273+t1;//initial temperature in kelvin t2=650;//final temperature in degree celsius t2k=273+t2;//final temperature in kelvin h=((3*10^4)*((t1k/1000)^4-(t2k/1000)^4));//W/m^2 y=((kw*10^3)/(3*2*h));//variable l=sqrt(x*y);//length in meter w=y/l;//width in meter disp(l,"length is,(m)=") disp(w*10^3,"width is,(mm)=")
6dfb4f51cf7144984f52112d8c7381dac3af7f0f
efe59cd4cca137aba9af447e8040b1eac3738006
/solutions/2021-1/exercise/exponenciacao_eficiente/sol-exponenciacao_eficiente.sce
97911df11aec20bdad95ce2de4dd9878e662d524
[]
no_license
thejefecomp/scilab-codes
fd13f6aa666135c0fb08989e25b0ca1354c58b51
6eefce6eed8af0b54f2d6172f6e2b05513327184
refs/heads/master
2023-07-31T13:23:50.467306
2021-09-23T09:00:49
2021-09-23T12:04:06
287,115,880
0
0
null
null
null
null
UTF-8
Scilab
false
false
2,826
sce
sol-exponenciacao_eficiente.sce
/* Author: Jeferson Souza (thejefecomp) - jeferson.souza@udesc.br Source: Project Euler - https://projecteuler.net/problem=122 Description The most naive way of computing n15 requires fourteen multiplications: n × n × ... × n = n^15 But using a "binary" method you can compute it in six multiplications: n × n = n^2 n^2 × n^2 = n^4 n^4 × n^4 = n^8 n^8 × n^4 = n^12 n^12 × n^2 = n^14 n^14 × n = n^15 However it is yet possible to compute it in only five multiplications: n × n = n^2 n^2 × n = n^3 n^3 × n^3 = n^6 n^6 × n^6 = n^12 n^12 × n^3 = n^15 We shall define m(k) to be the minimum number of multiplications to compute nk; for example m(15) = 5. For 1 ≤ k ≤ 200, find ∑ m(k). */ function minimoMultiplicacoes=m(k,depurar) if k < 0 then k = k * -1 end if k <= 1 then numeroMultiplicacoes = 0 else expoenteCorrente = 2 numeroMultiplicacoes = 1 if depurar then mprintf('\n\n1. n x n = n^2\n\n') end if modulo(k,2) == 1 then expoenteCorrente = 3 numeroMultiplicacoes = 2 if depurar then mprintf('2. n^2 x n = n^3\n\n') end end expoenteComplementar = 0 /* Executado enquanto expoente corrente não for igual ao expoente alvo, i.e. k. */ while expoenteCorrente < k expoenteResultante = expoenteCorrente * 2 /* Somente entra na rotina de busca de expoente calculado anteriormente se o valor da duplicação do expoenteCorrente for maior que o expoente alvo (i.e. k), */ if expoenteResultante > k then if expoenteComplementar == 0 then expoenteComplementar = expoenteCorrente end continuar = %t /* Procura o maior exponente calculado anteriormente para compor a nova multiplicação Caso essa operação já tenha sido feita (expoenteComplementar > 0), a rotina continua do último expoente utilizado para compor a última multiplicação. */ while continuar if expoenteComplementar == 2 then expoenteComplementar = 1 elseif expoenteComplementar == 3 expoenteComplementar = 2 elseif expoenteComplementar > 3 then expoenteComplementar = expoenteComplementar / 2 end expoenteResultante = expoenteCorrente + expoenteComplementar if expoenteResultante <= k then continuar = %f end end else expoenteComplementar = expoenteCorrente end numeroMultiplicacoes = numeroMultiplicacoes + 1 if depurar then mprintf('%d. n^%d x n^%d = n^%d\n\n',numeroMultiplicacoes,expoenteCorrente,expoenteComplementar,expoenteResultante) end expoenteCorrente = expoenteResultante end end minimoMultiplicacoes = numeroMultiplicacoes endfunction somatorio = 0 for i=1:200 somatorio = somatorio + m(i,%t) end mprintf('somatorio = %d', somatorio)
97254321056764df207a99e7227adaf7671fc7a2
4483ff664b4d01c53114a7fc535625c197c8f989
/green routing/hope5.sce
55198942d12fc8d191dcba590c1e48455af47c66
[]
no_license
winash1618/myproject
be9b77d4a405edce7e625a999803016b50ab99d0
2132e76e6a996bee19f356a2b68af827fa6c621b
refs/heads/master
2022-12-06T06:09:06.487979
2020-08-20T02:00:54
2020-08-20T02:00:54
288,880,158
0
0
null
null
null
null
UTF-8
Scilab
false
false
19,679
sce
hope5.sce
// this is 8 vehicle clc clear rokl=1 x=8 z=25 pop=20 iter=10000 cap=[288 95 115 133 107 22 34 28 186 190 33 56 100 90 82 143 68 166 44 73 72 60 68 8 20 ] tim=[0 12 6.2 5.6 27 17 20 29 44 18 16 23 24 34 11 9 11 11 13 17 14 30 25 28 27; 12 0 5.2 9.9 39 29 32 40 52 29 27 34 36 46 23 20 23 15 18 24 21 37 32 36 34; 6.2 5.2 0 5.7 35 25 28 36 48 19 22 30 32 41 18 16 19 11 14 21 18 34 28 32 31; 5.6 9.9 5.7 0 29 19 22 30 42 19 17 26 26 36 13 10 13 5.5 8.8 15 12 28 23 26 25; 27 39 35 29 0 6.5 4.5 7.5 41 15 12 10 9.7 6.8 17 18 18 27 29 22 29 34 31 32 21; 17 29 25 19 6.5 0 2.9 13 35 9.6 3.7 7.6 6.9 12 7 8.3 8.5 17 79 18 19 25 21 23 14; 20 32 28 22 4.5 2.9 0 11 34 13 6.6 6.2 5.5 10 10 11 11 20 21 18 22 23 20 22 12; 29 40 36 30 7.5 13 11 0 44 23 19 16 16 10 21 22 23 31 32 28 33 38 35 36 22; 44 52 48 42 41 35 34 44 0 54 6.6 6.2 5.5 10 10 11 11 20 21 18 21 23 20 22 12; 18 29 19 19 15 9.6 13 23 54 0 5.6 17 17 22 9.6 9.5 13 22 23 22 24 40 34 38 23; 16 27 22 17 12 3.7 6.6 19 6.6 5.6 0 11 11 19 5.6 6.8 7 16 17 16 18 34 28 32 18; 23 34 30 26 10 7.6 6.2 16 6.2 17 11 0 0.7 5.8 15 16 12 23 22 12 15 18 15 16 6.8; 24 36 32 26 9.7 6.9 5.5 16 5.5 17 11 0.7 0 5.1 14 15 12 23 22 13 15 18 14 16 6.9; 34 46 41 36 6.8 12 10 10 10 22 19 5.8 5.1 0 24 25 17 28 27 18 20 23 21 21 9.8; 11 23 18 13 17 7 10 21 10 9.6 5.6 15 14 24 0 5.2 2.1 11 12 12 13 29 24 27 18; 9 20 16 10 18 8.3 11 22 11 9.5 6.8 16 15 25 5.2 0 5.7 13 14 18 15 31 25 29 21; 11 23 19 13 18 8.5 11 23 11 13 7 12 12 17 2.1 5.7 0 11 13 9.4 11 23 18 21 15; 11 15 11 5.5 27 17 20 31 20 22 16 23 23 28 11 13 11 0 7.4 11 8 24 19 22 21; 13 18 14 8.8 29 79 21 32 21 23 17 22 22 27 12 14 13 7.4 0 9.8 6.8 23 18 21 20; 17 24 21 15 22 18 18 28 18 22 16 12 13 18 12 18 9.4 11 9.8 0 3.4 15 9.7 13 11; 14 21 18 12 29 19 22 33 21 24 18 15 15 20 13 15 11 8 6.8 3.4 0 17 11 15 14; 30 37 34 28 34 25 23 38 23 40 34 18 18 23 29 31 23 24 23 15 17 0 8 2.3 14; 25 32 28 23 31 21 20 35 20 34 28 15 14 21 24 25 18 19 18 9.7 11 8 0 6.1 11; 28 36 32 26 32 23 22 36 22 38 32 16 16 21 27 29 21 22 21 13 15 2.3 6.1 0 12; 27 34 31 25 21 14 12 22 12 23 18 6.8 6.9 9.8 18 21 15 21 20 11 14 14 11 12 0; ] dib=[5 12 6.8 7.4 23 15 18 30 48 12 14 23 22 29 15 9.3 15 13 16 22 19 35 30 33 30; 5 12 6.8 7.4 23 15 18 30 48 12 14 23 22 29 15 9.3 15 13 16 22 19 35 30 33 30; 13 20 14 16 15 8.1 11 23 50 5.1 5.5 16 15 22 5.6 5.3 11 18 19 23 20 36 31 34 22; 13 20 14 16 15 8.1 11 23 50 5.1 5.5 16 15 22 5.6 5.3 11 18 19 23 20 36 31 34 22; 23 34 29 24 8.6 4.9 4.1 15 4.1 14 8.5 3.1 2.4 7.4 12 13 13 22 23 15 18 20 17 19 9.3; 16 27 23 14 23 13 14 24 14 17 11 7.4 8.1 13 6.3 9.8 4.2 14 13 5.5 6.9 19 14 18 11; 25 33 29 23 30 20 19 31 19 35 29 13 13 18 21 26 18 19 18 10 12 4.7 3.3 2.9 9.1; 25 33 29 23 30 20 19 31 19 35 29 13 13 18 21 26 18 19 18 10 12 4.7 3.3 2.9 9.1; ] ind=zeros(z,z) r=1 for i=1:z r=1 for j=1:z if tim(i,j)<10 & i~=j ind(i,r)=j r=r+1 end end end ban=zeros(x,z) r=1 for i=1:x r=1 for j=1:z if dib(i,j)<10 ban(i,r)=j r=r+1 end end end disp(ind,ban) function voap() cad=rand(pop,z) for i=1:pop for j=1:z for k=1:z if cad(i,k)==min(cad(i,:)) a(i,j)=k cad(i,k)=10000 break end end end end best=a c=a endfunction cad=rand(pop,z) for i=1:pop for j=1:z for k=1:z if cad(i,k)==min(cad(i,:)) a(i,j)=k cad(i,k)=10000 break end end end end best=a c=a function [kom,kiq,temo] =findmut(z1,zkom) temo=zeros(pop,x) rep=zeros(pop,z) kiq=zeros(pop,z) for ka=1:pop po=zeros(x,z) ckom=zkom(ka,:) i=1 for k=1:x r=1 while i<min(ckom) & i<=z po(k,r)=z1(ka,i) r=r+1 if i<=z i=i+1 end end for g=1:x-1 if ckom(g)==min(ckom) ckom(g)=100 break end end end mik=1 bii=7+(15)*(1-(y/iter)) bi=(1.05-(y/iter)) for k=1:x for i=1:z bi1=rand(1,1) if po(k,i+1)~=0 if tim(po(k,i),po(k,i+1))>bii & bi1<bi rep(ka,mik)=po(k,i+1) end if dib(k,po(k,1))>bii & i==1 & bi1<bi rep(ka,mik)=po(k,1) end mik=mik+1 else if po(k,i)~=0 if po(k,i+1)==0 & dib(k,po(k,i))>bii & bi1<bi rep(ka,mik)=po(k,i) end temo(ka,k)=i end break end end end end kom=zkom kiq=rep endfunction function [dis2] =finddis(z1,zkom) tempi=zeros(pop,x) dis2=zeros(pop,x) for ka=1:pop po=zeros(x,z) i=1 ckom=zkom(ka,:) for k=1:x r=1 while i<min(ckom) & i<=z po(k,r)=z1(ka,i) r=r+1 if i<=z i=i+1 end end for g=1:x-1 if ckom(g)==min(ckom) ckom(g)=100 break end end end for k=1:x for i=1:z if po(k,i+1)~=0 dis2(ka,k)=dis2(ka,k)+tim(po(k,i),po(k,i+1)) else break end end end for k=1:x for i=1:z if(po(k,i)~=0) tempi(ka,k)=tempi(ka,k)+1 end end if tempi(ka,k)>0 dis2(ka,k)=dis2(ka,k)+dib(k,po(k,1))+dib(k,po(k,tempi(ka,k))) end end end endfunction function [n] = mutate(b,kiu,temi) gnd=ones(pop,x) for k=1:pop for i=1:x if i==1 gnd(k,i)=0 else gnd(k,i)=gnd(k,i-1)+temi(k,i-1) end end oll=rand(1,1) if oll<0.3 then xio=rand(1,1) if xio<(y/iter) r=1 for i=1:x poll=rand(1,1) if i==1 mut1=1+round((temi(k,i)-1)*rand(1,1)) mut2=1+round((temi(k,i)-1)*rand(1,1)) if poll<0.2 & mut1>0 & mut2>0 & mut1~=mut2 temper=b(k,mut2) b(k,mut2)=b(k,mut1) b(k,mut1)=temper r=r+1 end else mut1=gnd(k,i)+round((temi(k,i)-1)*rand(1,1)) mut2=gnd(k,i)+round((temi(k,i)-1)*rand(1,1)) if poll<0.2 & mut1>0 & mut2>0 & mut1~=mut2 temper=b(k,mut2) b(k,mut2)=b(k,mut1) b(k,mut1)=temper r=r+1 end end if r~=1 break; end end else mut1=1+round((z-1)*rand(1,1)) mut2=1+round((z-1)*rand(1,1)) temper=b(k,mut2) b(k,mut2)=b(k,mut1) b(k,mut1)=temper end else for mi=1:x if kip(k,mi)~=0 mut1=1+round((z-1)*rand(1,1)) temper=b(k,mut1) b(k,mut1)=b(k,mi) b(k,mi)=temper end end end end n=b endfunction function [n] = mutate1(b,kiu,temi) gnd=ones(pop,x) for k=1:pop for i=1:x if i==1 gnd(k,i)=0 else gnd(k,i)=gnd(k,i-1)+temi(k,i-1) end end oll=rand(1,1) if oll<0.7 then xio=rand(1,1) if xio<(y/iter) r=1 for i=1:x poll=rand(1,1) if i==1 mut1=1+round((temi(k,i)-1)*rand(1,1)) mut2=1+round((temi(k,i)-1)*rand(1,1)) if poll<0.2 & mut1>0 & mut2>0 & mut1~=mut2 temper=b(k,mut2) b(k,mut2)=b(k,mut1) b(k,mut1)=temper r=r+1 end else mut1=gnd(k,i)+round((temi(k,i)-1)*rand(1,1)) mut2=gnd(k,i)+round((temi(k,i)-1)*rand(1,1)) if poll<0.2 & mut1>0 & mut2>0 & mut1~=mut2 temper=b(k,mut2) b(k,mut2)=b(k,mut1) b(k,mut1)=temper r=r+1 end end if r~=1 break; end end else mut1=1+round((z-1)*rand(1,1)) mut2=1+round((z-1)*rand(1,1)) temper=b(k,mut2) b(k,mut2)=b(k,mut1) b(k,mut1)=temper end else for mi=1:x if kip(k,mi)~=0 mut1=1+round((z-1)*rand(1,1)) temper=b(k,mut1) b(k,mut1)=b(k,mi) b(k,mi)=temper end end end end n=b endfunction function [z1] =roulewheel(dis2,z1,zkom) tdis=zeros(1,pop) pdis=zeros(1,pop) cdis=zeros(1,pop) calm=z1 for i=1:pop tdis(i)=sum(dis2(i,:)) tdis(i)=1/(1+tdis(i)) end for i=1:pop pdis(i)=tdis(i)/(sum(tdis)) end for i=1:pop if i==1 cdis(i)=cdis(i)+pdis(i) else cdis(i)=cdis(i-1)+pdis(i) end end for i=1:pop jin=rand(1,1) for j=1:pop if j==1 if jin<cdis(j) calm(i,:)=z1(j,:) break end else if cdis(j-1)<jin & jin<=cdis(j) calm(i,:)=z1(j,:) break end end end end z1=calm endfunction function [a,dis1,temp]=aisrule(a,kop) pest=1000*ones(1,pop) aa=a iter1=10 rag1=zeros(iter1) ryg1=zeros(iter1) for io=1:iter1 dix=zeros(pop,x) myg=zeros(1,pop) [aa,temt]=paked(aa,kop) //disp(aa) [dix]=finddis(aa,kop) for i=1:pop myg(i)=sum(dix(i,:)) if pest(i)>myg(i) then a(i,:)=aa(i,:) pest(i)=myg(i) dis1(i,:)=dix(i,:) //kop(i,:)=lkop(i,:) temp(i,:)=temt(i,:) end end [aa]=roulewheel(dis1,a,kop) rag1(io)=min(pest) ryg1(io)=io end plot(ryg1,rag1) endfunction function [f,temt]=paked(f,zkom) ind1=ind ban1=ban zkom1=zkom z1=f for ka=1:pop po=zeros(x,z) ckom=zkom(ka,:) zkom1=zkom(ka,:) i=1 b=1 for k=1:x r=1 while i<min(ckom) & i<=z po(k,r)=z1(ka,i) r=r+1 if i<=z i=i+1 end end for g=1:x-1 if ckom(g)==min(ckom) &k<x zkom1(1,b)=ckom(g) ckom(g)=100 b=b+1 break end end end //disp(zkom1) sizer=zeros(1,x) r=1 for i=1:x if i==1 sizer(1,i)=zkom1(1,r)-1 r=r+1 elseif i==x sizer(1,i)=z-zkom1(1,r)+1 else sizer(1,i)=zkom1(1,r)-zkom1(1,r-1) if i<x-1 r=r+1 end end end temt(ka,:)=sizer //disp(sizer,po) gi=0 while gi<1 aus=0 while aus==0 eng=round(rand(1,1)*(x-1))+1 if sizer(1,eng)~=0 prob=rand(1,1) if prob<0.8 aus=1+round(rand(1,1)*(sizer(1,eng)-1)) elseif prob<0.9 & prob>0.8 aus=1 else aus=sizer(1,eng) end end end disp(sizer,aus) //disp(po(eng,aus)) if aus==1 for i=1:z if ban1(eng,i+1)==0 usa=round(rand(1,1)*(i-1))+1 break end end //disp(po(eng,aus)) //disp("h",ban1(eng,usa),po(eng,aus)) honk1=0 honk=0 for i=1:z if ban1(eng,usa)==f(ka,i) honk=i break end end for i=1:z if po(eng,aus)==f(ka,i) honk1=i break end end //disp(honk,"aa") //if po(eng,aus)==0 //disp("a",po(eng,aus),f(ka,:),eng,aus,"v") //end if honk~=0 & honk1~=0 f(ka,honk)=po(eng,aus) f(ka,honk1)=ban1(eng,usa) gi=gi+1 //disp(y) end //disp(f(ka,:)) elseif aus==sizer(1,eng) for i=1:z if ban1(eng,i+1)==0 usa=round(rand(1,1)*(i-1))+1 break end end //disp(po(eng,aus)) //disp("h",ban1(eng,usa),po(eng,aus)) honk1=0 honk=0 for i=1:z if ban1(eng,usa)==f(ka,i) honk=i break end end for i=1:z if po(eng,aus)==f(ka,i) honk1=i break end end //disp(honk,"aa") //if po(eng,aus)==0 //disp("a",po(eng,aus),f(ka,:),eng,aus,"v") //end if honk~=0 & honk1~=0 f(ka,honk)=po(eng,aus) f(ka,honk1)=ban1(eng,usa) gi=gi+1 //disp(y) end else //disp(eng,aus) trip=po(eng,aus+1) trip1=po(eng,aus-1) trip2=po(eng,aus) trip3=zeros(1,x) //disp(trip,trip1) k=1 //disp("s",trip3,"s") for i=1:z for j=1:z if ind1(trip,i)~=0 & ind1(trip1,j)~=0 if ind1(trip,i)==ind1(trip1,j) trip3(1,k)=ind1(trip,i) k=k+1 end end end end //disp("s1",trip3,"s1") for i=1:z if ban1(eng,i+1)==0 usa=round(rand(1,1)*(i-1))+1 break end end trip3(1,k)=ban1(eng,usa) //disp("s2",trip3,"s2") if sum(trip3)~=0 for i=1:x if i~=x if trip3(1,i+1)==0 arg=round(rand(1,1)*(i-1))+1 break end end if i==x arg=round(rand(1,1)*(i-1))+1 break end end trip4=trip3(1,arg) else trip4=ban1(eng,usa) end if trip4~=0 for i=1:z if trip2==f(ka,i) honk=i break end end for i=1:z if trip4==f(ka,i) honk1=i break end end disp(honk1) f(ka,honk)=trip4 f(ka,honk1)=trip2 gi=gi+1 end end end end endfunction function [gd,esup,jiop]=baker(iter,bkom) temp=zeros(pop,x) tempo=zeros(pop,x) temo=zeros(pop,x) toper=1000 kip=zeros(pop,z) kip1=kip kiq=kip esup=zeros(1,z) mest=1000*ones(1,pop) rag=zeros(iter) ryg=zeros(iter) kop=bkom bbom=zeros(pop,(x-1)) gd=zeros(1,x) for y=1:iter dis=zeros(pop,x) dis1=zeros(pop,x) kop=1+round((z-1)*rand(pop,(x-1))) [a,dis1,temp]=aisrule(a,kop) [d,temk]=paked(c,bkom) [dis2]=finddis(d,bkom) [bkom,kip1,tempo] =findmut(c,bkom) [c]=mutate(c,kip1,tempo) [dis]=finddis(c,bkom) mog=zeros(1,pop) mog1=zeros(1,pop) mog2=zeros(1,pop) for i=1:pop mog(i)=sum(dis(i,:)) mog1(i)=sum(dis1(i,:)) mog2(i)=sum(dis2(i,:)) if mog(i)>mog1(i) then c(i,:)=a(i,:) mog(i)=mog1(i) dis(i,:)=dis1(i,:) bkom(i,:)=kop(i,:) tempo(i,:)=temp(i,:) end if mog(i)>mog2(i) then c(i,:)=d(i,:) mog(i)=mog2(i) dis(i,:)=dis2(i,:) bkom(i,:)=kop(i,:) tempo(i,:)=temk(i,:) end if toper>mog(i) then toper=mog(i) esup=c(i,:) gd=tempo(i,:) jiop=bkom(i,:) rokl=y end if mest(i)>mog(i) best(i,:)=c(i,:) mest(i)=mog(i) dist(i,:)=dis(i,:) bbom(i,:)=bkom(i,:) end end c=best bkom=bbom dis=dist rag(y)=min(mest) ryg(y)=y a=c [a]=roulewheel(dis,a,bkom) end plot(ryg,rag) endfunction bkom=1+round((z-1)*rand(pop,(x-1))) bkom1=bkom bkom2=bkom s=a s1=s for j=1:pop for i=1:pop iter=10 bkom=1+round((z-1)*rand(pop,(x-1))) voap() [gd,esup,jiop]=baker(iter,bkom) s(i,:)=esup bkom1(i,:)=jiop end bkom=bkom1 c=s a=c iter=100 [gd,esup,jiop]=baker(iter,bkom) s1(j,:)=esup bkom2(j,:)=jiop end bkom=bkom2 c=s1 a=c iter=1000 [gd,esup,jiop]=baker(iter,bkom) tomp=zeros(1,x) sup=esup for j=1:x if(j==1) tomp(j)=gd(j) else tomp(j)=tomp(j-1)+gd(j) end end fine=zeros(x,z) for j=1:x if j==1 then for k=1:tomp(j) fine(j,k)=sup(k) end else i=1 for k=tomp(j-1)+1:tomp(j) fine(j,i)=sup(k) i=i+1 end end end namer=['CHEDIKULAM' 'URUPUMKUTTY' 'EDAPUZHA' 'EDOOR' 'KOLAYAD' 'VELLARVALLY' 'ARYAPARAMBA' 'PERUVA' 'KAPPAD' 'ATTENCHERY' 'PERAVOOR' 'MALOOR' 'THRIKADARIPOIL' 'THODEEKKALAM' 'EDATHOTTY' 'PALAPPUZHA' 'THALIPPOYIL' 'VATTIARA' 'PERUMPARAMBU' 'PADIKACHAL' 'PUNNAD' 'KODOLIPRAM' 'MARUTHAYI' 'VELLIYAMPARAMBA KSS LTD' 'KANHILERI' ] bmc=["KEEZHPALLY" "KEEZHPALLY" "ODEMTHODE" "ODEMTHODE" "THOLUMBRA" "THILLANKERI" "PAZHASSI RAJA NAGAR" "PAZHASSI RAJA NAGAR" ] yum=0 for i=1:1:x for j=1:z if fine(i,j)>0 if j==1 disp(bmc(i)) disp(dib(i,fine(i,j))) yum=yum+dib(i,fine(i,j)) end disp(namer(fine(i,j))) if j~=gd(i) then disp(tim(fine(i,j),fine(i,j+1))) yum=yum+tim(fine(i,j),fine(i,j+1)) end if j==gd(i) disp(dib(i,fine(i,j))) yum=yum+dib(i,fine(i,j)) disp(bmc(i)) end end end end disp(yum)
1507c6120035be65080e1d092ff7c573f33c4f73
b34461c9ddff1ba130b67023d6e568ada42830dc
/scripts/soustraction.sci
5de3654f896f216b7c20fbdc15c7c2a4717d7dde
[]
no_license
AdrienKegler/Projet-Exolife
f72287fdc41a07b88f03b8346dafab93b4539b07
249f0861dc4ba3f2a7639ea60b7d12b45e717933
refs/heads/master
2020-05-25T14:05:45.213740
2017-03-17T09:16:20
2017-03-17T09:16:20
84,937,694
0
0
null
2017-03-15T10:15:55
2017-03-14T10:45:25
Scilab
UTF-8
Scilab
false
false
896
sci
soustraction.sci
// fonction de soustraction // chargement des images // for d'analyse de pixels, soustraction function img_out=soustraction(matriceA,matriceB) img_inA = matriceA; img_inB = matriceB; SizeXa = size(matriceA,"r"); SizeYa = size(matriceA,"c"); SizeXb = size(matriceB,"r"); SizeYb = size(matriceB,"c"); img_out = zeros(SizeXa,SizeYa); for i = 1:SizeXa for j = 1:SizeYa if j > SizeYb | i > SizeXb then img_out(i,j) = img_inA(i,j); else difference = img_inA(i,j)-img_inB(i,j); if difference < 0 then img_out(i,j) = 0; else img_out(i,j) = difference; end, end, end; end; //display_gray(img_out); endfunction
cd470b35527e103f61452a03b1ec7df25e491ea5
abde5210bd538a9873f628945f25c08a6711abd0
/appTests/v0.2_stdin_with_pipe.tst
6bbdab54eea9e231f1ebd76f1e3c31ef27cff584
[]
no_license
step-batch-7/jsTools-mildshower
4ff0f8357dac1fbb1603f933d4a9b658aa9bf61f
20444d5ca9540782b793270f9c5e2f138696b6d7
refs/heads/master
2023-01-12T06:32:14.662150
2020-01-09T06:10:28
2020-01-09T06:10:28
229,381,464
0
1
null
2022-12-30T19:21:29
2019-12-21T05:32:22
JavaScript
UTF-8
Scilab
false
false
63
tst
v0.2_stdin_with_pipe.tst
printf "a\nA\n8\n 8" > foo;cat foo | node sort; rm foo 8 8 A a
9adc425928c4679b2806dc1a70e99a05f43bd556
449d555969bfd7befe906877abab098c6e63a0e8
/24/CH19/EX19.5/Example19_5.sce
1ac629159c691d6602e67eb503146704c302d810
[]
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
583
sce
Example19_5.sce
//Given that M = 1.00 //in kg T = 100 //in degree C P = 1.01*10^5 //in Pascal Vi = 1.00*10^-3 //in m^3 Vf = 1.671 //in m^3 Lv = 2256*10^3 //in J/kg //Sample Problem 19-5a printf("**Sample Problem 19-5a**\n") W = P*(Vf - Vi) printf("The work done by the system during the process is %fkJ\n", W*10^-3) //Sample Problem 19-5b printf("\n**Sample Problem 19-5b**\n") Q = Lv*M printf("The heat supplied to the system is equal to %eJ\n", Q) //Sample Problem 19-5c printf("\n**Sample Problem 19-5c**\n") deltaE = Q - W printf("The change in internal energy is equal to %eJ", deltaE)
0b39991a4778c9b53f00d3dde1bf121879ac76d0
449d555969bfd7befe906877abab098c6e63a0e8
/2309/CH4/EX4.a.9/A_Ex4_9.sce
43c17276a8deb8b63f4ba364836895ceccb7d74f
[]
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,102
sce
A_Ex4_9.sce
// Chapter 4 Additional Example 9 //============================================================================== clc; clear; // input data l = 10^-10; // side of one dimensional box h = 6.625*10^-34 // plancks constant in Jsec m = 9.11*10^-31 // mass of electron in Kg n1 = 1; // for 1st eigen value n2 = 2; // for 2nd eigen value n3 = 3; // for 3rd eigen value n4 = 4; // for 4th eigen value e = 1.6*10^-19 // charge of electron in columbs // Calculations E1 = (h^2 * n1^2)/(8*m*l^2 *e ) // first Eigen value E2 = (h^2 * n2^2)/(8*m*l^2 *e ) // second Eigen value E3 = (h^2 * n3^2)/(8*m*l^2 *e ) // third Eigen value E4 = (h^2 * n4^2)/(8*m*l^2 *e ) // fourth Eigen value // Output mprintf('1st Eigen value = %3.1f eV\n 2nd Eigen value = %3.1f eV\n 3rd Eigen value = %3.1f eV\n 4th Eigen value = %3.1f eV\n',E1,E2,E3,E4); //==============================================================================
e59629b2d1db9cd73d464f5b3a2d60c7d1adda87
fe84eced9b04743dd2df16e206f112bfee1196a0
/segunda_atividade.sce
627f6f33bb9ee00b7eb74e2ba52dcdb833a550dc
[]
no_license
Darkisda/SCILABcodig
ec89cbfcb200b60983b2d4e7632d43adea92c7ba
3ee22dd7002a5872196f6810260aaa0a66ae2d58
refs/heads/master
2020-09-21T03:29:27.668120
2019-11-29T15:12:38
2019-11-29T15:12:38
224,665,581
0
0
null
null
null
null
UTF-8
Scilab
false
false
265
sce
segunda_atividade.sce
//Representacao de sistemas lineares load('data2') A= [-k12-k10 k21 ; k12 -k21] B= [1; 0] C= [1 0] t= 0:1:length(u)-1 [sl]=syslin([],A, B, C) m1 = csim(u, t, sl) C1 = m1/V1 figure subplot(2, 1, 1) plot2d(t, C1) subplot(2, 1, 2) plot2d(t, u)
ef0db03b740f63a5aa3e79d2cc182a52b6fbbbfc
449d555969bfd7befe906877abab098c6e63a0e8
/3793/CH15/EX15.1/exp_15_1.sce
d9c5bbce3ab7f51643d153047512aebc8f686c33
[]
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
exp_15_1.sce
clear; clc; Pdc=1; Pac=1; phi=acosd(.9428); mprintf(" power factor angle in degree is %.3f ",phi); p=[0.7:0.1:1]; Pd=(.9428/(p)); disp(Pd); disp(p); plot(p,Pd);
b70170f8e73e17d8494b9fd5936e325203c098c0
449d555969bfd7befe906877abab098c6e63a0e8
/2015/CH7/EX7.11/7_11.sce
65ebfacee44800257c461d5494c1a10e3becc9bd
[]
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
822
sce
7_11.sce
clc //initialisation of variables ps1=0.010720 //bar pressure phi1=0.3 //relative humidity td1=8 //temp in degrees td2=32 //temp in degrees td3=30 //temp in degrees ps3=0.042415 //bar pressure phi3=0.5 //relative humidity hf=762.6 //kj/kg hfg=2013.6 //kj/kg p=1.01325 //pressure in bar //CALCULATIONS pv1=phi1*ps1 w1=0.622*(pv1/(p-pv1)) h1=(1.005*td1+w1*(2500+1.86*td1)) h2=(1.005*td2+w1*(2500+1.86*td2)) ha=h2-h1 pv3=phi3*ps3 w3=0.622*(pv3/(p-pv3)) h3=(1.005*td3+w3*(2500+1.86*td3)) wa=w3-w1 hw=(h3-h2)/(w3-w1) x=(hw-hf)/hfg //RESULTS printf('heat added is %2fkj/kg of da',ha) printf('\nwater added is %2fkg/kg of da',wa) disp('temp os steam supplied is 179.88 degrees') //at 10 bar pressure printf('\nsteam required is %2fkj/kg of steam',hw) printf('\nquality of steam at 10 bar is %2f',x)
7355bcde89f4faa893d6f352823b8b158a503a6d
de4a05983c71acce126215edc1ef3dc68303d939
/oper/sortop.tst
38e176af902e67a35548a47f031aabd8835355fa
[]
no_license
TYMCOM-X/169283.tape
31a10122e6ac6394a8aa4f6ae215cfb48a4e8552
f58dedd26328b5c0ba3fd2a76f722194df41d933
refs/heads/master
2023-03-27T17:37:41.524138
2021-03-21T16:14:00
2021-03-21T16:14:00
345,965,863
0
0
null
null
null
null
UTF-8
Scilab
false
false
170
tst
sortop.tst
JONES 12398888W HOWES 13543KDPG SANDS 16746TR6D QUINN 18888ERFM ZACKES18889FGJ2 ROLLS 18890WERP BLACK 29839FOGH ALPOS 34567MONJ WHITE 34688YUES HOFFS 47832NYCU
413bb639f9bc5b73777497beeb3b07d6e8f56102
449d555969bfd7befe906877abab098c6e63a0e8
/2072/CH25/EX25.5/EX25_5.sce
55a1ecdbe5cc61a43680478f65950b36b5065047
[]
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
274
sce
EX25_5.sce
//Chapter 25 clc //Example 5 //given d=8 //diameter of objective mirror of reflecting telescope in inches fo=1500 //focal length of objective mirror of reflecting telescope in mm fe=18 //focal length of eyepiece m=fo/fe disp(m,"Angular magnification of the telescope is")
0f033e43d580e0f68c2e0e2402db224119805af7
449d555969bfd7befe906877abab098c6e63a0e8
/2084/CH14/EX14.7/14_7.sce
8adefd9fc6c82b33e763f810264caba7e5489f18
[]
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
527
sce
14_7.sce
//developed in windows XP operating system 32bit //platform Scilab 5.4.1 clc;clear; //example 14.7 //calculation of the density of the liquid //given data h=.02*10^-2//height(in m) of the column of liquid R=7.5*10^-3//radius(in m) of the soap bubble S=.03//surface tension(in N/m) of the soap solution g=9.8//gravitational acceleration(in m/s^2) of the earth //calculation deltaP=4*S/R//excess pressure inside the soap bubble rho=deltaP/(h*g)//densiy printf('the density of the liquid is %3.1e kg/m^3',rho)
65a930cc7ba4e1f23abc97bde4b9ce4bdaf56302
449d555969bfd7befe906877abab098c6e63a0e8
/2096/CH1/EX1.11/ex_1_11.sce
976cc49047bda26cfaeb4a5faebabd1881c0c8ae
[]
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
216
sce
ex_1_11.sce
// Example 1.11. smallest change which can be measured by this transducer clc, clear // given : F=200; // range of force in N R=.15/100; // resolution of full scale Sc=R*F; disp(Sc,"smallest change,Sc = (N)")
9054783ece457c8f259d9533cba92e06bdccfaf6
01ecab2f6eeeff384acae2c4861aa9ad1b3f6861
/sci2blif/block_info/bi_Min_slow.sci
032356fe85db4cc1b06dc412903b47620973e82f
[]
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
1,061
sci
bi_Min_slow.sci
Min_slow,2,1,7 2,1,2 5,3,4,5,6,7 num_of_blk,1,mblif_num,0,Min_slow_Min,1e-12,Min_slow_leak,5e-12,Min_slow_ota,50e-9,Min_slow_buf,10e-6,fix_loc',[0;0;0] num_of_blk,mblif_num,Min_slow_Min,Min_slow_leak,Min_slow_ota,Min_slow_buf,fix_loc 4,1,16,1,19,1,22,1,25 1,0,0 Min_slow,1,1,2,1,5,1,1,1,2,1,3,0,Min_slow_ls,0,1,Min_slow_Min,1,1,Min_slow_leak,2,1,Min_slow_ota,3,1,Min_slow_buf,4 //------ Here, everything should be in Order with no space ------// // Xcos block name, # of input, # of output, # of Xcos paramters (exprs) // # of ipar, order // # of rpar, order // Xcos parameter, default value, ... // Xcos parameters - exprs // # of user defined rpars, BLIF block #, column #, ... // # of BLIF blocks, # of rpar BLIF parameters,vcc_flag,gnd_flag // 1st block name, mblif #, vectorized #, # of input, # of output, # of BLIF parameters, input type(0:internal,1:external,2:vcc,3:gnd), number/name, output type, number/name, BLIF parameters type(0:connection,1:bias,2:bias(hidden),3:cap,4:cap(hidden),5:smcap,6:smcap(hidden)), name, value / Xcos parameter # in rpar
42b69cdb85996dac09d057fec89e85cfaa58f2b7
449d555969bfd7befe906877abab098c6e63a0e8
/3507/CH12/EX12.18/Ex12_18.sce
c08002fc133173ec85c8ce49a0810bfa115479f4
[]
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
241
sce
Ex12_18.sce
//chapter12 //example12.18 //page254 V_CC=10 // V V_BE=0.2 // V I_E=2 // mA I_B=50d-3 // mA R_E=1 // kilo ohm R2=10 // kilo ohm V2=V_BE+I_E*R_E I2=V2/R2 I1=I2+I_B V1=V_CC-V2 R1=V1/I1 printf("R1 = %.3f kilo ohm \n",R1)
7b99e6390d00330bd006a9e2f2f20ffe3321e93c
4bbc2bd7e905b75d38d36d8eefdf3e34ba805727
/ee/contrib/dspic/macros/codegen/BlockProto.sci
7e4ac4c9b17837f3fcd5de4ccf18eaf866a50fb1
[]
no_license
mannychang/erika2_Scicos-FLEX
397be88001bdef59c0515652a365dbd645d60240
12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba
refs/heads/master
2021-02-08T17:01:20.857172
2012-07-10T12:18:28
2012-07-10T12:18:28
244,174,890
0
0
null
null
null
null
UTF-8
Scilab
false
false
3,743
sci
BlockProto.sci
//========================================================================== //BlockProto : generate prototype // of a scicos block // // //16/06/07 Author : A.Layec //Copyright INRIA // Modified for RT purposes by Roberto Bucher - RTAI Team // roberto.bucher@supsi.ch function [txt]=BlockProto(bk) nin=inpptr(bk+1)-inpptr(bk); //* number of input ports */ nout=outptr(bk+1)-outptr(bk); //* number of output ports */ //** ftyp=funtyp(bk) if ftyp>2000 then ftyp=ftyp-2000,end if ftyp>1000 then ftyp=ftyp-1000,end //** check function type if ftyp < 0 then //** ifthenelse eselect blocks txt = []; return; else if (ftyp<>0 & ftyp<>1 & ftyp<>2 & ftyp<>3 & ftyp<>4) then disp("types other than 0,1,2,3 or 4 are not yet supported.") txt = []; return; end end //** add comment txt=[get_comment('proto_blk',list(funs(bk),funtyp(bk),bk));] select ftyp //** zero funtyp case 0 then //*********** prototype definition ***********// txtp=['(int *, int *, double *, double *, double *, int *, double *, \'; ' int *, double *, int *, double *, int *,int *, int *, \'; ' double *, int *, double *, int *);']; if (funtyp(bk)>2000 & funtyp(bk)<3000) blank = get_blank('void '+funs(bk)+'('); txtp(1) = 'void '+funs(bk)+txtp(1); elseif (funtyp(bk)<2000) txtp(1) = 'void C2F('+funs(bk)+')'+txtp(1); blank = get_blank('void C2F('+funs(bk)+')'); end txtp(2:$) = blank + txtp(2:$); txt = [txt;txtp]; //*******************************************// //** case 1 then //*********** prototype definition ***********// txtp=['(int *, int *, double *, double *, double *, int *, double *, \'; ' int *, double *, int *, double *, int *,int *, int *';] if (funtyp(bk)>2000 & funtyp(bk)<3000) blank = get_blank('void '+funs(bk)+'('); txtp(1) = 'void '+funs(bk)+txtp(1); elseif (funtyp(bk)<2000) txtp(1) = 'void C2F('+funs(bk)+')'+txtp(1); blank = get_blank('void C2F('+funs(bk)+')'); end if nin>=1 | nout>=1 then txtp($)=txtp($)+', \' txtp=[txtp;''] if nin>=1 then for k=1:nin txtp($)=txtp($)+' double *, int * ,' end txtp($)=part(txtp($),1:length(txtp($))-1); //remove last , end if nout>=1 then if nin>=1 then txtp($)=txtp($)+', \' txtp=[txtp;''] end for k=1:nout txtp($)=txtp($)+' double *, int * ,' end txtp($)=part(txtp($),1:length(txtp($))-1); //remove last , end end if ztyp(bk) then txtp($)=txtp($)+', \' txtp=[txtp;' double *,int *);']; else txtp($)=txtp($)+');'; end txtp(2:$) = blank + txtp(2:$); txt = [txt;txtp]; //*******************************************// //** case 2 then //*********** prototype definition ***********// txtp=['void '+funs(bk)+... '(int *, int *, double *, double *, double *, int *, double *, \'; ' int *, double *, int *, double *, int *, int *, int *, \' ' double **, int *, int *, double **,int *, int *']; if ~ztyp(bk) then txtp($)=txtp($)+');'; else txtp($)=txtp($)+', \'; txtp=[txtp; ' double *,int *);'] end blank = get_blank('void '+funs(bk)); txtp(2:$) = blank + txtp(2:$); txt = [txt;txtp]; //********************************************// //** case 4 then txt=[txt; 'void '+funs(bk)+'(scicos_block *, int );']; end endfunction
6b0023e61f89f6aa4462b5cb1acdc387d2f7e84f
9e84a09791efd5b6831113157725025090537291
/test.sci
af936e8eeafeaa53d0e1a7de566b939d664aebde
[]
no_license
MyFreertosLab/my_mcpwm_test
da4c3360790ce95b534e5b3a121f2b31d200fb8f
c0c5af70388c77c729d78743f6f989d7edc58445
refs/heads/master
2023-02-27T10:12:10.830896
2021-01-27T08:59:35
2021-01-27T08:59:35
333,361,137
0
0
null
null
null
null
UTF-8
Scilab
false
false
3,406
sci
test.sci
A=[1,1,1,1,1,1;-1,1,0.5,-0.5,-0.5,0.5;0,0,sqrt(3)/2,-sqrt(3)/2,sqrt(3)/2,-sqrt(3)/2;1,-1,1,-1,-1,1]; B=[1/6,-1/3,0,1/6;1/6,1/3,0,-1/6;1/6,1/6,1/(2*sqrt(3)),1/6;1/6,-1/6,-1/(2*sqrt(3)),-1/6;1/6,-1/6,1/(2*sqrt(3)),-1/6;1/6,1/6,-1/(2*sqrt(3)),1/6]; // // Attitude (Z), Speed (Z) e Accel (Z) sono espresse in m, m/sec e m/sec^2 e rispetto al sistema inerziale (terra) // Attitude (R,PY), Speed (R,P,Y) e Accel (R,P,Y) sono espresse in rad, rad/sec e rad/sec^2 e rispetto al Body Frame del Drone // // ************ // **** RC **** // ************ RC_REQ_ATTITUDE=[30;%pi/6;0;0]; RC_REQ_SPEED=[0;0;0;0]; // Calcolati in M1 RC_REQ_ACCEL=[0;0;0;0]; // Calcolati in M1 // ************* // **** IMU **** // ************* IMU_EST_ATTITUDE=[0;1;0;0]; IMU_EST_SPEED=[0;0;0;0]; IMU_EST_ACCEL=[25;0;0;0]; IMU_EST_ATTITUDE_PREV=[0;1;0;0]; IMU_EST_SPEED_PREV=[0;0;0;0]; IMU_EST_ACCEL_PREV=[25;0;0;0]; // ************* // **** PWM **** // ************* PWM_FREQUENCY=490; // Espresso in Hz // Duty Cycle Espresso in % in un range [%min, %max] definito nel modo seguente // %min = (1 − (1÷PWM_FREQUENCY−0.001)÷(1÷PWM_FREQUENCY))×100 // %max = (1 − (1÷PWM_FREQUENCY−0.002)÷(1÷PWM_FREQUENCY))×100 PWM_DUTY_CYCLE=[0;0;0;0;0;0]; // ************ // **** M1 **** // ************ // Description..: Calcola le variazioni da eseguire (rispetto allo stato attuale e a quanto è richiesto) per raggiungere il target // // Parameters..: dt (reattività espressa in secondi come intervallo di tempo [0,dt]) // // Input.......: RC_REQ_ATTITUDE (Altezza in m rispetto al livello del mare e inclinazioni 3D in rad) // RC_REQ_SPEED (Speed (Z) in m/sec e velocità angolari in rad/sec) // RC_REQ_ACCEL (Accel (Z) in m/sec^2 e accelerazioni angolari in rad/sec^2) // IMU_EST_ATTITUDE (Stima Altezza e inclinazioni 3D in rad) // IMU_EST_SPEED (Stima Speed (Z) in m/sec e velocità angolari in rad/sec) // IMU_EST_ACCEL (Stima Accel (Z) espressa in m/sec^2 e accelerazioni angolari in rad/sec^2) // // Output......: RC_REQ_SPEED = Speed (Z) in m/sec e velocità angolari richieste in rad/sec // RC_REQ_ACCEL = Accel (Z) in m/sec^2, accelerazioni angolari 3D in rad/sec^2 // M1_OUT = Variazioni Richieste (Variazione Accel (Z) in m/sec^2 e variazioni accelerazioni angolari 3D in rad/sec^2) // dt=1; RC_REQ_SPEED=(RC_REQ_ATTITUDE-IMU_EST_ATTITUDE)/dt; // Calcolo velocità richieste RC_REQ_ACCEL=(RC_REQ_SPEED - IMU_EST_SPEED)/dt; // calcolo accelerazioni richieste M1_OUT=RC_REQ_ACCEL-IMU_EST_ACCEL // ************ // **** M2 **** // ************ // Trasformazione: Variazione Moto Richiesto -> Variazioni Forze Motori Richieste // M2_IN=M1_OUT; M2_OUT=B*M2_IN // ************ // **** M3 **** // ************ // Controller PID: Forze Motori Richieste -> Forze Motori corrette // Stato iniziale: M3_P_ERR_PREV=[0;0;0;0;0;0]; M3_I_ERR=[0;0;0;0;0;0]; M3_D_ERR=[0;0;0;0;0;0]; // Calcolo PID ad ogni ciclo M3_IN=M2_OUT; M3_P_ERR=M3_IN; M3_I_ERR=M3_I_ERR + (M3_P_ERR - M3_P_ERR_PREV); M3_D_ERR=(M3_P_ERR - M3_P_ERR_PREV); kp = 2; ki = 1; kd = 1; M3_OUT = kp*M3_P_ERR+ki*M3_I_ERR+kd*M3_D_ERR // ************ // **** M4 **** // ************ // Trasformazione: Forze Motori -> PWM // M4_IN=M3_OUT; kdt=3; M4_DUTY_CYCLE=kdt*sqrt(M4_IN); PWM_DUTY_CYCLE=PWM_DUTY_CYCLE+M4_DUTY_CYCLE
08a4348df766ffe2b9dbb5447bfafcdb1005ce8c
449d555969bfd7befe906877abab098c6e63a0e8
/2825/CH19/EX19.9/Ex19_9.sce
e2ba6879061826c9c6ea1cbc9811f5d127090dea
[]
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
534
sce
Ex19_9.sce
//Ex19_9 Pg-960 clc disp("Conversion of decimal number 31.65 base to its binary equivalent ") a=31.65; z=modulo(a,1) x=floor(a);//separating the decimal from the integer part b=0; c=0; d=0; while(x>0) //taking integer part into a matrix and convert to equivalent binary y=modulo(x,2); b=b+(10^c)*y; x=x/2; x=floor(x); c=c+1; end for i=1:10;//converting the values after the decimal point into binary z=z*2; q=floor(z); d=d+q/(10^i); if z>=1 then z=z-1; end end s=b+d; printf("\n =%.6f",s);
111d5f2b55e4393fa65b5a675db160b533283fc3
449d555969bfd7befe906877abab098c6e63a0e8
/401/CH12/EX12.11/Example12_11.sce
84844b80481b11475f41278db8998132ba8041ae
[]
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,217
sce
Example12_11.sce
//Example 12.11 //Program to determine the average incident optical power required at //the receiver clear; clc ; close ; //Given data k=1.38*10^(-23); //J/K - BOLTZMANN's CONSTANT e=1.602*10^(-19); //Coulumbs - CHARGE OF AN ELECTRON SNR_dB=55; //dB - SIGNAL POWER TO RMS NOISE RATIO ma=0.8; //MODULATION INDEX Id=0; //A - DARK CURRENT T=293; //K - OPERATING TEMPERATURE B=5*10^6; //Hz - BANDWIDTH Fn_dB=1.5; //dB - NOISE FIGURE Rl=1*10^6; //Ohms - EFFECTIVE INPUT IMPEDANCE R=0.5; //A/W - RESPONSIVITIY b=0.7; //RATIO OF LUMINANCE TO COMPOSITE VIDEO SNR=10^(SNR_dB/10); Fn=10^(Fn_dB/10); //Photo-current, Ip=R*Po Ip=Po*R; //(SNR)p-p=(2*ma*Ip*b)^2/(2*e*B*(Ip+Id)+(4*k*T*B*Fn/Rl)); //Rearranging and solving the quadratic equation, Incident Power Po=((SNR*2*e*B*R)+sqrt((SNR*2*e*B*R)^2-4*(2*ma*R*b)^2*(SNR*(-4*k*T*B*Fn/Rl))))/(2*(2*ma*R*b)^2); //Displaying the Result in Command Window printf("\n\n\t The average incident optical power required at the receiver is %0.2f uW or %0.1f dBm.",Po/10^(-6),10*log10(Po/10^(-3)));
ca55135ee0871bf80a34279a22b1902f697baac2
cb952289471732053d3db787d93f249ea37a7e55
/6º PERÍODO/Otimizacao/UNIDADE 2/minimizacao.sce
dad04bf921b2f1d171c5fcdccd6e0af47b0f0d58
[]
no_license
kaikecc/UFRN
647d09e6beeadfeabfb59f479cd77a5c2ff7bebc
821cce2e36808e890a75714d71b7cc1a24e52c27
refs/heads/master
2022-08-09T19:23:52.552924
2022-06-23T21:27:05
2022-06-23T21:27:05
177,469,993
1
1
null
null
null
null
UTF-8
Scilab
false
false
1,062
sce
minimizacao.sce
function [Zo, A, b] = minimizacao(matriz_aumentada) dim = size(matriz_aumentada);// vetor que tem a qnt de linhas por qnt de colunas A = matriz_aumentada(:,1:dim(2)-1);// Matriz de coeficientes b = matriz_aumentada(:,dim(2));// vetor de resultados linha1 = A(1,2:dim(2)-1);// primeira linha da matriz de coeficientes interacao = 0; m = -1;// para iniciar o while while m < length(linha1) p = min(linha1); // menor valor da primeira linha (variavel nao basica) [A , b] = simplex(A, b, p) // ****** PRA DECIDIR A HORA DE ACABAR ****** linha1 = A(1,2:dim(2)-1); positivos = length(find(linha1 > 0)); if positivos <= 0 then m = length(linha1) + 1; end //****************************************** interacao = interacao + 1; end Zo = b(1); printf('O valor otimo de z = %5.2f',Zo); disp('Matriz de coeficientes: '); disp(A); disp('Vetor solução: '); disp(b); salvar(A,b); endfunction
24ba79935acac410f1dd13e3cdabdc2da064d4f1
e657bbadea88191ece0e48eb447173a4c5f816f6
/tasks/cw5/spadekSwobodny.sce
ab9ce9d96e735ae83ec1961da264c52962a1c224
[]
no_license
vainia/Learning-SCILAB
c37d6071907ea4fad811071a3164454a927602d8
d77877b1316b8b3546cb32cb9e29e7ad70d25280
refs/heads/master
2020-03-10T09:51:08.444686
2018-04-12T23:13:06
2018-04-12T23:13:06
129,320,183
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,276
sce
spadekSwobodny.sce
// model wektorowy spadku swobodnego (bez oporu powietrza) function prawa_strona = F(t,Y) prawa_strona(1)= -Y(2) prawa_strona(2)= g-0.5*Cx*d*S/m*Y(2)^2 endfunction //g - przyspieszenie ziemskie //Cx - wspólczynnik aerodynamiczny sily oporu //ρ - gestosc powietrza //v - predkosc ciaaa wzgledem powietrza //S - powierzchnia rzutu ciala na plaszczyzne prostopadla do wektora predkosci ciala m=100; Cx=2.30; S=2; d=1.5^2; // stałe fizyczne //g = 9.81; // przyspieszenie ziemskie g = 3.70; // przyspieszenie marsa // Wartości początkowe y0 = 100; // wysokość początkowa v0 = 0; // prędkość początkowa Y0=[y0;v0]; // początkowa wartość wektora stanu // Wektor czasu t0 = 0; //chwila początkowa tk = 10; //chwila końcowa t = linspace(t0,tk,100); // Całkowanie równania ruchu Y = ode(Y0,t0,t,F); // całkowanie fun. wekt. // Składowe wektora stanu y = Y(1,:); // położenie (wysokość) v = Y(2,:); // prędkość spadania // Wykresy clf // Wykres wysokości: y=y(t) subplot(211) plot2d(t,y,5) xtitle('Ivan Napolskykh 15948','czas t [s]','wysokość y(t) [m]') // Wykres prędkości: v=v(t) subplot(212) plot2d(t,v,2); xtitle('Ivan Napolskykh 15948','czas t [s]','prędkość v(t) [m/s]')
08aaf04731cd8e7e90ebbec5b5150f2946c5f2de
449d555969bfd7befe906877abab098c6e63a0e8
/3769/CH21/EX21.6/Ex21_6.sce
543e3e9413d6c03586902e4b48fc0c2fbd701065
[]
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
125
sce
Ex21_6.sce
clear //Given Imax=16 Imin=4 //Calculation r=Imax/Imin //Result printf("\n Deduce the ratio of intensity is %0.3f :1", r)
7e4f34ac8da8c15fdbe8d92589dd7aeb391f7810
449d555969bfd7befe906877abab098c6e63a0e8
/593/CH9/EX9.6/ex9_6.sce
e10104e6975671a75bd542720ef166258638073e
[]
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,650
sce
ex9_6.sce
clear; //clc(); // Example 9.6 // Page: 225 printf("Example-9.6 Page no.-225\n\n"); //***Data***// P_1 = 10;//[atm] x_a_1 = 0.1238;// mole fraction of ethanol at 10 atm pressure Temp = 273.15+85.3;//[K] R = 0.08206;//[(L*atm)/(mol*K)] P_0 = 1;//[atm] // so delta_P = (P_1-P_0);//[atm] // Molecular weight of ethanol and water are respectively M_ethanol = 46;//[g/mol] M_water = 18;//[g/mol] // Now changing the mol fraction of ethanol in the wt fraction m_a_1 = x_a_1*M_ethanol/(x_a_1*M_ethanol+(1-x_a_1)*M_water); // From example 8.9(page 188) we know that at this T and 1 atm and x_a_0, activity coefficient for ethanol y_ethanol_0 = 2.9235; // Now from figure 6.15(page 129), we read that at 20C and m_a_1 mass fraction ethanol , v_ethanol_1 = 1.16;//[cm^(3)/g] // Similarily for mass fraction corresponding to mole fraction x_a_1 v_ethanol_0 = 1.27;//[cm^(3)/] // Difference of thes etwo values is v = v_ethanol_1-v_ethanol_0;//[cm^(3)/g] v = v*46;//[L/g] // If we assume that this value is more or less independent of temperature, we can use it as the corresponding value at 85.3C, and compute // From equation 7.31(page 225) // d(log(y_i))/dP = (v_1-v_0)/(R*T); at constant temperature and mole fraction // Let d(log(y_i))/dP = C, then C = (v_ethanol_1-v_ethanol_0)/(R*Temp); // Also we can have // delta_log(y_i) = (d(log(y_i))/dP)*delta_P // or // delta_log(y_i) = C*delta_P // and delta_log(y_i) = log(y_ehtanol_1)-log(y_ethanol_0) // So y_ethanol_1 = exp(log(y_ethanol_0)+C*delta_P); printf("The activity coefficient of ethanol in the solution at 10 atm pressure is %f",y_ethanol_1);
c266292882e7936e627d79fa815f5dd6b58738cc
449d555969bfd7befe906877abab098c6e63a0e8
/213/CH3/EX3.19/3_19.sce
765a34f94de295192092e4403ce910b3c4fa56b0
[]
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,651
sce
3_19.sce
//To find velocities and loss of KE clc //Given: m1=50,m2=25 //kg u1=3,u2=1.5 //m/s //Solution: //When the impact is inelastic //Calculating the common velocity after impact v=(m1*u1+m2*u2)/(m1+m2) //m/s //Calculating the loss of kinetic energy during impact EL=m1*m2/(2*(m1+m2))*(u1-u2)^2 //N-m //When the impact is elastic //Calculating the velocity of the first sphere immediately after impact v1=2*v-u1 //m/s //Calculating the velocity of the second sphere immediately after impact v2=2*v-u2 //m/s //Calculating the loss of kinetic energy EL1=0 //When the coefficient of restitution, e=0.6 e=0.6 //Calculating the velocity of the first sphere immediately after impact v12=(1+e)*v-e*u1 //m/s //Calculating the velocity of the second sphere immediately after impact v22=(1+e)*v-e*u2 //m/s //Calculating the loss of kinetic energy EL2=m1*m2/(2*(m1+m2))*(u1-u2)^2*(1-e^2) //N-m //Results: printf("\n\n The common velocity after impact when the impact is inelastic, v = %.1f m/s.\n",v) printf(" The loss of kinetic energy during impact, EL = %.2f N-m.\n",EL) printf(" The velocity of the first sphere immediately after impact when the impact is elastic, v1 = %d m/s.\n",v1) printf(" The velocity of the second sphere immediately after impact, v2 = %.1f m/s.\n",v2) printf(" The loss of kinetic energy, EL = %d.\n",EL1) printf(" The velocity of the first sphere immediately after impact When the coefficient of restitution is 0.6, v1 = %.1f m/s.\n",v12) printf(" The velocity of the second sphere immediately after impact, v2 = %.1f m/s.\n",v22) printf(" The loss of kinetic energy during impactm EL = %d N-m.\n\n",EL2)
518211ea1cc26ec43f623a833eba9857abd4ece1
a7d0b3c5e708525143e896070b7eaa1c9cc2482a
/Optimisation_Algorihtms/admopt.sci
504e46f12d42d34c0c3ba53df81d1af5d9bf5105
[]
no_license
dhruvchadha2212/Adam-Optimiser-Project
5a5e7e98bdbbf2dca6e98a6c1efc3f9a5bf233b4
dde54107824681870689870038c6e1711fe496a8
refs/heads/master
2021-05-16T09:15:34.812553
2017-12-19T01:48:50
2017-12-19T01:48:50
104,381,984
0
2
null
2022-12-23T01:22:39
2017-09-21T18:08:21
Scilab
UTF-8
Scilab
false
false
935
sci
admopt.sci
function f=funcx(x) f=(1.5-x(1)+x(1)*x(2))^2+(2.25-x(1)+x(1)*x(2)^2)^2+(2.625-x(1)+x(1)*(x(2)^3))^2; endfunction function g=grad(x) g=[2*((1.5-x(1)+x(1)*x(2))*(-1+x(2))+(2.25-x(1)+x(1)*x(2)^2)*(-1+x(2)^2)+(2.625-x(1)+x(1)*(x(2)^3))*(-1+x(2)^3)),2*((1.5-x(1)+x(1)*x(2))*x(1)+(2.25-x(1)+x(1)*x(2)^2)*(2*x(1)*x(2))+(2.625-x(1)+x(1)*(x(2)^3))*(3*x(1)*x(2)^2))]; endfunction xprev=[-10,-5]; xnew=[4,4]; beta1=.9; beta2=.99; alpha=.01; t=0; mprev=0; vprev=0; prev=0.00000001; counter=0 while(abs(funcx(xnew)-funcx(xprev))>0.000000001) counter=counter+1; xprev=xnew; t=t+1; g=grad(xprev); mnew=beta1*mprev+(1-beta1)*g; // disp(g); vnew=beta2*vprev+(1-beta2)*(g*g'); mcorr=mnew/(1-(beta1^t)); vcorr=vnew/(1-(beta2^t)); xnew=xprev-alpha*mcorr/(sqrt(vcorr)+prev); vprev=vnew; mprev=mnew; end; printf("%d\n",counter); printf("%2.6f\n",funcx(xprev));
991a0f5448f24f773ebf2f92309bf66c3d2514a9
449d555969bfd7befe906877abab098c6e63a0e8
/317/CH19/EX19.2/example2.sce
2e1e31339fe75a4a01dbd8ed44acda5f64d2a275
[]
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
658
sce
example2.sce
// find closed-loop input impedance // Electronic Principles // By Albert Malvino , David Bates // Seventh Edition // The McGraw-Hill Companies // Example 19-2, page 713 clear; clc; close; // Given data R1=10^2;// in ohms from the given figure Rf=3.9*10^3;// in ohms from the given figure Avol=10^5;// Avol of 741C Rin=2*10^6;// in ohms Rcm=200*10^6;// in ohms // Calculations B=R1/(R1+Rf);// feedback fraction zincl=(1+(Avol*B))*Rin;// closed-loop input impedance in ohms // as zincl>100 Mega ohms zincl=Rcm*zincl/(zincl+Rcm) disp("ohms",zincl,"closed-loop input impedance=") // Result // closed-loop input impedance is 192 Mohms
e0c2bae4bf3fdd2251df1cfe7980132654c28bc1
449d555969bfd7befe906877abab098c6e63a0e8
/14/CH3/EX3.6/example_3_6.sce
bbc2d6341231ab76a01ae2991731540913e0c4ee
[]
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,048
sce
example_3_6.sce
//Chapter 3 //Example 3.6 //ParallelCircuit //Page 63 clear;clc; //Example 3.6 //Given f = 60;//in Hz //From Table A.1 D_s = 0.0229 //in ft //Distances from given figure 3.15 d_a_c = 18;d_c_a = d_a_c;d_b_b = 21; d = 10;//distance between conductors d_a_b = sqrt(d^2 + (d_b_b - 19.5)^2); d_a_b1 = sqrt(d^2 + (d_b_b - 1.5)^2); d_aa1_actual = sqrt((d * 2)^2 + d_a_c^2); d_bb1_actual = d_b_b; d_cc1_actual = d_aa1_actual; d_aa1_pos = sqrt(d_aa1_actual * D_s); d_bb1_pos = sqrt(d_bb1_actual * D_s); d_cc1_pos = sqrt(d_cc1_actual * D_s) //GMD's between phases D_p_ab = ((d_a_b * d_a_b1)^(2*1/4));//in ft D_p_bc = D_p_ab; D_p_ca = (((d*2) * d_c_a)^(2*1/4));//in ft D_eq = (D_p_ab * D_p_bc * D_p_ca)^(1/3);//in ft printf("\n\n Equivalent GMD = %.1f ft \n\n",D_eq) //GMR D_p_s = (d_aa1_pos * d_bb1_pos * d_cc1_pos)^(1/3); printf("\n\n GMR = %.3f ft \n\n",D_p_s) //Inductance L = 2e-7 * log(D_eq / D_p_s); X_L = 2 * %pi * f * L * 1609;//multiplication by 1609 is to convert to ohm/mi printf("\n\n The Inductive reactance = %.3f ohm/mi/phase \n\n",X_L)
dfef104f1e5ad3cceafb8b1aa6dde8a0eb405aa4
99b4e2e61348ee847a78faf6eee6d345fde36028
/Toolbox Test/phasez/phasez1.sce
4580f17d325c2f15beb7ab02659e1286fb28caf7
[]
no_license
deecube/fosseetesting
ce66f691121021fa2f3474497397cded9d57658c
e353f1c03b0c0ef43abf44873e5e477b6adb6c7e
refs/heads/master
2021-01-20T11:34:43.535019
2016-09-27T05:12:48
2016-09-27T05:12:48
59,456,386
0
0
null
null
null
null
UTF-8
Scilab
false
false
585
sce
phasez1.sce
// i/p args b,a,n are passed to the function b=[1 2 3 5 6 7 9]; a=[2 3 4 5 7 8 9]; n=10; [phi,w] = phasez(b,a,n); disp(phi); disp(w); //output //!--error 117 //List element number 1 is Undefined. //at line 69 of function phasez called by : //[phi,w] = phasez(b,a,n); // //matlab o/p //phi = // // 0 // -0.0694 // -0.1091 // 0.0465 // -0.0340 // -0.3081 // -0.1998 // -0.0518 // -0.0082 // 0.2421 // //>> w // //w = // // 0 // 0.3142 // 0.6283 // 0.9425 // 1.2566 // 1.5708 // 1.8850 // 2.1991 // 2.5133 // 2.8274
b3d32df189feec870e9ae33bb75344c2e3295599
449d555969bfd7befe906877abab098c6e63a0e8
/3407/CH2/EX2.4/Ex2_4.sce
ee02d06e229ecf803c4f6bd02191345dd2d12ad3
[]
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
431
sce
Ex2_4.sce
clear all; clc; funcprot(0); //given data AR = 1.8;//Area ratio cp = 0.6;//coefficient of pressure N_R1 = 7.85; //calculations Theta = 2*(180/%pi)*atan((AR^0.5 - 1)/(N_R1));//included cone angle cpi = 1-(1/(AR^2)); Diff_eff = cp/cpi;//diffuser efficeincy //Results printf('The included cone angle can be found = %.1f deg.\n',Theta); printf('cpi = %.2f.\n',cpi); printf('Diffuser efficiency = %.2f.',Diff_eff);
911e444dd518e2715474b22e32292496acc2dd4c
449d555969bfd7befe906877abab098c6e63a0e8
/698/CH17/EX17.1/P1_tangential_and_separating_force.sce
f489c7f96acb1c538de44ba0ec1d82eecbbdbe15
[]
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
779
sce
P1_tangential_and_separating_force.sce
clc //Example 17.1 //Tangential and separating force //------------------------------------------------------------------------------ //Given data //Torque Mt=200 //Nm //Dimensions of gears dp=0.1 //m (pinion) rp=dp/2 dg=0.25 //m (gear) rg=dg/2 //Pressure angle phi=20 //degrees res1=mopen(TMPDIR+'1_tangential_and_separating_force.txt','wt') mfprintf(res1,'Tangential force Ft=Mt/rp\n') Ft=Mt/rp mfprintf(res1,'\tFt=%d N\n\n',Ft) Fr=Ft* tand(phi) mfprintf(res1,'Separating force Fr=Ft*tan(phi)\n\tFr=%d N\n\n',Fr) mclose(res1) editor(TMPDIR+'1_tangential_and_separating_force.txt') //------------------------------------------------------------------------------ //-----------------------------End of program-----------------------------------
fab36be2306a02cf37fafab5cd308230c75b046d
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.0/macros/elem/asin.sci
5e9024cab13bf35a1e820cfcd6da82c1752eedcc
[ "MIT", "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
493
sci
asin.sci
function [t]=asin(x) //Syntax : [t]=asin(x) // //Sine-inverse of x //Entries of vector x must be in [-1,+1] //Entries of t are in ]-pi/2,pi/2[ x ]-inf,+inf[ // -pi/2 x [0,+inf] and pi/2 x ]-inf,0] (real x imag) // //! if type(x)<>1 then error(53),end [m,n]=size(x) if m<>n then t=-%i*log(%i*x+sqrt(ones(m,n)-x.*x)) else t=-%i*log(%i*x+sqrt(eye-x*x)) end if m=n then if m*n>1 then return,end,end if norm(imag(x))=0 then if maxi(abs(x))<=1 then t=real(t);end;end
d2dd16a64da2beefa14ee6b1868cfb771922957d
449d555969bfd7befe906877abab098c6e63a0e8
/3673/CH5/EX5.a.13/Example_a_5_13.sce
61349db583826afc2c10767663a260aadbe1f5de
[]
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
208
sce
Example_a_5_13.sce
//Example_a_5_13 page no:214 clc; Vm=15; Im=8.5; omega=200; R=Vm/(Im*sqrt(2)); C=1/(omega*R); disp(R,"the resistance in the circuit is (in ohm)"); disp(C,"the capacitance in the circuit is (in F)");
9ba11aed0c5cfb0004ae364a9d286f990e29e184
449d555969bfd7befe906877abab098c6e63a0e8
/1133/CH8/EX8.23/Example8_23.sce
aa2f09cd74a6e0291053a5af9fdc0be1157041dd
[]
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
530
sce
Example8_23.sce
//Example 8.23 clc disp("Internal structure of 7490 ripple counter IC is as shown in fig. 8.50") disp("") disp("We know that, one IC can work as mod-10 (BCD) counter. Therefore, we need two ICs. The counter will go through states 0-19 and should be reset on state 20. i.e.") disp(" QD QC QB QA QD QC QB QA") disp(" 0 0 1 0 0 0 0 0") disp(" 7490(2) 7490(1)") disp("") disp("The diagram of divide-by-20 counter using IC 7490 is as shown in fig.8.51")
c039c89a02fe380aa5b71cc5ec8d70a39ee3933d
5c808b0f55fefd29b91c7cb73f2f3a08093c5033
/Code/Scilab Code/executeFxnsForEnvironment.sce
ecffa2a60f0fad1810a41c2f7fdf79dc6dea6310
[]
no_license
JOfTheAncientGermanSpear/Filter-Bank-Guitar-Note-Chord-Detection
a01e2ce521561dfea555a588d6bb1e0f1deca18e
cb0d54c74275a990dcb984c4ec349e6ca4e72a1a
refs/heads/master
2021-01-20T12:00:42.472605
2013-06-14T03:04:33
2013-06-14T03:04:33
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,273
sce
executeFxnsForEnvironment.sce
exec('AllStagesNoteEnergies.sci', -1) exec('LoadAudioSample.sci', -1) exec('CalcNoteFiltersEnergies.sci', -1) exec('Calc3NoteToSignalRatios.sci', -1) exec('CoeffsToHz.sci', -1) exec('Convert2DIndexTo1D.sci', -1) exec('PrepAudioForProcessing.sci', -1) exec('CreateChord.sci', -1) exec('StageFilter.sci', -1) exec('DownSample.sci', -1) exec('ViewFilterResponseCoeffs.sci', -1) exec('FalseNegsForAudioSamples.sci', -1) exec('plzrCoeffs.sci', -1) exec('FalsePosRateAudioSamples.sci', -1) exec('FltrErrorRateVsTime.sci', -1) exec('GenUnitImpulse.sci', -1) exec('GenWave.sci', -1) exec('GetFreqAtStageAndNote.sci', -1) exec('GetNoteIndexCoefficients.sci', -1) exec('GetStageFilterCoeffs.sci', -1) exec('HasNote.sci', -1) exec('CalcSignalRMS.sci', -1) exec('NormalizeRMSFromStage.sci', -1) exec('LoadChordSample.sci', -1) exec('HasNotes.sci', -1) exec('HasChord.sci', -1) exec('AudioHasChord.sci', -1) exec('AudioHasChordByName.sci', -1) exec('GetChordStagesAndNotes.sci', -1) exec('FalseNegsForChordSamples.sci', -1) exec('FalsePosRateChordSamples.sci', -1) exec('GetChordNames.sci', -1) exec('RunningVar.sci', -1) exec('RunningAvg.sci', -1) exec('RunningAvgAndVar.sci', -1) exec('WeightedAvg.sci', -1) exec('NoteToSignalRMSEachAudio.sci', -1)
802633aad3ac1e613d9630e9ade61b57ccda3d84
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.3.1/macros/percent/%spasp.sci
77717db67856aae3e1df9e9ca5536e7628a21ca3
[ "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
261
sci
%spasp.sci
function s=%spasp(a,b) // %spas - adds 2 sparse matrices (special cases) //! if size(a)==[1 1] then a=full(a) if a==0 then s=b, else s=full(b)+a end elseif size(b)==[1 1] then b=full(b) if b==0 then s=a else s=b+full(a) end end
cf81b68cfcdf4152eefd447f46b1706cd3d2bec4
449d555969bfd7befe906877abab098c6e63a0e8
/3819/CH3/EX3.1/Ex3_1.sce
24159e2e08534a6040da80e11406020f41926ead
[]
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
744
sce
Ex3_1.sce
// A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal // Chapter 3-Hydrostatic Forces on surfaces // Problem 3.1 //Data given in the Problenm w=2 d=3 dens=1000 g=9.81 //Calculations //Upper edge coincides with water surface A=w*d H=d/2 F=dens*g*A*H I_G=w*d^3/12 //MOI about the CG of the area of the surface h=I_G/(A*H)+H mprintf("The position of COP when Upper edge coincides with water surface is %fm\n",h) mprintf( "And the Pressure on the area is %f N \n",F) //Upper edge is 2.5m below water surface H=d/w+2.5 F=dens*g*H*A h=I_G/(A*H)+H mprintf("The position of COP when Upper edge is 2.5m belowh water surface is %f m\n",h) mprintf( "And the Pressure on the area is %f N \n",F)
ad00084c927400e1b146a80e13a11693c2fbe127
b59f38fb8e181f5a207854c050b30c5175333276
/simulateMultiple.sci
19ab85b6eea4d542468e6fdf54c0580aca864bb2
[ "MIT" ]
permissive
Matii96/sand-simulation
da9ce8a6de5b50a606af4781f1e011096a8cc2f5
e2ef4e63b7425cf8e15c414a4b497630ba844db9
refs/heads/master
2020-12-10T18:55:58.231143
2020-01-19T12:51:29
2020-01-19T12:51:29
233,679,584
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,427
sci
simulateMultiple.sci
getd('./functions'); xdel(winsid()); exec setCases.sci; // Prepare arrays for multiple asynchronous simulations state = zeros(30, 30); state(1:10,:) = 1; blockadeChances = [.4 .35 .3 .25 .2 .15 .1 .05 .02]; states = []; iterations = zeros(1, length(blockadeChances)); noChange = zeros(1, length(blockadeChances)); for i = 1:length(blockadeChances) states(:,:,i) = state; end // Prepare subplot size rows = floor(sqrt(length(blockadeChances))); cols = ceil(length(blockadeChances) / rows); shift = 0; while 1 for simulationIdx = 1:length(blockadeChances) if noChange(simulationIdx) >= 3 continue; end newState = Evolve(states(:,:,simulationIdx), shift, blockadeChances(simulationIdx)); iterations(simulationIdx) = iterations(simulationIdx) + 1; if isequal(newState, states(:,:,simulationIdx)) ended(simulationIdx) = 1; noChange(simulationIdx) = noChange(simulationIdx) + 1; continue; end states(:,:,simulationIdx) = newState; end shift = 1 - shift; // Draw all results at the same time for simulationIdx = 1:length(blockadeChances) subplot(rows, cols, simulationIdx); Draw(states(:,:,simulationIdx)); end // Check for script end if min(noChange) == 3 break; end //sleep(10); end for simulationIdx = 1:length(iterations) sprintf('%d iterations for %.3f blockade chance', iterations(simulationIdx), blockadeChances(simulationIdx)) end
e8eb01c66244a50d7f512abbe95ff07694947b51
449d555969bfd7befe906877abab098c6e63a0e8
/149/CH26/EX26.3/ques3.sce
f2755fdc4b51deb44f67333ba08ef16fd0ec39d9
[]
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
264
sce
ques3.sce
//ques3 syms c1 c2 c3 disp('Cumulative function is given by E^3-2*E^2-5*E+6 =0 '); E=poly(0,'E'); f=E^3-2*E^2-5*E+6; r=roots(f); disp(r); disp('There for the complete solution is :'); un=c1*(r(1))^n+c2*(r(2))^n+c3*(r(3))^n; disp('un='); disp(un);
4103f96cd16ce619534613ec83edc9e9664bccbb
449d555969bfd7befe906877abab098c6e63a0e8
/3020/CH16/EX16.5/ex16_5.sce
309de36878bd30a58babe55bda533621595c1c34
[]
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
ex16_5.sce
clc; clear all; r = 1.54e-8; // Resistivity of silver in ohm per meter E = 100; // Electric field along wire in v/m cc = 5.8e28; // Carrier concentration of electron per cubic meter e = 1.6e-19; // Charge of an electron u = 1/(r*cc*e);// Mobility of electron vd = u*E;// Drift velocity disp('m^2/(V.s)',u,'The mobility of electron is') disp('m/s',vd,'Drift velocity is')
f084804670172b6b9145b9149080f114e467bca9
0c7d100cb0cf4ca584a252d56aef57d8692e87bd
/Automatique/TP3/TP.sce
e090e06ec7cf660816d35d8478124980b60b4921
[]
no_license
MacBootglass/insa
1957913df94ce0742e19ec400e258fec032a3619
612acee69e8195f3202aede45fede79fabf47d01
refs/heads/master
2021-01-10T22:36:39.551539
2017-04-26T09:23:02
2017-04-26T09:23:02
54,901,623
0
0
null
null
null
null
UTF-8
Scilab
false
false
4,956
sce
TP.sce
clear; clc(); xdel(winsid()); //----------------------------------------------------------------------------// //Paramètres------------------------------------------------------------------// //----------------------------------------------------------------------------// m = 0.9; f0 = 30; w0 = 2*%pi*f0; K0 = 0.8; p = %s; t1 = (0:1/(w0*10):10/w0) //----------------------------------------------------------------------------// //Partie 1--------------------------------------------------------------------// //----------------------------------------------------------------------------// //Calculs H = K0 / (1 + 2*m*(p/w0) + (p^2)/(w0^2)); sys1 = syslin('c', H); y1 = csim('step', t1, sys1); tReponse1 = max([t1(max(find(y1>=(1.05*K0)))), t1(max(find(y1<=(0.95*K0))))]); tMontee1 = t1(min(find(y1>=0.9*max(y1))))- t1(max(find(y1<=0.1*max(y1)))); tMontee1Bis = t1(min(find(y1>=K0))); depassement1 = ((max(y1)-K0)/K0)*100; //Affichage figure(1); title("Réponse indicielle de H(p)"); xlabel("Temps (s)"); ylabel("amplit1ude"); plot2d(t1, y1'); disp("---PARTIE 1---"); disp(tReponse1, "Temps de réponse en seconde pour laquelle le signal ne dépasse plus 5% de sa valeur finale: "); disp(tMontee1, "Temps de montée en seconde (passage de 10% à 90% de la valeur finale):"); disp(tMontee1Bis, "Temps de montée en seconde (temps pour atteindre la valeur finale):"); disp(depassement1, "Dépassement en pourcentage:") //----------------------------------------------------------------------------// //Partie 3--------------------------------------------------------------------// //----------------------------------------------------------------------------// //Calculs mBF = 0.6; wBF = 1384 ; Kp = ((wBF/w0)^2-1)/K0; K = Kp * K0; KBF = K / (1+K); HBOC = Kp * H; t2 = (0:1/(wBF*10):60/wBF); HBF = HBOC / (HBOC + 1); sys2 = syslin('c', HBF); sys3 = syslin('c', HBOC); y2 = csim('step', t2, sys2); tReponse2 = max([t2(max(find(y2>=(1.05*KBF)))), t2(max(find(y2<=(0.95*KBF))))]); tMontee2 = t2(min(find(y2>=0.9*max(y2))))- t2(max(find(y2<=0.1*max(y2)))); tMontee2Bis = t2(min(find(y2>=KBF))); depassement2 = ((max(y2)-KBF)/KBF)*100; [phase,freqCoupure] = p_margin(sys3); wc0 = 2 * %pi * freqCoupure; [gain,ph]=dbphi(repfreq(sys3,freqCoupure)); margePhase = ph + 180; //Affichage disp("---PARTIE 3---"); figure(2); title("Réponse indicielle de HBF(p)"); xlabel("Temps (s)"); ylabel("amplit1ude"); plot2d(t2, y2'); disp(Kp, "Kp :"); disp(tReponse2, "Temps de réponse en seconde pour laquelle le signal ne dépasse plus 5% de sa valeur finale: "); disp(tMontee2, "Temps de montée en seconde (passage de 10% à 90% de la valeur finale):"); disp(tMontee2Bis, "Temps de montée en seconde (temps pour atteindre la valeur finale):"); disp(depassement2, "Dépassement en pourcentage:") figure(3); bode(sys3, 0.1, 100000); title('Diagramme de Bode de HBOC'); xlabel('fréquence'); ylabel('gain'); disp(margePhase,'Marge de phase :'); disp(wc0,'wc0 :'); disp(freqCoupure,'Fréquence de coupure:'); //----------------------------------------------------------------------------// //Partie 4--------------------------------------------------------------------// //----------------------------------------------------------------------------// //Calculs phiMax = (60 - margePhase) * %pi / 180; a = (1 + sin(phiMax))/(1 - sin(phiMax)); Kp2 = 1/sqrt(a); T = 1/(freqCoupure * 2 * %pi * sqrt(a)); C = Kp2 * (1 + a*T*p) / (1 + T*p); HBOC2 = H * C * Kp; HBFC2 = HBOC2 / (HBOC2 + 1); KBFC2 = (K0*Kp*Kp2)/(1+K0*Kp*Kp2); t4 = (0:1/(wBF*10):20/wBF); sys4 = syslin('c', HBFC2); sys5 = syslin('c', HBOC2); y4 = csim('step', t4, sys4) [phase2,freqCoupure2] = p_margin(sys5); wc02 = 2 * %pi * freqCoupure2; [gain2,ph2]=dbphi(repfreq(sys5,freqCoupure2)); margePhase2 = ph2 + 180; tReponse4 = max([t4(max(find(y4>=(1.05*max(y4))))), t4(max(find(y4<=(0.95*max(y4)))))]); tMontee4 = t4(min(find(y4>=0.9*max(y4)))) - t4(max(find(y4<=0.1*max(y4)))); tMontee4Bis = t4(min(find(y4>=KBFC2))); depassement4 = ((max(y4)-KBFC2)/KBFC2)*100; //Affichage figure(4); title("Réponse indicielle de HBFC2(p)"); xlabel("Temps (s)"); ylabel("amplit1ude"); plot2d(t4, y4'); figure(5) bode(sys5, 0.1, 100000); title('Diagramme de Bode de HBOC2'); xlabel('fréquence'); ylabel('gain'); figure(6) black(sys5, 0.1, 100000); title('Diagramme de Black de HBOC2'); xlabel('fréquence'); ylabel('gain'); disp("---PARTIE 4---"); disp(phiMax, "phiMax :"); disp(a, "a :"); disp(Kp2, "Kp2 :"); disp(T, "T :"); disp(margePhase2,'Marge de phase :'); disp(wc02,'wc0 :'); disp(freqCoupure2,'Fréquence de coupure:'); disp(tReponse4, "Temps de réponse en seconde pour laquelle le signal ne dépasse plus 5% de sa valeur finale: "); disp(tMontee4, "Temps de montée en seconde (passage de 10% à 90% de la valeur finale):"); disp(tMontee4Bis, "Temps de montée en seconde (temps pour atteindre la valeur finale):"); disp(depassement4, "Dépassement en pourcentage:");
a5000e40efcb1ab5664d5ed0d731275aa5d20baf
449d555969bfd7befe906877abab098c6e63a0e8
/3835/CH4/EX4.20/Ex4_20.sce
206174e7bc57d3801ed28e15c720177a98eb7ec1
[]
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
226
sce
Ex4_20.sce
clear // r=100 c=50*10**-6 f=50 v=230 //case a xc=-1/(314*c) //314 is omega ir=v/r //with angle 0 ic=230/(xc) //with angle of 90 deg i=((ir**2)+(ic**2))**0.5 printf("\n current with a lead of 57.5 is obtained as= %0.1f A",i)
952c2771ec978c3f412d662f68f5c0e1d1c70b8b
449d555969bfd7befe906877abab098c6e63a0e8
/1445/CH1/EX1.16/ch1_ex_16.sce
f56a73cc7811d02730b6636f821d92b259852557
[]
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
846
sce
ch1_ex_16.sce
//CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS //Example 16 disp("CHAPTER 1"); disp("EXAMPLE 16"); //VARIABLE INITIALIZATION v=7; //voltage source in Volts I=7; //current source in Amperes r1=1; //in Ohms r2=2; //in Ohms r3=1; //in Ohms r4=2; //in Ohms r5=3; //in Ohms //SOLUTION //(4)vb+(-1)vc=0........eq (1) //(-2)vb+(11)vc=21......eq (2) //solving the equations by matrix method A=[4 -1;-2 11]; b=[0;21]; x=inv(A)*b; vb=x(1,:); //to access the 1st element of 2X1 matrix vc=x(2,:); //to access the 2nd element of 2X1 matrix vx=-vc; disp(sprintf("By Nodal analysis, the value of V_x is %d V",vx)); //END
4c814cf5cd3da9bf607ffa427dcd6e1a5c9cdd9c
449d555969bfd7befe906877abab098c6e63a0e8
/1553/CH4/EX4.19/4Ex19.sce
853ade7ee85f9d3fa686540693098f7c31bbcb16
[]
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
268
sce
4Ex19.sce
//chapter 4 Ex 19 clc; clear; close; Length=(7*12+9); //converting into inches Length_part=Length/3; Length_part_ft=Length_part/12; Length_part_in=modulo(Length_part,12); printf("The length of each part is %d ft %d inches",Length_part_ft,Length_part_in);
4547b18137f6954870dbf0282b6b1c2bcc979309
449d555969bfd7befe906877abab098c6e63a0e8
/2840/CH13/EX13.2/ex13_2.sce
c7794290bce42f6203f4e35fd2dedb438798f8db
[]
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
325
sce
ex13_2.sce
clc; clear all; X=2*1e-3;//magnetic suseptibility of material at room temp. H=1e3;//magnetic field intrnsity of piece of ferricoxide u0=4*%pi*1e-7; M=X*H;//magnetization disp('A/m',M,'magnetization is='); ur=X+1;//relative permiability B=u0*ur*H;//magnetic flux density disp('W/m^2',B,'magnetic flux density is=');
54e10a4617c9a27e10c01f9dab8783811629fb27
1b969fbb81566edd3ef2887c98b61d98b380afd4
/Rez/bivariate-lcmsr-post_mi/bfas_ac_mvi/~BivLCM-SR-bfas_ac_mvi-PLin-VLin.tst
d1dff449873e449883274c1aba10c60f6c132abf
[]
no_license
psdlab/life-in-time-values-and-personality
35fbf5bbe4edd54b429a934caf289fbb0edfefee
7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e
refs/heads/master
2020-03-24T22:08:27.964205
2019-03-04T17:03:26
2019-03-04T17:03:26
143,070,821
1
0
null
null
null
null
UTF-8
Scilab
false
false
11,974
tst
~BivLCM-SR-bfas_ac_mvi-PLin-VLin.tst
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM. ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 1 2 3 4 5 ________ ________ ________ ________ ________ 1 0.264179D+00 2 -0.409811D-02 0.224920D-02 3 0.638398D-01 -0.966638D-03 0.670033D-01 4 -0.974154D-03 0.492556D-03 -0.925572D-03 0.533375D-03 5 -0.206410D-03 0.197726D-03 0.293038D-03 0.102958D-03 0.261002D-02 6 -0.690932D-03 0.216677D-03 0.186321D-03 0.517697D-04 -0.410807D-03 7 0.852604D-04 0.124510D-04 -0.302575D-03 0.272852D-04 0.133473D-03 8 -0.143088D-02 0.138671D-03 -0.355114D-03 -0.199708D-04 -0.463478D-04 9 -0.536430D+00 0.286440D-01 -0.204984D+00 0.755392D-02 -0.671494D-02 10 -0.412601D+00 0.141235D-02 -0.987259D-01 0.674432D-02 0.104455D+00 11 -0.159681D+00 0.102319D-01 -0.107684D+00 0.411198D-02 -0.139284D-01 12 -0.109946D+00 0.540495D-02 -0.645581D-01 0.540960D-02 -0.206508D-02 13 -0.248825D-01 0.512184D-02 -0.897295D-02 0.176066D-02 0.544664D-02 14 -0.526736D-01 0.453063D-02 0.235162D-02 -0.387654D-04 0.102998D-02 15 -0.241454D+01 0.935769D-01 -0.385582D+00 0.126100D-01 -0.391036D-01 16 0.452286D-01 -0.154776D-01 0.883701D-02 -0.198563D-02 0.819421D-03 17 -0.686173D-02 -0.640443D-03 -0.139976D-02 -0.195461D-03 -0.912755D-03 18 -0.321107D+00 0.190559D-01 -0.198846D-01 0.638636D-02 -0.161760D-02 19 0.106702D-01 -0.495869D-02 0.332795D-01 -0.170318D-03 0.351344D-02 20 0.247499D-02 0.134451D-01 0.150470D+00 -0.437443D-04 0.197550D-03 21 0.708978D-02 -0.682766D-03 -0.225398D-01 -0.149865D-02 -0.433865D-02 22 -0.201087D-02 -0.203053D-03 -0.113979D-02 -0.797644D-04 -0.141000D-03 23 0.451945D-02 -0.809074D-03 0.295611D-02 -0.361354D-03 -0.549962D-04 24 -0.109857D-02 -0.106881D-03 -0.118395D-02 -0.238709D-04 -0.576588D-04 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 6 7 8 9 10 ________ ________ ________ ________ ________ 6 0.627392D-02 7 0.559143D-03 0.406064D-03 8 0.745384D-03 -0.174266D-03 0.244187D-02 9 -0.437659D-01 -0.100313D-01 0.884609D-02 0.461037D+02 10 0.467201D-01 0.999816D-02 0.107118D-01 -0.361197D+00 0.148267D+02 11 0.292335D-01 0.425403D-02 0.702972D-02 0.780184D+01 0.130366D+01 12 0.162589D-01 0.623153D-03 0.211644D-01 0.275791D+01 0.119585D+01 13 0.518105D-01 0.123665D-01 0.628209D-02 -0.431927D+00 0.129994D+01 14 0.130557D-01 0.745385D-03 0.249632D-01 0.287764D+00 0.446318D+00 15 0.946151D-02 -0.207620D-02 0.446522D-01 0.445686D+01 -0.908516D+01 16 -0.673313D-02 0.815384D-03 -0.356202D-02 0.388443D+00 0.325287D-01 17 0.117006D-03 -0.789361D-04 0.100584D-03 -0.127643D+00 0.516455D-01 18 -0.508640D-01 -0.928778D-02 0.726100D-02 0.652205D+00 -0.302267D+01 19 -0.150344D-01 0.291179D-03 -0.727288D-02 -0.623061D+00 -0.248905D+00 20 0.557768D-03 -0.256439D-02 -0.159716D-01 0.654695D+00 -0.703808D+00 21 0.138251D-01 -0.329109D-03 0.856924D-02 0.603786D+00 0.155281D+00 22 -0.181678D-03 -0.401132D-04 -0.139137D-03 -0.643064D-02 0.163267D-01 23 -0.644321D-04 -0.972768D-04 0.163066D-03 0.231973D-01 -0.418892D-01 24 -0.132991D-03 0.659244D-05 -0.832602D-04 -0.565634D-03 0.451473D-02 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 11 12 13 14 15 ________ ________ ________ ________ ________ 11 0.680164D+01 12 0.270756D+01 0.321844D+01 13 0.214305D+00 0.239522D+00 0.156517D+01 14 0.125030D+00 0.991333D-01 0.393741D+00 0.104806D+01 15 -0.117812D+01 -0.463655D+00 0.486870D+00 0.125555D+01 0.248703D+03 16 0.218877D-01 -0.197774D-01 -0.785143D-01 -0.466831D-01 0.156275D+01 17 0.955729D-02 0.913481D-02 -0.366018D-02 -0.357170D-02 -0.128485D+01 18 0.101622D+00 -0.167829D+00 -0.773052D+00 0.168299D-01 0.566195D+02 19 -0.553394D+00 -0.310588D+00 -0.129340D+00 -0.782676D-01 0.600212D+00 20 0.123134D+00 0.729251D-01 -0.308061D+00 -0.394403D+00 0.136462D+02 21 0.520791D+00 0.256951D+00 0.110207D+00 0.116205D+00 0.846638D+00 22 0.301384D-03 0.268757D-02 -0.254748D-02 -0.388772D-02 -0.330107D+00 23 -0.175386D-01 -0.126601D-01 -0.114627D-01 0.694714D-02 0.274865D+00 24 0.802655D-03 -0.172870D-02 0.509890D-03 -0.135674D-02 -0.847689D-01 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 16 17 18 19 20 ________ ________ ________ ________ ________ 16 0.510522D+00 17 -0.409252D-01 0.170782D-01 18 0.568404D+00 -0.323451D+00 0.347452D+02 19 0.179011D+00 -0.139395D-01 0.573140D-01 0.708897D+00 20 0.200228D+00 -0.914457D-01 0.130159D+02 0.170608D+00 0.128987D+02 21 -0.158365D-01 -0.255343D-02 0.739886D+00 -0.621341D+00 0.551947D-01 22 -0.712858D-02 0.356250D-02 -0.184192D+00 -0.365052D-02 -0.670899D-01 23 0.225211D-01 -0.333055D-02 0.153719D+00 0.180896D-01 0.120173D+00 24 -0.253160D-02 0.961462D-03 -0.688534D-01 -0.272047D-02 -0.624862D-01 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 21 22 23 24 ________ ________ ________ ________ 21 0.767968D+00 22 -0.861785D-02 0.203305D-02 23 0.264177D-01 -0.240364D-02 0.207424D-01 24 -0.166511D-02 0.750998D-03 -0.198939D-02 0.659020D-03 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 1 2 3 4 5 ________ ________ ________ ________ ________ 1 1.000 2 -0.168 1.000 3 0.480 -0.079 1.000 4 -0.082 0.450 -0.155 1.000 5 -0.008 0.082 0.022 0.087 1.000 6 -0.017 0.058 0.009 0.028 -0.102 7 0.008 0.013 -0.058 0.059 0.130 8 -0.056 0.059 -0.028 -0.017 -0.018 9 -0.154 0.089 -0.117 0.048 -0.019 10 -0.208 0.008 -0.099 0.076 0.531 11 -0.119 0.083 -0.160 0.068 -0.105 12 -0.119 0.064 -0.139 0.131 -0.023 13 -0.039 0.086 -0.028 0.061 0.085 14 -0.100 0.093 0.009 -0.002 0.020 15 -0.298 0.125 -0.094 0.035 -0.049 16 0.123 -0.457 0.048 -0.120 0.022 17 -0.102 -0.103 -0.041 -0.065 -0.137 18 -0.106 0.068 -0.013 0.047 -0.005 19 0.025 -0.124 0.153 -0.009 0.082 20 0.001 0.079 0.162 -0.001 0.001 21 0.016 -0.016 -0.099 -0.074 -0.097 22 -0.087 -0.095 -0.098 -0.077 -0.061 23 0.061 -0.118 0.079 -0.109 -0.007 24 -0.083 -0.088 -0.178 -0.040 -0.044 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 6 7 8 9 10 ________ ________ ________ ________ ________ 6 1.000 7 0.350 1.000 8 0.190 -0.175 1.000 9 -0.081 -0.073 0.026 1.000 10 0.153 0.129 0.056 -0.014 1.000 11 0.142 0.081 0.055 0.441 0.130 12 0.114 0.017 0.239 0.226 0.173 13 0.523 0.491 0.102 -0.051 0.270 14 0.161 0.036 0.493 0.041 0.113 15 0.008 -0.007 0.057 0.042 -0.150 16 -0.119 0.057 -0.101 0.080 0.012 17 0.011 -0.030 0.016 -0.144 0.103 18 -0.109 -0.078 0.025 0.016 -0.133 19 -0.225 0.017 -0.175 -0.109 -0.077 20 0.002 -0.035 -0.090 0.027 -0.051 21 0.199 -0.019 0.198 0.101 0.046 22 -0.051 -0.044 -0.062 -0.021 0.094 23 -0.006 -0.034 0.023 0.024 -0.076 24 -0.065 0.013 -0.066 -0.003 0.046 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 11 12 13 14 15 ________ ________ ________ ________ ________ 11 1.000 12 0.579 1.000 13 0.066 0.107 1.000 14 0.047 0.054 0.307 1.000 15 -0.029 -0.016 0.025 0.078 1.000 16 0.012 -0.015 -0.088 -0.064 0.139 17 0.028 0.039 -0.022 -0.027 -0.623 18 0.007 -0.016 -0.105 0.003 0.609 19 -0.252 -0.206 -0.123 -0.091 0.045 20 0.013 0.011 -0.069 -0.107 0.241 21 0.228 0.163 0.101 0.130 0.061 22 0.003 0.033 -0.045 -0.084 -0.464 23 -0.047 -0.049 -0.064 0.047 0.121 24 0.012 -0.038 0.016 -0.052 -0.209 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 16 17 18 19 20 ________ ________ ________ ________ ________ 16 1.000 17 -0.438 1.000 18 0.135 -0.420 1.000 19 0.298 -0.127 0.012 1.000 20 0.078 -0.195 0.615 0.056 1.000 21 -0.025 -0.022 0.143 -0.842 0.018 22 -0.221 0.605 -0.693 -0.096 -0.414 23 0.219 -0.177 0.181 0.149 0.232 24 -0.138 0.287 -0.455 -0.126 -0.678 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 21 22 23 24 ________ ________ ________ ________ 21 1.000 22 -0.218 1.000 23 0.209 -0.370 1.000 24 -0.074 0.649 -0.538 1.000
1784b659636ee7440bf12eb423d6af198b387c0f
527c41bcbfe7e4743e0e8897b058eaaf206558c7
/Positive_Negative_test/Netezza-Base-HypothesisTesting/FLtTest1S-NZ-01.tst
b74d4e26b571d0ea9168e164142925179a4da4be
[]
no_license
kamleshm/intern_fuzzy
c2dd079bf08bede6bca79af898036d7a538ab4e2
aaef3c9dc9edf3759ef0b981597746d411d05d34
refs/heads/master
2021-01-23T06:25:46.162332
2017-07-12T07:12:25
2017-07-12T07:12:25
93,021,923
0
0
null
null
null
null
UTF-8
Scilab
false
false
6,573
tst
FLtTest1S-NZ-01.tst
-- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza -- -- Copyright (c): 2014 Fuzzy Logix, LLC -- -- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC. -- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC. -- and may be covered by U.S. and Foreign Patents, patents in process, and are protected by trade -- secret or copyright law. Dissemination of this information or reproduction of this material is -- strictly forbidden unless prior written permission is obtained from Fuzzy Logix, LLC. -- -- -- Functional Test Specifications: -- -- Test Category: Hypothesis Testing Functions -- -- Test Unit Number: FLtTest1S-NZ-01 -- -- Name(s): FLtTest1S -- -- Description: Performs One-sample Students-t test. It is used to determine if the -- population mean of the sample is significantly different from a given reference value. -- Applications: -- -- Signature: FLtTest1S(StatType VARCHAR(10), TestVal DOUBLE PRECISION, -- InVal DOUBLE PRECISION, NumTails BIGINT) -- -- Parameters: See Documentation -- -- Return value: Double Precision -- -- Last Updated: 01-14-2015 -- -- Author: <Joe.Fan@fuzzyl.com>, <Anurag.Reddy@fuzzyl.com> -- Kamlesh Meena -- BEGIN: TEST SCRIPT \time --.run file=../PulsarLogOn.sql ---- Table used for testing SELECT a.TestType, a.GroupID, COUNT(*) FROM tblHypoTest a GROUP BY a.TestType, GroupID ORDER BY 1, 2; CREATE TABLE tblHypoTestNew ( TestType VARCHAR(30), --CHARACTER SET LATIN NOT CASESPECIFIC, --implement this on Netezza. GroupID INTEGER, ObsID INTEGER, Num_Val FLOAT) DISTRIBUTE ON(OBSID); -- BEGIN: NEGATIVE TEST(s) ---- Validation of parameters -- Case 1a: --------------------------------------------------------------------------------------- ---- Try the test with invlaid values of first parameter like T_TEST, PROB, etc. --------------------------------------------------------------------------------------- SELECT a.GroupID, FLtTest1S('T_TEST', 1.0, a.Num_Val, 1) FROM tblHypoTest a WHERE a.TestType = 'tTest' GROUP BY a.GroupID; -- Result: Fuzzy Logix specific error message /* ERROR [HY000] ERROR: The first argument should be either the T_STAT or P_VALUE. */ -- Case 1b: SELECT a.GroupID, FLtTest1S('PROB', 1.0, a.Num_Val, 1) FROM tblHypoTest a WHERE a.TestType = 'tTest' GROUP BY a.GroupID; -- Result: Fuzzy Logix specific error message /* ERROR [HY000] ERROR: The first argument should be either the T_STAT or P_VALUE. */ -- Case 2a: --------------------------------------------------------------------------------------- ---- Try the test with NULL value for second parameters --------------------------------------------------------------------------------------- SELECT a.GroupID, FLtTest1S('T_STAT', NULL, a.Num_Val, 1) FROM tblHypoTest a WHERE a.TestType = 'tTest' GROUP BY a.GroupID; -- Result: Fuzzy Logix specific error message /* ERROR [HY000] ERROR: The second argument should be the value for which t-Test is to be performed. */ -- Case 3a: --------------------------------------------------------------------------------------- ---- Try the test with fourth parameter i.e., number of tails not 1 or 2. Values like -1, 0, 3 should be tried --------------------------------------------------------------------------------------- SELECT a.GroupID, FLtTest1S('T_STAT', 1.0, a.Num_Val, -1) FROM tblHypoTest a WHERE a.TestType = 'tTest' GROUP BY a.GroupID; -- Result: Fuzzy Logix specific error message /* ERROR [HY000] ERROR: The number of tails should be either 1 or 2. */ -- Case 3b: SELECT a.GroupID, FLtTest1S('T_STAT', 1.0, a.Num_Val, 0) FROM tblHypoTest a WHERE a.TestType = 'tTest' GROUP BY a.GroupID; -- Result: Fuzzy Logix specific error message /* ERROR [HY000] ERROR: The number of tails should be either 1 or 2. */ -- Case 3c: SELECT a.GroupID, FLtTest1S('T_STAT', 1.0, a.Num_Val, 3) FROM tblHypoTest a WHERE a.TestType = 'tTest' GROUP BY a.GroupID; -- Result: Fuzzy Logix specific error message /* ERROR [HY000] ERROR: The number of tails should be either 1 or 2. */ -- Case 4a: --------------------------------------------------------------------------------------- ---- Try the test with empty table --------------------------------------------------------------------------------------- SELECT a.GroupID, FLtTest1S('T_STAT', 1.0, a.Num_Val, 1) FROM tblHypoTestNew a WHERE a.TestType = 'tTest' GROUP BY a.GroupID; -- Result: no rows are returned -- Case 4b: --------------------------------------------------------------------------------------- ---- Try the test with all NULL values --------------------------------------------------------------------------------------- INSERT INTO tblHypoTestNew SELECT a.TestType, a.GroupID, a.ObsID, NULL FROM tblHypoTest a WHERE a.TestType = 'tTest'; SELECT a.GroupID, FLtTest1S('T_STAT', 1.0, a.Num_Val, 1) FROM tblHypoTestNew a WHERE a.TestType = 'tTest' GROUP BY a.GroupID; -- Result: returns value 5.7399657661151e-206, 5.4272742252909e-206 -- Case 5a: --------------------------------------------------------------------------------------- ---- Try the test with all values same for the third parameters i.e., standard deviation as 0 --------------------------------------------------------------------------------------- DELETE FROM tblHypoTestNew; -- Case 5b: INSERT INTO tblHypoTestNew SELECT a.TestType, a.GroupID, a.ObsID, 10 FROM tblHypoTest a WHERE a.TestType = 'tTest'; -- Case 5c: SELECT a.GroupID, FLtTest1S('T_STAT', 1.0, a.Num_Val, 1) FROM tblHypoTestNew a WHERE a.TestType = 'tTest' GROUP BY a.GroupID; -- Result: FLtTest1S return values 5.7399657661151e-206, 5.4272742252909e-206 -- Case 5d: SELECT a.GroupID, FLtTest1S('T_STAT', 1.0, a.Num_Val, 2) FROM tblHypoTestNew a WHERE a.TestType = 'tTest' GROUP BY a.GroupID; -- Result: FLtTest1S returns 5.7399657661151e-206, 5.4272742252909e-206 -- END: NEGATIVE TEST(s) -- BEGIN: POSITIVE TEST(s) -- Test with normal and extreme scale factor values SELECT a.GroupID, FLtTest1S('T_STAT', 1.0, a.Num_Val, 1), FLtTest1S('P_VALUE', 1.0, a.Num_Val, 1), FLtTest1S('T_STAT', 1.0, a.Num_Val, 2), FLtTest1S('P_VALUE', 1.0, a.Num_Val, 2) FROM tblHypoTest a WHERE a.TestType = 'tTest' GROUP BY a.GroupID; -- Result: standard outputs -- END: POSITIVE TEST(s) DROP TABLE tblHypoTestNew; \time -- END: TEST SCRIPT
a541ed155cc1b6e0a04a711dfd194b00bc8fc3f1
449d555969bfd7befe906877abab098c6e63a0e8
/275/CH3/EX3.3.15/Ch3_3_15.sce
3e46888f1b6387b189cae2dc562866978e5caa43
[]
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
446
sce
Ch3_3_15.sce
clc disp("Example 3.15") printf("\n") disp("Find the value of alpha & beta of transistor and Ib for desired Ic") printf("Given\n") Ic=1.2*10^-3 Ib=20*10^-6 //the value of beta beta=Ic/Ib //the value of alpha alpha=beta/(1+beta) //the value of Ib for desired value of Ic=5mA Ic1=5*10^-3 Ib1=Ic1/beta printf("beta \n%f\n",beta) printf("alpha \n%f\n",alpha) printf("base current when collector current is 5mA is \n%f ampere\n",Ib1)
6ac41dd7c88aee72979dc9af5ab22f7aafe5cbea
449d555969bfd7befe906877abab098c6e63a0e8
/1646/CH5/EX5.37/Ch05Ex37.sce
a3dfa3c478968f6f7314d566f3f574e05c1c2a70
[]
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
846
sce
Ch05Ex37.sce
// Scilab Code Ex5.37: Page:315 (2011) clc;clear; // Function to convert degrees to deg-min function [d,m] = deg2degmin(deg) d = int(deg); m = (deg-d)*60; endfunction lambda = 7.62e-07;....// Wavelength of the polarized light, m mu_R = 1.53914; // Refractive index of quartz for right-handed circularly polarized light mu_L = 1.53920; // Refractive index of quartz for left-handed circularly polarized light t = 5.0e-004;....// Thickness of the plate, m theta = %pi*t*(mu_L-mu_R)/lambda; // The angle of optical rotation, radian [d,m] = deg2degmin(theta*180/%pi); // Call the conversion function printf("\nThe angle of rotation produced by its plate = %6.4f radians = %d degrees %d minutes", theta, d, m); // Result // The angle of rotation produced by its plate = 0.1237 radians = 7 degrees 5 minutes
41d56a90e3573db849074624c7f7d62870f5396e
449d555969bfd7befe906877abab098c6e63a0e8
/1964/CH15/EX15.17/ex15_17.sce
43e13e9580391926393568c3ace0d71b960063f9
[]
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
625
sce
ex15_17.sce
//Chapter-15, Example 15.17, Page 513 //============================================================================= clc clear //CALCULATIONS disp('((((A+C''))''(BD''))''.((A+C'').(BD''))'')''')//------>step 1 disp('((A+C'')+((BD'')'').((A+C)''+(BD'')''))''')//------>step 2 disp('((A+C'')+(BD'')'').((A+C'')''+(BD'')'')''')//------>step 3 disp('((BD'')''+((A+C'')((A+C''))'')''')//------>step 4 disp('(BD'')'')''')//------>step 5 disp('BD''')//------>step 6 //=================================END OF PROGRAM=======================================================================================================
ea6bd49b1c0b648d140dbc2648a70875149b1576
449d555969bfd7befe906877abab098c6e63a0e8
/671/CH5/EX5.18/5_18.sce
30d01fd7dbcc4c4ef9360cb176d85c3467087696
[]
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
137
sce
5_18.sce
V=100 R=10 L=2E-3 C=200E-6 w0=1/sqrt(L*C) Xl=w0*L*%i Xc=1/(w0*C*%i) I=V/R Vl=I*Xl Vc=I*Xc Vlc=Vl+Vc disp(Vlc,Vc,Vl,I,w0)
d882a00b70c93a996459265be9784f781a443bac
1b969fbb81566edd3ef2887c98b61d98b380afd4
/Rez/bivariate-lcmsr-post_mi/bfi_n_bfa_mt_d/~BivLCM-SR-bfi_n_bfa_mt_d-PLin-VLin.tst
1b2f450ef57401d7920eb79a6224ad34a81bd286
[]
no_license
psdlab/life-in-time-values-and-personality
35fbf5bbe4edd54b429a934caf289fbb0edfefee
7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e
refs/heads/master
2020-03-24T22:08:27.964205
2019-03-04T17:03:26
2019-03-04T17:03:26
143,070,821
1
0
null
null
null
null
UTF-8
Scilab
false
false
11,974
tst
~BivLCM-SR-bfi_n_bfa_mt_d-PLin-VLin.tst
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM. ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 1 2 3 4 5 ________ ________ ________ ________ ________ 1 0.484529D+00 2 -0.706877D-02 0.386609D-02 3 0.704056D-01 -0.143149D-02 0.434715D+00 4 -0.126665D-02 0.616450D-03 -0.569978D-02 0.378049D-02 5 -0.825746D-03 0.132375D-03 -0.230465D-02 0.956583D-04 0.230641D-02 6 0.100818D-03 0.108693D-04 -0.219401D-03 0.127255D-03 -0.142561D-03 7 -0.925434D-03 0.772211D-04 -0.579255D-03 0.107032D-03 0.598431D-04 8 0.141849D-04 0.633713D-04 -0.456721D-03 0.348644D-04 0.286303D-04 9 -0.755789D+00 -0.494257D-02 -0.961158D+00 0.244428D-01 0.407867D-01 10 -0.219478D-01 0.125836D-01 -0.901997D-01 0.115394D-01 0.164306D+00 11 -0.208289D-01 0.568340D-02 0.218675D+00 -0.184538D-01 -0.305377D-01 12 0.595278D+00 -0.312151D-01 0.669048D+00 0.224097D-01 -0.243061D-02 13 -0.152919D-01 0.383403D-02 -0.147607D+00 0.131179D-01 0.351749D-02 14 0.101761D+00 0.163090D-01 0.111960D+00 0.235471D-02 -0.180318D-01 15 -0.431719D+00 0.405115D-01 -0.126151D+01 -0.226092D-01 -0.993867D-01 16 0.604004D-01 -0.119412D-02 -0.218726D-01 -0.816752D-03 -0.836155D-03 17 0.805377D-03 0.600740D-03 0.835453D-02 0.199963D-03 -0.552411D-03 18 -0.151729D+01 -0.186560D-01 -0.513110D+00 -0.167204D-01 0.512141D-01 19 -0.330068D-01 0.804215D-03 -0.271227D-02 0.105703D-01 0.584466D-02 20 -0.632078D+00 -0.102139D-01 0.166211D+01 0.564372D-02 -0.321790D-01 21 -0.123609D-01 -0.131838D-02 0.218870D-01 -0.915728D-02 -0.452332D-02 22 0.838766D-02 0.141167D-03 0.444002D-02 0.542004D-03 -0.247734D-03 23 0.163423D-01 0.276487D-02 -0.218040D-01 0.115119D-01 0.158334D-02 24 0.297306D-02 0.374147D-03 0.356178D-02 -0.396593D-03 -0.220413D-03 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 6 7 8 9 10 ________ ________ ________ ________ ________ 6 0.838033D-03 7 0.727977D-03 0.270601D-02 8 0.193546D-03 -0.505177D-03 0.303140D-02 9 -0.379709D-02 0.621275D-02 0.344562D-01 0.127347D+03 10 -0.427066D-02 0.178959D-01 -0.189752D-01 0.341768D+01 0.326953D+02 11 -0.350357D-02 0.424932D-01 -0.331112D-01 0.157077D+02 -0.212886D+01 12 0.291898D-01 -0.226201D-01 0.909589D-01 0.205588D+01 0.225983D+01 13 0.748779D-01 0.120852D+00 0.987430D-02 0.194632D+01 0.163901D+01 14 0.273570D-01 -0.630764D-01 0.378646D+00 0.552314D+01 0.204043D+00 15 0.202533D-02 0.415709D-02 0.107687D+00 -0.286893D+01 -0.199906D+02 16 -0.151421D-03 0.305496D-02 -0.203569D-02 0.147862D+01 -0.261184D+00 17 -0.785572D-04 -0.651117D-03 -0.782857D-04 -0.263733D+00 -0.476177D-01 18 -0.333132D-01 -0.440425D-01 0.376481D-01 0.973735D+01 -0.144728D+01 19 -0.617142D-02 0.150532D-01 -0.101866D-01 -0.181850D+01 -0.146490D+01 20 -0.328204D-01 0.352084D-01 -0.335377D+00 0.722717D+01 0.105856D+02 21 0.718658D-02 -0.131202D-01 0.143901D-01 0.347203D+01 0.766258D+00 22 -0.187675D-03 -0.384603D-03 -0.579494D-03 -0.115655D+00 0.134798D-01 23 -0.335894D-03 0.989885D-03 -0.633145D-03 -0.414272D+00 0.134974D-01 24 -0.803050D-04 -0.199731D-03 0.243122D-03 0.621294D-01 -0.577824D-01 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 11 12 13 14 15 ________ ________ ________ ________ ________ 11 0.589229D+02 12 0.712135D+01 0.166407D+03 13 -0.272640D+01 0.377621D+01 0.216511D+02 14 -0.457734D+01 0.106576D+02 0.298512D+01 0.110004D+03 15 0.794219D+01 0.102703D+02 0.429687D+01 0.104952D+02 0.551710D+03 16 0.148448D+00 -0.518772D-01 0.215339D-01 -0.412154D+00 0.414410D+01 17 -0.433111D-01 -0.449228D-01 -0.645038D-01 -0.121090D-01 -0.259490D+01 18 -0.481197D+00 0.142041D+02 -0.247682D+01 -0.551283D+01 0.591610D+02 19 -0.205710D+01 -0.372586D+01 0.456381D+00 -0.266744D+00 0.365442D+01 20 0.213865D+02 -0.266761D+02 -0.709032D+01 -0.702898D+02 0.302310D+02 21 0.246399D+01 0.383878D+01 -0.441720D+00 0.748899D+00 -0.292713D+01 22 -0.501431D-01 -0.971194D-01 -0.406714D-01 -0.701135D-01 -0.769413D-01 23 0.831867D+00 0.119714D+01 -0.455563D-01 -0.311318D+00 -0.852924D-01 24 -0.128868D+00 -0.127815D+00 0.804372D-02 -0.186738D-01 -0.184004D+00 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 16 17 18 19 20 ________ ________ ________ ________ ________ 16 0.804420D+00 17 -0.644204D-01 0.274056D-01 18 0.897014D+00 -0.187656D+00 0.357892D+03 19 0.453265D-01 -0.116046D-01 -0.855898D+00 0.845691D+01 20 0.343346D+00 -0.241917D+00 0.623466D+02 -0.829644D+01 0.560224D+03 21 0.210157D+00 -0.294627D-02 0.714403D+01 -0.763084D+01 0.852802D+01 22 -0.946298D-02 0.105452D-02 -0.171762D+01 -0.316194D-01 -0.182821D+00 23 0.626937D-01 -0.293884D-02 -0.149617D+00 -0.348924D+00 0.616336D+01 24 -0.145690D-02 0.268136D-02 -0.773606D-01 0.585793D-01 -0.250116D+01 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 21 22 23 24 ________ ________ ________ ________ 21 0.924138D+01 22 -0.696884D-01 0.190930D-01 23 0.651751D+00 -0.506581D-02 0.913238D+00 24 -0.694441D-01 0.225592D-02 -0.836086D-01 0.264744D-01 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 1 2 3 4 5 ________ ________ ________ ________ ________ 1 1.000 2 -0.163 1.000 3 0.153 -0.035 1.000 4 -0.030 0.161 -0.141 1.000 5 -0.025 0.044 -0.073 0.032 1.000 6 0.005 0.006 -0.011 0.071 -0.103 7 -0.026 0.024 -0.017 0.033 0.024 8 0.000 0.019 -0.013 0.010 0.011 9 -0.096 -0.007 -0.129 0.035 0.075 10 -0.006 0.035 -0.024 0.033 0.598 11 -0.004 0.012 0.043 -0.039 -0.083 12 0.066 -0.039 0.079 0.028 -0.004 13 -0.005 0.013 -0.048 0.046 0.016 14 0.014 0.025 0.016 0.004 -0.036 15 -0.026 0.028 -0.081 -0.016 -0.088 16 0.097 -0.021 -0.037 -0.015 -0.019 17 0.007 0.058 0.077 0.020 -0.069 18 -0.115 -0.016 -0.041 -0.014 0.056 19 -0.016 0.004 -0.001 0.059 0.042 20 -0.038 -0.007 0.107 0.004 -0.028 21 -0.006 -0.007 0.011 -0.049 -0.031 22 0.087 0.016 0.049 0.064 -0.037 23 0.025 0.047 -0.035 0.196 0.034 24 0.026 0.037 0.033 -0.040 -0.028 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 6 7 8 9 10 ________ ________ ________ ________ ________ 6 1.000 7 0.483 1.000 8 0.121 -0.176 1.000 9 -0.012 0.011 0.055 1.000 10 -0.026 0.060 -0.060 0.053 1.000 11 -0.016 0.106 -0.078 0.181 -0.049 12 0.078 -0.034 0.128 0.014 0.031 13 0.556 0.499 0.039 0.037 0.062 14 0.090 -0.116 0.656 0.047 0.003 15 0.003 0.003 0.083 -0.011 -0.149 16 -0.006 0.065 -0.041 0.146 -0.051 17 -0.016 -0.076 -0.009 -0.141 -0.050 18 -0.061 -0.045 0.036 0.046 -0.013 19 -0.073 0.100 -0.064 -0.055 -0.088 20 -0.048 0.029 -0.257 0.027 0.078 21 0.082 -0.083 0.086 0.101 0.044 22 -0.047 -0.054 -0.076 -0.074 0.017 23 -0.012 0.020 -0.012 -0.038 0.002 24 -0.017 -0.024 0.027 0.034 -0.062 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 11 12 13 14 15 ________ ________ ________ ________ ________ 11 1.000 12 0.072 1.000 13 -0.076 0.063 1.000 14 -0.057 0.079 0.061 1.000 15 0.044 0.034 0.039 0.043 1.000 16 0.022 -0.004 0.005 -0.044 0.197 17 -0.034 -0.021 -0.084 -0.007 -0.667 18 -0.003 0.058 -0.028 -0.028 0.133 19 -0.092 -0.099 0.034 -0.009 0.054 20 0.118 -0.087 -0.064 -0.283 0.054 21 0.106 0.098 -0.031 0.023 -0.041 22 -0.047 -0.054 -0.063 -0.048 -0.024 23 0.113 0.097 -0.010 -0.031 -0.004 24 -0.103 -0.061 0.011 -0.011 -0.048 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 16 17 18 19 20 ________ ________ ________ ________ ________ 16 1.000 17 -0.434 1.000 18 0.053 -0.060 1.000 19 0.017 -0.024 -0.016 1.000 20 0.016 -0.062 0.139 -0.121 1.000 21 0.077 -0.006 0.124 -0.863 0.119 22 -0.076 0.046 -0.657 -0.079 -0.056 23 0.073 -0.019 -0.008 -0.126 0.272 24 -0.010 0.100 -0.025 0.124 -0.649 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 21 22 23 24 ________ ________ ________ ________ 21 1.000 22 -0.166 1.000 23 0.224 -0.038 1.000 24 -0.140 0.100 -0.538 1.000
19eb52d49a7082db8139e5c604770c8c93771958
6e8df5b4cc6a12833566b3b67b0160d1937be025
/Multimorphic_testing_data_code/code/scilab/OpenCV/scripts/scilab/v2/script_eval_bin_influence.sci
ae750179167973655459358d84526ad36d484989
[]
no_license
templep/TSE_MM_test
2b2cc79b9e6d46a80bf692227f367438adeca3f3
4d3c08489c182b77418fc5d4e55377d5b68e8334
refs/heads/master
2020-03-22T22:01:12.897309
2019-06-13T07:50:42
2019-06-13T07:50:42
140,728,734
0
0
null
null
null
null
UTF-8
Scilab
false
false
5,669
sci
script_eval_bin_influence.sci
//a function to create histograms needed to compute dispersion scores //it also computates associate dispersion scores to videos //scores and histograms are stored in the given file //inputs : // - path : the path to the folder where data are // - filename : the file name containing are (csv format with ';' separating columns) // - idx_col : index of column containing measures of properties of interest //outputs : // all_histogram : all histogram put together // nb_rows : number of executions for a video function [all_histogram,nb_rows] = prepare_data(path,filename,idx_col) //read all data all_data = csvRead(path+filename,",",".","string"); all_data(find(all_data(:,1)=="[all]: [all]"),:) = []; all_data = normalize_and_fill(all_data,idx_col); //retrieve number of histogram to create unique_text_file = unique(all_data(:,1)); nb_rows = size(unique_text_file,1); //max nb of bins to show max_nb_bins=(size(all_data,1)/nb_rows)*4; all_disp_scores = []; //for each video, retrieve corresponding lines in data, compute histogram and score, save in a matrix for(i=1:nb_rows) //retrieve lines of interest rows = all_data(find(all_data(:,1) == unique_text_file(i)),:); //compute histogram and score meas = compute_metric(rows,idx_col,max_nb_bins); all_disp_scores=[all_disp_scores;meas]; end //create the figure mini = min(all_disp_scores,"r"); maxi = max(all_disp_scores,"r"); if(size(mini) ~= size(maxi)) disp("size mini: "+string(size(mini))); disp("size maxi: "+string(size(maxi))); error("the size of mini and maxi are different"); end if(prod(size(mini)) ~= max_nb_bins) disp("size mini: "+string(size(mini,1))+" "+string(size(mini,2))); disp("size maxi: "+string(size(maxi,1))+" "+string(size(maxi,2))); disp("expected size: "+string(max_nb_bins)) error("mini and maxi are not of the expected size") end //plot2d(mini); //plot2d(maxi); x=[1:size(mini,2)]; disp(size(x)); disp(size(mini)); disp(size(maxi)); plot2d(x',[mini' maxi'],style=[color("blue"),color("green")],rect=[0,0,size(mini,2),1]); legends(['min disp. score';'max disp. score'],[color("blue"),color("green")],opt="ur") //plot2d(maxi,"b"); all_histogram=[]; endfunction //a function to normalize and take care of missing values //the normalization is in [0;1], //missing values are replaced with '0' (at worst will add a bin) //each column are treated separately in turn and replace previous values //inputs : // - data : all data that will be processed (even columns which are not of interest) // - idx_col : indexes of columns of interest //outputs : // - d : matrix with all columns but columns are interest are normalized and missing value are replaced function d=normalize_and_fill(data,idx_col) //copy before replacing needed columns d = data; //for each column of interest, check if no value miss and if normalize in [0;1] for i = 1:prod(size(idx_col)) //consider specific column c = data(:,idx_col(i)); //remove possible"-nan" replacing them by '0' perf_red = c; perf_red(find(c == "-nan"))='0'; ////normalize //find columns which are not between [0;1] //normalize columns temp=strtod(perf_red); if(find(temp > 1 | temp < 0) ~= []) ma = max(temp); mi = min(temp); temp = (temp-mi)/(ma-mi); end //replace column with possible changes // d=d'; // d(idx_col(i),:) = temp'; // d=d'; d(:,idx_col(i)) = string(temp); end //disp(size(d)); endfunction // computes the histogram of observations and associated dispersion score // the dispersion score is computed as follows: disp(S) = (#bin of histogram ~= 0 / # of programs) // which is the ratio of activated bins to the number of programs to execute // inputs : // - m : a matrix containing observations to build histogram and dispersion score // - idx_col : index of columns of interest containing observations to take into account // outputs : // - measure : the computed dispersion score based on observations // - hist : histogram associated to the dispersion score function measures=compute_metric(m,idx_col,max_nb_bins) measure=[]; //retrieve right data -> column(s)) perf=m(:,idx_col); //convert to double d=strtod(perf); measures = []; ////prepare histogram //number of bins for nb_bins = 1:max_nb_bins cf =[]; ind=[]; //for each column to process for i = 1:size(idx_col,2) //compute histogram between 0 and 1 [tmp_cf,tmp_ind] = histc([0:nb_bins]/nb_bins,d(:,i)); //add to final histogram and frequencies cf = [cf,tmp_cf']; ind=[ind,tmp_ind]; end //finalize dispersion score and convert to string measure = size(unique(ind,'r'),1); measure = measure/nb_bins; measures=[measures,measure] end //nb_bins = size(perf,1); //measure = string(measure); //histogram also converted to string //hist = string(cf); endfunction //observations of interest //index for precision cols= [9]; //index for recall //cols= [10]; //index for composite //cols= [11,12,13]; //number of observations nb_col = prod(size(cols)); histograms = prepare_data("../../../../../../data/OpenCV/","all_data.csv",cols);
f5b655a4f8e60d2ce46220f0cde9a857e0d07584
48d313982e11468e3406524c01f1cba2700a2db5
/Calcul numeric/ResurseTemaCalculNumeric/New folder/ExFct/eq2.sci
f8a23a109cc57faac44c3bb4ffef9804e6c4d0d7
[]
no_license
albanionut/University
b8e918a192c131647099c57e1b2caa231de98d6d
b3d3dfe3cf64d0cddfaeb570151adf7d4c9ad0b7
refs/heads/master
2021-07-13T11:31:29.880681
2020-10-10T15:07:00
2020-10-10T15:07:00
214,223,943
0
0
null
null
null
null
UTF-8
Scilab
false
false
234
sci
eq2.sci
function [u,v]=eq2(a,b) delta=a*a-4*b if delta>=0 u=0.5*(-a+sqrt(delta)) v=0.5*(-a-sqrt(delta)) disp('Real roots') else u=-a/2 v=sqrt(-delta) disp('Complex conjugate roots') end endfunction
90a27a10fa3114e89c4a3a2c20f1f80ab941ccc1
25938fdd57f60ee5725a949bc87d6afd3cc4fe24
/Practica6/Practica6.sci
17781a173e05c3a265b4a5d627ca28d61dab14ef
[]
no_license
Joaquin98/Metodos
a3df61366647a7c02a81bb0467befdcbbedb9426
5b30532431c111ca453f9d6b37ffa377616ba6a5
refs/heads/master
2020-04-04T05:13:27.646770
2018-12-07T12:25:43
2018-12-07T12:25:43
155,738,528
0
0
null
null
null
null
UTF-8
Scilab
false
false
3,744
sci
Practica6.sci
// poly([A],"x") -> Retorna el polinomio carcaterístico. // det(lambda*I - A) = p(lambda) Polinomio característico. // roots(p) -> Raices del polinomio. // spec(A) -> Autovalores de la matriz. function gerschgorin(A) n = size(A,1)//Cambie size(A,'r') para version 5.5.2 scilab for i = 1:n suma = 0 for j = 1:n if(j<>i) then suma = suma + abs(A(i,j)) end end printf("| lambda - %0.2f | <= %0.2f \n",A(i,i),suma) //| lambda - (Centro) | <= (Radio) end endfunction function r = radio_espectral(A) r = max(abs(spec(A))) endfunction function l = potencia_autovalor(A,z0,it) n = length(z0) for i = 1:it w = A*z0 z1 = w/norm(w,%inf) z0 = z1 end k = 1 for i = 2:n if( abs(w(i)) > abs(w(k))) k = i end end l = w(k) / z0(k) endfunction function v = potencia_autovector(A,z0,it) n = length(z0) for i = 1:it w = A*z0 z1 = w/norm(w,%inf) z0 = z1 end v = z0 endfunction function l = potencia_autovalor_dif(A,z0,it) n = length(z0) for i = 1:it w = A*z0 z1 = w/norm(w,%inf) z0 = z1 k = 1 printf("Iteracion %d :\n",i) for i = 2:n if( abs(w(i)) > abs(w(k))) k = i end end l = w(k) / z0(k) disp(abs(radio_espectral(A)-l)) end endfunction // Ejercicio 1 // a = [1,0,0;-1,0,1;-1,-1,2] // b = [1,0,0;-0.1,0,0.1;-0.1,-0.1,2] // c = [1,0,0;-0.25,0,0.25;-0.25,-0.25,2] // d = [4,-1,0;-1,4,-1;-1,-1,4] // e = [3,2,1;2,3,0;1,0,3] // f = [4.75,2.25,-0.25;2.25,4.75,1.25;-0.25,1.25,4.75] // // printf("Matriz a: \n") // gerschgorin(a) // printf("Autovalores:") // disp(spec(a)') // printf("Matriz b: \n") // gerschgorin(b) // printf("Autovalores:") // disp(spec(b)') // printf("Matriz c: \n") // gerschgorin(c) // printf("Autovalores:") // disp(spec(c)') // printf("Matriz d: \n") // gerschgorin(d) // printf("Autovalores:") // disp(spec(d)') // printf("Matriz e: \n") // gerschgorin(e) // printf("Autovalores:") // disp(spec(e)') // printf("Matriz f: \n") // gerschgorin(f) // printf("Autovalores:") // disp(spec(f)') // Ejercicio 2 // Teórico // Ejercicio 3 // A = [1,-1,0;-2,4,-2;0,-1,1] // // function ej3(A) // e = 0.1 // for i = 0:10 // A(3,3) = A(3,3) + e // printf("\n\n\nPolinomio característico de la matriz %d:",i) // p = poly([A],"x") // disp(p) // printf("Raices:") // disp(gsort(roots(p))) // printf("Autovalores:") // disp(gsort(spec(A))) // end // endfunction // // ej3(A) // Ejercicio 4 // A1=[6,4,4,1;4,6,1,4;4,1,6,4;1,4,4,6] // A2=[12,1,3,4;1,-3,1,5;3,1,6,-2;4,5,-2,-1] // // // printf("Matriz A1:\n\n") // printf("Potencia:") // l = potencia_autovalor(A1,[2211,1321,321,21]',100) // disp(l) // printf("Scilab:") // disp(radio_espectral(A1)) // printf("A1*v:") // v = potencia_autovector(A1,[2211,1321,321,21]',100) // disp(A1*v) // printf("lambda * v:") // disp(l*v) // // printf("\n\nMatriz A2:\n\n") // printf("Potencia:") // l = potencia_autovalor(A2,[2211,1321,321,21]',100) // disp(l) // printf("Scilab:") // disp(radio_espectral(A2)) // printf("A2*v:") // v = potencia_autovector(A2,[2211,1321,321,21]',100) // disp(A2*v) // printf("lambda * v:") // disp(l*v) // // potencia_autovalor_dif(A1,[5,3,12,122]',10)
b97103ddc022e9d85a0586452e8ff7f9b5156aff
449d555969bfd7befe906877abab098c6e63a0e8
/296/CH1/EX1.2/eg1_2.sce
a879d15c8c4b98fee4a89e55e5a3861ca398b94a
[]
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
649
sce
eg1_2.sce
disp("The plane illustrated in Fig. 1-5 has intercepts at 2a, 4b and lc along the three crystal axes. Taking the reciprocals of these intercepts, we get 1/4, 1/2,and 1. These three fractions have the same relationship to each other as the integers 2,1, and 4 (obtained by multiplying each fraction by 4).Thus the plane can be referred to as a (214) plane. The only exception is if the intercept is a fraction of the lattice constant a. In that case, we do not reduce it to the lowest set of integers.") x = 0:0.05:2; y = 0:0.1:4; a=2; b=4; c=1; deff('[z]=fs(x,y)','z = (1-(0.5*x)-(0.25*y))'); //z = (1-(0.5*x)-(0.25*y)); fplot3d(x,y,fs);
1326703556007ed924e0d4fad7ef3845d9fe7e2e
449d555969bfd7befe906877abab098c6e63a0e8
/2939/CH5/EX5.8/Ex5_8.sce
c5a6136ead3b4ae79da43e3af118ce5f91422142
[]
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
161
sce
Ex5_8.sce
// Ex5_8 clc; // Given: Q1=1.2; M1=14; m1=4; // Solution: E1=Q1*((m1+M1)/M1); printf("The threshold energy is %f in MeV for O(17) reaction",E1)
dbf2a82911ecbeef0ed8fa9371b0b9fe581350f6
449d555969bfd7befe906877abab098c6e63a0e8
/710/CH6/EX6.4/6_4.sci
0f07d215c9d463dc89412e51808b69345d3cfef1
[]
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
283
sci
6_4.sci
clc(); clear; //To compare the intensities of ordinary & extraordinary light //IE=A^2(cos^2(teta));IO=A^2(sin^2(teta)) //I0/IE=tan^2(teta) teta=40; //angle made between incident beam & optic axis a=tand(40)^2 //I0/IE printf("I0/IE=%f",a);
90f446eae889bbf9e16b86dcaa4c9c4b8c34c1f4
449d555969bfd7befe906877abab098c6e63a0e8
/1187/CH2/EX2.5/5.sce
95c96b8bd204eb6ba76eff74e60c71103a6c70ff
[]
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
375
sce
5.sce
clc m=10; // kg M=80; // kg OG=0.8333; // m rho=1026; // kg/m^3 g=9.81; // m/s^2 d=1; // m W=(m+M)*g; // W(OG) = (W + F)(OB + BM) = rho*g*%pi/4*d^2*h1*(h1/2+d^2/(16*h1)) h1=sqrt(2*(W*OG/(rho*g*%pi/4*d^2) - d^2/16)); F=rho*g*%pi/4*d^2*h1 - W; disp("Least vertical downward force =") disp(F) disp("N") disp("Depth of immersion =") disp(h1) disp("m")
cc8ea40a9cd54ea98b103a254c53ac43446cd707
449d555969bfd7befe906877abab098c6e63a0e8
/2975/CH23/EX23.3w/Ex23_3w.sce
eb770f81ebd44d6256bc1facebb77e72e86f7a24
[]
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
447
sce
Ex23_3w.sce
//developed in windows 8 operating system 64bit //platform Scilab 5.4.1 //example 23_3w clc;clear; //Given Data p1=80; //Pressure of the gas in melting ice(Unit : cm) p2=160; //Pressure of the gas in a liquid (Unit : cm) t1=273.15; //Temperature of melting ice in (Unit : kelvin) // Calculation t2=(t1*p2)/p1; //Calculation os the temperatue of liquid (Unit: Kelvin) disp(t2,"The Temperature of liquid is(Unit: Kelvin)");
db962370747991e83e2f5ed6fa6132bb2e5e7073
449d555969bfd7befe906877abab098c6e63a0e8
/3733/CH4/EX4.14/Ex4_14.sce
89b9ac0f4d61943b2c545f3cec9c5e1ebcea99b3
[]
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
488
sce
Ex4_14.sce
//Example 4_14 clc;funcprot(0); //Given data p_a=755;// mm of Hg V_c=8;// m/sec V_d=3;// m/sec T_a=20;// °C g=9.81;// m/s^2 //Calculation // The minimum value of p_c corresponds to the saturation pressure of water vapour at 20°C. //From steam table, p_c=17.6;// mm of Hg h_f=0.0;// m p_b=760;// mm of Hg h=(((p_a-p_c)*13.6)/p_b)-((V_c^2)/(2*g))+(((V_d^2)/(2*g))+h_f);// m printf('\n The maximum possible height of the turbine,h=%0.1f meters above tailrace level.',h);
ab04b22e9f2110612cad21dcb7ce0ba892fffff0
449d555969bfd7befe906877abab098c6e63a0e8
/1472/CH17/EX17.3.b/17_3b.sce
eaa6adbbac44a00b13cc738cec3b37a8560d52ab
[]
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
581
sce
17_3b.sce
clc //initialization of variables h0=191.81 //B/lb Pr0=5.526 w=1 //lb/sec Pratio=0.53 k=1.4 T0=800 //R cp=0.24 P0=150 //psia P2=15 //psia Pt=79.5; //calculations Prt=Pratio*Pr0 disp("From keenan and kaye steam tables,") Pr=2.929 Tts=668 //R hts=159.9 //B/lb Vts=sqrt(2*32.2*778*(h0-hts)) vts=53.34*Tts/(Pt*144) at=w*vts/(Vts) Pr2=P2*Pr0/P0 T2s=415 //R h2s=99.13 //B/lb h2=110.25 //B/lb T2=462 //R V2=sqrt(2*32.2*778*(h0-h2)) v2=53.34*T2/(144*P2) a2=w*v2/V2 //results printf("Exit velocity = %d fps",Vts) printf("\n Throat area = %.5f ft^2",at) printf("\n Exit area = %.5f ft^2",a2)
f8cf5c700fb833941481d0fb5f93dbf509e6604d
ece5c630921508b439ed25c5f7ab3db5a66f7a1a
/Assignment6_Team8/FloatMultiplier16.tst
4517e6262895951bfbe55c264e8816bfd71386aa
[]
no_license
VedantS01/HDLProjectsCS2310
f8d17d1c9c28034a21026a4fbe2ae5d38cf39330
d2a39a4c062173475bd06ff0b3396f1ac6303103
refs/heads/main
2023-06-19T20:42:48.411561
2021-07-14T19:37:51
2021-07-14T19:37:51
386,054,022
0
0
null
null
null
null
UTF-8
Scilab
false
false
982
tst
FloatMultiplier16.tst
load FloatMultiplier16.hdl, output-file FloatMultiplier16.out, output-list x%X1.4.1 y%X1.4.1 out%X1.4.1; //both positive and mantissa product between 1.0 and 2.0 set x %X40a0, set y %X40c0, eval, output; //one positive one negative and mantissa product between 1.0 and 2.0 set x %X40c0, set y %Xc0a0, eval, output; //one negative one positive and mantissa product between 1.0 and 2.0 set x %Xc1a0, set y %X43c8, eval, output; //both negative and mantissa product between 1.0 and 2.0 set x %Xc3c8, set y %Xc1a0, eval, output; //both positive and mantissa product greater than 2.0 set x %X4260, set y %X4130, eval, output; //one positive one negative and mantissa product greater than 2.0 set x %X4130, set y %Xc260, eval, output; //one negative one positive and mantissa product greater than 2.0 set x %Xc0e0, set y %X40a0, eval, output; //both negative and mantissa product greater than 2.0 set x %Xc0a0, set y %Xc0e0, eval, output;
8108b9c6bdaf0b41bd07a1ed50b68045d024be39
4b1d4672fa994587ea62810e2f0c57b3a652f278
/CSpeech_Session2_SDL.sce
95a38d74ebe95894e5c980d348c34f7b3b2da68c
[ "Apache-2.0" ]
permissive
VCSchoots/Colour-Speech
57305d6c20875c52e130dabaf705773404e2aec8
df1d5f13c1bb944f918acafb3cc562e918ee3195
refs/heads/master
2021-07-02T00:47:58.475654
2019-03-04T19:51:39
2019-03-04T19:51:39
136,158,365
0
0
Apache-2.0
2018-09-12T10:15:08
2018-06-05T10:06:37
Scilab
UTF-8
Scilab
false
false
9,321
sce
CSpeech_Session2_SDL.sce
####### INITIATION ####### # Initiation of the scenario and the main PCL-file scenario = "CSpeech"; scenario_type = fMRI_emulation;# set to fMRI at the scanner! pcl_file = "CSpeech_Session1_MAIN.pcl"; pulse_code = 255; pulses_per_scan = 1; scan_period = 2000; write_codes = true; default_output_port = 1; # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # !! at the scanner, uncomment all lines with port_code (use search function) #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # the resolution of the screen/ adapt to fit projector screen_height = 768; screen_width = 1024; screen_bit_depth = 32; # keep SDL as simple as possible and stay clear of the parallel port response_matching = simple_matching; response_port_output = true; active_buttons = 4; button_codes = 1,2,3,4; # 1 = ENTER-exp-subj # 2 yes # 3 no # 4 SPACEBAR-exp # basic colours and fonts default_background_color = 82,82,82; # grey as in PPM, adjust to picture background default_font = "arial"; default_font_size = 20; default_text_color = 0,0,0; # black default_text_align = align_center; ######### BEGIN ########## begin; ########################## picture {} default; # blank screen picture { box { height = 3; width = 30; color = 0, 0, 0; } horz_s; x = 0; y = 0; box { height = 30; width = 3; color = 0, 0, 0; } vert_s; x = 0; y = 0; box { height = 3; width = 3; color = 255, 255, 255; } dot_s; x = 0; y = 0; } fixation; # fixation cross picture { text { caption = " "; } t_info1; x = 0; y = 50; text { caption = " "; } t_info2; x = 0; y = 0; text { caption = "Druk [ENTER] om door te gaan of [Esc] om te onderbreken. "; } t_info3; x = 0; y = -50; } p_info; # text picture { text { caption = "Wachten op de scanner... "; } t_countdown; x = 0; y = 0; } p_countdown; # countdown picture for when the scanner is collecting 30 volume-weighting volumes before the exp. starts. ######## GENERAL PICTURES ######## picture { text {caption = "Welkom bij dit experiment. De eerste taak duurt ongeveer drie kwartier (4 delen met 3x pauze), de tweede taak duurt ook ongeveer drie kwartier, en tot slot maken we een anatomische scan van tien minuten. Als eerste komt nu een kalibratie van de oogcamera. OK (wijsvinger) >"; } t_instruction_1; x = 0; y = 0; } p_welcome; picture { text { caption = "Deel 1: Plaatjes Benoemen Je krijgt een serie plaatjes te zien. Het is de bedoeling dat je stil (in je hoofd) de plaatjes benoemt (dus: als je een vleermuis ziet, zeg je in je hoofd 'vleermuis'). Af en toe komt er na het plaatje een stip in beeld. Terwijl die stip er staat, moet je het woord hardop uitspreken. We nemen je respons op, spreek s.v.p. luid en duidelijk. (wijsvinger) >"; } t_instruction_naming_1; x = 0; y = 0; } p_instr_naming; picture { text { caption = "Je krijgt nu eerst een oefenronde, zodat je kunt wennen aan de taak in de scanner. Het is tijdens het hele experiment BELANGRIJK DAT JE JE BLIK IN HET MIDDEN HOUDT, op het kruis of de stip, ook als het plaatje komt. De plaatjes in de oefenronde zijn andere dan in het experiment. (wijsvinger) >"; } t_traininginstr_1; x = 0; y = 0; } p_instr_training; picture { text { caption = "Wil je nog een ronde oefenen? Druk wijsvinger voor ja, middelvinger voor nee."; } t_training_1; x = 0; y = 0; } p_training; picture { text { caption = "Prima! Druk wijsvinger om door te gaan met het experiment."; } t_training_1b; x = 0; y = 0; } p_aftertraining; picture { text { caption = "Bedankt! Deel 1 is klaar. Druk wijsvinger om door te gaan naar de instructies voor het tweede (laatste) deel."; } t_end_part11; x = 0; y = 0; } p_end_part1; picture { text { caption = "Deel 2: Kleur benoemen Nu ga je dezelfde plaatjes bekijken, maar dit keer zeg je in jezelf de typische kleur van het object (bijv. 'zwart' voor vleermuis of 'wit' voor sneeuwpop). Als de stip in beeld is moet je hetzelfde hardop zeggen. (wijsvinger) >"; } t_instruction_judgement_1; x = 0; y = 0; } p_instr_judgement; picture { text { caption = "PAUZE"; } t_pause_1a; x = 0; y = 30; text { caption = "Je hebt nu pauze. Blijf stil liggen s.v.p.";}t_pause_1b; x = 0; y = 0; text { caption = "De proefleider zal zo verdergaan met [ENTER].";}t_pause_1c; x = 0; y = -30; } p_pauze; picture { text { caption = "Oogkalibratie? [SPATIE] ja, [ENTER] nee."; } t_eyeQuest; x=0; y=0; } p_eyeQuest; picture { text { caption = "Het experiment is nu afgelopen. Bedankt voor het meedoen! Wij drukken straks op [ENTER]. Dan volgt nog één oogkalibratie, en tot slot de anatomische scan (10 minuten)."; } t_end_1; x = 0; y = 0; } p_end_1; ###################### for the eyetracker calibration ############################ trial { #instructions trial_duration = 5000; stimulus_event { picture{ text { caption = "Kalibratie oogcamera In deze taak moet je je blik op het kruisje fixeren "; } introtext; x=0;y=0; } textpic; code = "instr_text"; }instr_event; }text_eyetr; trial { #Show focus point trial_duration = 2000; stimulus_event { picture { box {height = 3; width = 30; color = 250, 250, 250;}horizontal; x=0;y=0; box {height = 30; width = 3; color = 250, 250, 250;}vertical; x=0;y=0; }cross; code = "calibr_cross"; port_code = 15; # needs to be there at scanner!! (for proper log file eyetracker) } crossevent; }eyetrial; ######## STIMULI ######### ##### sound file(s) ###### sound { wavefile { filename = "WAV-files\\Beep.wav"; preload = true;} w_beep; } s_beep; sound_recording { duration = 5000; use_date_time = false; } recording; ####### array that preloads all the pictures before starting the experiment ######### array { bitmap { filename = "pictures\\bat1_.jpg"; }bat1; bitmap { filename = "pictures\\box1_.jpg"; }box1; bitmap { filename = "pictures\\cactus1_.jpg"; }cactus1; bitmap { filename = "pictures\\cactus2_.jpg"; }cactus2; bitmap { filename = "pictures\\cactus3_.jpg"; }cactus3; bitmap { filename = "pictures\\carrot1_.jpg"; }carrot1; bitmap { filename = "pictures\\cherry1_.jpg"; }cherry1; bitmap { filename = "pictures\\cherry2_.jpg"; }cherry2; bitmap { filename = "pictures\\cherry3_.jpg"; }cherry3; bitmap { filename = "pictures\\crocodile1_.jpg"; }crocodile1; bitmap { filename = "pictures\\crocodile2_.jpg"; }crocodile2; bitmap { filename = "pictures\\crocodile3_.jpg"; }crocodile3; bitmap { filename = "pictures\\fire_truck1_.jpg"; }fire_truck1; bitmap { filename = "pictures\\fire_truck2_.jpg"; }fire_truck2; bitmap { filename = "pictures\\fire_truck3_.jpg"; }fire_truck3; bitmap { filename = "pictures\\frog1_.jpg"; }frog1; bitmap { filename = "pictures\\frog2_.jpg"; }frog2; bitmap { filename = "pictures\\frog3_.jpg"; }frog3; bitmap { filename = "pictures\\igloo1_.jpg"; }igloo1; bitmap { filename = "pictures\\lobster1_.jpg"; }lobster1; bitmap { filename = "pictures\\lobster2_.jpg"; }lobster2; bitmap { filename = "pictures\\lobster3_.jpg"; }lobster3; bitmap { filename = "pictures\\mouse1_.jpg"; }mouse1; bitmap { filename = "pictures\\pineapple1_.jpg"; }pineapple1; bitmap { filename = "pictures\\snowman1_.jpg"; }snowman1; bitmap { filename = "pictures\\strawberry1_.jpg"; }strawberry1; bitmap { filename = "pictures\\strawberry2_.jpg"; }strawberry2; bitmap { filename = "pictures\\strawberry3_.jpg"; }strawberry3; bitmap { filename = "pictures\\swan1_.jpg"; }swan1; bitmap { filename = "pictures\\tank1_.jpg"; }tank1; bitmap { filename = "pictures\\tank2_.jpg"; }tank2; bitmap { filename = "pictures\\tank3_.jpg"; }tank3; bitmap { filename = "pictures\\tomato1_.jpg"; }tomato1; bitmap { filename = "pictures\\tomato2_.jpg"; }tomato2; bitmap { filename = "pictures\\tomato3_.jpg"; }tomato3; bitmap { filename = "pictures\\tooth1_.jpg"; }tooth1; bitmap { filename = "pictures\\turtle1_.jpg"; }turtle1; bitmap { filename = "pictures\\turtle2_.jpg"; }turtle2; bitmap { filename = "pictures\\turtle3_.jpg"; }turtle3; } stimuli; ####### visual stimuli trials ######## picture { bitmap { filename = "Pictures\\empty.bmp"; preload = true; } b_target; #width = 222; height = 222; } b_target; x = 0; y = 0; box { height = 3; width = 30; color = 0, 0, 0; } horz_s_pic; x = 0; y = 0; box { height = 30; width = 3; color = 0, 0, 0; } vert_s_pic; x = 0; y = 0; box { height = 3; width = 3; color = 255, 255, 255; } dot_s_pic; x = 0; y = 0; } p_target; trial { trial_duration = stimuli_length; stimulus_event { picture p_target; code = "target"; port_code = 20; # needs to be there at scanner!! (for proper log file eyetracker) time = 0; duration = 690;# 700 ms minus security (hard coded because SDL has to precede PCL) }target_event; }trial_target; picture {ellipse_graphic {ellipse_width = 20; ellipse_height = 20; color = 0, 0, 0; rotation = 30;} circle; x = 0; y = 0; } cue; # speech cue trial { trial_duration = stimuli_length; stimulus_event { picture cue; code = "speech_cue"; port_code = 60; time = 0; duration = 1990;# 2000 ms minus security }cue_event; }trial_cue;
94cf96bd5eb2a47a98eacfda2578aade8a9f5d79
449d555969bfd7befe906877abab098c6e63a0e8
/1757/CH6/EX6.40/EX6_40.sce
f1f09c7071ec3586ecbb887e6afba2577796fa5e
[]
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
763
sce
EX6_40.sce
//Example6_40 // Design an instrumentation amplifier clc; clear; close; //A = 5 to 500 ; adjustable gain VR = 100*10^3 ; // the maximum differential gain of instrumentation amplifier is 500 //Amax = (R4/R3)*(1+(2R2/R1)); //by solving above equation we get following equation // 2R2 -249R1f = 0 equation 1 // the minimum differential gain of instrumentation amplifier is 5 // Amin = (R4/R3)*(1+(2R2/R1)) ; //by solving above equation we get following equation // 2R2 -1.5R1f = 150*10^3 equation 2 //by solving equation 1 and 2 we get disp('The value of resistance R1f is = 0.0606 K ohm '); disp('The value of resistance R2 is = 75.5 K ohm ');