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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b067e510c8c855c464fb8981400e9cba57cc0c5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH5/EX5.8/5_8.sce | e62bcf5d0aa3b49b00dab8b7c2fc203aa89808ff | [] | 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 | 536 | sce | 5_8.sce | //Example 5_8
//find the fourier transform x(t)=exp(-%pi*(t^2))
clear;
clc;
B=%pi;
Dt=0.005;
t=-4.5:Dt:4.5;
xt=exp(-%pi*(t^2));
Wmax=2*%pi*1;
K=4;
k=0:(K/1000):K;
W=k*Wmax/K;
XW=xt*exp(-sqrt(-1)*t'*W)*Dt;
XW=real(XW);
W=[-mtlb_fliplr(W),W(2:1001)];
XW=[mtlb_fliplr(XW),XW(2:1001)];
subplot(2,1,1);
plot(t,xt);
xlabel('t i n s e c');
ylabel('x(t)')
title('Continuous Time Signal')
subplot(2,1,2);
plot(W,XW);
xlabel('Fr equency in Radians/Seconds W');
ylabel('X(jW)')
title('Continuous-time Fourier Transform')
|
fa2587e6942de05f1b87ae8d61981ff3e1cbbab9 | 0592c9e4cfbb77a0755aff6f0c798d9fe31f6ff4 | /scilab/CDO_Pricer/nsp2/test.sci | 1803dd6c7b81b19064cd0eea56a786917d1bb911 | [] | no_license | FinancialEngineerLab/premia-13-cpp_FICC | e19caa6a9cadb4ad1361053efc0dfc9418071cf9 | e271da627dbfc8c2c1f7e9f700766544f64c72b2 | refs/heads/master | 2023-03-16T11:11:26.830681 | 2016-04-19T05:58:16 | 2016-04-19T05:58:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sci | test.sci | ncomp=100;
nominal=0.01*ones(100,1);
dates=[0.25:0.25:5];
tranches=[0,0.03,0.06,0.1,1.];
intensity=nominal;
xrates=[0.,5.];
yrates=[0.03,0.15];
[price,pl,dl]=price_cdo(ncomp, nominal, dates, tranches, intensity, xrates, yrates, 1, 0.4, 1, 0.03, 2, [2, 100, 1000]);
|
3b2d063025501e9d27f1ff0382a13e9b9b237ef0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH3/EX3.17.13/ex_3_17_13.sce | e2077bdeec57275d12666cf21046025775e555ff | [] | 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 | 687 | sce | ex_3_17_13.sce | //Chapter-3,Example3_17_13,pg 3-40
n1=10 //no of turns per cm
i=2 //current
B=1 //flux density
u0=4*%pi*10^-7 //permeability of free space
n=n1*100 //no turns per m
H=n*i
printf(" 1) magnetic intensity =")
disp(H)
printf("Amp-turn/meter")
//calculation for magnetization
I=B/u0-H
printf(" 2) magnetization =")
disp(I)
printf("Amp-turn/meter")
//relative permeability
ur=B/(u0*H)
printf(" 3) Relative Permeability of the ring =")
disp(int(ur))
|
933db61effdbb17028779fd76804192ca8aa514b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH5/EX5.6/example5_6.sce | e0ab691440b74a73ad75f86db8046002a68b2b4a | [] | 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 | 245 | sce | example5_6.sce |
//example 5.6
//page 202
clc; funcprot(0);
//initialisation of variable
D=3;
pi=3.14;
Q=2;
rho=1.94;
A=pi*D^2/4/144;
V=Q/A;
Rx=rho*Q*2*V*3^0.5/2;
Ry=rho*Q*2*(V-V);
R=sqroot(Rx^2+Ry^2);
disp(R,"resultant reaction (lbs)=");
clear
|
899240e929555bf71e4b7cb5dc0dcca34cdefe99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH6/EX6.7/Example6_7.sce | 76e6611efaac9c0f0281081d5adb2dd045fd3109 | [] | 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 | 165 | sce | Example6_7.sce | //chapter6,Example6_7,pg 123
rho=6.3*10^4
e=1.6*10^-19
up=0.14
un=0.05
ni=1/(rho*e*(up+un))
printf("intrinsic carrier concentration\n")
disp(ni) |
7802b6e37de1f3123d6f0e72e1654562f4be8d0e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2783/CH10/EX10.2/Ex10_2.sce | df868b79f4513fe834d1ec2233ebbae19b13356b | [] | 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 | 158 | sce | Ex10_2.sce | clc
//initialization of new variables
clear
T0=850 //k
T=270 //k
gama=1.4
//calculations
M=sqrt(2/(gama-1)*(T0/T-1))
//results
printf('M = %.2f',M)
|
f4733b053f11c033ac2334e32eb281e6cbd6cce5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH9/EX9.5/Ex9_5.sce | 31d0b493dd0c6cbbf1ac7377bf7c909ca0bb75a1 | [] | 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,780 | sce | Ex9_5.sce | // scilab Code Exa 9.5 Calculation on a gas turbine stage
Rm=0.5; // Degree of reaction
funcprot(0);
T1=1500; // in Kelvin
p1=10; // Initial Pressure in bar
N=12e3; // rotor Speed in RPM
m=70; // in kg/s
pr=2; // Pressure Ratio
n_st=0.87; // Stage Efficiency
alpha_2=60; // Fixed Blade exit angle
cp=1005; // Specific Heat at Constant Pressure in J/(kgK)
R=287;
gamma=1.4;
n=(gamma-1)/gamma;
T3ss=T1/(pr^n);
delh1_3=cp*(T1-T3ss)*n_st;
delh1_2=0.5*delh1_3;
c2=sqrt(2*delh1_2);
sigma_opt=sind(alpha_2);
u=sigma_opt*c2;
// part(a) Flow coefficient
cx=c2*cosd(alpha_2);
phi=cx/u;
disp(phi,"(a)Flow coefficient is")
// part(b) mean diameter of the stage
d=u*60/(%pi*N);
disp("m",d,"(b)mean diameter of the stage is")
// part(c) power developed
P=m*delh1_3;
disp("MW",P*1e-6,"(c)power developed is")
// part(d) pressure ratio across the fixed and rotor blade rings
delh1_3ss=delh1_3/n_st;
delT1_3=delh1_3/cp;
delT1_3ss=delh1_3ss/cp;
stage_loss=delT1_3ss-delT1_3;
delT1_2=delh1_2/cp;
delT1_2s=delT1_2+(0.5*stage_loss)
pr_stator=((1-(delT1_2s/T1))^(-1/n));
disp(pr_stator,"(d)pressure ratio across the fixed blade rings is")
pr_rotor=pr/pr_stator;
disp(pr_rotor,"and pressure ratio across the rotor blade rings is")
// part(e) hub-tip ratio of the rotor
p2=p1/pr_stator;
T2=T1-delT1_2;
ro2=(p2*1e5)/(R*T2);
l2=m/(ro2*cx*%pi*d);
p3=p2/pr_rotor;
T3=T1-delT1_3;
ro3=p3*1e5/(R*T3);
l3=m/(ro3*cx*%pi*d);
l=0.5*(l2+l3);
rm=d/2;
rh=rm-(l/2);
rt=rm+(l/2);
disp(rh/rt,"(e)hub-tip ratio of the rotor is")
// part(f) degree of reaction at the hub and tip
Rh=1-((1-Rm)*(rm^2/rh^2));
Rt=1-((1-Rh)*(rh^2/rt^2));
disp("%",Rh*1e2,"(f)degree of reaction at the hub is")
disp("%",Rt*1e2,"(f)degree of reaction at the tip is")
|
16c7ab0314a931e79529d836e21e6aa065ad30cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH38/EX38.03/38_03.sce | 2db1c33602ec66cdd6635377b623f98d4dd5bc3c | [] | 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 | 777 | sce | 38_03.sce | //Problem 38.03: A ferromagnetic ring has a uniform cross-sectional area of 2000 mm2 and a mean circumference of 1000 mm. A hysteresis loop obtained for the specimen is plotted to scales of 10 mm = 0.1 T and 10 mm = 400 A/m and is found to have an area of 104 mm2. Determine the hysteresis loss at a frequency of 80 Hz.
//initializing the variables:
csa = 0.002; // in m2
l = 1; // in m
a = 400/0.01; // 10 mm = 400 A/m
b = 0.1/0.01; // 10 mm = 0.1 T
A = 0.01; // in m2
f = 80; // in Hz
//calculation:
//hysteresis loss per cycle
HL = A*a*b
//At a frequency of 80 Hz,
//hysteresis loss
HLf = HL*f
//Volume of ring
v = csa*l
//hysteresis loss
Ph = HLf*v
printf("\n\n Result \n\n")
printf("\n the hysteresis loss at a frequency of 80 Hz is %.0f W",Ph) |
5ecee594d1e432ac801113528fcec05fbd4b5d53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH4/EX4.25/EX4_25.sce | cfcd1654e716667311d3a2c02bf34a00c682d878 | [] | 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 | 271 | sce | EX4_25.sce | //EXAMPLE 4-25 PG NO-241
//31-15I1-(I1-I2)+10V1=0
//-10V1-(I2-I1)-4I2=0;
//V1=31-5I1;
I1=5;
disp('i) Current (I1) is = '+string (I1) +' A ');
I2=-11;
disp('ii) Current (I2) is = '+string (I2) +' A ');
|
93e4a3243a9c6019645253f4b5d3e600e45a78d2 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH4/EX4.16/EX4_16.sce | 79991ff088a661ca0291d32c51b16a28a5a535df | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 1,557 | sce | EX4_16.sce | clc;funcprot(0);//EXAMPLE 4.16
// Initialisation of Variables
Ts=120;...........//Surface temperature in degree celsius
Ta=30;............//Atmospheric temperature in degree celsius
L=20;.............//Length of the plate in cm
W=15;..............//Width of the plate in cm
L1=500;.........//New length of the plate in cm
hr=9;............//Heat transfer co-efficient in W/m^2K
//Calculations
Tf=(Ts+Ta)/2;..........//Film temperature in degree Celsius
Gr=4.68*10^7;.....//Grashoff number at the film temperature for 20cm high plate
Pr=0.71;..........//Prandlt number at the film temperature for 20cm high plate
Ra=Gr*Pr;...........//Raleigh nu at the film temperature for 20cm high plate
Nu=35.9;...........//Nusselt no at the film temperature for 20cm high plate
K=0.029;...........//Thermal conductivity at the film temperature for 20cm high plate
hc = Nu*K/(L/100);........//Heat transfer co efficient for 20cm high plate
Q=2*(L/100)*(W/100)*(hc+hr)*(Ts-Ta);............//Heat transfer rate for 20 cm plate in W
disp(Q,"Heat transfer rate for 20 cm plate in W:")
Ra1=3.78*10^11;...........//Raleigh nu at the film temperature for 500 cm plate
Nu1=950;...........//Nusselt no at the film temperature for 500 cm plate
K1=0.029;...........//Thermal conductivity at the film temperature for 500 cm plate
hc1 = Nu1*K1/(L1/100);........//Heat transfer co efficient for 500 cm plate
Q1=2*(L1/100)*(W/100)*(hc1+hr)*(Ts-Ta);............//Heat transfer rate for 500 cm plate in W
disp(Q1,"Heat transfer rate for 20 cm plate in W:")
|
0188a3fe06c72ad9fd998f345e18e53d926176c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /911/CH1/EX1.14.a/ex_1_14_a.sce | 3ce00abcda1245aaa5265e6dea427e890b9cf788 | [] | 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 | 344 | sce | ex_1_14_a.sce | //example 1.14.a//
clc
//clears the screen//
clear
//clears all existing variables//
a=237.75
//for integral part//
//put binary equivalents of 5(2+3), 6(3+3) and 10(7+3)//
i=010101101010
//for fractional part//
//put binary equivalents of 10(7+3) and 8(5+3)//
f=10101000
disp('010101101010.10101000','excess 3 equivalent of 237 =') |
3d70aab71f5cf0a307d413b7fb395e99d02dbbda | 494b677053e1199325a80808377463794e1003e5 | /experiments/gfs-gccl-c/gfs-gccl-c/results/Ignore-MV.GFS-GCCL-C.vehicle/result9s0.tst | e4e5c59bb973129114ffe123663719ab364b46aa | [] | no_license | kylecblyth/IIS-Project | 92fb0770addced8022817470f974bf5191bfe05d | abf66fd98d9b6c7c3a0fbc254ef4026641338489 | refs/heads/master | 2020-06-12T19:41:02.430510 | 2016-12-07T10:35:31 | 2016-12-07T10:35:31 | 75,764,815 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,858 | tst | result9s0.tst | @relation vehicle
@attribute COMPACTNESS integer[73,119]
@attribute CIRCULARITY integer[33,59]
@attribute DISTANCECIRCULARITY integer[40,112]
@attribute RADIUSRATIO integer[104,333]
@attribute PRAXISASPECTRATIO integer[47,138]
@attribute MAXLENGTHASPECTRATIO integer[2,55]
@attribute SCATTERRATIO integer[112,265]
@attribute ELONGATEDNESS integer[26,61]
@attribute PRAXISRECTANGULAR integer[17,29]
@attribute LENGTHRECTANGULAR integer[118,188]
@attribute MAJORVARIANCE integer[130,320]
@attribute MINORVARIANCE integer[184,1018]
@attribute GYRATIONRADIUS integer[109,268]
@attribute MAJORSKEWNESS integer[59,135]
@attribute MINORSKEWNESS integer[0,22]
@attribute MINORKURTOSIS integer[0,41]
@attribute MAJORKURTOSIS integer[176,206]
@attribute HOLLOWSRATIO integer[181,211]
@attribute class{van,saab,bus,opel}
@inputs COMPACTNESS,CIRCULARITY,DISTANCECIRCULARITY,RADIUSRATIO,PRAXISASPECTRATIO,MAXLENGTHASPECTRATIO,SCATTERRATIO,ELONGATEDNESS,PRAXISRECTANGULAR,LENGTHRECTANGULAR,MAJORVARIANCE,MINORVARIANCE,GYRATIONRADIUS,MAJORSKEWNESS,MINORSKEWNESS,MINORKURTOSIS,MAJORKURTOSIS,HOLLOWSRATIO
@outputs class
@data
van bus
van van
bus bus
saab saab
saab van
saab saab
opel van
bus saab
bus van
van bus
opel opel
saab saab
van van
van van
bus bus
van bus
opel van
van van
van van
saab van
saab opel
bus bus
saab saab
opel bus
opel saab
bus bus
opel van
saab saab
opel saab
opel opel
van bus
bus saab
saab van
saab saab
van van
opel bus
opel opel
van van
saab saab
opel saab
saab opel
bus bus
saab saab
opel opel
bus bus
opel saab
bus bus
bus bus
saab saab
bus saab
van van
van van
opel opel
bus bus
opel bus
opel saab
opel saab
bus bus
van van
van van
saab van
van van
opel opel
saab saab
saab saab
opel bus
saab bus
bus bus
opel opel
bus saab
bus bus
bus bus
bus bus
opel opel
van van
saab saab
saab bus
saab opel
bus bus
saab van
van van
van van
bus bus
bus bus
|
f6db6e56b26b2fa65b263b0065c2aa7f603c8b43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH11/EX11.1.c/Example11_1_c.sce | 0c5976793aeb9ce1806a7bca3c0fa8a80cd5b6d1 | [] | 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 | 323 | sce | Example11_1_c.sce | //Example 11.1 (c)
//Program to Calculate the Current at Resonance of the given Circuit
clear;
clc ;
close ;
//Given Circuit Data
V=10; //V
C=300*10^(-12); //F
L=220*10^(-6); //H
R=20; //Ohms
//Calculation
I=V/R;
//Displaying The Results in Command Window
printf("\n\t The Current at Resonance, I = %f A .",I); |
4d7ce0a65e8137b48fb2939dd65b9a5509b518fd | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/EA39DWK/ATWM1_Working_Memory_MEG_EA39DWK_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | 5b0e779fdba1f9b5647835ff6f4b7f17b6e52d1f | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48,617 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor_sounds = false;
active_buttons = 2;
response_matching = simple_matching;
button_codes = 10, 20;
default_font_size = 36;
default_font = "Arial";
default_background_color = 0 ,0 ,0 ;
write_codes=true; # for MEG only
begin;
#Picture definitions
box { height = 382; width = 382; color = 0, 0, 0;} frame1;
box { height = 369; width = 369; color = 255, 255, 255;} frame2;
box { height = 30; width = 4; color = 0, 0, 0;} fix1;
box { height = 4; width = 30; color = 0, 0, 0;} fix2;
box { height = 30; width = 4; color = 255, 0, 0;} fix3;
box { height = 4; width = 30; color = 255, 0, 0;} fix4;
box { height = 369; width = 369; color = 42, 42, 42;} background;
TEMPLATE "StimuliDeclaration.tem" {};
trial {
sound sound_incorrect;
time = 0;
duration = 1;
} wrong;
trial {
sound sound_correct;
time = 0;
duration = 1;
} right;
trial {
sound sound_no_response;
time = 0;
duration = 1;
} miss;
# Start of experiment (MEG only) - sync with CTF software
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
} expStart;
time = 0;
duration = 1000;
code = "ExpStart";
port_code = 80;
};
# baselinePre (at the beginning of the session)
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
}default;
time = 0;
duration = 10000;
#mri_pulse = 1;
code = "BaselinePre";
port_code = 91;
};
TEMPLATE "ATWM1_Working_Memory_MEG.tem" {
trigger_encoding trigger_retrieval cue_time preparation_time encoding_time single_stimulus_presentation_time delay_time retrieval_time intertrial_interval alerting_cross stim_enc1 stim_enc2 stim_enc3 stim_enc4 stim_enc_alt1 stim_enc_alt2 stim_enc_alt3 stim_enc_alt4 trial_code stim_retr1 stim_retr2 stim_retr3 stim_retr4 stim_cue1 stim_cue2 stim_cue3 stim_cue4 fixationcross_cued retr_code the_target_button posX1 posY1 posX2 posY2 posX3 posY3 posX4 posY4;
44 61 292 292 399 125 1842 2992 2292 fixation_cross gabor_038 gabor_172 gabor_006 gabor_056 gabor_038 gabor_172_alt gabor_006 gabor_056_alt "2_1_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2300_gabor_patch_orientation_038_172_006_056_target_position_1_3_retrieval_position_1" gabor_087_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_1_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_087_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2242 2992 2542 fixation_cross gabor_049 gabor_158 gabor_179 gabor_129 gabor_049_alt gabor_158 gabor_179_alt gabor_129 "2_2_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2550_gabor_patch_orientation_049_158_179_129_target_position_2_4_retrieval_position_2" gabor_circ gabor_111_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_2_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_111_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1742 2992 1942 fixation_cross gabor_045 gabor_006 gabor_120 gabor_169 gabor_045 gabor_006_alt gabor_120_alt gabor_169 "2_3_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_1950_gabor_patch_orientation_045_006_120_169_target_position_1_4_retrieval_position_1" gabor_045_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_3_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_045_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1842 2992 2592 fixation_cross gabor_071 gabor_044 gabor_029 gabor_151 gabor_071 gabor_044_alt gabor_029 gabor_151_alt "2_4_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2600_gabor_patch_orientation_071_044_029_151_target_position_1_3_retrieval_position_1" gabor_071_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_4_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_071_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 2192 2992 2342 fixation_cross gabor_147 gabor_124 gabor_019 gabor_102 gabor_147 gabor_124_alt gabor_019 gabor_102_alt "2_5_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2200_3000_2350_gabor_patch_orientation_147_124_019_102_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_057_framed blank blank blank blank fixation_cross_white "2_5_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_057_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1842 2992 2292 fixation_cross gabor_033 gabor_153 gabor_001 gabor_067 gabor_033 gabor_153_alt gabor_001_alt gabor_067 "2_6_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2300_gabor_patch_orientation_033_153_001_067_target_position_1_4_retrieval_position_1" gabor_033_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_6_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_033_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2192 2992 2042 fixation_cross gabor_056 gabor_115 gabor_087 gabor_141 gabor_056 gabor_115_alt gabor_087_alt gabor_141 "2_7_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2050_gabor_patch_orientation_056_115_087_141_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_141_framed blank blank blank blank fixation_cross_white "2_7_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_141_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1842 2992 2192 fixation_cross gabor_170 gabor_009 gabor_035 gabor_122 gabor_170_alt gabor_009 gabor_035 gabor_122_alt "2_8_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2200_gabor_patch_orientation_170_009_035_122_target_position_2_3_retrieval_position_2" gabor_circ gabor_059_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_8_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_059_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2042 2992 2192 fixation_cross gabor_003 gabor_128 gabor_023 gabor_071 gabor_003 gabor_128_alt gabor_023 gabor_071_alt "2_9_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2200_gabor_patch_orientation_003_128_023_071_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_160_framed gabor_circ blank blank blank blank fixation_cross_white "2_9_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_160_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 1942 2992 2242 fixation_cross gabor_082 gabor_012 gabor_122 gabor_100 gabor_082 gabor_012_alt gabor_122 gabor_100_alt "2_10_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1950_3000_2250_gabor_patch_orientation_082_012_122_100_target_position_1_3_retrieval_position_2" gabor_circ gabor_061_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_10_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_061_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2142 2992 2142 fixation_cross gabor_019 gabor_098 gabor_053 gabor_034 gabor_019 gabor_098_alt gabor_053 gabor_034_alt "2_11_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_2150_gabor_patch_orientation_019_098_053_034_target_position_1_3_retrieval_position_1" gabor_159_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_11_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_159_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2242 2992 1892 fixation_cross gabor_161 gabor_142 gabor_094 gabor_113 gabor_161_alt gabor_142 gabor_094 gabor_113_alt "2_12_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_1900_gabor_patch_orientation_161_142_094_113_target_position_2_3_retrieval_position_2" gabor_circ gabor_142_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_12_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_142_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2142 2992 2242 fixation_cross gabor_029 gabor_008 gabor_167 gabor_098 gabor_029 gabor_008_alt gabor_167 gabor_098_alt "2_13_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2250_gabor_patch_orientation_029_008_167_098_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_167_framed gabor_circ blank blank blank blank fixation_cross_white "2_13_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_167_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 2192 2992 2442 fixation_cross gabor_131 gabor_111 gabor_077 gabor_044 gabor_131_alt gabor_111 gabor_077 gabor_044_alt "2_14_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2200_3000_2450_gabor_patch_orientation_131_111_077_044_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_094_framed blank blank blank blank fixation_cross_white "2_14_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_094_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2142 2992 2142 fixation_cross gabor_019 gabor_109 gabor_091 gabor_173 gabor_019_alt gabor_109_alt gabor_091 gabor_173 "2_15_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_2150_gabor_patch_orientation_019_109_091_173_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_042_framed gabor_circ blank blank blank blank fixation_cross_white "2_15_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_042_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2142 2992 2092 fixation_cross gabor_140 gabor_157 gabor_024 gabor_082 gabor_140 gabor_157_alt gabor_024 gabor_082_alt "2_16_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_2100_gabor_patch_orientation_140_157_024_082_target_position_1_3_retrieval_position_1" gabor_005_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_16_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_005_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2092 2992 2242 fixation_cross gabor_054 gabor_008 gabor_117 gabor_074 gabor_054_alt gabor_008 gabor_117_alt gabor_074 "2_17_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2250_gabor_patch_orientation_054_008_117_074_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_074_framed blank blank blank blank fixation_cross_white "2_17_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_074_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2042 2992 2042 fixation_cross gabor_047 gabor_097 gabor_009 gabor_163 gabor_047_alt gabor_097_alt gabor_009 gabor_163 "2_18_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2050_gabor_patch_orientation_047_097_009_163_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_115_framed blank blank blank blank fixation_cross_white "2_18_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_115_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1742 2992 1892 fixation_cross gabor_143 gabor_100 gabor_061 gabor_120 gabor_143_alt gabor_100 gabor_061_alt gabor_120 "2_19_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_1900_gabor_patch_orientation_143_100_061_120_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_120_framed blank blank blank blank fixation_cross_white "2_19_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_120_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 1842 2992 2342 fixation_cross gabor_129 gabor_088 gabor_159 gabor_071 gabor_129 gabor_088 gabor_159_alt gabor_071_alt "2_20_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1850_3000_2350_gabor_patch_orientation_129_088_159_071_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_071_framed blank blank blank blank fixation_cross_white "2_20_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_071_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1892 2992 2292 fixation_cross gabor_139 gabor_121 gabor_087 gabor_106 gabor_139 gabor_121_alt gabor_087_alt gabor_106 "2_21_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2300_gabor_patch_orientation_139_121_087_106_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_106_framed blank blank blank blank fixation_cross_white "2_21_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_106_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2092 2992 2292 fixation_cross gabor_127 gabor_047 gabor_157 gabor_086 gabor_127_alt gabor_047_alt gabor_157 gabor_086 "2_22_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2300_gabor_patch_orientation_127_047_157_086_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_110_framed gabor_circ blank blank blank blank fixation_cross_white "2_22_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_110_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1742 2992 1992 fixation_cross gabor_084 gabor_129 gabor_166 gabor_015 gabor_084 gabor_129 gabor_166_alt gabor_015_alt "2_23_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2000_gabor_patch_orientation_084_129_166_015_target_position_1_2_retrieval_position_1" gabor_039_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_23_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_039_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 1992 2992 2042 fixation_cross gabor_033 gabor_113 gabor_141 gabor_097 gabor_033 gabor_113_alt gabor_141 gabor_097_alt "2_24_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2000_3000_2050_gabor_patch_orientation_033_113_141_097_target_position_1_3_retrieval_position_2" gabor_circ gabor_113_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_24_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_113_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1792 2992 2292 fixation_cross gabor_036 gabor_087 gabor_013 gabor_058 gabor_036 gabor_087_alt gabor_013_alt gabor_058 "2_25_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2300_gabor_patch_orientation_036_087_013_058_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_058_framed blank blank blank blank fixation_cross_white "2_25_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_058_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1792 2992 2342 fixation_cross gabor_024 gabor_076 gabor_146 gabor_164 gabor_024 gabor_076_alt gabor_146_alt gabor_164 "2_26_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2350_gabor_patch_orientation_024_076_146_164_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_164_framed blank blank blank blank fixation_cross_white "2_26_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_164_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1742 2992 2492 fixation_cross gabor_048 gabor_090 gabor_164 gabor_121 gabor_048 gabor_090_alt gabor_164_alt gabor_121 "2_27_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2500_gabor_patch_orientation_048_090_164_121_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_121_framed blank blank blank blank fixation_cross_white "2_27_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_121_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1792 2992 2092 fixation_cross gabor_095 gabor_152 gabor_118 gabor_046 gabor_095 gabor_152 gabor_118_alt gabor_046_alt "2_28_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2100_gabor_patch_orientation_095_152_118_046_target_position_1_2_retrieval_position_2" gabor_circ gabor_152_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_28_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_152_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 2042 2992 2242 fixation_cross gabor_021 gabor_046 gabor_135 gabor_094 gabor_021_alt gabor_046 gabor_135_alt gabor_094 "2_29_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2050_3000_2250_gabor_patch_orientation_021_046_135_094_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_135_framed gabor_circ blank blank blank blank fixation_cross_white "2_29_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_135_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2142 2992 2342 fixation_cross gabor_152 gabor_173 gabor_111 gabor_040 gabor_152 gabor_173 gabor_111_alt gabor_040_alt "2_30_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2350_gabor_patch_orientation_152_173_111_040_target_position_1_2_retrieval_position_2" gabor_circ gabor_173_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_30_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_173_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2242 2992 2492 fixation_cross gabor_174 gabor_023 gabor_128 gabor_089 gabor_174_alt gabor_023 gabor_128 gabor_089_alt "2_31_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2500_gabor_patch_orientation_174_023_128_089_target_position_2_3_retrieval_position_2" gabor_circ gabor_158_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_31_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_158_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1842 2992 2592 fixation_cross gabor_063 gabor_009 gabor_178 gabor_130 gabor_063_alt gabor_009 gabor_178_alt gabor_130 "2_32_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2600_gabor_patch_orientation_063_009_178_130_target_position_2_4_retrieval_position_2" gabor_circ gabor_148_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_32_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_148_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1942 2992 2092 fixation_cross gabor_006 gabor_163 gabor_096 gabor_053 gabor_006_alt gabor_163_alt gabor_096 gabor_053 "2_33_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2100_gabor_patch_orientation_006_163_096_053_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_143_framed gabor_circ blank blank blank blank fixation_cross_white "2_33_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_143_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1792 2992 2492 fixation_cross gabor_155 gabor_089 gabor_041 gabor_173 gabor_155_alt gabor_089_alt gabor_041 gabor_173 "2_34_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2500_gabor_patch_orientation_155_089_041_173_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_173_framed blank blank blank blank fixation_cross_white "2_34_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_173_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1942 2992 1942 fixation_cross gabor_043 gabor_173 gabor_084 gabor_113 gabor_043_alt gabor_173_alt gabor_084 gabor_113 "2_35_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_1950_gabor_patch_orientation_043_173_084_113_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_113_framed blank blank blank blank fixation_cross_white "2_35_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_113_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 1742 2992 2242 fixation_cross gabor_179 gabor_068 gabor_109 gabor_052 gabor_179_alt gabor_068_alt gabor_109 gabor_052 "2_36_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1750_3000_2250_gabor_patch_orientation_179_068_109_052_target_position_3_4_retrieval_position_1" gabor_133_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_36_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_133_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1992 2992 2142 fixation_cross gabor_138 gabor_053 gabor_079 gabor_029 gabor_138_alt gabor_053_alt gabor_079 gabor_029 "2_37_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2150_gabor_patch_orientation_138_053_079_029_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_029_framed blank blank blank blank fixation_cross_white "2_37_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_029_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1942 2992 1892 fixation_cross gabor_173 gabor_126 gabor_057 gabor_095 gabor_173_alt gabor_126 gabor_057_alt gabor_095 "2_38_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_1900_gabor_patch_orientation_173_126_057_095_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_095_framed blank blank blank blank fixation_cross_white "2_38_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_095_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1892 2992 2042 fixation_cross gabor_108 gabor_002 gabor_179 gabor_072 gabor_108_alt gabor_002_alt gabor_179 gabor_072 "2_39_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2050_gabor_patch_orientation_108_002_179_072_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_179_framed gabor_circ blank blank blank blank fixation_cross_white "2_39_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_179_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2042 2992 1992 fixation_cross gabor_010 gabor_180 gabor_148 gabor_072 gabor_010_alt gabor_180_alt gabor_148 gabor_072 "2_40_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2000_gabor_patch_orientation_010_180_148_072_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_119_framed blank blank blank blank fixation_cross_white "2_40_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_119_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 1892 2992 1942 fixation_cross gabor_053 gabor_004 gabor_068 gabor_037 gabor_053_alt gabor_004_alt gabor_068 gabor_037 "2_41_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1900_3000_1950_gabor_patch_orientation_053_004_068_037_target_position_3_4_retrieval_position_2" gabor_circ gabor_143_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_41_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_143_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2142 2992 2392 fixation_cross gabor_028 gabor_079 gabor_162 gabor_010 gabor_028 gabor_079_alt gabor_162_alt gabor_010 "2_42_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_2400_gabor_patch_orientation_028_079_162_010_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_146_framed blank blank blank blank fixation_cross_white "2_42_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_146_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2092 2992 1992 fixation_cross gabor_061 gabor_128 gabor_004 gabor_147 gabor_061 gabor_128 gabor_004_alt gabor_147_alt "2_43_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2000_gabor_patch_orientation_061_128_004_147_target_position_1_2_retrieval_position_2" gabor_circ gabor_128_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_43_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_128_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1792 2992 2442 fixation_cross gabor_138 gabor_001 gabor_171 gabor_066 gabor_138_alt gabor_001 gabor_171 gabor_066_alt "2_44_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2450_gabor_patch_orientation_138_001_171_066_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_121_framed gabor_circ blank blank blank blank fixation_cross_white "2_44_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_121_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1892 2992 1942 fixation_cross gabor_004 gabor_116 gabor_158 gabor_179 gabor_004 gabor_116_alt gabor_158_alt gabor_179 "2_45_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_1950_gabor_patch_orientation_004_116_158_179_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_179_framed blank blank blank blank fixation_cross_white "2_45_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_179_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2192 2992 2592 fixation_cross gabor_104 gabor_072 gabor_179 gabor_128 gabor_104 gabor_072 gabor_179_alt gabor_128_alt "2_46_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2600_gabor_patch_orientation_104_072_179_128_target_position_1_2_retrieval_position_2" gabor_circ gabor_022_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_46_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_022_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2192 2992 2042 fixation_cross gabor_170 gabor_083 gabor_132 gabor_099 gabor_170 gabor_083_alt gabor_132_alt gabor_099 "2_47_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2050_gabor_patch_orientation_170_083_132_099_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_099_framed blank blank blank blank fixation_cross_white "2_47_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_099_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 1892 2992 2442 fixation_cross gabor_174 gabor_087 gabor_062 gabor_002 gabor_174_alt gabor_087 gabor_062_alt gabor_002 "2_48_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1900_3000_2450_gabor_patch_orientation_174_087_062_002_target_position_2_4_retrieval_position_1" gabor_174_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_48_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_174_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1742 2992 2192 fixation_cross gabor_145 gabor_161 gabor_016 gabor_089 gabor_145_alt gabor_161_alt gabor_016 gabor_089 "2_49_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2200_gabor_patch_orientation_145_161_016_089_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_089_framed blank blank blank blank fixation_cross_white "2_49_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_089_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1992 2992 2542 fixation_cross gabor_012 gabor_119 gabor_148 gabor_063 gabor_012_alt gabor_119 gabor_148 gabor_063_alt "2_50_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2550_gabor_patch_orientation_012_119_148_063_target_position_2_3_retrieval_position_2" gabor_circ gabor_119_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_50_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_119_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1992 2992 1992 fixation_cross gabor_096 gabor_175 gabor_012 gabor_140 gabor_096 gabor_175_alt gabor_012 gabor_140_alt "2_51_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2000_gabor_patch_orientation_096_175_012_140_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_060_framed gabor_circ blank blank blank blank fixation_cross_white "2_51_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_060_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 2092 2992 2492 fixation_cross gabor_043 gabor_132 gabor_176 gabor_009 gabor_043_alt gabor_132_alt gabor_176 gabor_009 "2_52_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2100_3000_2500_gabor_patch_orientation_043_132_176_009_target_position_3_4_retrieval_position_1" gabor_091_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_52_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_091_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2242 2992 1992 fixation_cross gabor_160 gabor_052 gabor_179 gabor_027 gabor_160 gabor_052_alt gabor_179_alt gabor_027 "2_53_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2000_gabor_patch_orientation_160_052_179_027_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_073_framed blank blank blank blank fixation_cross_white "2_53_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_073_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1992 2992 2542 fixation_cross gabor_037 gabor_108 gabor_150 gabor_174 gabor_037 gabor_108_alt gabor_150_alt gabor_174 "2_54_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2550_gabor_patch_orientation_037_108_150_174_target_position_1_4_retrieval_position_1" gabor_037_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_54_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_037_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 1942 2992 2142 fixation_cross gabor_022 gabor_077 gabor_142 gabor_102 gabor_022_alt gabor_077 gabor_142_alt gabor_102 "2_55_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1950_3000_2150_gabor_patch_orientation_022_077_142_102_target_position_2_4_retrieval_position_1" gabor_022_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_55_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_022_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1842 2992 2392 fixation_cross gabor_087 gabor_024 gabor_056 gabor_039 gabor_087_alt gabor_024 gabor_056 gabor_039_alt "2_56_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2400_gabor_patch_orientation_087_024_056_039_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_103_framed gabor_circ blank blank blank blank fixation_cross_white "2_56_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_103_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1992 2992 2592 fixation_cross gabor_015 gabor_101 gabor_127 gabor_066 gabor_015_alt gabor_101_alt gabor_127 gabor_066 "2_57_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2600_gabor_patch_orientation_015_101_127_066_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_174_framed gabor_circ blank blank blank blank fixation_cross_white "2_57_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_174_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2092 2992 2092 fixation_cross gabor_012 gabor_064 gabor_044 gabor_090 gabor_012_alt gabor_064_alt gabor_044 gabor_090 "2_58_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2100_gabor_patch_orientation_012_064_044_090_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_179_framed gabor_circ blank blank blank blank fixation_cross_white "2_58_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_179_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1792 2992 2192 fixation_cross gabor_001 gabor_117 gabor_052 gabor_174 gabor_001 gabor_117 gabor_052_alt gabor_174_alt "2_59_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2200_gabor_patch_orientation_001_117_052_174_target_position_1_2_retrieval_position_1" gabor_001_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_59_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_001_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1742 2992 2092 fixation_cross gabor_114 gabor_048 gabor_169 gabor_009 gabor_114_alt gabor_048 gabor_169_alt gabor_009 "2_60_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2100_gabor_patch_orientation_114_048_169_009_target_position_2_4_retrieval_position_2" gabor_circ gabor_048_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_60_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_048_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 2042 2992 2392 fixation_cross gabor_132 gabor_111 gabor_006 gabor_090 gabor_132 gabor_111_alt gabor_006 gabor_090_alt "2_61_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2050_3000_2400_gabor_patch_orientation_132_111_006_090_target_position_1_3_retrieval_position_2" gabor_circ gabor_111_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_61_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_111_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2192 2992 2392 fixation_cross gabor_087 gabor_120 gabor_136 gabor_071 gabor_087_alt gabor_120_alt gabor_136 gabor_071 "2_62_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2400_gabor_patch_orientation_087_120_136_071_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_001_framed gabor_circ blank blank blank blank fixation_cross_white "2_62_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_001_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2092 2992 1892 fixation_cross gabor_084 gabor_069 gabor_099 gabor_141 gabor_084 gabor_069_alt gabor_099 gabor_141_alt "2_63_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_1900_gabor_patch_orientation_084_069_099_141_target_position_1_3_retrieval_position_1" gabor_034_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_63_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_034_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1942 2992 2342 fixation_cross gabor_059 gabor_024 gabor_139 gabor_173 gabor_059_alt gabor_024 gabor_139 gabor_173_alt "2_64_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2350_gabor_patch_orientation_059_024_139_173_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_094_framed gabor_circ blank blank blank blank fixation_cross_white "2_64_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_094_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 2042 2992 2192 fixation_cross gabor_118 gabor_169 gabor_046 gabor_008 gabor_118_alt gabor_169 gabor_046_alt gabor_008 "2_65_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2050_3000_2200_gabor_patch_orientation_118_169_046_008_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_046_framed gabor_circ blank blank blank blank fixation_cross_white "2_65_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_046_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1792 2992 2542 fixation_cross gabor_126 gabor_152 gabor_099 gabor_040 gabor_126 gabor_152_alt gabor_099_alt gabor_040 "2_66_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2550_gabor_patch_orientation_126_152_099_040_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_175_framed blank blank blank blank fixation_cross_white "2_66_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_175_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1892 2992 2442 fixation_cross gabor_052 gabor_129 gabor_108 gabor_087 gabor_052 gabor_129_alt gabor_108 gabor_087_alt "2_67_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2450_gabor_patch_orientation_052_129_108_087_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_158_framed gabor_circ blank blank blank blank fixation_cross_white "2_67_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_158_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2242 2992 1892 fixation_cross gabor_100 gabor_061 gabor_171 gabor_012 gabor_100_alt gabor_061 gabor_171_alt gabor_012 "2_68_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_1900_gabor_patch_orientation_100_061_171_012_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_012_framed blank blank blank blank fixation_cross_white "2_68_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_012_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 1892 2992 2142 fixation_cross gabor_112 gabor_155 gabor_027 gabor_135 gabor_112_alt gabor_155 gabor_027_alt gabor_135 "2_69_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1900_3000_2150_gabor_patch_orientation_112_155_027_135_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_076_framed gabor_circ blank blank blank blank fixation_cross_white "2_69_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_076_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2242 2992 1942 fixation_cross gabor_004 gabor_061 gabor_042 gabor_117 gabor_004_alt gabor_061 gabor_042 gabor_117_alt "2_70_Encoding_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_1950_gabor_patch_orientation_004_061_042_117_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_092_framed gabor_circ blank blank blank blank fixation_cross_white "2_70_Retrieval_Working_Memory_MEG_P4_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_092_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
};
# baselinePost (at the end of the session)
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
};
time = 0;
duration = 5000;
code = "BaselinePost";
port_code = 92;
}; |
a2f5f488f6d43c8ea8309787824d62622bdbe924 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH2/EX2.10.a/10_a.sce | ebe5f4325984bc22238e9cd6b0753f949f8916aa | [] | 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 | 377 | sce | 10_a.sce | //simplification of boolean expressions//
//example 10.a//
clc
//clears the command window//
clear
//clears//
//simplification of boolean expression//
disp('given Y=(A+B)''.(A''+B'')''')
disp('Y=(A''.B'').(A.B)');//applying De Morgan's law//
disp('Y=AA''.BB''')
disp('the simplified expression is:')
disp('Y=0');//since x.x''=0//
//simplified boolean expression//
|
1c2207cd9c5e69e3b028102da25791723f79717d | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/sinc.man.tst | ec266f81b065533e73c28f54b26b9e79e68461c2 | [
"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 | 36 | tst | sinc.man.tst | clear;lines(0);
plot(sinc(100,0.1))
|
fd709be73f5049ec2d3660ca8eeaccc086e461be | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/SSYS.SCI | 28a3fb2d9cfa5a7298d69dc6dc63f0b812358a46 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 8,386 | sci | SSYS.SCI | #Solar System functions
au2km=149598000;
planetorbitcolor=color(0.0,0.3,0.6,1);
zoomf=1;
#zoomf=200;
#converts astronomical units to km
function autokm(ival)
{
return(149598000*ival);
}
#returns the viewport
function GetViewPort()
{
return(root.Viewports.main);
}
#returns a list of all the planets in the Solar System
function ssys_getplanetlist()
{
return(list("Mercurius","Venus","Earth","Mars","Jupiter","Saturnus","Neptunus","Uranus"));
}
function ssys_createstarback()
{
starbackframe=root.SC.Universe.addsubframe("StarBackFrame");
starbackframe.nearclipplane=5000*au2km;
starbackframe.farclipplane=100000*au2km;
tx=starbackframe.createtexture("star",DataDir+"\textures\star4.bmp");
sg=starbackframe.add("StarGlobe","Name":"StarBack");
sg.texture=tx.name;
sg.radius=20000*au2km;
sg.starsize=100*au2km;
sg.DepthTest=DepthTestDisable;
sg.RenderFront=false;
sg.IsBackGround=true;
sg.LineSize=60*au2km;
sg.LineColor=color(0,0.5,1,0.5);
}
function ssys_createmilkyway()
{
#galactic pole
glong=179.32095/180*Pi;
glatt=29.811954/180*Pi;
ez=-1*vector(cos(glong)*cos(glatt),sin(glong)*cos(glatt),sin(glatt));
#galactic center
glong=266.14097/180*Pi;
glatt=-5.52967943/180*Pi;
ex=vector(cos(glong)*cos(glatt),sin(glong)*cos(glatt),sin(glatt));
ey=vecnorm(ez*ex);
mwf=root.SC.Universe.StarBackFrame.addsubframe("MilkyWay");
mwf.transf.Xaxis=-1*ex;
mwf.transf.Yaxis=-1*ey;
mwf.transf.Zaxis=ez;
tx=mwf.createtexture("MilkyWay",DataDir+"\textures\milkyway.png");
mw=mwf.add("sphere","EnableLight":false);
mw.color=color(0.3,0.5,1,0.3);
mw.texture=tx.name;
mw.IsBackGround=true;
mw.BlendType=BlendTransparent;mw.DepthMask=DepthMaskDisable;
mw.renderback=true;mw.renderfront=false;
mw.radius=20000*au2km;
return(mwf);
}
function ssys_createconstellationnames()
{
cnf=root.SC.Universe.StarBackFrame.addsubframe("ConstellationNames");
cnf.Transf.rotate(vector(1,0,0),deg2rad(-23.4457889));
filecontent=readtextfile(DataDir+"\AstroData\connames.txt");
radius=20000*au2km;
while filecontent.length>0 do {
fileline=filecontent.split("~n");
name=fileline.split("~t");
ra=ToScalar(fileline.split("~t"))/180*Pi;
dec=ToScalar(fileline.split("~t"))/180*Pi;
cnf.add("TextFlat",
"Position":(radial2point(radius,ra,dec)),
"BlendType":BlendTransparent,"DepthMask":DepthMaskDisable,
"Size":(radius/10),
"Color":color(0.5,0,0.5,0.5),
"Content":(name));
}
return(cnf);
}
function ssys_createstarnames()
{
snf=root.SC.Universe.StarBackFrame.addsubframe("StarNames");
snf.Transf.rotate(vector(1,0,0),deg2rad(-23.4457889));
filecontent=readtextfile(DataDir+"\AstroData\starnames.txt");
radius=2991960000000;
while filecontent.length>0 do {
fileline=filecontent.split("~n");
starname=fileline.split("~t");
ra=ToScalar(fileline.split("~t"))/180*Pi;
dec=ToScalar(fileline.split("~t"))/180*Pi;
snf.add("TextFlat",
"Position":(radial2point(radius,ra,dec)),
"BlendType":BlendTransparent,"DepthMask":DepthMaskDisable,
"Size":(radius/20),
"Color":color(0,0.5,0.5),
"Content":(" "+starname));
}
}
#Create Solar system framework
function ssys_create()
{
resetallscenes;
resetallviewports;
displayname=root.displays.getmembers.get(0).name;
vp=addviewport(0,0,1,1,displayname,displayname);
vp.name="main";
vp.usestereo=false;
vp.start;
vp.cameradir=vecnorm(vector(0,-1,-0.5));
vp.camerapos=point(0,0,0)-4*au2km*vp.cameradir;
vp.cameraupdir=vector(0,0,1);
vp.enableusernavigation=true;
vp.EnableUserTimeControl=true;
vp.NearClipPlane=0.5*au2km;
vp.FarClipPlane=20*au2km;
vp.FocalDistance=4*au2km;
vp.EyeSeparation=0.5*au2km;
sc=addscene;sc.name="SC";
sc.light0pos=point(0,0,0);
vp.setscene(sc);
scene.ambientlightcolor=color(0.1,0.1,0.1);
scene.start;
universe=sc.addsubframe("Universe");
ssys_createstarback;
universe.AddSubFrame("SolarSystem");
return(root.SC.Universe.SolarSystem);
}
function ssys_showstarback(newstatus)
{
root.SC.Universe.StarBackFrame.visible=newstatus;
}
function ssys_createearth(izoomf)
{
zoomf=izoomf;
earthframe=root.SC.Universe.SolarSystem.addsubframe("Earth");
orb=root.SC.Universe.SolarSystem.add("Curve","Name":"EarthOrbit");
orb.color=planetorbitcolor;
orb.Size=2;
mt2=MotionCyclOrbit.create(earthframe,"EarthOrbit");
mt2.loadfile("earth",au2km,0.00001);
earthframe.motion=mt2;
mt2.CreateCurve(orb,root.time,200);
inclinframe=earthframe.addsubframe("Inclin");
inclinframe.Transf.rotate(vector(1,0,0),deg2rad(-23.4457889));
globeframe=inclinframe.addsubframe("Globe");
tx=globeframe.createtexture("earth",DataDir+"\textures\earth.bmp");
globerenderframe=globeframe.addsubframe("GlobeRendering");
globerenderframe.Transf.rotate(vector(0,0,1),Pi);
earthglobe=globerenderframe.add("sphere","Name":"Earth");
earthglobe.canbuffer=true;
earthglobe.radius=6378.0*zoomf;
earthglobe.resolution=20;
earthglobe.texture="earth";
mtr=MotionRotate.create(globeframe);
mtr.normdir=vector(0,0,1);
mtr.RotSpeed=2*Pi/(24*60*60);
mtr.TimeType=ST0;
mtr.offsetangle=0;
globeframe.motion=mtr;
}
#Create the moon of the Earth
function ssys_createluna(izoomf)
{
zoomf=izoomf;
earthframe=root.SC.Universe.SolarSystem.Earth;
lunaframe=earthframe.addsubframe("Luna");
tx=lunaframe.createtexture("luna",DataDir+"\textures\moon.jpg");
lunaglobe=lunaframe.add("sphere","Name":"Luna");
lunaframe.transf.origin=point(0.2*au2km,0,0);
lunaglobe.radius=1737.4*zoomf;
lunaglobe.texture=tx.name;
lunaglobe.canbuffer=true;
mt2=MotionLuna.create(lunaframe,"LunaOrbit");
mt2.load;
lunaframe.motion=mt2;
orb=root.SC.Universe.SolarSystem.Earth.add("Curve","Name":"LunaOrbit");
orb.color=planetorbitcolor;
}
#this function calculates the orbit of Luna at a given time
function ssys_calclunaorbit(tm,resol)
{
MotionLuna=root.SC.Universe.SolarSystem.Earth.Luna.Motions.LunaOrbit;
LunaOrbit=root.SC.Universe.SolarSystem.Earth.LunaOrbit;
MotionLuna.CreateCurve(LunaOrbit,tm,resol);
}
#Creates a planet of the Solar System
function ssys_createplanet(pname,izoomf)
{
zoomf=izoomf;
if pname=="Earth" then {
ssys_createearth(zoomf);
return;
}
planframe=root.SC.Universe.SolarSystem.addsubframe(pname);
orb=root.SC.Universe.SolarSystem.add("Curve","Name":(pname+"Orbit"));
orb.color=planetorbitcolor;
orb.Size=2;
mt2=MotionCyclOrbit.create(planframe,pname+"Orbit");
mt2.loadfile(pname,au2km,0.00001);
planframe.motion=mt2;
mt2.CreateCurve(orb,root.time,200);
inclinframe=planframe.addsubframe("Inclin");
inclinframe.Transf.rotate(vector(1,0,0),deg2rad(-23.4457889));
globeframe=inclinframe.addsubframe("Globe");
tx=globeframe.createtexture(pname,DataDir+"\textures\moon.jpg");
globerenderframe=globeframe.addsubframe("GlobeRendering");
globerenderframe.Transf.rotate(vector(0,0,1),Pi);
globe=globerenderframe.add("sphere","Name":pname);
globe.radius=6378.0*zoomf;
globe.resolution=30;
globe.texture=pname;
globe.canbuffer=true;
mtr=MotionRotate.create(globeframe);
mtr.normdir=vector(0,0,1);
mtr.RotSpeed=2*Pi/(24*60*60);
mtr.TimeType=ST0;
mtr.offsetangle=0;
globeframe.motion=mtr;
}
#returns the frame of the motion of a planet around the sun
function GetPlanetFrame(planetname)
{
return(root.SC.Universe.SolarSystem.get(planetname));
}
#returns the position of a planet
function GetPlanetPosition(planetname)
{
return(root.SC.Universe.SolarSystem.get(planetname).Transf.origin);
}
#returns the frame of the body of a planet
function GetPlanetBodyFrame(planetname)
{
return(root.SC.Universe.SolarSystem.get(planetname).Inclin.Globe);
}
#returns the orbit object of a planet
function GetPlanetOrbit(name)
{
return(root.SC.Universe.SolarSystem.get(name+"Orbit"));
}
#returns the frame of the motion of Luna
function GetLunaFrame()
{
return(root.SC.Universe.SolarSystem.Earth.Luna);
}
#returns the position of Luna relative to Earth
function GetLunaPosition()
{
return(root.SC.Universe.SolarSystem.Earth.Luna.Transf.origin);
}
|
6ea0b8260d00e83e4b3e2e7e9049ccda275eedaf | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/ZN62PQD/ATWM1_Working_Memory_MEG_ZN62PQD_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | 03b3c5e9d82e397b04a75365c786045f6471b9b6 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48,617 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor_sounds = false;
active_buttons = 2;
response_matching = simple_matching;
button_codes = 10, 20;
default_font_size = 36;
default_font = "Arial";
default_background_color = 0 ,0 ,0 ;
write_codes=true; # for MEG only
begin;
#Picture definitions
box { height = 382; width = 382; color = 0, 0, 0;} frame1;
box { height = 369; width = 369; color = 255, 255, 255;} frame2;
box { height = 30; width = 4; color = 0, 0, 0;} fix1;
box { height = 4; width = 30; color = 0, 0, 0;} fix2;
box { height = 30; width = 4; color = 255, 0, 0;} fix3;
box { height = 4; width = 30; color = 255, 0, 0;} fix4;
box { height = 369; width = 369; color = 42, 42, 42;} background;
TEMPLATE "StimuliDeclaration.tem" {};
trial {
sound sound_incorrect;
time = 0;
duration = 1;
} wrong;
trial {
sound sound_correct;
time = 0;
duration = 1;
} right;
trial {
sound sound_no_response;
time = 0;
duration = 1;
} miss;
# Start of experiment (MEG only) - sync with CTF software
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
} expStart;
time = 0;
duration = 1000;
code = "ExpStart";
port_code = 80;
};
# baselinePre (at the beginning of the session)
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
}default;
time = 0;
duration = 10000;
#mri_pulse = 1;
code = "BaselinePre";
port_code = 91;
};
TEMPLATE "ATWM1_Working_Memory_MEG.tem" {
trigger_encoding trigger_retrieval cue_time preparation_time encoding_time single_stimulus_presentation_time delay_time retrieval_time intertrial_interval alerting_cross stim_enc1 stim_enc2 stim_enc3 stim_enc4 stim_enc_alt1 stim_enc_alt2 stim_enc_alt3 stim_enc_alt4 trial_code stim_retr1 stim_retr2 stim_retr3 stim_retr4 stim_cue1 stim_cue2 stim_cue3 stim_cue4 fixationcross_cued retr_code the_target_button posX1 posY1 posX2 posY2 posX3 posY3 posX4 posY4;
44 62 292 292 399 125 2242 2992 2542 fixation_cross gabor_113 gabor_180 gabor_058 gabor_164 gabor_113_alt gabor_180 gabor_058_alt gabor_164 "2_1_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2550_gabor_patch_orientation_113_180_058_164_target_position_2_4_retrieval_position_2" gabor_circ gabor_180_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_1_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_180_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2142 2992 2092 fixation_cross gabor_060 gabor_147 gabor_092 gabor_131 gabor_060_alt gabor_147 gabor_092_alt gabor_131 "2_2_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2100_gabor_patch_orientation_060_147_092_131_target_position_2_4_retrieval_position_2" gabor_circ gabor_147_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_2_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_147_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1942 2992 2442 fixation_cross gabor_089 gabor_170 gabor_007 gabor_112 gabor_089_alt gabor_170 gabor_007_alt gabor_112 "2_3_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2450_gabor_patch_orientation_089_170_007_112_target_position_2_4_retrieval_position_2" gabor_circ gabor_031_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_3_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_031_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 1842 2992 2592 fixation_cross gabor_011 gabor_137 gabor_175 gabor_091 gabor_011_alt gabor_137 gabor_175 gabor_091_alt "2_4_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1850_3000_2600_gabor_patch_orientation_011_137_175_091_target_position_2_3_retrieval_position_1" gabor_011_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_4_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_011_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1742 2992 2392 fixation_cross gabor_014 gabor_077 gabor_037 gabor_153 gabor_014_alt gabor_077 gabor_037_alt gabor_153 "2_5_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2400_gabor_patch_orientation_014_077_037_153_target_position_2_4_retrieval_position_2" gabor_circ gabor_124_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_5_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_124_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2142 2992 1942 fixation_cross gabor_110 gabor_001 gabor_044 gabor_080 gabor_110_alt gabor_001 gabor_044_alt gabor_080 "2_6_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_1950_gabor_patch_orientation_110_001_044_080_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_126_framed blank blank blank blank fixation_cross_white "2_6_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_126_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1742 2992 2192 fixation_cross gabor_085 gabor_066 gabor_124 gabor_014 gabor_085 gabor_066_alt gabor_124 gabor_014_alt "2_7_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2200_gabor_patch_orientation_085_066_124_014_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_173_framed gabor_circ blank blank blank blank fixation_cross_white "2_7_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_173_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2242 2992 2442 fixation_cross gabor_071 gabor_043 gabor_133 gabor_160 gabor_071 gabor_043_alt gabor_133_alt gabor_160 "2_8_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2450_gabor_patch_orientation_071_043_133_160_target_position_1_4_retrieval_position_1" gabor_071_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_8_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_071_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1792 2992 1992 fixation_cross gabor_006 gabor_158 gabor_116 gabor_027 gabor_006 gabor_158_alt gabor_116_alt gabor_027 "2_9_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2000_gabor_patch_orientation_006_158_116_027_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_027_framed blank blank blank blank fixation_cross_white "2_9_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_027_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2192 2992 2442 fixation_cross gabor_083 gabor_145 gabor_121 gabor_103 gabor_083_alt gabor_145 gabor_121_alt gabor_103 "2_10_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2450_gabor_patch_orientation_083_145_121_103_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_058_framed blank blank blank blank fixation_cross_white "2_10_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_058_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 1942 2992 2092 fixation_cross gabor_047 gabor_111 gabor_065 gabor_128 gabor_047_alt gabor_111 gabor_065 gabor_128_alt "2_11_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1950_3000_2100_gabor_patch_orientation_047_111_065_128_target_position_2_3_retrieval_position_1" gabor_047_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_11_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_047_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1992 2992 2192 fixation_cross gabor_099 gabor_042 gabor_027 gabor_080 gabor_099 gabor_042_alt gabor_027 gabor_080_alt "2_12_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2200_gabor_patch_orientation_099_042_027_080_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_167_framed gabor_circ blank blank blank blank fixation_cross_white "2_12_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_167_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1942 2992 2142 fixation_cross gabor_054 gabor_171 gabor_122 gabor_017 gabor_054 gabor_171_alt gabor_122 gabor_017_alt "2_13_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2150_gabor_patch_orientation_054_171_122_017_target_position_1_3_retrieval_position_1" gabor_102_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_13_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_102_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1892 2992 1942 fixation_cross gabor_009 gabor_115 gabor_132 gabor_166 gabor_009_alt gabor_115 gabor_132_alt gabor_166 "2_14_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_1950_gabor_patch_orientation_009_115_132_166_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_166_framed blank blank blank blank fixation_cross_white "2_14_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_166_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 1892 2992 2092 fixation_cross gabor_007 gabor_070 gabor_178 gabor_088 gabor_007_alt gabor_070 gabor_178_alt gabor_088 "2_15_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1900_3000_2100_gabor_patch_orientation_007_070_178_088_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_178_framed gabor_circ blank blank blank blank fixation_cross_white "2_15_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_178_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2042 2992 2442 fixation_cross gabor_043 gabor_101 gabor_133 gabor_060 gabor_043 gabor_101 gabor_133_alt gabor_060_alt "2_16_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2450_gabor_patch_orientation_043_101_133_060_target_position_1_2_retrieval_position_2" gabor_circ gabor_150_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_16_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_150_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2142 2992 2492 fixation_cross gabor_173 gabor_037 gabor_127 gabor_108 gabor_173_alt gabor_037 gabor_127_alt gabor_108 "2_17_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2500_gabor_patch_orientation_173_037_127_108_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_108_framed blank blank blank blank fixation_cross_white "2_17_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_108_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2042 2992 2292 fixation_cross gabor_001 gabor_077 gabor_140 gabor_029 gabor_001 gabor_077 gabor_140_alt gabor_029_alt "2_18_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_2300_gabor_patch_orientation_001_077_140_029_target_position_1_2_retrieval_position_1" gabor_001_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_18_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_001_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1992 2992 2342 fixation_cross gabor_080 gabor_016 gabor_104 gabor_044 gabor_080 gabor_016 gabor_104_alt gabor_044_alt "2_19_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2350_gabor_patch_orientation_080_016_104_044_target_position_1_2_retrieval_position_1" gabor_080_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_19_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_080_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1742 2992 2142 fixation_cross gabor_179 gabor_163 gabor_058 gabor_021 gabor_179_alt gabor_163_alt gabor_058 gabor_021 "2_20_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2150_gabor_patch_orientation_179_163_058_021_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_058_framed gabor_circ blank blank blank blank fixation_cross_white "2_20_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_058_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1792 2992 2342 fixation_cross gabor_038 gabor_002 gabor_171 gabor_154 gabor_038 gabor_002 gabor_171_alt gabor_154_alt "2_21_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2350_gabor_patch_orientation_038_002_171_154_target_position_1_2_retrieval_position_1" gabor_083_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_21_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_083_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 2042 2992 1992 fixation_cross gabor_033 gabor_161 gabor_115 gabor_143 gabor_033_alt gabor_161 gabor_115 gabor_143_alt "2_22_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2050_3000_2000_gabor_patch_orientation_033_161_115_143_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_143_framed blank blank blank blank fixation_cross_white "2_22_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_143_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1792 2992 2042 fixation_cross gabor_127 gabor_095 gabor_046 gabor_016 gabor_127 gabor_095_alt gabor_046_alt gabor_016 "2_23_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2050_gabor_patch_orientation_127_095_046_016_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_016_framed blank blank blank blank fixation_cross_white "2_23_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_016_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1892 2992 2042 fixation_cross gabor_173 gabor_127 gabor_063 gabor_003 gabor_173 gabor_127_alt gabor_063_alt gabor_003 "2_24_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2050_gabor_patch_orientation_173_127_063_003_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_143_framed blank blank blank blank fixation_cross_white "2_24_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_143_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1892 2992 2492 fixation_cross gabor_050 gabor_092 gabor_077 gabor_138 gabor_050_alt gabor_092 gabor_077 gabor_138_alt "2_25_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2500_gabor_patch_orientation_050_092_077_138_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_122_framed gabor_circ blank blank blank blank fixation_cross_white "2_25_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_122_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 1892 2992 2292 fixation_cross gabor_031 gabor_111 gabor_167 gabor_048 gabor_031_alt gabor_111 gabor_167 gabor_048_alt "2_26_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1900_3000_2300_gabor_patch_orientation_031_111_167_048_target_position_2_3_retrieval_position_1" gabor_079_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_26_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_079_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2042 2992 1892 fixation_cross gabor_155 gabor_071 gabor_115 gabor_178 gabor_155_alt gabor_071 gabor_115_alt gabor_178 "2_27_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_1900_gabor_patch_orientation_155_071_115_178_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_042_framed blank blank blank blank fixation_cross_white "2_27_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_042_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1742 2992 2392 fixation_cross gabor_084 gabor_132 gabor_046 gabor_014 gabor_084 gabor_132_alt gabor_046_alt gabor_014 "2_28_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2400_gabor_patch_orientation_084_132_046_014_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_153_framed blank blank blank blank fixation_cross_white "2_28_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_153_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1792 2992 2042 fixation_cross gabor_121 gabor_036 gabor_016 gabor_174 gabor_121 gabor_036 gabor_016_alt gabor_174_alt "2_29_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2050_gabor_patch_orientation_121_036_016_174_target_position_1_2_retrieval_position_2" gabor_circ gabor_036_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_29_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_036_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1992 2992 2042 fixation_cross gabor_085 gabor_069 gabor_008 gabor_114 gabor_085_alt gabor_069 gabor_008 gabor_114_alt "2_30_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2050_gabor_patch_orientation_085_069_008_114_target_position_2_3_retrieval_position_2" gabor_circ gabor_024_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_30_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_024_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1842 2992 2242 fixation_cross gabor_052 gabor_020 gabor_134 gabor_158 gabor_052 gabor_020 gabor_134_alt gabor_158_alt "2_31_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2250_gabor_patch_orientation_052_020_134_158_target_position_1_2_retrieval_position_1" gabor_100_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_31_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_100_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 1842 2992 2492 fixation_cross gabor_087 gabor_108 gabor_043 gabor_158 gabor_087 gabor_108_alt gabor_043 gabor_158_alt "2_32_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1850_3000_2500_gabor_patch_orientation_087_108_043_158_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_158_framed blank blank blank blank fixation_cross_white "2_32_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_158_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1742 2992 2092 fixation_cross gabor_167 gabor_081 gabor_096 gabor_128 gabor_167_alt gabor_081 gabor_096 gabor_128_alt "2_33_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2100_gabor_patch_orientation_167_081_096_128_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_096_framed gabor_circ blank blank blank blank fixation_cross_white "2_33_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_096_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1792 2992 1992 fixation_cross gabor_092 gabor_180 gabor_155 gabor_140 gabor_092_alt gabor_180 gabor_155 gabor_140_alt "2_34_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2000_gabor_patch_orientation_092_180_155_140_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_018_framed gabor_circ blank blank blank blank fixation_cross_white "2_34_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_018_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2242 2992 2242 fixation_cross gabor_148 gabor_180 gabor_017 gabor_036 gabor_148 gabor_180_alt gabor_017 gabor_036_alt "2_35_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2250_gabor_patch_orientation_148_180_017_036_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_062_framed gabor_circ blank blank blank blank fixation_cross_white "2_35_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_062_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1742 2992 2542 fixation_cross gabor_108 gabor_177 gabor_090 gabor_159 gabor_108_alt gabor_177_alt gabor_090 gabor_159 "2_36_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2550_gabor_patch_orientation_108_177_090_159_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_140_framed gabor_circ blank blank blank blank fixation_cross_white "2_36_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_140_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2092 2992 2592 fixation_cross gabor_106 gabor_025 gabor_043 gabor_149 gabor_106 gabor_025_alt gabor_043 gabor_149_alt "2_37_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2600_gabor_patch_orientation_106_025_043_149_target_position_1_3_retrieval_position_1" gabor_060_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_37_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_060_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 2192 2992 2192 fixation_cross gabor_148 gabor_104 gabor_169 gabor_042 gabor_148_alt gabor_104 gabor_169_alt gabor_042 "2_38_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2200_3000_2200_gabor_patch_orientation_148_104_169_042_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_121_framed gabor_circ blank blank blank blank fixation_cross_white "2_38_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_121_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1842 2992 2342 fixation_cross gabor_095 gabor_025 gabor_147 gabor_180 gabor_095 gabor_025_alt gabor_147 gabor_180_alt "2_39_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2350_gabor_patch_orientation_095_025_147_180_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_147_framed gabor_circ blank blank blank blank fixation_cross_white "2_39_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_147_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2092 2992 2242 fixation_cross gabor_007 gabor_178 gabor_028 gabor_118 gabor_007_alt gabor_178_alt gabor_028 gabor_118 "2_40_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2250_gabor_patch_orientation_007_178_028_118_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_118_framed blank blank blank blank fixation_cross_white "2_40_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_118_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1942 2992 1992 fixation_cross gabor_170 gabor_011 gabor_098 gabor_060 gabor_170_alt gabor_011 gabor_098 gabor_060_alt "2_41_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_2000_gabor_patch_orientation_170_011_098_060_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_098_framed gabor_circ blank blank blank blank fixation_cross_white "2_41_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_098_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1892 2992 2092 fixation_cross gabor_120 gabor_039 gabor_060 gabor_077 gabor_120 gabor_039 gabor_060_alt gabor_077_alt "2_42_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2100_gabor_patch_orientation_120_039_060_077_target_position_1_2_retrieval_position_1" gabor_120_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_42_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_120_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 2042 2992 2192 fixation_cross gabor_124 gabor_055 gabor_164 gabor_019 gabor_124 gabor_055_alt gabor_164 gabor_019_alt "2_43_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2050_3000_2200_gabor_patch_orientation_124_055_164_019_target_position_1_3_retrieval_position_2" gabor_circ gabor_055_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_43_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_055_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1992 2992 2142 fixation_cross gabor_085 gabor_102 gabor_131 gabor_065 gabor_085_alt gabor_102 gabor_131_alt gabor_065 "2_44_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2150_gabor_patch_orientation_085_102_131_065_target_position_2_4_retrieval_position_2" gabor_circ gabor_102_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_44_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_102_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2142 2992 2292 fixation_cross gabor_011 gabor_150 gabor_121 gabor_165 gabor_011_alt gabor_150 gabor_121_alt gabor_165 "2_45_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2300_gabor_patch_orientation_011_150_121_165_target_position_2_4_retrieval_position_2" gabor_circ gabor_150_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_45_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_150_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1892 2992 1892 fixation_cross gabor_077 gabor_017 gabor_097 gabor_149 gabor_077 gabor_017 gabor_097_alt gabor_149_alt "2_46_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_1900_gabor_patch_orientation_077_017_097_149_target_position_1_2_retrieval_position_1" gabor_077_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_46_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_077_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2192 2992 1942 fixation_cross gabor_120 gabor_165 gabor_054 gabor_039 gabor_120_alt gabor_165_alt gabor_054 gabor_039 "2_47_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_1950_gabor_patch_orientation_120_165_054_039_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_006_framed gabor_circ blank blank blank blank fixation_cross_white "2_47_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_006_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 2092 2992 2492 fixation_cross gabor_136 gabor_049 gabor_103 gabor_169 gabor_136 gabor_049 gabor_103_alt gabor_169_alt "2_48_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2100_3000_2500_gabor_patch_orientation_136_049_103_169_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_120_framed blank blank blank blank fixation_cross_white "2_48_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_120_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1992 2992 1942 fixation_cross gabor_075 gabor_160 gabor_016 gabor_035 gabor_075 gabor_160 gabor_016_alt gabor_035_alt "2_49_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_1950_gabor_patch_orientation_075_160_016_035_target_position_1_2_retrieval_position_1" gabor_125_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_49_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_125_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1742 2992 1892 fixation_cross gabor_051 gabor_009 gabor_030 gabor_118 gabor_051 gabor_009_alt gabor_030_alt gabor_118 "2_50_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_1900_gabor_patch_orientation_051_009_030_118_target_position_1_4_retrieval_position_1" gabor_097_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_50_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_097_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2142 2992 2392 fixation_cross gabor_114 gabor_048 gabor_131 gabor_083 gabor_114_alt gabor_048 gabor_131 gabor_083_alt "2_51_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_2400_gabor_patch_orientation_114_048_131_083_target_position_2_3_retrieval_position_2" gabor_circ gabor_003_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_51_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_003_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2192 2992 1942 fixation_cross gabor_124 gabor_147 gabor_172 gabor_061 gabor_124_alt gabor_147_alt gabor_172 gabor_061 "2_52_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_1950_gabor_patch_orientation_124_147_172_061_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_172_framed gabor_circ blank blank blank blank fixation_cross_white "2_52_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_172_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 1842 2992 2292 fixation_cross gabor_084 gabor_020 gabor_129 gabor_047 gabor_084 gabor_020_alt gabor_129 gabor_047_alt "2_53_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1850_3000_2300_gabor_patch_orientation_084_020_129_047_target_position_1_3_retrieval_position_2" gabor_circ gabor_068_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_53_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_068_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2092 2992 2542 fixation_cross gabor_138 gabor_090 gabor_048 gabor_170 gabor_138 gabor_090 gabor_048_alt gabor_170_alt "2_54_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2550_gabor_patch_orientation_138_090_048_170_target_position_1_2_retrieval_position_1" gabor_138_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_54_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_138_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1942 2992 2242 fixation_cross gabor_050 gabor_035 gabor_122 gabor_088 gabor_050 gabor_035 gabor_122_alt gabor_088_alt "2_55_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2250_gabor_patch_orientation_050_035_122_088_target_position_1_2_retrieval_position_1" gabor_004_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_55_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_004_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 2092 2992 1992 fixation_cross gabor_009 gabor_150 gabor_175 gabor_090 gabor_009 gabor_150_alt gabor_175_alt gabor_090 "2_56_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2100_3000_2000_gabor_patch_orientation_009_150_175_090_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_036_framed gabor_circ blank blank blank blank fixation_cross_white "2_56_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_036_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1842 2992 2142 fixation_cross gabor_156 gabor_094 gabor_043 gabor_178 gabor_156 gabor_094_alt gabor_043_alt gabor_178 "2_57_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2150_gabor_patch_orientation_156_094_043_178_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_178_framed blank blank blank blank fixation_cross_white "2_57_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_178_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2042 2992 2392 fixation_cross gabor_065 gabor_094 gabor_050 gabor_175 gabor_065_alt gabor_094 gabor_050 gabor_175_alt "2_58_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2400_gabor_patch_orientation_065_094_050_175_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_004_framed gabor_circ blank blank blank blank fixation_cross_white "2_58_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_004_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1792 2992 1892 fixation_cross gabor_135 gabor_019 gabor_055 gabor_161 gabor_135 gabor_019_alt gabor_055_alt gabor_161 "2_59_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_1900_gabor_patch_orientation_135_019_055_161_target_position_1_4_retrieval_position_1" gabor_135_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_59_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_135_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 2242 2992 2142 fixation_cross gabor_151 gabor_012 gabor_032 gabor_118 gabor_151_alt gabor_012_alt gabor_032 gabor_118 "2_60_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2250_3000_2150_gabor_patch_orientation_151_012_032_118_target_position_3_4_retrieval_position_2" gabor_circ gabor_061_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_60_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_061_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2142 2992 2592 fixation_cross gabor_072 gabor_144 gabor_056 gabor_020 gabor_072_alt gabor_144 gabor_056_alt gabor_020 "2_61_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2600_gabor_patch_orientation_072_144_056_020_target_position_2_4_retrieval_position_2" gabor_circ gabor_144_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_61_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_144_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1992 2992 2542 fixation_cross gabor_099 gabor_013 gabor_062 gabor_045 gabor_099 gabor_013 gabor_062_alt gabor_045_alt "2_62_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2550_gabor_patch_orientation_099_013_062_045_target_position_1_2_retrieval_position_2" gabor_circ gabor_013_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_62_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_013_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1842 2992 1892 fixation_cross gabor_068 gabor_086 gabor_013 gabor_042 gabor_068 gabor_086 gabor_013_alt gabor_042_alt "2_63_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_1900_gabor_patch_orientation_068_086_013_042_target_position_1_2_retrieval_position_2" gabor_circ gabor_086_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_63_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_086_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2242 2992 2342 fixation_cross gabor_114 gabor_085 gabor_055 gabor_003 gabor_114_alt gabor_085 gabor_055_alt gabor_003 "2_64_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2350_gabor_patch_orientation_114_085_055_003_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_139_framed blank blank blank blank fixation_cross_white "2_64_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_139_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 2242 2992 2042 fixation_cross gabor_043 gabor_012 gabor_149 gabor_176 gabor_043_alt gabor_012 gabor_149_alt gabor_176 "2_65_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2250_3000_2050_gabor_patch_orientation_043_012_149_176_target_position_2_4_retrieval_position_1" gabor_043_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_65_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_043_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1942 2992 2242 fixation_cross gabor_174 gabor_063 gabor_032 gabor_096 gabor_174_alt gabor_063_alt gabor_032 gabor_096 "2_66_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_2250_gabor_patch_orientation_174_063_032_096_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_096_framed blank blank blank blank fixation_cross_white "2_66_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_096_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2092 2992 2592 fixation_cross gabor_132 gabor_042 gabor_160 gabor_113 gabor_132 gabor_042_alt gabor_160 gabor_113_alt "2_67_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2600_gabor_patch_orientation_132_042_160_113_target_position_1_3_retrieval_position_1" gabor_084_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_67_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_084_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2192 2992 2192 fixation_cross gabor_036 gabor_116 gabor_010 gabor_082 gabor_036 gabor_116_alt gabor_010_alt gabor_082 "2_68_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2200_gabor_patch_orientation_036_116_010_082_target_position_1_4_retrieval_position_1" gabor_036_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_68_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_036_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1792 2992 2342 fixation_cross gabor_116 gabor_096 gabor_075 gabor_034 gabor_116 gabor_096_alt gabor_075_alt gabor_034 "2_69_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2350_gabor_patch_orientation_116_096_075_034_target_position_1_4_retrieval_position_1" gabor_162_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_69_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_162_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 2192 2992 2292 fixation_cross gabor_005 gabor_177 gabor_116 gabor_071 gabor_005_alt gabor_177_alt gabor_116 gabor_071 "2_70_Encoding_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2200_3000_2300_gabor_patch_orientation_005_177_116_071_target_position_3_4_retrieval_position_2" gabor_circ gabor_132_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_70_Retrieval_Working_Memory_MEG_P8_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_132_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
};
# baselinePost (at the end of the session)
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
};
time = 0;
duration = 5000;
code = "BaselinePost";
port_code = 92;
}; |
caf1cde1851b3260cb85ce1ca7d7ae079bb2fc3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH2/EX2.2/2Ex2.sce | bd71ff6d912619136eaed0cb10d56c606ed8a1c7 | [] | 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 | 151 | sce | 2Ex2.sce | //chapter 2 Ex 2
clc;
clear;
close;
n1=108; n2=288; n3=360;
V=int32([n1 n2 n3]);
Hcf=gcd(V);
mprintf("The HCF of given numbers is %d.",Hcf);
|
f1219aa7d661c4f74eb0009c3912ff42049b5255 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH13/EX13.2/Ex13_2.sce | e24a8d744a6bbac92fe4ee3bdbe38b52e2a82bd3 | [] | 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 | 615 | sce | Ex13_2.sce | clc
clear
//DATA GIVEN
r1=900/2000; //radius of larger pulley in m
r2=300/2000; //radius of smaller pulley in m
d=6; //distance between the centres of pulley in m
//Length of cross belt, Lcross=(pi)(r1+r2)+(r1+r2)^2/d+2d;
Lcross=(%pi)*(r1+r2)+(r1+r2)^2/d+2d;
//Length of open belt, Lopen=(pi)(r1+r2)+(r2-r1)^2/d+2d;
Lopen=(%pi)*(r1+r2)+(r2-r1)^2/d+2d;
Lred=Lcross-Lopen; //length to be reduced
printf(' The Length of the belt to be reduced, \n (to change the direction of rotation of the follower pulleys)is: %2.0f mm. \n',(Lred*1000));
|
420a8ea4dc5e10a7e05ddc7b1520b11df8cc47ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH7/EX7.2/Ex7_2.sce | 781b1f1181022768ae4ef8a3083e76324f692689 | [] | 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 | 582 | sce | Ex7_2.sce | // Initilization of variables
d1=0.6 //m // diameter of larger pulley
d2=0.3 //m // diameter of smaller pulley
d=3.5 //m // separation between the pulleys
pie=3.14
// Calculations
r1=d1/2 //m // radius of larger pulley
r2=d2/2 //m // radius of smaller pulley
theta=asind((r1+r2)/d) //degree
// Angle of lap for both the pulleys is same, i.e
beta=180+(2*theta) // degree
L=((pie*(r1+r2))+(2*d)+((r1-r2)^2/d)) //cm // Length of the belt
// Results
clc
printf('The angle of lap for the pulley is %f degree \n',beta)
printf('The length of pulley required is %f m \n',L)
|
82db78e2cf45715172cc16d7dd57555917621f1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1627/CH4/EX4.6/Ex4_6.sce | e9b61a4bfabc009d9918b4b2797c13f9e85577e7 | [] | 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 | 433 | sce | Ex4_6.sce | clc
//initialisation of variables
r=2000*10^-3//liters/min
s=0.85
d=10*10^-2//cm
d1=3*10^-2//m
p=6.5//MPa
g=9.8//ft
a=1.02*10^-4//m^3/N
p1=780.92//m
b=6.5*10^6//N/m^2
//CALCULATIONS
V1=(4*(r)*(1/60))/(%pi)*(d)^2//m/s
V2=(4*(r)*(1/60))/((%pi/(d1)^2))//m/s
P1=((a*b)/s)+((V1)/(2*g))+(V1/(2*g))
P2=sqrt((V2)/(2*g))/((a/s))/2//MPa
//RESULTS
printf('The work is done or energy dissipated from the system is=% f MPa',P2)
|
1341fe4fa7c30ac75833b89c78834bb160c53374 | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/err_getUnsatCore2.tst | 2b169883c4f08dc5d8d666ba96e5c4c46b62e77e | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 111 | tst | err_getUnsatCore2.tst | ; get-unsat-core without a check-sat
(set-option :produce-unsat-cores true)
(set-logic QF_UF)
(get-unsat-core)
|
f028a038e011f095262bd1596936ca1ccd5590c5 | bd4a88a5c028a801cbf0e414d2630de1c1e35449 | /scilab/svm-classification/Classification.sci | b4c974acc5f07d3da02f0bd64a17a3688b9ae41e | [] | no_license | edielsonpf/turning-signal-analysis | 625783cea26b029c87925f96af4ac14aa38c8ae8 | 2fd594e79395caa72f5cebc378878367ff0e7f01 | refs/heads/master | 2021-03-13T00:01:23.673430 | 2018-12-24T14:44:39 | 2018-12-24T14:44:39 | 41,508,152 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 176 | sci | Classification.sci | function [pred,acc,dec]=Classification(label_vector,instance_matrix,model)
[pred,acc,dec]=libsvm_svmpredict(label_vector,instance_matrix,model);
endfunction
|
f73516d7004f29f408a7cee6386e3a235cc835cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH2/EX2.5/Ex2_5.sce | fb6a23b083714324a391360a1b9ddaf231b3e4a9 | [] | 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 | 518 | sce | Ex2_5.sce | clc
t = 1.5 // thickness in mm
c = 0.05*t // clearance in mm
D = 25.4 // outside diameter in mm
D_o = D - 0.05 // blank die opening in mm
B_s = D_o - 2*c // blanking punch size in mm
d = 12.7 // internal diameter in mm
P_s = d + 0.05 // piercing punch size in mm
D_s = P_s + 2*c // piercing die size in mm
printf("\n clearance = %0.3f mm\n blank die opening size = %0.2f mm ",c ,D_o)
printf("\n blanking punch size = %0.2f mm\n piercing punch size = %0.2f mm\n piercing die size = %0.2f mm",B_s,P_s,D_s )
|
8dc78e287f2011abe4b5dbbca3e277dd9875cdf7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/iconvert.man.tst | d725912f20b4e214c358fe350ebd6a2130702a29 | [
"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 | 59 | tst | iconvert.man.tst | clear;lines(0);
b=int32([1 -120 127 312])
y=iconvert(b,8)
|
20a7f302a1f2c62cc13fa45e6079fbb3358d3c25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH2/EX2.17/Ex2_17.sce | bf2a15c0b72e76e4fa7ad931de7e9a10199adc84 | [] | 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 | 455 | sce | Ex2_17.sce | //Example 2.17
//To find radius of circumscribed circle for triangle ABC
clc,clear
c=5//side oposite to vertex C
a=3//side opposite to vertex A
b=4//side opposite to vertex B
cos_A = (c^2+b^2-a^2)/(2*c*b) //from law of cosines
A= acosd(cos_A)
diameter=(a/sind(A))
radius = diameter/2
printf('Radius of circumscribed circle = %.1f units \n',radius)
printf('\nNote :\n Diameter is same as AB i.e. c... So centre of circle is mipoint of AB')
|
0972689964a482d63d67d43945cff03132135f16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /545/CH8/EX8.4/ch_8_eg_4.sce | 6edf4a89a47a2a9616ca4a1d3313e20f0ef84dac | [] | 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 | 843 | sce | ch_8_eg_4.sce | clc
disp("the soln of eg 8.4-->");
for i=1:100, x(i)=0
end
iter=0, e1=1, f1=1
while e1>1e-6 & f1>1e-6 do iter=iter+1,for i=1:100, x1(i)=x(i),
end, for i=2:100, a(i)=1-(1/(i-1))
end, b(1)=-6-.01*exp((10-10*x1(1))/(11-10*x1(1))), for i=2:100, b(i)=-2-.01*exp((10-10*x1(i))/(11-10*x1(i)))
end, c(1)=6, for i=2:99,c(i)=1+(1/(i-1))
end, for i=1:99,d(i)=0, end, d(100)=-100/99,
i=1, n=100, Beta(i)=b(i),
Gamma(i)=d(i)/Beta(i)
i1=i+1,
for j=i1:n, Beta(j)=b(j)-a(j)*c(j-1)/Beta(j-1),
Gamma(j)=(d(j)-a(j)*Gamma(j-1))/Beta(j),
end
x(n)=Gamma(n)
n1=n-i,
for k=1:n1, j=n-k,x(j)=Gamma(j)-c(j)*x(j+1)/Beta(j)
end
e1=abs(x(1)-x1(1)),
f1=abs(x(100)-x1(100)),
end
disp("the solution by TDMA of node 77 to 99 by 1st order rxn. is");
for i=76:100,
disp(x(i));
end |
97369e82a846c78416419b913ffbe5d096a8ceda | caafd05eb866a2bd249681ceeb5734ca2df71833 | /TP2/resolg.sci | 746461727861e923c02b3e92597ab42adbeb184c | [
"MIT"
] | permissive | mmewen/MT09-numerical-analysis | 5fb1f251e86f9d43d7eeb23ce7bcc91d6ca3fa8b | cde3871aa885811bc31166e778b2a4f052e74b64 | refs/heads/master | 2021-01-11T22:11:18.631204 | 2017-01-14T10:59:23 | 2017-01-14T10:59:23 | 78,934,966 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 142 | sci | resolg.sci | function [x] = resolg(A, b)
exec("trisup.sci", -1);
exec("solsup.sci", -1);
[U,e] = trisup(A,b);
x = solsup(U,e);
endfunction
|
3f1a72a45bf802ff5fbe3dfa178380a5015a4694 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH4/EX4.8/Ex4_8.sce | 7cfe9998053954b64ae946b7f66ffb77b17e1497 | [] | 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 | 381 | sce | Ex4_8.sce | clear;
clc;
disp('Example 4.8');
// aim : To determine
// the specific volume of wet steam
// Given values
P = 1.25; // pressure, [MN/m^2]
x = .9; // dry fraction
// solution
// from steam table at given pressure
vg = .1569;// [m^3/kg]
// hence
v = x*vg; // [m^3/kg]
mprintf('\nThe specific volume of wet steam is = %f m^3/kg \n',v);
// End
|
f3539ef0d7bb5d90765892754b1fc9e6aa2b1f75 | 35c73867a5733be20fa572cc8fdd29e659a4a769 | /WarZoneWebApp/Typewriter/GenerateClasses.tst | 21ce5c417fdd05d36dc6aa4dec65aaa1aa384cc8 | [] | no_license | Polskipepek/WarZone | 20002041320c527b0f2b2d1b367cd9daad71a643 | 7537fb266c7f4d788ba73e9b313a3c319998aa28 | refs/heads/master | 2022-11-13T15:15:45.919942 | 2020-06-27T19:14:20 | 2020-06-27T19:14:20 | 220,586,155 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,506 | tst | GenerateClasses.tst | ${
Template(Settings settings)
{
settings.IncludeAllProjects();
settings.IncludeReferencedProjects();
settings.OutputExtension = ".ts";
settings.OutputFilenameFactory = file => {
return $"../ClientApp/src/components/model/{file.Name.Replace(".cs", ".ts")}";
};
}
string ClassNameWithExtends(Class c) => c.Name + (c.BaseClass != null ? " extends " + c.BaseClass.Name : "");
// append a ? next to any type that is nullable
string TypeNullableFormatted(Property property) => property.Type.IsNullable ? $"?" : $"";
string ImportsList(Class objClass)
{
List<string> neededImports = new List<string>();
foreach(var prop in objClass.Properties){
if (prop.Type.IsPrimitive == false){
neededImports.Add("import { " + prop.Type.Name.Replace("[]", "") + " } from './" + prop.Type.Name.Replace("[]", "") + "';");
}
}
if (objClass.BaseClass != null)
{
neededImports.Add("import { " + objClass.BaseClass.Name + " } from './" + objClass.BaseClass.Name + "';");
}
return String.Join("\n", neededImports.Distinct());
}
bool ClassFilter(Class c){
string[] classes = {
"Customer",
"Weapon",
"Service",
"Receipt",
"Transaction",
"ModelBase",
};
return classes.Contains(c.Name);
}
}
$Classes(c=>ClassFilter(c))[
$ImportsList
export interface $ClassNameWithExtends {
$Properties[
$name$TypeNullableFormatted: $Type;]
}
] |
3e8b1c7400454fb9920e67ceb8fc8299d73c2d6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH6/EX6.3/Exa_6_3.sce | 2b465f3f3f00713200dde737191b07ffabf87ec0 | [] | 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 | 496 | sce | Exa_6_3.sce | //Example No. 6.3
clc;
clear;
close;
format('v',7);
//Given Data :
N=288;//rpm
f=50;//Hz
CuLoss=275;//W
Ns=300;//rpm(For S=0.03:0.05)
P=120*f/Ns;//poles
disp(P,"No. of poles : ");
S=(Ns-N)/Ns;//Slip
disp(S,"Slip : ");
S=2*S;//(as rotor reistance doubled, slip is doubled)
disp(S,"Slip for full load if rotor resiatance doubled : ");
//CuLoss=I2^2*r2
CuLoss=2*CuLoss;//KW(rotor resiatance doubled & current constant)
disp(CuLoss,"New value of rotor copper loss in watt : ");
|
dcc47d66a12a011c3fad39895fcb115e32ebf886 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH5/EX5.2/example5_2.sce | 79229ae683bd9a52cb6e747ecfab63ec8310142f | [] | 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 | example5_2.sce | //clc()
P = 10^7;//Pa;
N = 1000;
T = 500;//K
R = 8.314;//Pa * L / mol K
V = N * R * T / ( P * 1000);
disp("m^3",V,"(a)Volume of CO2 calculated using ideal gas equation = ") |
4f77dae5ae85219a29e5977af1eca623c6d7bd14 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH21/EX21.10/EX21_10.sce | fc3acf61eb6e78d52ed20ecc9d8706ce0686d158 | [] | 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 | 156 | sce | EX21_10.sce | //Finding of Diameter
//Given
D=25;
P1=25;
P2=120;
//To Find
A=(%pi/4)*D^2;
d=(A*P1)/P2;
d1=sqrt(d);
disp("Diameter ="+string(d1)+" centimeter");
|
7d6d82c28a30c95962c79423bf6943053654c6c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH6/EX6.14/Ex6_14.sce | 0f2681a1cb88efc580850d84259a99a22d2d712f | [] | 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 | Ex6_14.sce | clear
//
//given
hp=75
v=415
n=0.9
pf=0.85
op=75*746 //since its horse power
ip=op/n
ilv=ip/(1.732*v*pf) //line current on low voltage start side
a=(6600*1.732)/415 //given in question
ihv=ilv/a
printf("\n ihv= %0.1f A",ihv)
|
d963a0ffc1fbf4e2aad3cc95e8fa2f5e9076c900 | 717ddeb7e700373742c617a95e25a2376565112c | /3428/CH23/EX14.23.4/Ex14_23_4.sce | 75861f58663d1c1150342da3051a16ac2d1f8278 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 353 | sce | Ex14_23_4.sce | //Section-14,Example-2,Page no.-PC.75
//To calculate equilibrium composition of reaction mixture
clc;
a_N2=1.00-x
a_H2=3.00-(3*x)
a_NH_3=2*x
//K=(2*x^2)/((1.00-x)*(3.00-3*x)^3)=977
x_1=(163.416+sqrt((163.416)^2-(4*81.208*81.208)))/(2*81.208)
x_2=(163.416-sqrt((163.416)^2-(4*81.208*81.208)))/(2*81.208)
p_N2=1-x_2
p_H2=3*(1-x_2)
p_NH3=2*x_2
|
e92cef6f8a5a7ab92c36a18d1132711c5b2714c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH7/EX7.4/7_4.sce | e1afbb4e7316e5bb80135c45d20580eb9485d962 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | sce | 7_4.sce | //Example 7.4
//Differentiation
//Page no. 233
clc;close;clear;
t=[1.2,1.3,1.4,1.5,1.6]
I=[1.5095,1.6984,1.9043,2.1293,2.3756]
h=0.1;
deff('y=f2(x,h1)','y=(-I(x+2*h1)+8*I(x+h1)-8*I(x-h1)+I(x-2*h1))/(12*h)')
x=3;h1=1;
i1(x)=f2(x,h1)
printf('\nUsing Centred Tendency of Order O(h4)\n')
printf('f`(1.4) = %g\n',i1(x)) |
bae6348bdec5d01d598156ef138656d71ff060dc | 15bd78a2bf248cadb3f74988a5a1ddd53a2d129a | /LangFiles/Level.01D/SCINC/BRIEF.SCI | 7c441584c4167b6c76b9e914e9af087d78f6dc5f | [] | no_license | Marisa-Chan/RR2NW_ENG | e5bc85cd570b72ad60969811a626192be5a02bd5 | d0868db86db46ab1fe55cd80c85b67a299b95b24 | refs/heads/master | 2022-11-17T20:16:26.503539 | 2020-07-17T12:21:59 | 2020-07-17T12:21:59 | 280,207,135 | 0 | 0 | null | null | null | null | IBM866 | Scilab | false | false | 27,373 | sci | BRIEF.SCI | /* ********** Танковые миссии ********** */
func void Miss_Tnk_01()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.T01/tnk_d_01.txt");
nNode := p_SetMissionSummary (nNode,"Защита Simulator'а.","Уничтожить самолет-разведчик.",
"Route/Pwr_Mis.T01/t01_arrow.rt",
ConvertColor(255,245,0),1,1);
nNode := p_AddSuccessKill (nNode,"Enemy.Flyer.Falcon.01");
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.T01/tnk_01.sc");
nNode := p_AddCommander (nNode,"Tanks");
nNode := p_AddMissionInfo (nNode, 0);
s_NewProject ("Tank_01", nNode);
}
func void Miss_Tnk_02()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.T02/tnk_02.txt");
nNode := p_SetMissionSummary (nNode,"Бой в Большом Каньоне.","Помочь танкам нашей корпорации$отбиться от налета истребителей.",
"Route/Pwr_Mis.T02/t02_arrow.rt",
ConvertColor(255,245,0),1,1);
nNode := p_AddSuccessKill (nNode,"T02.Enemy.01");
nNode := p_AddSuccessKill (nNode,"T02.Enemy.02");
nNode := p_AddSuccessKill (nNode,"T02.Enemy.03");
nNode := p_AddSuccessKill (nNode,"T02.Enemy.04");
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.T02/tnk_02.sc");
nNode := p_AddCommander (nNode,"Tanks");
nNode := p_AddMissionInfo (nNode, 0);
s_NewProject ("Tank_02", nNode);
}
func void Miss_Tnk_03()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.T03/t03_demo.txt");
nNode := p_SetMissionSummary (nNode,"Нападение на Fufelville-2.","Уничтожить новые истребители,$находящиеся в Fufelville-2.",
"Route/Pwr_Mis.T03/t03_arrow.rt",
ConvertColor(255,245,0),15,0);
nNode := p_AddSuccessKill (nNode,"M03.Taxi.Flyer.01");
nNode := p_AddSuccessKill (nNode,"M03.Taxi.Flyer.02");
nNode := p_AddSuccessKill (nNode,"M03.Taxi.Flyer.03");
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.T03/tnk_03.sc");
nNode := p_AddCommander (nNode,"Tanks");
nNode := p_AddMissionInfo (nNode, 0);
s_NewProject ("Tank_03", nNode);
}
func void Miss_Tnk_04()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.T04/t04_demo.txt");
nNode := p_SetMissionSummary (nNode,"Turtle Bunker.","Предотвратить нападение на пункт$Turtle Bunker. Не допустить жертв.",
"Route/Pwr_Mis.T04/t04_arrow.rt",
ConvertColor(255,245,0),12,0);
nNode := p_AddFiledKill (nNode,"T04.Man.01");
nNode := p_RunScriptIfReached (nNode,"T04.Enemy.01",
"Brief/Pwr_Mis.T04/tnk_04a.sc",
[1496.409,161,-4049.600],50,3);
nNode := p_AddSuccessKill (nNode,"T04.Enemy.01");
nNode := p_AddSuccessKill (nNode,"T04.Enemy.02");
nNode := p_AddSuccessKill (nNode,"T04.Enemy.03");
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.T04/tnk_04.sc");
nNode := p_AddMissionInfo (nNode, 0);
nNode := p_AddCommander (nNode,"Tanks");
s_NewProject ("Tank_04", nNode);
}
func void Miss_Tnk_05()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.T05/t05_demo.txt");
nNode := p_SetMissionSummary (nNode,"Крепость Danger City.","Уничтожить два робота-крейсера$охраны крепости Danger City$корпорации RND.",
"Route/Pwr_Mis.T05/t05_arrow.rt",ConvertColor(255,245,0),15,0);
nNode := p_AddSuccessKill (nNode,"T05.Enemy.03");
nNode := p_AddSuccessKill (nNode,"T05.Enemy.04");
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.T05/tnk_05.sc");
nNode := p_AddMissionInfo (nNode, 0);
nNode := p_AddCommander (nNode,"Tanks");
s_NewProject ("Tank_05", nNode);
}
func void Miss_Tnk_06()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.T06/t06_demo.txt");
nNode := p_SetMissionSummary (nNode,"Город танкистов R-Master.","Отбить атаку летунов на R-Master.",
"Route/Pwr_Mis.T06/t06_arrow.rt",ConvertColor(255,245,0),15,0);
nNode := p_AddSuccessKill (nNode,"T06.Enemy.01");
nNode := p_AddSuccessKill (nNode,"T06.Enemy.02");
nNode := p_AddSuccessKill (nNode,"T06.Enemy.03");
nNode := p_AddSuccessKill (nNode,"T06.Enemy.04");
nNode := p_AddSuccessKill (nNode,"T06.Enemy.05");
nNode := p_AddSuccessKill (nNode,"T06.Enemy.06");
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.T06/tnk_06.sc");
nNode := p_AddMissionInfo (nNode, 0);
nNode := p_AddCommander (nNode,"Tanks");
s_NewProject ("Tank_06", nNode);
}
func void Miss_Tnk_07()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.T07/t07_demo.txt");
nNode := p_SetMissionSummary (nNode,"Подавление восстания.","Уничтожить артиллерию$и воздушную защиту Laser City.",
"Route/Pwr_Mis.T07/t07_arrow.rt",ConvertColor(255,245,0),15,0);
nNode := p_AddSuccessKill (nNode,"T07.Enemy.01");
nNode := p_AddSuccessKill (nNode,"T07.Enemy.02");
nNode := p_AddSuccessKill (nNode,"Hwz_Tank_Chaingun63");
nNode := p_AddSuccessKill (nNode,"Hwz_Tank_Chaingun64");
nNode := p_AddSuccessKill (nNode,"Hwz_Tank_Chaingun65");
nNode := p_AddSuccessKill (nNode,"Hwz_Tank_Chaingun66");
nNode := p_AddSuccessKill (nNode,"T07.Enemy.T1");
nNode := p_AddSuccessKill (nNode,"T07.Enemy.T2");
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.T07/tnk_07.sc");
nNode := p_AddMissionInfo (nNode, 0);
nNode := p_AddCommander (nNode,"Tanks");
s_NewProject ("Tank_07", nNode);
}
func void Miss_Tnk_08()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.T08/t08_demo.txt");
nNode := p_SetMissionSummary (nNode,"Террористический акт.","Захватить город роботов$Tigerfield.",
"Route/Pwr_Mis.T08/t08_arrow.rt",ConvertColor(255,245,0),15,0);
nNode := p_AddSuccessKill (nNode,"T08.Enemy.01");
nNode := p_AddSuccessKill (nNode,"T08.Enemy.05");
nNode := p_AddSuccessKill (nNode,"Hwz_Robot_Chaingun11");
nNode := p_AddSuccessKill (nNode,"Hwz_Robot_Chaingun12");
nNode := p_AddSuccessKill (nNode,"Hwz_Robot_Chaingun13");
nNode := p_AddSuccessKill (nNode,"Hwz_Robot_Chaingun14");
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.T08/tnk_08.sc");
nNode := p_AddMissionInfo (nNode, 0);
nNode := p_AddCommander (nNode,"Tanks");
s_NewProject ("Tank_08", nNode);
}
func void Miss_Tnk_09()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.T09/t09_demo.txt");
nNode := p_SetMissionSummary (nNode, "Террористический акт.",
"Уничтожить ремонтный$завод Condor.",
"Route/Pwr_Mis.T09/t09_arrow.rt",
ConvertColor(255,245,0),15,0);
nNode := p_AddSuccessKill (nNode,"T09.Taxi.Falcon.01");
nNode := p_AddSuccessKill (nNode,"T09.Taxi.Falcon.02");
nNode := p_AddSuccessKill (nNode,"T09.Taxi.Falcon.03");
nNode := p_AddSuccessKill (nNode,"T09.Taxi.Falcon.04");
nNode := p_AddSuccessKill (nNode,"T09.Taxi.Falcon.05");
nNode := p_AddSuccessKill (nNode,"T09.Taxi.Falcon.06");
nNode := p_AddSuccessKill (nNode,"T09.Taxi.Falcon.07");
nNode := p_AddSuccessKill (nNode,"T09.Taxi.Falcon.08");
nNode := p_AddSuccessKill (nNode,"T09.Taxi.Falcon.09");
nNode := p_AddSuccessKill (nNode,"T09.Taxi.Falcon.10");
nNode := p_AddSuccessKill (nNode,"T09.Taxi.Falcon.11");
nNode := p_AddSuccessKill (nNode,"T09.Taxi.Falcon.12");
nNode := p_AddSuccessKill (nNode,"T09.Taxi.Falcon.13");
nNode := p_AddSuccessKill (nNode,"Hwz_Flyer_Chaingun89");
nNode := p_AddSuccessKill (nNode,"Hwz_Flyer_Chaingun90");
nNode := p_AddSuccessKill (nNode,"Hwz_Robot_Chaingun91");
nNode := p_AddSuccessKill (nNode,"Hwz_Flyer_Chaingun92");
nNode := p_AddSuccessKill (nNode,"Hwz_Flyer_Chaingun95");
nNode := p_AddSuccessKill (nNode,"Hwz_Flyer_Cannon137");
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.T09/tnk_09.sc");
nNode := p_AddMissionInfo (nNode, 0);
nNode := p_AddCommander (nNode,"Tanks");
s_NewProject ("Tank_09", nNode);
}
func void Miss_Tnk_10()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.T10/t10_demo.txt");
nNode := p_SetMissionSummary (nNode, "Уничтожение конвоя.",
"Уничтожить космический$корабль роботов.",
"Route/Pwr_Mis.T10/t10_arrow.rt",
ConvertColor(255,245,0),15,0);
nNode := p_AddSuccessKill (nNode,"T10.Enemy.Craft");
nNode := p_AddFiledReached (nNode,"T10.Enemy.Craft",4403.87,-3179.72,40);
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.T10/tnk_10.sc");
nNode := p_AddMissionInfo (nNode, 0);
nNode := p_AddCommander (nNode,"Tanks");
s_NewProject ("Tank_10", nNode);
}
func void Miss_Tnk_99()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.T99/t99_demo.txt");
nNode := p_SetMissionSummary (nNode, "Космодром Baikonur.",
"Добраться до космодрома$Baikonur и вылететь на планету-спутник$для захвата энергетического кристалла.",
"Route/Pwr_Mis.T99/t99_arrow.rt",
ConvertColor(255,245,0),15,0);
nNode := p_AddSuccessReached (nNode,"Vehicle.Default",4411,-3179,3);
nNode := p_RunScriptIfReached (nNode, "Vehicle.Default",
"Brief/Pwr_Mis.T99/tnk_99a.sc",
[3355.085,101.750,-2657.700],10,1);
nNode := p_RunScriptIfReached (nNode, "Vehicle.Default",
"Brief/restart.sc",
[4405,123,-3179],4,1);
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.T99/tnk_99.sc");
nNode := p_AddMissionInfo (nNode, 5);
nNode := p_AddCommander (nNode,"Tanks");
s_NewProjectEx ("Tank_99", nNode, 1);
}
/* ********** Роботные миссии ********** */
func void Miss_Rbt_01()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.R01/r01_demo.txt");
nNode := p_SetMissionSummary (nNode, "Бой в Большом Каньона.",
"Отбить атаку летунов$в Большом Каньоне.",
"Route/Pwr_Mis.R01/r01_arrow.rt",
ConvertColor(235,0,0),1,1);
nNode := p_AddSuccessKill (nNode,"R01.Enemy.Flyer.01");
nNode := p_AddSuccessKill (nNode,"R01.Enemy.Flyer.02");
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.R01/rbt_01.sc");
nNode := p_AddMissionInfo (nNode, 0);
nNode := p_AddCommander (nNode,"Robots");
s_NewProject ("Robot_01", nNode);
}
func void Miss_Rbt_02()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.R02/r02_demo.txt");
nNode := p_SetMissionSummary (nNode,"Уничтожение резервной техники.",
"Уничтожить три резервных истребителя,$стоящих на базе Fufelville-2.",
"Route/Pwr_Mis.R02/r02_arrow.rt",ConvertColor(235,0,0),1,5);
nNode := p_AddSuccessKill (nNode,"R02.Taxi.Flyer.01");
nNode := p_AddSuccessKill (nNode,"R02.Taxi.Flyer.02");
nNode := p_AddSuccessKill (nNode,"R02.Taxi.Flyer.03");
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.R02/rbt_02.sc");
nNode := p_AddMissionInfo (nNode, 0);
nNode := p_AddCommander (nNode,"Robots");
s_NewProject ("Robot_02", nNode);
}
func void Miss_Rbt_03()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.R03/r03_demo.txt");
nNode := p_SetMissionSummary (nNode,"Уничтожение захваченного робота",
"Уничтожить захваченного робота$ на базе New Avos.",
"Route/Pwr_Mis.R03/r03_arrow.rt",ConvertColor(235,0,0),2,2);
nNode := p_AddSuccessKill (nNode,"R03.Taxi.01");
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.R03/rbt_03.sc");
nNode := p_AddMissionInfo (nNode, 0);
nNode := p_AddCommander (nNode,"Robots");
s_NewProject ("Robot_03", nNode);
}
func void Miss_Rbt_04()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.R04/r04_demo.txt");
nNode := p_SetMissionSummary (nNode,"Защита крепости Fort Escort.",
"Отбить атаку летунов пограничной$крепости Fort Escort.",
"Route/Pwr_Mis.R04/r04_arrow.rt",ConvertColor(235,0,0),10,0);
nNode := p_AddSuccessKill (nNode,"R04.Enemy.01");
nNode := p_AddSuccessKill (nNode,"R04.Enemy.02");
nNode := p_AddSuccessKill (nNode,"R04.Enemy.03");
nNode := p_AddSuccessKill (nNode,"R04.Enemy.04");
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.R04/rbt_04.sc");
nNode := p_AddMissionInfo (nNode, 0);
nNode := p_AddCommander (nNode,"Robots");
s_NewProject ("Robot_04", nNode);
}
func void Miss_Rbt_05()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.R05/r05_demo.txt");
nNode := p_SetMissionSummary (nNode,"Защита города Bridgefield.",
"Отбить танковую атаку$на город Bridgefield.",
"Route/Pwr_Mis.R05/r05_arrow.rt",ConvertColor(235,0,0),10,0);
nNode := p_AddSuccessKill (nNode,"R05.Enemy.01");
nNode := p_AddSuccessKill (nNode,"R05.Enemy.02");
nNode := p_AddSuccessKill (nNode,"R05.Enemy.03");
nNode := p_AddSuccessKill (nNode,"R05.Enemy.04");
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.R05/rbt_05.sc");
nNode := p_AddMissionInfo (nNode, 0);
nNode := p_AddCommander (nNode,"Robots");
s_NewProject ("Robot_05", nNode);
}
func void Miss_Rbt_06()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.R06/r06_demo.txt");
nNode := p_SetMissionSummary (nNode,"Захват New Titanic'а.",
"Уничтожить охрану New Titanic$и обеспечить посадку космического корабля.",
"Route/Pwr_Mis.R06/r06_arrow.rt",ConvertColor(235,0,0),10,0);
nNode := p_AddSuccessKill (nNode,"Hwz_Flyer_Chaingun83");
nNode := p_AddSuccessKill (nNode,"Hwz_Flyer_Chaingun84");
nNode := p_AddSuccessKill (nNode,"Hwz_Flyer_Chaingun85");
nNode := p_AddSuccessKill (nNode,"Hwz_Flyer_Chaingun86");
nNode := p_AddSuccessKill (nNode,"Hwz_Flyer_Chaingun87");
nNode := p_AddSuccessKill (nNode,"Hwz_Flyer_Chaingun88");
nNode := p_AddSuccessKill (nNode,"FP_Falcon.09");
nNode := p_AddSuccessKill (nNode,"FP_Falcon.10");
nNode := p_AddSuccessKill (nNode,"FP_Falcon.11");
nNode := p_AddSuccessKill (nNode,"FP_Falcon.12");
nNode := p_AddFiledKill (nNode,"R06.StarCraft");
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.R06/rbt_06.sc");
nNode := p_AddMissionInfo (nNode, 0);
nNode := p_AddCommander (nNode,"Robots");
s_NewProject ("Robot_06", nNode);
}
func void Miss_Rbt_07()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.R07/r07_demo.txt");
nNode := p_SetMissionSummary (nNode,"Защита Tigerfield'а.",
"Отбить танковую атаку$на цитадель Tigerfield.",
"Route/Pwr_Mis.R07/r07_arrow.rt",ConvertColor(235,0,0),10,0);
nNode := p_AddSuccessKill (nNode,"R07.Enemy.01");
nNode := p_AddSuccessKill (nNode,"R07.Enemy.02");
nNode := p_AddSuccessKill (nNode,"R07.Enemy.03");
nNode := p_AddSuccessKill (nNode,"R07.Enemy.04");
nNode := p_AddSuccessKill (nNode,"R07.Enemy.05");
nNode := p_AddSuccessKill (nNode,"R07.Enemy.06");
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.R07/rbt_07.sc");
nNode := p_AddMissionInfo (nNode, 0);
nNode := p_AddCommander (nNode,"Robots");
s_NewProject ("Robot_07", nNode);
}
func void Miss_Rbt_08()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.R08/r08_demo.txt");
nNode := p_SetMissionSummary (nNode,"Уничтожение конвоя.",
"Уничтожить грузовик танкистов,$следующий из New Babilon в Hangar-13.",
"Route/Pwr_Mis.R08/r08_arrow.rt",
ConvertColor(235,0,0),10,0);
nNode := p_AddSuccessKill (nNode,"R08.Traller");
nNode := p_AddFiledReached (nNode,"R08.Traller",3376.8,-2714.4,50);
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.R08/rbt_08.sc");
nNode := p_AddMissionInfo (nNode, 0);
nNode := p_AddCommander (nNode,"Robots");
s_NewProject ("Robot_08", nNode);
}
func void Miss_Rbt_99()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.R99/r99_demo.txt");
nNode := p_SetMissionSummary (nNode, "Космодром Baikonur.",
"Добраться до космодрома$Baikonur и вылететь на планету-спутник$для захвата энергетического кристалла.",
"Route/Pwr_Mis.R99/R99_arrow.rt",
ConvertColor(235,0,0),15,0);
nNode := p_RunScriptIfReached (nNode, "Vehicle.Default",
"Brief/restart.sc",
[4405,123,-3179],4,1);
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.R99/rbt_99.sc");
nNode := p_AddMissionInfo (nNode, 5);
nNode := p_AddCommander (nNode,"Robots");
s_NewProjectEx ("Robot_99", nNode, 1);
}
/* ******* Летуновские миссии ****** */
func void Miss_Fly_01()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.F01/f01_demo.txt");
nNode := p_SetMissionSummary (nNode,"Защита Fufelville-2.",
"Уничтожить три танка,$прорвавшиеся в Fufelville-2.",
"Route/Pwr_Mis.F01/f01_arrow.rt",ConvertColor(0,0,255),10,0);
nNode := p_AddSuccessKill (nNode,"F01.Enemy.Tank.01");
nNode := p_AddSuccessKill (nNode,"F01.Enemy.Tank.02");
nNode := p_AddSuccessKill (nNode,"F01.Enemy.Tank.03");
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.F01/fly_01.sc");
nNode := p_AddMissionInfo (nNode, 0);
nNode := p_AddCommander (nNode,"Flyers");
s_NewProject ("Flyer_01", nNode);
}
func void Miss_Fly_02()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.F02/f02_demo.txt");
nNode := p_SetMissionSummary (nNode,"Налет на New Babilon.",
"Нанести сокрушительный удар$и уничтожить защиту New Babilon'а.",
"Route/Pwr_Mis.F02/f02_arrow.rt",ConvertColor(0,0,255),10,0);
nNode := p_AddSuccessKill (nNode,"TP_Patrol.16");
nNode := p_AddSuccessKill (nNode,"TP_Patrol.17");
nNode := p_AddSuccessKill (nNode,"TP_Patrol.18");
nNode := p_AddSuccessKill (nNode,"TP_Patrol.19");
nNode := p_AddSuccessKill (nNode,"TP_Patrol.20");
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.F02/fly_02.sc");
nNode := p_AddMissionInfo (nNode, 0);
nNode := p_AddCommander (nNode,"Flyers");
s_NewProject ("Flyer_02", nNode);
}
func void Miss_Fly_03()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.F03/f03_demo.txt");
nNode := p_SetMissionSummary (nNode,"Защита банка New Avos'а.",
"Подавить наступление роботов$на пограничный аэродром New Avos.",
"Route/Pwr_Mis.F03/f03_arrow.rt",ConvertColor(0,0,255),10,0);
nNode := p_AddFiledKill (nNode,"F03.Craft");
nNode := p_AddSuccessKill (nNode,"F03.Enemy.01");
nNode := p_AddSuccessKill (nNode,"F03.Enemy.02");
nNode := p_AddSuccessKill (nNode,"F03.Enemy.03");
nNode := p_AddSuccessKill (nNode,"F03.Enemy.04");
nNode := p_AddSuccessKill (nNode,"F03.Enemy.05");
nNode := p_AddSuccessKill (nNode,"F03.Enemy.06");
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.F03/fly_03.sc");
nNode := p_AddMissionInfo (nNode, 0);
nNode := p_AddCommander (nNode,"Flyers");
s_NewProject ("Flyer_03", nNode);
}
func void Miss_Fly_04()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.F04/f04_demo.txt");
nNode := p_SetMissionSummary (nNode,"Террористический акт.","Уничтожить живую силу и боевую технику$крепости Danger-City корпорации RND.",
"Route/Pwr_Mis.F04/f04_arrow.rt",ConvertColor(0,0,255),15,0);
nNode := p_AddSuccessKill (nNode,"F04.Enemy.01");
nNode := p_AddSuccessKill (nNode,"F04.Enemy.02");
nNode := p_AddSuccessKill (nNode,"F04.Enemy.03");
nNode := p_AddSuccessKill (nNode,"F04.Enemy.04");
nNode := p_AddSuccessKill (nNode,"F04.Taxi.Kill.01");
nNode := p_AddSuccessKill (nNode,"F04.Taxi.Kill.02");
nNode := p_AddSuccessKill (nNode,"F04.Taxi.Kill.03");
nNode := p_AddSuccessKill (nNode,"Hwz_Robot_Cannon01");
nNode := p_AddSuccessKill (nNode,"Hwz_Robot_Cannon02");
nNode := p_AddSuccessKill (nNode,"Hwz_Robot_Cannon03");
nNode := p_AddSuccessKill (nNode,"Hwz_Robot_Cannon04");
nNode := p_AddSuccessKill (nNode,"Hwz_Robot_Cannon05");
nNode := p_AddSuccessKill (nNode,"Hwz_Robot_Cannon06");
nNode := p_AddSuccessKill (nNode,"Hwz_Robot_Chaingun01");
nNode := p_AddSuccessKill (nNode,"Hwz_Robot_Chaingun02");
nNode := p_AddSuccessKill (nNode,"Hwz_Robot_Chaingun03");
nNode := p_AddSuccessKill (nNode,"Hwz_Robot_Chaingun04");
nNode := p_AddSuccessKill (nNode,"Hwz_Robot_Chaingun05");
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.F04/fly_04.sc");
nNode := p_AddMissionInfo (nNode, 0);
nNode := p_AddCommander (nNode,"Flyers");
s_NewProject ("Flyer_04", nNode);
}
func void Miss_Fly_05()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.F05/f05_demo.txt");
nNode := p_SetMissionSummary (nNode,"Террористический акт.","Уничтожить грузовик на$подходе к Bonny&Klide Bank.",
"Route/Pwr_Mis.F05/f05_arrow.rt",ConvertColor(0,0,255),15,0);
nNode := p_AddSuccessKill (nNode,"F05.Trall");
nNode := p_AddSuccessKill (nNode,"F05.Trall.Head");
nNode := p_AddFiledReached (nNode,"F05.Trall",4136.3,-4814.6,50);
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.F05/fly_05.sc");
nNode := p_AddMissionInfo (nNode, 0);
nNode := p_AddCommander (nNode,"Flyers");
s_NewProject ("Flyer_05", nNode);
}
func void Miss_Fly_06()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.F06/f06_demo.txt");
nNode := p_SetMissionSummary (nNode, "Налет на Blue Fish.",
"Уничтожить космический корабль$и погрузочный грузовик в Blue Fish.",
"Route/Pwr_Mis.F06/f06_arrow.rt",ConvertColor(0,0,255),15,0);
nNode := p_AddSuccessKill (nNode,"F06.Trall");
nNode := p_AddSuccessKill (nNode,"F06.Craft");
nNode := p_AddFiledReached (nNode,"F06.Craft",5050.000,-2700.000,20);
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.F06/fly_06.sc");
nNode := p_AddMissionInfo (nNode, 0);
nNode := p_AddCommander (nNode,"Flyers");
s_NewProject ("Flyer_06", nNode);
}
func void Miss_Fly_07()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.F07/f07_demo.txt");
nNode := p_SetMissionSummary (nNode, "Уничтожение базы.",
"Совершить налет на секретную$танковую базу и уничтожить$всю боевую технику.",
"Route/Pwr_Mis.F07/f07_arrow.rt",ConvertColor(0,0,255),15,0);
nNode := p_AddSuccessKill (nNode,"F07.Taxi.01");
nNode := p_AddSuccessKill (nNode,"F07.Taxi.02");
nNode := p_AddSuccessKill (nNode,"F07.Taxi.03");
nNode := p_AddSuccessKill (nNode,"F07.Taxi.04");
nNode := p_AddSuccessKill (nNode,"F07.Taxi.05");
nNode := p_AddSuccessKill (nNode,"F07.Taxi.06");
nNode := p_AddSuccessKill (nNode,"F07.Taxi.07");
nNode := p_AddSuccessKill (nNode,"F07.Taxi.08");
nNode := p_AddSuccessKill (nNode,"F07.Taxi.09");
nNode := p_AddSuccessKill (nNode,"F07.Taxi.10");
nNode := p_AddSuccessKill (nNode,"F07.Taxi.11");
nNode := p_AddSuccessKill (nNode,"F07.Taxi.12");
nNode := p_AddSuccessKill (nNode,"F07.Taxi.13");
nNode := p_AddSuccessKill (nNode,"F07.Taxi.14");
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.F07/fly_07.sc");
nNode := p_AddMissionInfo (nNode, 0);
nNode := p_AddCommander (nNode,"Flyers");
s_NewProject ("Flyer_07", nNode);
}
func void Miss_Fly_08()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.F08/f08_demo.txt");
nNode := p_SetMissionSummary (nNode, "Уничтожение заложников.",
"Совершить налет на концлагерь$Peacefield и уничтожить всех военнопленных.",
"Route/Pwr_Mis.F08/f08_arrow.rt",ConvertColor(0,0,255),15,0);
nNode := p_AddSuccessKill (nNode,"F08.Man.A1");
nNode := p_AddSuccessKill (nNode,"F08.Man.A2");
nNode := p_AddSuccessKill (nNode,"F08.Man.A3");
nNode := p_AddSuccessKill (nNode,"F08.Man.A4");
nNode := p_AddSuccessKill (nNode,"F08.Man.A5");
nNode := p_AddSuccessKill (nNode,"F08.Man.A6");
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.F08/fly_08.sc");
nNode := p_AddMissionInfo (nNode, 0);
nNode := p_AddCommander (nNode,"Flyers");
s_NewProject ("Flyer_08", nNode);
}
func void Miss_Fly_09()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.F09/f09_demo.txt");
nNode := p_SetMissionSummary (nNode, "Уничтожение дезертиров.",
"Уничтожить дезертиров в каньоне$между New Titanik и New Unona.",
"Route/Pwr_Mis.F09/f09_arrow.rt",ConvertColor(0,0,255),15,0);
nNode := p_AddSuccessKill (nNode,"F09.Enemy.01");
nNode := p_AddSuccessKill (nNode,"F09.Enemy.02");
nNode := p_AddSuccessKill (nNode,"F09.Enemy.03");
nNode := p_AddSuccessKill (nNode,"F09.Enemy.04");
nNode := p_AddFiledKill (nNode,"F09.Craft");
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.F09/fly_09.sc");
nNode := p_AddMissionInfo (nNode, 0);
nNode := p_AddCommander (nNode,"Flyers");
s_NewProject ("Flyer_09", nNode);
}
func void Miss_Fly_99()
var int nNode;
{
nNode := p_AddPlayBriefing (s_PNodeNULL(), "Brief/Pwr_Mis.F99/f99_demo.txt");
nNode := p_SetMissionSummary (nNode, "Космодром Baikonur.",
"Добраться до космодрома$Baikonur и вылететь на планету-спутник$для захвата энергетического кристалла.",
"Route/Pwr_Mis.F99/f99_arrow.rt",
ConvertColor(0,0,255),15,0);
nNode := p_AddRunScript (nNode,"Brief/Pwr_Mis.F99/fly_99.sc");
nNode := p_AddCommander (nNode,"Flyers");
nNode := p_RunScriptIfReached (nNode, "Vehicle.Default",
"Brief/restart.sc",
[4405,123,-3179],4,1);
nNode := p_AddMissionInfo (nNode, 5);
s_NewProjectEx ("Flyer_99", nNode, 1);
}
func void CreateTestProject()
{
/* ****** Танки ******** */
Miss_Tnk_99();
Miss_Tnk_10();
Miss_Tnk_09(); //артефакт
Miss_Tnk_08();
Miss_Tnk_07();
Miss_Tnk_06();
Miss_Tnk_05(); //артефакт
Miss_Tnk_04(); //артефакт
Miss_Tnk_03();
Miss_Tnk_02();
Miss_Tnk_01();
/* ****** Робоы ********** */
Miss_Rbt_99();
Miss_Rbt_08(); //артефакт attach
Miss_Rbt_07();
Miss_Rbt_06(); //артефакт
Miss_Rbt_05();
Miss_Rbt_04();
Miss_Rbt_03(); //артефакт
Miss_Rbt_02();
Miss_Rbt_01();
/* ****** Летуны **** */
Miss_Fly_99();
Miss_Fly_09(); //артефакт attach
Miss_Fly_08();
Miss_Fly_07();
Miss_Fly_06();
Miss_Fly_05(); //артефакт
Miss_Fly_04();
Miss_Fly_03();
Miss_Fly_02(); //артефакт
Miss_Fly_01();
}
|
b705a932021fd2fdd111ebbaf58069350cba24ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH13/EX13.2/13_2.sce | bee681c1a80df9eaeb9976e337e1d8d75979baab | [] | 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 | 329 | sce | 13_2.sce | //Person jumping over ditch
//refer fig. 13.4
h=2 //m
Range=3 //m
//let t be the time of flight and u the minimum horizontal velocity required
//consider vertical motion
t=sqrt((2*2)/(9.81)) //sec
//consider horizontal motion of uniform velocity
u=3/0.6386 //m/sec
printf("Person should jump with u=%.2f m/sec",u)
|
68fe1462e27620588a3f7312ee5378cc9a76aa71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH10/EX10.25/Example10_25.sce | 07edf2730f1980a62738bab42e22a193f29007df | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,063 | sce | Example10_25.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 3: STEADY STATE CHARACTERISTICS AND PERFORMANCE OF TRANSMISSION LINES
// EXAMPLE : 3.25 :
// Page number 163
clear ; clc ; close ; // Clear the work space and console
// Given data
z = complex(0.2,0.6) // Per phase impedance(ohm)
V_r = 6351.0 // Receiving end voltage per phase(V)
reg = 7.5/100.0 // Voltage regulation
// Calculations
V_s = (1+reg)*V_r // Sending end voltage per phase(V)
R = real(z) // Resistance of the line(ohm)
X = imag(z) // Reactance of the line(ohm)
Z = (R**2+X**2)**0.5 // Impedance per phase(ohm)
P_m = (V_r**2/Z)*((Z*V_s/V_r)-R) // Maximum power transmitted through line(W/phase)
P_m_MW = P_m/10**6 // Maximum power transmitted through line(MW/phase)
P_m_MWtotal = 3*P_m_MW // Total maximum power(MW)
Q = -(V_r**2*X)/Z**2 // Reactive power per phase(Var)
Q_MW = Q/10**6 // Reactive power per phase(MVAR)
phi_r = atand(abs(Q_MW/P_m_MW)) // Φ_r(°)
PF_r = cosd(phi_r) // Receiving end lagging PF
I = P_m/(V_r*PF_r) // Current delivered(A)
I_KA = I/1000.0 // Current delivered(KA)
loss = 3*I**2*R // Total line loss(W)
loss_MW = loss/10**6 // Total line loss(MW)
// Results
disp("PART II - EXAMPLE : 3.25 : SOLUTION :-")
printf("\nMaximum power transmitted through the line, P_m = %.1f MW", P_m_MWtotal)
printf("\nReceiving end power factor = %.2f (lagging)", PF_r)
printf("\nTotal line loss = %.2f MW", loss_MW)
|
9e1880e7fbd41c707ce8d4f55b6d3924835f0b8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1865/CH4/EX4.3/prob_3.sce | 79b8eb80ff7ab12ebd13163ee068507cfac7d1bb | [] | 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 | 415 | sce | prob_3.sce |
//Problem 3
//Calculate the number of oscillations corresponding to the coherence length and the coherence time
clear
clc
L=2.945*(10)^(-2)//length for NA light (in m)
w=5890//wavelength of NA light (in A)
c=3*(10)^8//speed of light
n=L/(w*(10)^(-10))//number of oscillations in length L
t=L/c//coherence time
printf('number of oscillations in length L = %.4f\n',n)
printf('coherence time = %.13f sec',t) |
a996b89a03b18c4a870e0f700436a8e80c23dcd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH3/EX3.1/Chap3_Ex1.sce | 85fbb09a355440d8b8762729e691a23f1ab4963c | [] | 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,125 | sce | Chap3_Ex1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-3,Example 1,Page 48
//Title:Specific volume and Specific internal energy
//================================================================================================================
clear
clc
//INPUT
X=0.8;//Quality of wet steam (no unit)
T=150;//Temperature of the wet steam in degree celsius
vf=0.0010908;//molar volume of saturated liquid in m^3/kg
vg=0.3924;//molar volume of saturated vapour in m^3/kg
uf=631.63;//molar internal energy of the saturated liquid in kJ/kg
ug=2558.6;//molar internal energy of the saturated vapour in kJ/kg
//CALCULATION
V=(X*vg)+((1-X)*vf);//calculation of specific volume in m^3/kg using Eq.(3.3)
U=(X*ug)+((1-X)*uf);//calculation of specific internal energy in kJ/kg using Eq.(3.6)
//OUTPUT
mprintf('\n The specific volume of wet steam= %0.4f m^3/kg \n',V);
mprintf('\n The specific internal energy of wet steam= %0.1f kJ/kg \n',U);
//===============================================END OF PROGRAM===================================================
|
cee7500c594b6ee5949c5f46f4fd7c634a15985f | 491f29501fa7d484a5860f64aef3fa89fb18ca3d | /examples/electronics/IdealSwitch/elec.sce | 8a7a2f96c0e6fc1b3665384838381e3535cc091d | [
"Apache-2.0"
] | permissive | siconos/siconos-tutorials | e7e6ffbaaea49add49eddd317c46760393e3ef9a | 0472c74e27090c76361d0b59283625ea88f80f4b | refs/heads/master | 2023-06-10T16:43:13.060120 | 2023-06-01T07:21:25 | 2023-06-01T07:21:25 | 152,255,663 | 7 | 2 | Apache-2.0 | 2021-04-08T12:00:39 | 2018-10-09T13:26:39 | Jupyter Notebook | UTF-8 | Scilab | false | false | 155 | sce | elec.sce | R1=1e-3;
R2=1e3;
X=0.0;
L1=20.0/1000.0;
L2=-20.0/1000.0;
L3=20.0-20.0*(R1/(R1+R2));
L4=0.0;
L5=7.5;
L6=0.0;
L7=0.0;
L8=20.0-20.0*(R1/(R1+R2));
L9=R2-R1;
|
8abcb163e24d2b2347102895ac483aecaffb70b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH1/EX1.8/Ex1_8.sce | 6febbea570beb243ed11410384b857a238976bd6 | [] | 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 | 436 | sce | Ex1_8.sce | clear;
clc;
disp('Example 1.8');
// Given values
m = 4; // mass of the liquid, [kg]
t1 = 15; // initial temperature, [C]
t2 = 100; // final temperature, [C]
Q = 714; // [kJ],required heat to accomplish this change
// solution
// using heat equation
// Q=m*c*(t2-t1)
// calculation of c
c=Q/(m*(t2-t1)); // heat capacity, [kJ/kg K]
mprintf('\n The specific heat capacity of the liquid is c = %f kJ/kg K\n',c);
//End
|
7389a4908e287e75eb1a4761de88dc6230fd8f19 | 6ba60b2f6f1960358db9c0c2f18ee442e1eb9497 | /2-arm-bandittest_HW.sce | bb607e0bf1093b6f6b5065bfeb1ba7dbbc52eceb | [] | no_license | sumwor/presentation-code | d983fb2d88b6549eceee7de3ae8453b7e3576a8a | 37af25a320797ee332f062f3d1b320edb4bc6b85 | refs/heads/master | 2021-01-21T20:19:29.493327 | 2017-05-23T21:16:42 | 2017-05-23T21:16:42 | 92,221,236 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 19,596 | sce | 2-arm-bandittest_HW.sce | #-- scenario file --#
# when mouse have to alternately lick either port (3x) to get water
# to motivate exploratory licking, can press spacebar to give free drop of water
# pure-tone sounds are also played when reward is delivered, so mouse gets used to cue
# modified from MJ phase1_Alternation 2/14/2017
# correct display window bug 2/16/2107
# modified from GS phase1_ALTERNATION_2-arm-bandit_GS.sce 5/8/2017
# 2 blocks: L70%R10% & L10%R70%
#-------HEADER PARAMETERS-------#
scenario = "2-arm-bandit_RL_task_HW";
active_buttons = 3; #how many response buttons in scenario
button_codes = 1,2,3;
target_button_codes = 1,2,3;
response_logging = log_all; #log all trials
response_matching = simple_matching; #response time match to stimuli
default_all_responses = true;
begin;
#-------SOUND STIMULI-------#
sound {
wavefile { filename ="tone_5000Hz_0.2Dur.wav"; preload = true; };
} go;
sound {
wavefile { filename ="white_noise_3s.wav"; preload=true; };
} whitenoise;
#-------SDL EVENTS ('TRIALS')-------#
#different start experiment trials for different blocks
#trial {
# trial_type = fixed;
# trial_duration = 1;
# nothing {} startexptevent;
# code=71;
#}startexptL70R10;
#trial {
# trial_type = fixed;
# trial_duration = 1;
# nothing {} startexpeevent;
# code = 17;
#}startexptL10R70;
trial {
trial_type = fixed;
trial_duration = 2900;
nothing {} rewardleftcorrectevent;
time=0;
code=4;
}rewardleftcorrect;
trial {
trial_type = fixed;
trial_duration = 2900;
nothing {} rewardleftincorrectevent;
time = 0;
code = 40;
}rewardleftincorrect; #this trial represents lick left, get reward in R70% block
trial {
trial_type = fixed;
trial_duration = 2900;
nothing {} rewardrightcorrectevent;
time=0;
code=8;
}rewardrightcorrect;
trial {
trial_type = fixed;
trial_duration = 2900;
nothing {} rewardrightincorrectevent;
time = 0;
code = 80;
}rewardrightincorrect;
trial { #INTERVAL BETWEEN REWARD PULSES
trial_type = fixed;
trial_duration = 100; #to prevent conflicts on the output port
}interpulse;
trial {
trial_type = correct_response; # 0~3000ms no lick account, after that trial terminates once licking
trial_duration = 3000; # MJ set grace period to 4s to interrupt the rhythm (lll-rrr-lll-rrr)
nothing {} leftincorrectnorewardevent;
time=3000;
code= 100;
target_button = 2;
}leftincorrectnoreward;
trial {
trial_duration=3000;
nothing {} leftcorrectnorewardevent;
time = 3000;
code = 101;
target_button = 2;
}leftcorrectnoreward;
trial {
trial_type = correct_response;
trial_duration = 3000;
nothing {} rightcorrectnorewardevent;
time=3000;
code=111;
target_button = 3;
}rightcorrectnoreward;
trial {
trial_duration=3000;
nothing {} rightincorrectnorewardevent;
time = 3000;
code = 110;
target_button = 3;
}rightincorrectnoreward;
trial {
trial_type = first_response;
trial_duration = 2000;
sound go;
code=17;
}waitlickL70R10;
trial {
trial_type = first_response;
trial_duration = 2000;
sound go;
code=17;
}waitlickL10R70;
trial {
trial_type = fixed;
nothing {} randomblockevent;
code=22;
}randomblock;
trial {
trial_type = fixed;
sound whitenoise;
code=19;
}nolick;
trial {
trial_type = fixed;
trial_duration = 1000;
nothing {} pauseevent;
code=77;
} pause;
#trial {
# trial_type = correct_response;
# trial_duration = 500;
# sound go;
# code = 000;
#}gocue;
#trial {
# trial_type = fixed;
# trial_duration = 50; #6000 FOR RECORDING; 1000 FOR TRAINING#
# nothing {} endexptevent;
# code=7; #port_code=3.5;
# response_active = true; # stimulus recorded but not used
#}endexpt;
trial {
save_logfile {
filename = "temp.log"; # use temp.log in default logfile directory
}; #save logfile during mid-experiment
}quicksave;
#--------PCL---------------
begin_pcl;
#HEADER
term.print("Starting time:");
term.print(date_time());
logfile.add_event_entry(date_time());
string startTime = (date_time());
display_window.draw_text("Initializing...");
#SETUP PARAMETER WINDOW
parameter_window.remove_all();
int left_correct_rewardIndex = parameter_window.add_parameter("LCR");
int left_correct_no_rewardIndex = parameter_window.add_parameter("LCN");
int left_incorrect_rewardIndex = parameter_window.add_parameter("LIR");
int left_incorrect_no_rewardIndex = parameter_window.add_parameter("LIN");
int right_correct_rewardIndex = parameter_window.add_parameter("RCR");
int right_correct_no_rewardIndex = parameter_window.add_parameter("RCN");
int right_incorrect_rewardIndex = parameter_window.add_parameter("RIR");
int right_incorrect_no_rewardIndex = parameter_window.add_parameter("RIN");
int consecmissIndex = parameter_window.add_parameter("Consec Miss");
int nTrials_hit_totalIndex = parameter_window.add_parameter("Hit");
int trialnumIndex = parameter_window.add_parameter("Trial num");
int hit_rateIndex=parameter_window.add_parameter("hit_rate");
int geo_Index=parameter_window.add_parameter("Geo_sample");
int leftreward_rate=parameter_window.add_parameter("Left Reward Rate");
int rightreward_rate=parameter_window.add_parameter("Right Reward Rate");
# int expIndex=parameter_window.add_parameter("ITI(ms)");
#CONFIGURE OUTPUT PORT
output_port port = output_port_manager.get_port(1);
#INITIALIZE VARIABLES
int block = int(ceil(random()*double(2))); #randomize the start block
#for now, two blocks presented: Left70% & Right10%; Left10% & Right70%
int button = 0; #temporary for debug
int nTrials_hit = 0; #trials passed in current block
int nTrials_hit_total = 0;
preset int max_consecMiss = 20; ; #triggers end session, for mice, set to 20
int consecMiss = 0;
int left_correct_reward=0;
int left_correct_no_reward=0;
int left_miss=0;
int left_incorrect_reward=0;
int left_incorrect_no_reward=0;
int right_correct_reward=0;
int right_correct_no_reward=0;
int right_miss=0;
int right_incorrect_reward=0;
int right_incorrect_no_reward=0;
int num_trials=0;
#array<int> hit_count[0];
#array<int> leftCorrReward[0]; #1: correct+reward; 0: correct+noreward
#array<int> rightIncorrReward[0];
#array<int> leftIncorrReward[0];
#array<int> rightCorrReward[0];
preset int waterAmount_left = 18; # 14~3.3uL 2/14/2017
preset int waterAmount_right = 16;
double reward_threshold = double(0); #threshold for reward, will change later in the code
double i_geo=double(0) ; # block switch index
int block_length=0;
double ii=double(1); # sample from geometric distribution
double m=double(0);
string side;
#for generating exponetial distribution (random time interval following the reward period)
double minimum_go=0.0;
double mu=0.2; #rate parameter for exponential distribution
double truncate_go=1.0;
double expval=0.0;
#for generating exponetial distribution (white noise block)
double minimum_wn=2.0;
#double mu=0.2; #rate parameter for exponential distribution
double truncate_wn=3.0;
#double expval=0.0;
#-------------TRIAL STRUCTURE------------------------------
loop
int i = 1
until
consecMiss >= max_consecMiss
begin
port.set_pulse_width(500); #send pulse to ScanImage for synchronization later
port.send_code(32);
# sample from truncated geometric distribution, update only after switch of high reward port
if i_geo==double(0) && block_length==0 then
double shift_threshold = 1.000-0.0909; # success probability = 1/(mean+1), 0.0909
m=ceil(double(950)*random());
ii=double(0); #reset ii
double cp=pow(shift_threshold,ii)*(double(1)-shift_threshold)*double(1000);# cummulative probablity
loop until m<cp
begin
ii=ii+double(1);
cp=cp+pow(shift_threshold,ii)*(double(1)-shift_threshold)*double(1000);
end;
end;
#show the current block
#display_window.erase();
#if block == 1 then
# display_window.draw_text("Current Block: Left 70%"); # display high reward side
#elseif block == 2 then
# display_window.draw_text("Current Trial Block: Right 70%");
#end;
#RESPONSE WINDOW AND REWARD DETERMINATION
if block==1 then
#in block L70R10
waitlickL70R10.present();
if response_manager.response_count()>0 then # lick, not miss
double n=random(); #generate the random number to determine whether there is reward
if (response_manager.last_response()==2) then
side = "left";
reward_threshold = 0.7;
if n <= reward_threshold then
port.set_pulse_width(waterAmount_left);
port.send_code(4); #give water reward
interpulse.present();
port.send_code(4); #second pulse
rewardleftcorrect.present();
#hit_count.add(1);
#leftCorrReward.add(1);
left_correct_reward = left_correct_reward+1;
parameter_window.set_parameter(left_correct_rewardIndex,string(left_correct_reward)); #LCR: left correct reward
else
leftcorrectnoreward.present();
#hit_count.add(1);
#leftCorrReward.add(0);
left_correct_no_reward = left_correct_no_reward+1;
parameter_window.set_parameter(left_correct_no_rewardIndex,string(left_correct_no_reward)); #LCN: left correct no reward
end; #end reward/no reward if
nTrials_hit = nTrials_hit+1; # nTrials on high-reward side
nTrials_hit_total = nTrials_hit_total+1;
parameter_window.set_parameter(nTrials_hit_totalIndex,string(nTrials_hit_total));
elseif (response_manager.last_response()==3) then
side = "right";
reward_threshold = 0.1;
if n <= reward_threshold then
port.set_pulse_width(waterAmount_right);
port.send_code(8); #give water reward
interpulse.present();
port.send_code(8); #second pulse
rewardrightcorrect.present();
#hit_count.add(0);
#rightIncorrReward.add(1);
right_incorrect_reward = right_incorrect_reward + 1;
parameter_window.set_parameter(right_incorrect_rewardIndex,string(right_incorrect_reward)); #RIR: right incorrect reward
else
rightincorrectnoreward.present();
#hit_count.add(0);
#rightIncorrReward.add(0);
right_incorrect_no_reward = right_incorrect_no_reward +1;
parameter_window.set_parameter(right_incorrect_no_rewardIndex,string(right_incorrect_no_reward)); #RIN: right incorrect no reward
end; #end reward/no reward if
end; #end lick left/right if
consecMiss = 0;
parameter_window.set_parameter(consecmissIndex,string(consecMiss));
else # miss else
pause.present();
consecMiss = consecMiss+1;
parameter_window.set_parameter(consecmissIndex,string(consecMiss));
end; #end lick/no lick if
elseif block==2 then
#in block L10R70
waitlickL10R70.present();
if response_manager.response_count()>0 then # lick, not miss
double n=random(); #generate the random number to determine whether there is reward
if (response_manager.last_response()==3) then
side = "right";
reward_threshold = 0.7;
if n <= reward_threshold then
port.set_pulse_width(waterAmount_left);
port.send_code(8); #give water reward
interpulse.present();
port.send_code(8); #second pulse
rewardrightcorrect.present();
#hit_count.add(1);
#rightCorrReward.add(1);
right_correct_reward = right_correct_reward + 1;
parameter_window.set_parameter(right_correct_rewardIndex,string(right_correct_reward)); #RCR: right correct reward
else
leftincorrectnoreward.present();
#hit_count.add(1);
#rightCorrReward.add(0);
right_correct_no_reward = right_correct_no_reward + 1;
parameter_window.set_parameter(right_correct_no_rewardIndex,string(right_correct_no_reward)); #RCN: right correct no reward
end; #end reward/no reward if
nTrials_hit = nTrials_hit+1; # nTrials on high-reward side
nTrials_hit_total = nTrials_hit_total+1;
parameter_window.set_parameter(nTrials_hit_totalIndex,string(nTrials_hit_total));
elseif (response_manager.last_response()==2) then
side = "left";
reward_threshold = 0.1;
if n <= reward_threshold then
port.set_pulse_width(waterAmount_right);
port.send_code(4); #give water reward
interpulse.present();
port.send_code(4); #second pulse
rewardrightcorrect.present();
#hit_count.add(0);
#leftIncorrReward.add(1);
left_incorrect_reward = left_incorrect_reward + 1;
parameter_window.set_parameter(left_incorrect_rewardIndex,string(left_incorrect_reward)); #LIR: left incorrect reward
else
rightcorrectnoreward.present();
#hit_count.add(0);
#leftIncorrReward.add(0);
left_incorrect_no_reward = left_incorrect_no_reward + 1;
parameter_window.set_parameter(left_incorrect_no_rewardIndex,string(left_incorrect_no_reward)); #LIN: left incorrectno reward
end; #end reward/no reward trial
end; #end lick left/right if
consecMiss = 0;
parameter_window.set_parameter(consecmissIndex,string(consecMiss));
else #miss else
pause.present();
consecMiss = consecMiss+1;
parameter_window.set_parameter(consecmissIndex,string(consecMiss));
end; #end lick/miss trial
end; #end block1/2 if
#random block following the reward period
loop
expval=minimum_go-1.0/mu*log(random())
until
expval<truncate_go
begin
expval=minimum_go-1.0/mu*log(random())
end;
randomblock.set_duration(int(1000.0*expval));
randomblock.present();
# no lick period
int nLicks=1; #initialize the lick count
loop until nLicks == 0
begin
int numLicks=0;
loop
expval=minimum_wn-1.0/mu*log(random())
until
expval<truncate_wn
begin
expval=minimum_wn-1.0/mu*log(random())
end;
nolick.set_duration(int(1000.0*expval));
nolick.present();
nLicks=response_manager.response_count();
end;
block_length=block_length+1; # update trials within current block
#PROBABILITY BLOCK SWITCH
if nTrials_hit>=10 then
if i_geo==ii then
block_length=0; # reset trial number within current block
# switch block
if block==1 then block = 2
else block = 1
end;
nTrials_hit = 0; # reset count
i_geo=double(0); # reset i_geo
else i_geo=i_geo+double(1);
end;
end;
parameter_window.set_parameter(geo_Index,"ii="+string(ii)+" i_geo="+string(i_geo)+"m"+string(m)); # display i_geo
if (i%5) == 0 then #every 5 trials, save a temp logfile
quicksave.present();
end;
num_trials = i;
#TEMP LOGSTATS OUTPUT FOR TASK
output_file ofile = new output_file;
ofile.open("C:\\Users\\KWANLAB\\Desktop\\Presentation\\hONGLI\\logfile\\logstats_temp.txt");
ofile.print("\n\nStarting time: "+startTime);
ofile.print("\nSubject: "+logfile.subject());
ofile.print("\n\t Rig 2 ");
ofile.print("\n\tTotal trial number");
ofile.print("\n\t" + string(num_trials));
ofile.print("\n\tHigh reward hit (total)");
ofile.print("\n\t" + string(nTrials_hit_total));
ofile.print("\n\tHigh reward accuracy percentage (%)");
ofile.print("\n\t" + string(nTrials_hit_total*100/num_trials)+"%");
#ofile.print("\n\tleftReward rate (%)");
#ofile.print("\n\t"+string(100*(left_correct_reward+left_incorrect_reward)/(left_correct_reward+left_incorrect_reward+left_correct_no_reward+left_incorrect_no_reward))+"%");
#ofile.print("\n\trightReward rate (%)");
#ofile.print("\n\t"+string(100*(right_correct_reward+right_incorrect_reward)/(right_correct_reward+right_incorrect_reward+right_correct_no_reward+right_incorrect_no_reward))+"%");
ofile.print("\n\tConsecutive Miss");
ofile.print("\n\t" + string(consecMiss));
ofile.print("\n\tRight reward");
ofile.print("\n\t" + string(right_correct_reward + right_incorrect_reward));
ofile.print("\n\tRight no reward");
ofile.print("\n\t" + string(right_correct_no_reward + right_incorrect_no_reward));
ofile.print("\n\tRight total");
ofile.print("\n\t" + string(right_correct_reward + right_incorrect_reward + right_correct_no_reward + right_incorrect_no_reward));
ofile.print("\n\tLeft reward");
ofile.print("\n\t" + string(left_correct_reward+left_incorrect_reward));
ofile.print("\n\tLeft no reward");
ofile.print("\n\t" + string(left_correct_no_reward+left_incorrect_no_reward));
ofile.print("\n\tLeft total");
ofile.print("\n\t" + string(left_correct_reward+left_incorrect_reward + left_correct_no_reward+left_incorrect_no_reward));
ofile.print("\n\tLeft water per trial");
ofile.print("\n\t" + string(waterAmount_left));
ofile.print("\n\tRight water per trial");
ofile.print("\n\t" + string(waterAmount_right));
ofile.print("\nEnding time:");
ofile.print(date_time());
ofile.close();
i = i+1;
parameter_window.set_parameter(trialnumIndex,string(i) + " ("+string(nTrials_hit)+" hit/block)");
parameter_window.set_parameter(hit_rateIndex,string(nTrials_hit_total*100/num_trials)+"%");
if left_correct_reward+left_correct_no_reward+left_incorrect_reward+left_incorrect_no_reward>0 then
parameter_window.set_parameter(leftreward_rate,string(100*(left_correct_reward+left_incorrect_reward)/(left_correct_reward+left_incorrect_reward+left_correct_no_reward+left_incorrect_no_reward))+"%");
end;
if right_correct_reward+right_correct_no_reward+right_incorrect_reward+right_incorrect_no_reward>0 then
parameter_window.set_parameter(rightreward_rate,string(100*(right_correct_reward+right_incorrect_reward)/(right_correct_reward+right_incorrect_reward+right_correct_no_reward+right_incorrect_no_reward))+"%");
end;
end; #end trial loop
#----------------------record ITI---------------------
output_file ofile = new output_file; # let the trial end without using 'quit'
string asd = date_time("mmddhhnn");
ofile.open("C:\\Users\\KWANLAB\\Desktop\\Presentation\\logfiles\\logstats_wanyu_accuracy"+asd+".txt");
#ofile.open_append("logstats_ITI.txt");
ofile.print("\n\t Rig 2 ");
ofile.print("\n\tTotal trial number");
ofile.print("\n\t" + string(num_trials));
ofile.print("\n\tHigh reward hit (total)");
ofile.print("\n\t" + string(nTrials_hit_total));
ofile.print("\n\tHigh reward accuracy percentage (%)");
ofile.print("\n\t" + string(nTrials_hit_total*100/num_trials)+"%");
ofile.print("\n\tleftReward rate (%)");
ofile.print("\n\t"+string(100*(left_correct_reward+left_incorrect_reward)/(left_correct_reward+left_incorrect_reward+left_correct_no_reward+left_incorrect_no_reward))+"%");
ofile.print("\n\trightReward rate (%)");
ofile.print("\n\t"+string(100*(right_correct_reward+right_incorrect_reward)/(right_correct_reward+right_incorrect_reward+right_correct_no_reward+right_incorrect_no_reward))+"%");
ofile.print("\n\tConsecutive Miss");
ofile.print("\n\t" + string(consecMiss));
ofile.print("\n\tRight reward");
ofile.print("\n\t" + string(right_correct_reward + right_incorrect_reward));
ofile.print("\n\tRight no reward");
ofile.print("\n\t" + string(right_correct_no_reward + right_incorrect_no_reward));
ofile.print("\n\tRight total");
ofile.print("\n\t" + string(right_correct_reward + right_incorrect_reward + right_correct_no_reward + right_incorrect_no_reward));
ofile.print("\n\tLeft reward");
ofile.print("\n\t" + string(left_correct_reward+left_incorrect_reward));
ofile.print("\n\tLeft no reward");
ofile.print("\n\t" + string(left_correct_no_reward+left_incorrect_no_reward));
ofile.print("\n\tLeft total");
ofile.print("\n\t" + string(left_correct_reward+left_incorrect_reward + left_correct_no_reward+left_incorrect_no_reward));
ofile.print("\n\tLeft water per trial");
ofile.print("\n\t" + string(waterAmount_left));
ofile.print("\n\tRight water per trial");
ofile.print("\n\t" + string(waterAmount_right));
ofile.print("\nEnding time:");
ofile.print(date_time());
ofile.close();
display_window.draw_text("Training has ended.");
term.print("\nEnding time:");
term.print(date_time());
|
7f81520ce779b573f47b121c43155321b357f8b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH8/EX8.2/Ex8_2.sce | 46d7adf891c069d2487112eb8b71c0e355d49c96 | [] | 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 | 273 | sce | Ex8_2.sce | //Example 8.2//
Y=1;// dimensionless geometry factor
YS=1460//MPa //MegaPascal // overall stress applied at failure
b=0.5;//Y.S //given
Kic=98;//MPa sqrt(m) //fracture toughness
a=(Kic^2)/((%pi)*(b*YS)^2)
mprintf("a = %e m = 5.74 mm (As 1milli = 10^-3 )",a)
|
1a372ec0b9f58ba6fc91884e089b8907f1d88754 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH9/EX9.14/Ex9_14.sce | 51f5b89afa44a2da0e43681856a7dd131871d0e9 | [] | 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 | 316 | sce | Ex9_14.sce | //Ex:9.14
clc;
clear;
close;
Eg1=1.12;// band gap for Si in eV
Eg2=0.667;// band gap for Ge in eV
y_si=1.24/Eg1;// cut off wavelength for Si in um
y_he=1.24/Eg2;// cut off wavelength for Ge in um
printf("The cut off wavelength for Si =%f um", y_si);
printf("\n The cut off wavelength for Ge =%f um", y_he); |
80c581ba57781590c4f15dc5b5440bc1e0d4298b | eca77d5c83eb4c2e49f6ea245043104ffd14ad86 | /Practical-1(type and basic1)/type0(ramp function).sce | a3868bb58cbc004f1adfb2036452c3f9657c2381 | [] | no_license | yashvarshney003/Control-System | 6ab69cb11db5f8806858dbffcee3c9b082802c20 | 3ae154e41bbb028cbb250161496e7b7ed0a0e66e | refs/heads/main | 2023-04-02T08:47:30.936576 | 2021-03-22T13:19:07 | 2021-03-22T13:19:07 | 350,291,380 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 139 | sce | type0(ramp function).sce |
s = %s
sysl = syslin('c',2,(s+1));
xtitle( 'Type 0 ramp function', 'X axis', 'Y axis' ) ;
u =t;
t =0:0.1:10;
y = csim(u,t,sysl)
plot(t,y)
|
ad0a82a4983d17d8b8c1d7cffd2cc4e14b364261 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH14/EX14.8/Ex14_8.sce | 4d0addc4a3bd2aa27280a082d86c7bc603c10f3a | [] | 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 | 305 | sce | Ex14_8.sce | //chapter 14
//example 14.8
//page 303
gain_db=40 // db
Vin=10d-3 // mV
Rl=1 // kilo ohm
// we know that Vout/Vin=10^(gain_db/20) so making Vout as subject we get
Vout=Vin*10^(gain_db/20)
P_load=Vout^2/Rl
printf("output voltage = %.3f V \n",Vout)
printf("load power = %.3f mW \n",P_load)
|
d1e0bcdcb38269f0a5c7c8f0bccd24ef890e518d | 01697f0dc71290a6b6e233849a73d19a883845f1 | /sem01/lab02/q02.sce | 0591ef66fb7f6d4a9dcf57c29356b1fc02fd5213 | [] | no_license | aaruni96/Math-Lab | 5d83a13547308bd9d1b7daa28be29a49e1020fbd | 488469c9aba9251f5725e0851fb19e2aef38d234 | refs/heads/master | 2021-01-12T06:29:53.790743 | 2018-04-27T09:21:40 | 2018-04-27T09:21:40 | 77,370,232 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 89 | sce | q02.sce | //greater of two numbers
clc;
clear;
x=2;
y=5; //dummy values
if x>y then
x
else
y
end
|
c02f9b831a0d18e88fa6f127248f697ba67f9d88 | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /Semana_6/code2.sce | 6480802138921a9723b02e614b2e7d7bdf67786b | [] | no_license | lordjuacs/MateIII | 70def332063e56eb10fb47678a7e6130dc0dca63 | 164c53b61c9e35e565121f77ba2c578680a3ab56 | refs/heads/master | 2021-05-24T15:56:01.078904 | 2020-07-27T19:57:34 | 2020-07-27T19:57:34 | 253,643,962 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 127 | sce | code2.sce | clc
N = 0
E = [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 1 0 0]
for k=1:31
N = N + (E(k))*2^(-k)
end
disp(N)
|
93d7d0b7064777c8ddfb6cc38b15aeec3c6dddbd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1595/CH2/EX2.7/ex2_7.sce | 62a1e6a1b986b7c0e4ea1187234a830a8298f3b5 | [] | 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 | 203 | sce | ex2_7.sce | // Amplitude Modulation-Transmission : example 2-7 : pg(82)
n=0.7;//efficiency
c=10*10^3;//carrier wave
Is=0.5*c;//intelligence signal
p=(Is/n);
printf("\ndc input power = %.f W",p);//dc input power |
ebe4c9c6ab489391f7141640f904c0fc329a7cf1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH17/EX17.14/149ex2.sce | de114f28915dc50c9cca05f47135f804e457cfdf | [] | 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 | 674 | sce | 149ex2.sce |
//(2*x-1)(x+2)(3-x)>0
clear;
clc;
close;
x=string(-4:5);//by number line method
n=string('<'+strcat(x,'~~~')+'>') //-2 to 7 no. line
n1='<';n2='';
for x=-4:1
n1=n1+'----';
end
for x=0.5:5
n2=n2+'++++';
end
mprintf(n1+n2+'>'+' '+'(2x-1)')
n1='<';n2='';
for y=-4:-2
n1=n1+'----';
end
for y=-2:5
n2=n2+'++++';
end
mprintf(n1+n2+'>'+' '+'(x+2)')
n1='<';n2='';
for y=-4:3
n1=n1+'++++';
end
for y=3:5
n2=n2+'----';
end
mprintf(n1+n2+'>'+' '+'(3-x)'+'\n')
mprintf("the solution is 0.5<x<3 \n or \n x<-2")
|
60520e8f5539da568495ee7149b4a6164f4cbaa5 | 3cbdc2f272df05cfe8c6636d4504e9e3d2e4fe3f | /k-means-2d-simulation.sce | 7342c424dbabb2e0550b2e83d1dfebfe4ba6ae2f | [] | no_license | bozhink/Code-Chunks | 74355eb4c0d423c2f6484226e564030dff798678 | 860b7b8f53089ed96fd0ebead2e3eec16fa377cb | refs/heads/master | 2020-12-24T06:19:04.343239 | 2019-11-13T14:09:15 | 2019-11-13T14:09:15 | 42,819,484 | 0 | 1 | null | 2019-11-13T14:09:16 | 2015-09-20T16:09:09 | HTML | UTF-8 | Scilab | false | false | 1,572 | sce | k-means-2d-simulation.sce | d = 2; // dimension
nc = 3; // number of clusters
nic = 20; // number of items per cluster
clusters = list();
for i = 1:nc
clusters(i) = rand(nic, d);
clusters(i)(:,1) = clusters(i)(:,1) - 0.5*i;
clusters(i)(:,2) = clusters(i)(:,2) + i;
end
scf(1);
clf();
plot2d(clusters(1)(:,1), clusters(1)(:,2), [-5]);
plot2d(clusters(2)(:,1), clusters(2)(:,2), [-4]);
plot2d(clusters(3)(:,1), clusters(3)(:,2), [-6]);
all_points = [];
for i = 1:nc
all_points = [all_points; clusters(i)];
end
centers = rand(nc, d);
function kmeans(data, centers)
[n, m] = size(centers);
[nd, md] = size(data);
if md <> m then
error('Invalid dimentions');
end
dict = [];
for i = 1:nd
// Find the index of the nearest center
dist_min = %inf;
k_min = 1;
for k = 1:n
delta = data(i, :) - centers(k, :);
dist = sqrt(delta * delta');
if dist < dist_min then
dist_min = dist;
k_min = k;
end
end
// Here k_min is the index of the nearest center
// Update the dictionary dict
dict(i) = k_min;
end
disp(dict);
// Here dict is the mapping between a data point to its nearest center
// Re-calculate the amss of each center
cc = zeros(centers);
nn = zeros(n, 1);
for i = 1:nd
k = dict(i);
cc(k, :) = cc(k, :) + data(i, :);
nn(k) = nn(k) + 1;
end
z = centers;
for k = 1:n
z(k, :) = cc(k, :) / nn(k);
end
return z;
endfunction
|
2d78d8b5d36be55bd031a54b7e600116d77eb525 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH11/EX11.26/11_26.sci | ab3b01972928c3e6e505d8dfa85f1111e6e53f74 | [] | 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 | 74 | sci | 11_26.sci | //value//
s=%s;
H=syslin('c',(s+4)*(s+5)/((s+1)*(s+3)));
evans(H,100)
|
f3c06cad3058f63df068622f1e13d8083cbe547f | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee_scicoslab/scicos_flex/dspic/NativeInteger/NAT_GAINBLK.sci | 5ab4b66f7862a5e9707504b01adb7707b665b524 | [] | 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 | 9,855 | sci | NAT_GAINBLK.sci | function [x,y,typ] = NAT_GAINBLK(job,arg1,arg2)
// Copyright INRIA
//** 14 JAN 2008 : Native integer Gain Block .
//** This block uses native integer operations
//**
x = [];
y = [];
typ = [];
select job
//**------------------------------------------------------
case 'plot' then //** ----------- PLOT -------------------
//** OLD Graphics : to be removed
pat = xget('pattern'); //** save the actual color
xset('pattern',default_color(0)); //** force the actual defaul color
orig = arg1.graphics.orig ;
sz = arg1.graphics.sz ;
orient = arg1.graphics.flip ;
//** if the "gain" string is logher than 3 chars, display just ""
if length(arg1.graphics.exprs(1))>3 then
gain = " k " ;
else
gain = arg1.graphics.exprs(1);
end
//** Left / Right orientation
if orient then
xx=orig(1)+[0 1 0 0]*sz(1);
yy=orig(2)+[0 1/2 1 0]*sz(2);
x1=0
else
xx=orig(1)+[0 1 1 0]*sz(1);
yy=orig(2)+[1/2 0 1 1/2]*sz(2);
x1=1/4
end
gr_i = arg1.graphics.gr_i;
//** Show the the string "gain".
//** coli = gr_i(2); //** original code
coli = 4 ; //** force a color to differentiate (temp patch)
xfpolys(xx',yy',coli);
xstringb(orig(1)+x1*sz(1),orig(2),gain,(1-x1)*sz(1),sz(2));
xf = 60 ; //** default values
yf = 40 ;
nin = 1; //** one input
nout = 1; //** one output
if orient then //standard orientation: in=left / out=right
// set port shape
out=[0 -1/14
1/7 0
0 1/14
0 -1/14] * diag([xf,yf]);
in= [-1/7 -1/14
0 0
-1/7 1/14
-1/7 -1/14] * diag([xf,yf]);
dy = sz(2)/(nout+1)
//** OLD Graphics (to be removed)
xset('pattern',default_color(1));
for k=1:nout
xfpoly(out(:,1)+ones(4,1)*(orig(1)+sz(1)), out(:,2)+ones(4,1)*(orig(2)+sz(2)-dy*k),1);
end
dy = sz(2)/(nin+1);
for k=1:nin
xfpoly(in(:,1)+ones(4,1)*orig(1), in(:,2)+ones(4,1)*(orig(2)+sz(2)-dy*k),1);
end
else // tilded orientation
out = [0 -1/14
-1/7 0
0 1/14
0 -1/14]*diag([xf,yf])
in = [1/7 -1/14
0 0
1/7 1/14
1/7 -1/14]*diag([xf,yf])
dy = sz(2)/(nout+1)
//** obsolete OLD code
xset('pattern',default_color(1));
for k=1:nout
xfpoly(out(:,1)+ones(4,1)*orig(1)-1, out(:,2)+ones(4,1)*(orig(2)+sz(2)-dy*k),1);
end
dy=sz(2)/(nin+1)
for k=1:nin
xfpoly(in(:,1)+ones(4,1)*(orig(1)+sz(1))+1,in(:,2)+ones(4,1)*(orig(2)+sz(2)-dy*k),1);
end
end
xset('pattern',pat) ; //** restore the original color
//** ------- Identification ---------------------------
ident = o.graphics.id
gh_axes = gca(); //** get the Axes proprieties
// draw Identification
if ident <> []& ident <> '' then
//** Save font state
axes_font_style = gh_axes.font_style ;
axes_font_size = gh_axes.font_size ;
//** axes_font_color = gh_axes.font_color ; //** optional
gh_axes.font_style = options.ID(1)(1) ;
gh_axes.font_size = options.ID(1)(2) ;
//** font color not yet used
rectangle = xstringl(orig(1), orig(2), ident) ;
w = max(rectangle(3), sz(1)) ;
h = rectangle(4) * 1.3 ;
xstringb(orig(1) + sz(1) / 2 - w / 2, orig(2) - h , ident , w, h) ;
//** Restore font state
gh_axes.font_style = axes_font_style ;
gh_axes.font_size = axes_font_size ;
//** gh_axes.font_color = axes_font_color ; //** optional
end
//** ----- Identification End -----------------------------
//**-----------------------------------------------------------
case 'getinputs' then //** GET INPUTS
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standard_outputs(arg1)
case 'getorigin' then
[x,y]=standard_origin(arg1)
//** ---------- Set block's parameters -----------------------
case 'set' then
x = arg1 ;
graphics = arg1.graphics ;
exprs = graphics.exprs ;
model = arg1.model ;
//** Back compatibility (obsolete)
if size(exprs,'*')==1 then
exprs = [exprs; sci2exp(0)];
end // compatibility
while %t do
[ok, gain, over, exprs] = getvalue('Native Integer Support: Set Gain parameters',..
['Gain';..
'Do On Overflow(0=Nothing 1=Saturate 2=Error)'],..
list('mat',[-1,-1],'vec',1),exprs)
if ~ok then break,end
//** error message
if gain==[] then
message('Gain must have at least one element')
else //** if the "gain" contains something
if typeof(gain)=="constant" then
//** if "gain" is a constant : ALL the constant are assumed as REAL (double)
if isreal(gain) then
it = 1;
ot = 1;
model.sim=list('gainblk',4);
model.rpar=gain(:);
model.opar=list();
else
//** other "constant" are NOT supported
message("type is not supported");
ok = %f ;
end
else //** "gain" is not a constant e.g. int32(55.23)
//** Do nothing on overflow
if (over==0) then
if (typeof(gain)=="int32") then
ot = 3 ;
model.sim = list('nat_gainblk_i32n',4) ;
elseif (typeof(gain)=="int16") then
ot = 4 ;
model.sim = list('nat_gainblk_i16n',4) ;
elseif (typeof(gain)=="int8") then
ot = 5 ;
model.sim=list('nat_gainblk_i8n',4) ;
elseif (typeof(gain)=="uint32") then
ot = 6 ;
model.sim=list('gainblk_ui32n',4)
elseif (typeof(gain)=="uint16") then
ot = 7
model.sim=list('gainblk_ui16n',4)
elseif (typeof(gain)=="uint8") then
ot = 8
model.sim=list('gainblk_ui8n',4)
else
message("type is not supported.");
ok = %f ;
end
//** Saturate on overflow
elseif (over==1) then
if (typeof(gain)=="int32") then
ot = 3 ;
model.sim = list('gainblk_i32s',4)
elseif (typeof(gain)=="int16") then
ot = 4 ;
model.sim=list('gainblk_i16s',4)
elseif (typeof(gain)=="int8") then
ot = 5
model.sim = list('gainblk_i8s',4)
elseif (typeof(gain)=="uint32") then
ot = 6
model.sim=list('gainblk_ui32s',4)
elseif (typeof(gain)=="uint16") then
ot = 7
model.sim = list('gainblk_ui16s',4)
elseif (typeof(gain)=="uint8") then
ot = 8
model.sim=list('gainblk_ui8s',4)
else
message("type is not supported.");
ok = %f;
end
//** Error on overflow
elseif (over==2) then
if (typeof(gain)=="int32") then
ot = 3;
model.sim = list('gainblk_i32e',4);
elseif (typeof(gain)=="int16") then
ot = 4 ;
model.sim = list('gainblk_i16e',4);
elseif (typeof(gain)=="int8") then
ot = 5 ;
model.sim = list('gainblk_i8e',4);
elseif (typeof(gain)=="uint32") then
ot = 6 ;
model.sim=list('gainblk_ui32e',4);
elseif (typeof(gain)=="uint16") then
ot = 7 ;
model.sim = list('gainblk_ui16e',4);
elseif (typeof(gain)=="uint8") then
ot = 8 ;
model.sim = list('gainblk_ui8e',4);
else
message("type is not an integer.");
ok = %f;
end
else
message("Do on Overflow must be [0,1,2]");
ok = %f;
end
model.rpar = [];
model.opar = list(gain(:));
end
if ok then
[out,in] = size(gain)
if out*in<>1 then
[model,graphics,ok] = set_io(model,graphics, list([in,-1],ot), list([out,-1],ot),[],[]) ;
else
[model,graphics,ok] = set_io(model,graphics, list([-1,-2],ot), list([-1,-2],ot),[],[]) ;
end
end
if ok then
//** look
graphics.exprs = exprs ;
x.graphics = graphics ;
x.model = model ;
//** switch to native integer computational function
//** model.sim(1) = "nat_"+model.sim(1); //** the "nat_" suffix define native integer support
break ; //** EXIT from the infinite while(1) loop
end
end //** .. of while(1)
end //** end of "set"
//** Default "definition" of block's parameters
case 'define' then
gain = 1.0 ;
in = -1 ;
out = -1 ;
in2 = -2 ;
out2 = -2 ;
model = scicos_model() ;
model.sim = list('gainblk',4)
model.in = in ;
model.out = out ;
model.in2 = in2 ;
model.out2 = out2 ;
model.rpar = gain ;
model.blocktype = 'c' ;
model.dep_ut = [%t %f] ;
exprs = [strcat(sci2exp(gain))] ;
gr_i = ''; //** BEWARE : this function uses explicit plot !
x = standard_define([2 2], model, exprs, gr_i);
end //** end of the switch on 'job'
endfunction
|
f150082ed35f9a02df811031d46563bdf773a314 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH3/EX3.2.1/Ex3_2.sce | 9ff0e53e9383c20275311b4266ac3db4684b3f84 | [] | 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 | 556 | sce | Ex3_2.sce | clc
clear
//Inputs
m=1; //Mass in kg
P1=7; //Pressure in bar
T1=90+273; //Temperature in K
P2=1.4;
R=0.287;
G=1.4; //Gamma for air
//Calculations according to data required
x=P2/P1;
y=0.1/1.1;
z=x^y;
T2=T1*z; //calculating T2
printf('Final Temperature is: %3.1f K',T2);
printf('\n');
W=(m*R*(T1-T2))/(1.1-1);
printf('Work Done is: %3.1f kJ',W);
printf('\n');
Cv=(R)/(G-1);
Cp=R+Cv;
CI=m*Cv*(T2-T1);
printf('Change in Internal Energy is: %3.2f kJ',CI);
printf('\n');
Q=CI+W;
printf('Heat Transfer is: %3.2f kJ',Q);
printf('\n');
|
1f8ba9d67dffce20cc29755711606f2bcf2e613a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH1/EX1.4/1_4.sce | e5b1add60d0be65a1df4c71df73b14c58ff3d589 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 422 | sce | 1_4.sce | clc
//initialisation of variables
clear
v= 1 //lit
p= 1 //atm
h= 76 //cm
d= 13.595 //kg/cm^3
g= 980.66 //dunes cm^-2
j= 4.18 //joules
//CALCULATIONS
W= v*p
W1= h*d*g
W2= W1*10^-4
W3= W2/j
//RESULTS
printf ('Work done in lit-atm = %.f lit-atm',W)
printf ('\n Work done in dynes = %.2e dynes cm^-2',W1)
printf ('\n Work done in ergs = %.2e ergs',W2)
printf ('\n Work done in calories = %.2f calories',W3)
|
8ecf2ae12bfa1acdb3245fe406b25d4e9ef8e786 | b26cbe6bc3e201f030705aaf9eb82da94def231f | /tests/tb-004.tst | 87d332d407ab9cdedfc896943fd5311a0cadf9c8 | [] | no_license | RP-pbm/Recurrence-plot | f86c5cd85460661b01a609f8f4281d2cda6b4e07 | b5da95f9b30c1a924a002102219bf0a2ad47df2c | refs/heads/master | 2022-07-24T12:11:34.163543 | 2022-07-09T19:32:43 | 2022-07-09T19:32:43 | 92,934,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 20 | tst | tb-004.tst | ../inputs/cr-4x3.pbm |
7e4ba7046af9277ec4d17f980fbce1896e400042 | 971b52073b0a9541c928a42091aba77bddc0743c | /simpleTest/results/Chi-RW-C.iris/result5.tst | e3581bba209032149fa5d81d7747a7c54ae8bf2b | [] | no_license | minminmail/FARCHD_Negative_Rules | 66cb7fd637a9394939688d5a9a804bdcdb9e7f47 | eb69bae9ffe5b94f3191b5456ea15fffacaa3e76 | refs/heads/master | 2023-07-22T15:50:10.413213 | 2021-08-27T06:03:30 | 2021-08-27T06:03:30 | 327,358,135 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 729 | tst | result5.tst | @relation iris
@attribute sepalLength real[4.3,7.9]
@attribute sepalWidth real[2.0,4.4]
@attribute petalLength real[1.0,6.9]
@attribute petalWidth real[0.1,2.5]
@attribute class{Iris-setosa,Iris-versicolor,Iris-virginica}
@inputs sepalLength,sepalWidth,petalLength,petalWidth
@outputs class
@data
Iris-setosa Iris-setosa
Iris-setosa Iris-setosa
Iris-setosa Iris-setosa
Iris-setosa Iris-setosa
Iris-setosa Iris-setosa
Iris-versicolor Iris-versicolor
Iris-versicolor Iris-versicolor
Iris-versicolor Iris-versicolor
Iris-versicolor Iris-versicolor
Iris-versicolor Iris-versicolor
Iris-virginica Iris-virginica
Iris-virginica Iris-virginica
Iris-virginica Iris-virginica
Iris-virginica Iris-virginica
Iris-virginica Iris-versicolor
|
60b7d808a93c1a59f7d606d2c09b911c2b2506cc | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/YL18CXQ/ATWM1_Working_Memory_MRI_YL18CXQ/ATWM1_Working_Memory_MRI_Nonsalient_Uncued_Run1.sce | f78eaf40640aca5033d790e84a4788564b206d89 | [] | 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 | 12,282 | sce | ATWM1_Working_Memory_MRI_Nonsalient_Uncued_Run1.sce | # ATWM1 MRI Experiment
scenario = "ATWM1_Working_Memory_MRI_nonsalient_uncued_run1";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
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;
# 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 = 9400;
mri_pulse = 1;
code = "BaselinePre";
#port_code = 1;
};
TEMPLATE "ATWM1_Working_Memory_MRI.tem" {
trigger_volume_encoding trigger_volume_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;
6 11 292 292 399 125 9543 2992 12342 fixation_cross gabor_103 gabor_168 gabor_087 gabor_042 gabor_103_alt gabor_168 gabor_087 gabor_042_alt "1_1_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_9601_3000_12400_gabor_patch_orientation_103_168_087_042_target_position_2_3_retrieval_position_2" gabor_circ gabor_168_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_1_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_168_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
19 25 292 292 399 125 11543 2992 14342 fixation_cross gabor_009 gabor_180 gabor_158 gabor_117 gabor_009_alt gabor_180_alt gabor_158 gabor_117 "1_2_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_11601_3000_14400_gabor_patch_orientation_009_180_158_117_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_069_framed blank blank blank blank fixation_cross_white "1_2_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_069_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
34 40 292 292 399 125 11543 2992 14342 fixation_cross gabor_051 gabor_134 gabor_118 gabor_073 gabor_051 gabor_134 gabor_118_alt gabor_073_alt "1_3_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_11601_3000_14400_gabor_patch_orientation_051_134_118_073_target_position_1_2_retrieval_position_2" gabor_circ gabor_134_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_3_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_134_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
49 54 292 292 399 125 9543 2992 12342 fixation_cross gabor_005 gabor_164 gabor_058 gabor_119 gabor_005_alt gabor_164 gabor_058_alt gabor_119 "1_4_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_9601_3000_12400_gabor_patch_orientation_005_164_058_119_target_position_2_4_retrieval_position_2" gabor_circ gabor_029_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_4_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_029_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
62 67 292 292 399 125 9543 2992 12342 fixation_cross gabor_108 gabor_125 gabor_066 gabor_173 gabor_108_alt gabor_125_alt gabor_066 gabor_173 "1_5_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_9601_3000_12400_gabor_patch_orientation_108_125_066_173_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_066_framed gabor_circ blank blank blank blank fixation_cross_white "1_5_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_066_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
75 80 292 292 399 125 9543 2992 12342 fixation_cross gabor_111 gabor_133 gabor_171 gabor_002 gabor_111_alt gabor_133 gabor_171_alt gabor_002 "1_6_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_9601_3000_12400_gabor_patch_orientation_111_133_171_002_target_position_2_4_retrieval_position_1" gabor_111_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_6_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_111_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
88 93 292 292 399 125 9543 2992 14342 fixation_cross gabor_180 gabor_014 gabor_152 gabor_066 gabor_180 gabor_014_alt gabor_152_alt gabor_066 "1_7_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_9601_3000_14400_gabor_patch_orientation_180_014_152_066_target_position_1_4_retrieval_position_1" gabor_180_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_7_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_180_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
102 108 292 292 399 125 11543 2992 12342 fixation_cross gabor_074 gabor_036 gabor_145 gabor_094 gabor_074 gabor_036_alt gabor_145_alt gabor_094 "1_8_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_11601_3000_12400_gabor_patch_orientation_074_036_145_094_target_position_1_4_retrieval_position_1" gabor_119_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_8_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_119_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
116 121 292 292 399 125 9543 2992 12342 fixation_cross gabor_059 gabor_138 gabor_121 gabor_076 gabor_059_alt gabor_138 gabor_121 gabor_076_alt "1_9_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_9601_3000_12400_gabor_patch_orientation_059_138_121_076_target_position_2_3_retrieval_position_1" gabor_104_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_9_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_104_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
129 134 292 292 399 125 9543 2992 12342 fixation_cross gabor_124 gabor_100 gabor_166 gabor_042 gabor_124 gabor_100_alt gabor_166 gabor_042_alt "1_10_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_9601_3000_12400_gabor_patch_orientation_124_100_166_042_target_position_1_3_retrieval_position_1" gabor_077_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_10_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_077_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
142 148 292 292 399 125 11543 2992 14342 fixation_cross gabor_036 gabor_067 gabor_120 gabor_009 gabor_036_alt gabor_067 gabor_120_alt gabor_009 "1_11_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_11601_3000_14400_gabor_patch_orientation_036_067_120_009_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_009_framed blank blank blank blank fixation_cross_white "1_11_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_009_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
157 162 292 292 399 125 9543 2992 14342 fixation_cross gabor_047 gabor_099 gabor_081 gabor_161 gabor_047_alt gabor_099 gabor_081 gabor_161_alt "1_12_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_9601_3000_14400_gabor_patch_orientation_047_099_081_161_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_130_framed gabor_circ blank blank blank blank fixation_cross_white "1_12_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_130_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
171 177 292 292 399 125 11543 2992 14342 fixation_cross gabor_089 gabor_071 gabor_139 gabor_030 gabor_089 gabor_071_alt gabor_139_alt gabor_030 "1_13_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_11601_3000_14400_gabor_patch_orientation_089_071_139_030_target_position_1_4_retrieval_position_2" gabor_circ gabor_071_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_13_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_071_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
186 192 292 292 399 125 11543 2992 14342 fixation_cross gabor_090 gabor_064 gabor_001 gabor_132 gabor_090 gabor_064_alt gabor_001 gabor_132_alt "1_14_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_11601_3000_14400_gabor_patch_orientation_090_064_001_132_target_position_1_3_retrieval_position_1" gabor_042_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_14_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_042_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
201 207 292 292 399 125 11543 2992 14342 fixation_cross gabor_161 gabor_081 gabor_003 gabor_145 gabor_161 gabor_081_alt gabor_003 gabor_145_alt "1_15_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_11601_3000_14400_gabor_patch_orientation_161_081_003_145_target_position_1_3_retrieval_position_1" gabor_161_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_15_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_161_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
};
# baselinePost (at the end of the session)
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
};
time = 0;
duration = 20600;
code = "BaselinePost";
#port_code = 2;
}; |
217fd6aa0efb0ce00867f951b857a2b2e98679e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH3/EX3.8/Example3_8.sce | f18a329f1a53b23597072399a65276e167ffa53d | [] | 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 | 497 | sce | Example3_8.sce | //Example 3.8
clear;
clc;
f0=1*10^3;
Q=5;
C=10*10^(-9);//Arbitrarily chosen value
R=1/(2*%pi*f0*C);
K=3-(1/Q);//DC gain
//->RB/RA=K-1
RA=10*10^3;//Assumed value of RA
RB=((K-1)*RA)-200;
C1=C;
C2=C;
printf("Designed Equal Component Second Order Low Pass Filter :");
printf("\nR=%.2f kohms",R*10^(-3));
printf("\nRA=%.2f kohms",RA*10^(-3));
printf("\nRB=%.2f kohms",RB*10^(-3));
printf("\nC=%.2f nF",C*10^9);
printf("\n\ndc gain (K)=%.2f V/V",K) |
0fa53dfe0abd09594830cb325d7219bb3a37fa23 | bd4a88a5c028a801cbf0e414d2630de1c1e35449 | /scilab/svm-classification/Treina.sci | 2c68d49334ce140bc6cc01254a28fcd89f87a987 | [] | no_license | edielsonpf/turning-signal-analysis | 625783cea26b029c87925f96af4ac14aa38c8ae8 | 2fd594e79395caa72f5cebc378878367ff0e7f01 | refs/heads/master | 2021-03-13T00:01:23.673430 | 2018-12-24T14:44:39 | 2018-12-24T14:44:39 | 41,508,152 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 121 | sci | Treina.sci | function model=Treina(label_vector,instance_matrix)
model=libsvm_svmtrain(label_vector,instance_matrix);
endfunction
|
3c3ec65de4be2322ac78405b0a36a20c2918e541 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects - Kopie/CONT/JH56CNU/ATWM1_Working_Memory_MRI_Nonsalient_Uncued_Run1.sce | cb5a9519d2b58f7861b8c6e9d588a7b63c78b4da | [] | 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 | 12,282 | sce | ATWM1_Working_Memory_MRI_Nonsalient_Uncued_Run1.sce | # ATWM1 MRI Experiment
scenario = "ATWM1_Working_Memory_MRI_nonsalient_uncued_run1";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
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;
# 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 = 9400;
mri_pulse = 1;
code = "BaselinePre";
#port_code = 1;
};
TEMPLATE "ATWM1_Working_Memory_MRI.tem" {
trigger_volume_encoding trigger_volume_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;
6 12 292 292 399 125 11543 2992 14342 fixation_cross gabor_140 gabor_124 gabor_180 gabor_065 gabor_140_alt gabor_124_alt gabor_180 gabor_065 "1_1_Encoding_Working_Memory_MRI_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_11601_3000_14400_gabor_patch_orientation_140_124_180_065_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_065_framed blank blank blank blank fixation_cross_white "1_1_Retrieval_Working_Memory_MRI_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_065_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
21 27 292 292 399 125 11543 2992 14342 fixation_cross gabor_173 gabor_156 gabor_084 gabor_022 gabor_173 gabor_156_alt gabor_084 gabor_022_alt "1_2_Encoding_Working_Memory_MRI_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_11601_3000_14400_gabor_patch_orientation_173_156_084_022_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_131_framed gabor_circ blank blank blank blank fixation_cross_white "1_2_Retrieval_Working_Memory_MRI_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_131_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
36 41 292 292 399 125 9543 2992 12342 fixation_cross gabor_138 gabor_082 gabor_067 gabor_154 gabor_138 gabor_082_alt gabor_067 gabor_154_alt "1_3_Encoding_Working_Memory_MRI_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_9601_3000_12400_gabor_patch_orientation_138_082_067_154_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_021_framed gabor_circ blank blank blank blank fixation_cross_white "1_3_Retrieval_Working_Memory_MRI_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_021_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
49 54 292 292 399 125 9543 2992 14342 fixation_cross gabor_064 gabor_122 gabor_144 gabor_180 gabor_064_alt gabor_122_alt gabor_144 gabor_180 "1_4_Encoding_Working_Memory_MRI_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_9601_3000_14400_gabor_patch_orientation_064_122_144_180_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_144_framed gabor_circ blank blank blank blank fixation_cross_white "1_4_Retrieval_Working_Memory_MRI_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_144_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
63 68 292 292 399 125 9543 2992 12342 fixation_cross gabor_084 gabor_005 gabor_052 gabor_067 gabor_084_alt gabor_005 gabor_052 gabor_067_alt "1_5_Encoding_Working_Memory_MRI_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_9601_3000_12400_gabor_patch_orientation_084_005_052_067_target_position_2_3_retrieval_position_2" gabor_circ gabor_005_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_5_Retrieval_Working_Memory_MRI_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_005_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
76 81 292 292 399 125 9543 2992 12342 fixation_cross gabor_055 gabor_019 gabor_161 gabor_145 gabor_055_alt gabor_019 gabor_161 gabor_145_alt "1_6_Encoding_Working_Memory_MRI_P6_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_9601_3000_12400_gabor_patch_orientation_055_019_161_145_target_position_2_3_retrieval_position_1" gabor_055_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_6_Retrieval_Working_Memory_MRI_P6_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_055_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
89 94 292 292 399 125 9543 2992 12342 fixation_cross gabor_068 gabor_178 gabor_141 gabor_007 gabor_068_alt gabor_178 gabor_141_alt gabor_007 "1_7_Encoding_Working_Memory_MRI_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_9601_3000_12400_gabor_patch_orientation_068_178_141_007_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_052_framed blank blank blank blank fixation_cross_white "1_7_Retrieval_Working_Memory_MRI_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_052_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
102 108 292 292 399 125 11543 2992 14342 fixation_cross gabor_151 gabor_039 gabor_064 gabor_012 gabor_151_alt gabor_039_alt gabor_064 gabor_012 "1_8_Encoding_Working_Memory_MRI_P6_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_11601_3000_14400_gabor_patch_orientation_151_039_064_012_target_position_3_4_retrieval_position_1" gabor_151_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_8_Retrieval_Working_Memory_MRI_P6_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_151_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
117 122 292 292 399 125 9543 2992 14342 fixation_cross gabor_130 gabor_113 gabor_004 gabor_056 gabor_130_alt gabor_113 gabor_004 gabor_056_alt "1_9_Encoding_Working_Memory_MRI_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_9601_3000_14400_gabor_patch_orientation_130_113_004_056_target_position_2_3_retrieval_position_2" gabor_circ gabor_162_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_9_Retrieval_Working_Memory_MRI_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_162_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
131 137 292 292 399 125 11543 2992 14342 fixation_cross gabor_163 gabor_135 gabor_090 gabor_111 gabor_163_alt gabor_135 gabor_090 gabor_111_alt "1_10_Encoding_Working_Memory_MRI_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_11601_3000_14400_gabor_patch_orientation_163_135_090_111_target_position_2_3_retrieval_position_2" gabor_circ gabor_135_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_10_Retrieval_Working_Memory_MRI_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_135_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
146 152 292 292 399 125 11543 2992 12342 fixation_cross gabor_149 gabor_177 gabor_026 gabor_042 gabor_149_alt gabor_177 gabor_026_alt gabor_042 "1_11_Encoding_Working_Memory_MRI_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_11601_3000_12400_gabor_patch_orientation_149_177_026_042_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_042_framed blank blank blank blank fixation_cross_white "1_11_Retrieval_Working_Memory_MRI_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_042_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
160 166 292 292 399 125 11543 2992 14342 fixation_cross gabor_078 gabor_031 gabor_162 gabor_002 gabor_078 gabor_031_alt gabor_162_alt gabor_002 "1_12_Encoding_Working_Memory_MRI_P6_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_11601_3000_14400_gabor_patch_orientation_078_031_162_002_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_115_framed gabor_circ blank blank blank blank fixation_cross_white "1_12_Retrieval_Working_Memory_MRI_P6_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_115_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
175 180 292 292 399 125 9543 2992 12342 fixation_cross gabor_005 gabor_027 gabor_142 gabor_074 gabor_005 gabor_027_alt gabor_142 gabor_074_alt "1_13_Encoding_Working_Memory_MRI_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_9601_3000_12400_gabor_patch_orientation_005_027_142_074_target_position_1_3_retrieval_position_1" gabor_053_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_13_Retrieval_Working_Memory_MRI_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_053_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
188 194 292 292 399 125 11543 2992 14342 fixation_cross gabor_112 gabor_172 gabor_049 gabor_026 gabor_112 gabor_172_alt gabor_049 gabor_026_alt "1_14_Encoding_Working_Memory_MRI_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_11601_3000_14400_gabor_patch_orientation_112_172_049_026_target_position_1_3_retrieval_position_1" gabor_112_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_14_Retrieval_Working_Memory_MRI_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_112_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96;
203 208 292 292 399 125 9543 2992 12342 fixation_cross gabor_022 gabor_140 gabor_103 gabor_067 gabor_022 gabor_140_alt gabor_103_alt gabor_067 "1_15_Encoding_Working_Memory_MRI_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_9601_3000_12400_gabor_patch_orientation_022_140_103_067_target_position_1_4_retrieval_position_1" gabor_157_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_15_Retrieval_Working_Memory_MRI_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_157_retrieval_position_1" 2 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 = 20600;
code = "BaselinePost";
#port_code = 2;
}; |
071337e8bdea45869766dceafb2c9c28e765eb9d | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Functions/DataMining.tst | 79328d7672d50eeca49ea667e709b04c68bc3768 | [] | 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 | 28,423 | tst | DataMining.tst | ----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_WideToDeep *****';
DROP TABLE tblFieldMap;
DROP TABLE tblAbaloneWTD;
DROP TABLE tblAbaloneDTW;
EXEC SP_WideToDeep('tblAbaloneWide',
'ObsID',
'tblFieldMap',
'tblAbaloneWTD',
0);
SELECT *
FROM tblFieldMap
ORDER BY 1,2;
SELECT *
FROM tblAbaloneWTD
ORDER BY 1,2
LIMIT 20;
SELECT '***** EXECUTING SP_DeepToWide *****';
EXEC SP_DeepToWide('tblAbaloneWTD',
'tblFieldMap',
'tblAbaloneWide',
'tblAbaloneDTW');
SELECT *
FROM tblAbaloneDTW
ORDER BY 1
LIMIT 10;
----------------------------------------------------------------------------------------
DROP TABLE tblDeep;
SELECT '***** EXECUTING SP_RegrDataPrep *****';
EXEC SP_RegrDataPrep(NULL, -- New Conversion
'tblAutoMpg', -- Name of Input Wide Table
'ObsID', -- Name of the observation id Column
'MPG', -- Name of the dependent variable
'tblDeep', -- Name of the Output Deep Table.
-- This table should not exist.
true, -- Transform Categorical to Dummy
false, -- Perform Mean Normalization
false, -- Perform Variable Reduction
false, -- Make data Sparse
0.0001, -- Minimum acceptable Standard Deviation
0.98, -- Maximum Acceptable correlation
0, -- 0 => Training data set
'CarNum', -- Exclude Columns
'CarNum'); -- Columns to exclude from conversion
SELECT a.*
FROM fzzlRegrDataPrepMap a
WHERE a.AnalysisID = 'MMEHTA_117756'
ORDER BY a.Final_VarID
LIMIT 20;
SELECT *
FROM tblDeep
ORDER BY 1, 2
LIMIT 20;
----------------------------------------------------------------------------------------
--Create View
CREATE OR REPLACE VIEW tblDecisionTreeMulti_VW
AS(
SELECT OBSID, VARID, NUM_VAL AS Value FROM tblDecisionTreeMulti);
-- Execute Stored Procedure
SELECT '***** EXECUTING SP_DecisionTree *****';
EXEC SP_DecisionTree('tblDTData',
5,
5,
0.95,
'Cont. Sample');
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_DecisionTree *****';
EXEC SP_DecisionTree('tblDTData',
100,
4,
0.8,
'Cont. Sample');
--DROP TABLE tblDTDataScore;
--EXEC SP_DecisionTreeScore('tblDecisionTreeMulti_VW',
-- 'MMEHTA_368901',
-- 'tblDTDataScore',
-- 'score test');
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING FLHoltWinter *****';
SELECT b.SerialVal,
FLHoltWinter(a.PERIODID,
a.VAL,
7,
0.20,
0.20,
0.80,
b.SerialVal,
1)
FROM tbltseries_hltwntr a, fzzlSerial b
WHERE b.SerialVal <= 28
GROUP BY b.SerialVal
ORDER BY 1;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_KaplanMeier *****';
CREATE OR REPLACE VIEW vwWHAS100 AS
SELECT 1 AS DataSetID,
a.ID AS ObsID,
a.FolDate - a.AdmitDate AS TIME,
a.FStat AS STATUS,
a.Gender
FROM tblWHAS100 a
UNION ALL
SELECT 2 AS DataSetID,
a.ID AS ObsID,
a.FolDate - a.AdmitDate AS TIME,
a.FStat AS STATUS,
a.Gender
FROM tblWHAS100 a;
EXEC SP_KaplanMeier('vwWHAS100',0.05,'2 Sets Est');
--SELECT *
--FROM fzzlKaplanMeierInfo
--WHERE Analysisid = 'MMEHTA_454356';
--SELECT *
--FROM fzzlKaplanMeier
--WHERE Analysisid = 'MMEHTA_454356';
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_KaplanMeierHypoTest *****';
EXEC SP_KaplanMeierHypoTest('vwWHAS100', 1, 2, 'HypoTest');
--SELECT *
--FROM fzzlKaplanMeierInfo
--WHERE AnalysisID = 'MMEHTA_820702';
--SELECT *
--FROM fzzlKaplanMeierHypoTest
--WHERE AnalysisID = 'MMEHTA_820702'
--ORDER BY 3;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_KMeans *****';
SELECT SP_KMeans('tblKMeansData',5,10);
--SELECT *
--FROM fzzlKMeansCentroid
--WHERE Analysisid = 'MMEHTA_414317'
--ORDER BY DimID, ClusterID;
-- SELECT ClusterID,
-- COUNT(*)
-- FROM fzzlKMeansClusterid
-- WHERE AnalysisID = 'MMEHTA_414317'
-- GROUP BY ClusterID
-- ORDER BY ClusterID;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_HKMeans *****';
EXEC SP_HKMeans('tblKMeansData',
3,
3,
20);
-- SELECT *
-- FROM fzzlHKMeansDendrogram
-- WHERE Analysisid = 'MMEHTA_188230'
-- ORDER BY 1, 2, 3, 4;
-- SELECT *
-- FROM fzzlHKMeansHierClusterID
-- WHERE AnalysisID = 'MMEHTA_188230'
-- ORDER BY 1,2,3;
-- SELECT a.ObsID,
-- DENSE_RANK() OVER (
-- PARTITION BY 1
-- ORDER BY MIN(b.ClusterID)
-- ) AS ClusterID
-- FROM fzzlHKMeansHierClusterID a,
-- (
-- SELECT DISTINCT DENSE_RANK() OVER(
-- PARTITION BY 1
-- ORDER BY HierClusterID
-- ) AS ClusterID,
-- HierClusterID
-- FROM fzzlHKMeansDendrogram
-- WHERE AnalysisID = 'MMEHTA_188230'
-- -- Modify Analysis ID
-- AND LEVEL = 2
-- -- Modify Level
-- ) b
-- WHERE AnalysisID = 'MMEHTA_188230'
-- -- Modify Analysis ID
-- AND a.HIERCLUSTERID LIKE b.HIERCLUSTERID||'%'
-- GROUP BY a.OBSID
-- ORDER BY 1,2;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING FLLinRegrUDT *****';
SELECT f.*
FROM(
SELECT a.GroupID,
a.ObsID,
a.VarID,
a.Num_Val,
NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.ObsID), 1)
AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.ObsID), 1)
AS end_flag
FROM tbllinregrdatadeep a
) AS z,
TABLE(FLLinRegrUDT(z.GroupID,
z.ObsID,
z.VarID,
z.Num_Val,
1,
0.05,
0.95,
z.begin_flag,
z.end_flag)) AS f
ORDER BY 1 ASC, 2 DESC, 5 ASC
LIMIT 20;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_LinRegr *****';
EXEC SP_LinRegr('tblLinRegr', 'Demo');
-- SELECT a.*
-- FROM fzzlLinRegrInfo a
-- WHERE a.AnalysisID = 'MMEHTA_416944';
-- SELECT a.*
-- FROM fzzlLinRegrStats a
-- WHERE a.AnalysisID = 'MMEHTA_416944';
-- SELECT a.*
-- FROM fzzlLinRegrCoeff a
-- WHERE a.AnalysisID = 'MMEHTA_416944';
INSERT INTO fzzlLinRegrModelVarSpec
VALUES ('SPEC TEST 1', 2, 'X');
INSERT INTO fzzlLinRegrModelVarSpec
VALUES ('SPEC TEST 1', 8, 'X');
EXEC SP_LinRegr('tblLinRegr', 'SPEC TEST 1', 'Demo');
----------------------------------------------------------------------------------------
--Insert into fzzlGLMColumns table for ColSpecID
SELECT '***** EXECUTING SP_GLM *****';
DELETE FROM fzzlGLMColumns
WHERE SPECID IN ('GLM1', 'GLM2');
INSERT INTO fzzlGLMColumns
VALUES ('GLM1', 1 ,'ObsID');
INSERT INTO fzzlGLMColumns
VALUES ('GLM1', 1 ,'Drug');
INSERT INTO fzzlGLMColumns
VALUES ('GLM2', 2 ,'Disease');
-----Insert into fzzlGLMIntColumns table for IntSpecID
DELETE FROM fzzlGLMIntColumns
WHERE SPECID IN ( 'Int1', 'Int2') ;
INSERT INTO fzzlGLMIntColumns
VALUES ('Int1', 1 ,'DRUG','Disease');
INSERT INTO fzzlGLMIntColumns
VALUES ('Int2', 1 ,'DISEASE','Trial');
CALL SP_GLM('tblDrugWide',
'ObsID',
'Effect',
'GLM2',
'',
'Drug',
'GLM Test 2');
-- SELECT a.*
-- FROM fzzlGLMRegrCoeffs a
-- WHERE a.AnalysisID = 'MMEHTA_721448'
-- ORDER BY 2, 3;
-- SELECT a.*
-- FROM fzzlGLMLSMeans a
-- WHERE a.AnalysisID = 'MMEHTA_721448'
-- ORDER BY 2, 3;
-- SELECT a.*
-- FROM fzzlGLMRegrStats a
-- WHERE a.AnalysisID = 'MMEHTA_721448'
-- ORDER BY 2;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_LinRegrBW *****';
DROP TABLE tempLinRegrvw;
CREATE TABLE tempLinRegrvw
AS
SELECT a.*
FROM tblLinRegr a
WHERE a.VarID <= 50;
ALTER TABLE tempLinRegrvw RENAME Num_Val TO Value;
EXEC SP_LinRegrBW('tempLinRegrvw','SPEC TEST 1',0.10, 'Demo');
-- SELECT a.*
-- FROM fzzlLinRegrCoeffs a
-- WHERE a.AnalysisID = 'MMEHTA_219049'
-- ORDER BY 2,3;
-- SELECT a.*
-- FROM fzzlLinRegrStats a
-- WHERE a.AnalysisID = 'MMEHTA_219049'
-- AND ModelID <=2
-- ORDER BY 2;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING FLLinRegrBWUdt *****';
SELECT f.*
FROM(
SELECT a.GroupID,
a.ObsID,
a.VarID,
a.Num_Val,
NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.ObsID), 1)
AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.ObsID), 1)
AS end_flag
FROM tbllinregrdatadeep a) AS z,
TABLE(FLLinRegrBWUdt(z.GroupID,
z.ObsID,
z.VarID,
z.Num_Val,
1,
0.01,
0.95,
0.10,
z.begin_flag,
z.end_flag)) AS f
ORDER BY 1 ASC, 2 DESC, 5 ASC
LIMIT 20;
----------------------------------------------------------------------
SELECT '***** EXECUTING SP_LinRegrFB *****';
EXEC SP_LinRegrFB('tempLinRegrvw','SPEC TEST 1',0.50,0.10, 'Demo');
-- SELECT a.*
-- FROM fzzlLinRegrCoeffs a
-- WHERE a.AnalysisID = 'MMEHTA_931505'
-- ORDER BY 2,3;
-- SELECT a.*
-- FROM fzzlLinRegrStats a
-- WHERE a.AnalysisID = 'MMEHTA_931505'
-- AND ModelID <=2
-- ORDER BY 2;
SELECT '***** EXECUTING SP_LinRegrSF *****';
EXEC SP_LinRegrSF('tempLinRegrvw','SPEC TEST 1', 'Demo');
-- SELECT a.*
-- FROM fzzlLinRegrCoeffs a
-- WHERE a.AnalysisID = 'MMEHTA_569815'
-- ORDER BY 2,3;
-- SELECT a.*
-- FROM fzzlLinRegrStats a
-- WHERE a.AnalysisID = 'MMEHTA_569815'
-- AND ModelID <=2
-- ORDER BY 2;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_LinRegrMultiDataSet *****';
CREATE OR REPLACE VIEW vw_LinRegrMulti AS
SELECT 1 AS DataSetID,
a.ObsID,
a.VarID,
a.Value
FROM tblLinRegr a
WHERE a.VarID <= 50 AND a.ObsID <= 2000
UNION
SELECT 2 AS DataSetID, a.*
FROM tblLinRegr a
WHERE a.VarID <= 50 AND a.ObsID <= 3000;
CALL SP_LinRegrMultiDataSet('vw_LinRegrMulti', 'Test LinRegrMultiData');
DROP VIEW vw_LinRegrMulti;
-- SELECT a.*
-- FROM fzzlLinRegrCoeffs a
-- WHERE a.AnalysisID = 'MMEHTA_386447'
-- ORDER BY 3, 1, 2;
-- SELECT a.*
-- FROM fzzlLinRegrStats a
-- WHERE a.AnalysisID = 'MMEHTA_386447'
-- ORDER BY 1, 2, 3;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_LinRegrSW *****';
CREATE OR REPLACE VIEW vw_LinRegrSWDemo
AS (
SELECT ObsID, VarID, Value
FROM tblLinRegr
WHERE VarID > 0
AND VarID <= 20
AND Value <> 0
UNION ALL
SELECT ObsID, VarID, Value
FROM tblLinRegr
WHERE VarID IN (-1, 0));
EXEC SP_LinRegrSW ('vw_LinRegrSWDemo','SPEC TEST 1',3,0.10, 'Demo');
-- SELECT a.*
-- FROM fzzlLinRegrCoeffs a
-- WHERE a.AnalysisID = 'MMEHTA_426844'
-- AND ModelID <= 2
-- ORDER BY 1,2,3;
-- SELECT a.*
-- FROM fzzlLinRegrStats a
-- WHERE a.AnalysisID = 'MMEHTA_426844'
-- AND ModelID <= 2;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_LinRegrSWEff *****';
CREATE OR REPLACE VIEW vw_LinRegrSWDemo
AS (
SELECT ObsID, VarID, Value
FROM tblLinRegr
WHERE VarID > 0
AND VarID <= 20
AND Value <> 0
UNION ALL
SELECT ObsID, VarID, Value
FROM tblLinRegr
WHERE VarID IN (-1, 0));
EXEC SP_LinRegrSWEff('vw_LinRegrSWDemo','SPEC TEST 1', 0.5, 0.1, 'Demo');
-- SELECT a.*
-- FROM fzzlLinRegrCoeffs a
-- WHERE a.AnalysisID = 'MMEHTA_579348'
-- AND ModelID <= 2
-- ORDER BY 1,2,3;
-- SELECT a.*
-- FROM fzzlLinRegrStats a
-- WHERE a.AnalysisID = 'MMEHTA_579348'
-- AND ModelID <= 2;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_LogRegr *****';
EXEC SP_LogRegr('tblLogRegrData', 0.10, 25, 'Test');
-- SELECT a.*
-- FROM fzzlLogRegrCoeffs a
-- WHERE a.AnalysisID = 'MMEHTA_165254'
-- ORDER BY 1;
-- SELECT a.*
-- FROM fzzlLogRegrStats a
-- WHERE a.AnalysisID = 'MMEHTA_165254';
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_LogRegrBW *****';
CREATE TABLE vw_LogRegrBWDemo
AS
SELECT a.*
FROM tblLogRegrData a
WHERE a.VarID <= 50;
EXEC SP_LogRegrBW('vw_LogRegrBWDemo', 0.1,25, 'SPEC TEST 1',0.1,'Test');
--SELECT a.*
--FROM fzzlLogRegrCoeffs a
--WHERE a.AnalysisID = 'MMEHTA_200834'
--ORDER BY 2,3;
--SELECT a.*
--FROM fzzlLogRegrStats a
--WHERE a.AnalysisID = 'MMEHTA_200834'
--AND ModelID <= 2
--ORDER BY 2;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_LogRegrFB *****';
EXEC SP_LogRegrFB('vw_LogRegrBWDemo', 0.1,25, 'SPEC TEST 1',0.5,0.1,'Test');
--SELECT a.*
--FROM fzzlLogRegrCoeffs a
--WHERE a.AnalysisID = 'MMEHTA_667230'
--ORDER BY 2,3;
--SELECT a.*
--FROM fzzlLogRegrStats a
--WHERE a.AnalysisID = 'MMEHTA_667230'
--AND ModelID <= 2
--ORDER BY 2;
----------------------------------------------------------------------------------------
CREATE OR REPLACE VIEW tblLogRegr_vw
AS (
SELECT ObsID, VarID, Value
FROM tblLogRegrData);
EXEC SP_LogRegr('tblLogRegr_vw', 0.10, 25, 'Test');
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_LogRegrMNBW *****';
EXEC SP_LogRegrMNBW('TBLLOGREGRMN10000', 1, 25, '' ,0.30, 'Test Notes');
-- SELECT *
-- FROM fzzlLogRegrMNCoeffs
-- WHERE AnalysisID ='MMEHTA_383944'
-- ORDER BY 2, 3, 4;
-- SELECT *
-- FROM fzzlLogRegrMNStats
-- WHERE AnalysisID ='MMEHTA_383944'
-- ORDER BY 2,3;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_LogRegrMNFB *****';
EXEC SP_LogRegrMNFB('tblLogRegrMN10000', 1, 25, '', 0.70, 0.30, 'Test Notes');
-- SELECT a.*
-- FROM fzzlLogRegrMNCoeffs a
-- WHERE a.AnalysisID = 'MMEHTA_332610'
-- ORDER BY 2, 3, 4;
-- SELECT *
-- FROM fzzlLogRegrMNStats
-- WHERE AnalysisID ='MMEHTA_332610'
-- ORDER BY 2, 3;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_LogRegrMNUFB *****';
EXEC SP_LogRegrMNUFB('tblLogRegrMN10000',
1,
25,
'',
0.70,
0.30,
0.20,
'Feng Test');
-- SELECT *
-- FROM fzzlLogRegrMNCoeffs
-- WHERE AnalysisID ='MMEHTA_584459'
-- ORDER BY 2, 3, 4;
-- SELECT *
-- FROM fzzlLogRegrMNStats
-- WHERE Analysisid = 'MMEHTA_584459'
-- ORDER BY 2,3;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_LogRegrMultiDataSet *****';
CALL SP_LogRegrMultiDataSet('tblLogRegrMulti', 25, 0.10,'Test Notes');
-- SELECT a.*
-- FROM fzzlLogRegrCoeffs a
-- WHERE a.AnalysisID = 'MMEHTA_285205'
-- ORDER BY 3, 1, 2;
-- SELECT a.*
-- FROM fzzlLogRegrStats a
-- WHERE a.AnalysisID = 'MMEHTA_285205'
-- ORDER BY 1, 2, 3;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_LogRegrSF *****';
EXEC SP_LogRegrSF('tblLogRegrData', 0.1,25,'SPEC TEST 1','Test');
-- SELECT a.*
-- FROM fzzlLogRegrCoeffsSF a
-- WHERE a.AnalysisID = 'MMEHTA_265033'
-- ORDER BY 2;
-- SELECT a.*
-- FROM fzzlLogRegrStatsSF a
-- WHERE a.AnalysisID = 'MMEHTA_265033'
-- ORDER BY 2;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_LogRegrFB *****';
EXEC SP_LogRegrFB('vw_LogRegrBWDemo', 0.1,25, 'SPEC TEST 1',0.5,0.1,'Test');
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_LogRegr *****';
CREATE OR REPLACE VIEW tblLogRegr_vw
AS (
SELECT ObsID, VarID, value FROM tblLogRegrData);
EXEC SP_LogRegr('tblLogRegr_vw', 0.1,25,'SPEC TEST 1','Test');
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_LogRegrSW *****';
CREATE TEMP TABLE tblLogRegrSWDemo
AS (
SELECT ObsID, VarID, Value
FROM tblLogRegrData
WHERE VarID > 0
AND VarID <= 10
AND value <> 0
UNION ALL
SELECT ObsID, VarID, Value
FROM tblLogRegrData
WHERE VarID IN (-1, 0));
EXEC SP_LogRegrSW('vw_LogRegrSWDemo',0.1,25,'SPEC TEST 1',3,0.1,'Test');
-- SELECT a.*
-- FROM fzzlLogRegrCoeffs a
-- WHERE a.AnalysisID = 'ADMIN_352035'
-- AND ModelID <= 2
-- ORDER BY 1,2,3;
-- SELECT a.*
-- FROM fzzlLogRegrStats a
-- WHERE a.AnalysisID = 'ADMIN_352035'
-- AND ModelID <= 2;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_LogRegrSWEff *****';
CREATE OR REPLACE VIEW vw_LogRegrSWDemo
AS (
SELECT a.*
FROM tblLogRegrData a
WHERE a.VarID > 0
AND a.VarID <= 10
AND a.Value <> 0
UNION ALL
SELECT a.*
FROM tblLogRegrData a
WHERE a.VarID IN (-1, 0));
CALL SP_LogRegrSWEff('vw_LogRegrSWDemo', 0.10, 25,3,0.1,'Test');
DROP VIEW vw_LogRegrSWDemo;
-- SELECT a.*
-- FROM fzzlLogRegrCoeffs a
-- WHERE a.AnalysisID = 'FBAI_918504'
-- AND ModelID <= 2
-- ORDER BY 1,2,3;
-- SELECT a.*
-- FROM fzzlLogRegrStats a
-- WHERE a.AnalysisID = 'FBAI_918504'
-- AND ModelID <= 2 ;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_LogRegrWt *****';
CALL SP_LogRegrWt('tblLogRegrData', 0.10, 25, 0.8, 1, 'Test');
-- SELECT a.*
-- FROM fzzlLogRegrCoeffs a
-- WHERE a.AnalysisID = 'FBAI_570336'
-- ORDER BY 1;
-- SELECT a.*
-- FROM fzzlLogRegrStats a
-- WHERE a.AnalysisID = 'FBAI_570336';
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING FLCalcProb *****';
SELECT a.ObsID,
FLCalcProb(b.CoeffValue, a.Value) AS p_hat
FROM tblLogRegr a,
fzzlLogRegrCoeffs b
WHERE a.VarID = b.CoeffID
AND b.MODELID = 1
AND b.AnalysisID = 'MMEHTA_615119'
GROUP BY a.ObsID
ORDER BY a.ObsID;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING FLNSBeta *****';
SELECT a.SeriesID,
FLNSBeta('BETA0', a.XVal, a.YVal, 1) AS Beta0,
FLNSBeta('BETA1', a.XVal, a.Yval, 1) AS Beta1,
FLNSBeta('BETA2', a.XVal, a.YVal, 1) AS Beta2,
1 AS Lambda
FROM tblNelsonSiegel a
GROUP BY a.SeriesID
ORDER BY 1;
SELECT '***** EXECUTING FLNSBeta *****';
SELECT a.SeriesID,
FLNSBeta('BETA0', a.XVal, a.YVal, 1.5) AS Beta0,
FLNSBeta('BETA1', a.XVal, a.Yval, 1.5) AS Beta1,
FLNSBeta('BETA2', a.XVal, a.YVal, 1.5) AS Beta2,
1.5 AS Lambda
FROM tblNelsonSiegel a
GROUP BY a.SeriesID
ORDER BY 1;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING FLNSPredict *****';
SELECT q.SeriesID,
q.ObsID,
q.Yval,
FLNSPredict(p.Beta0, p.Beta1, p.Beta2,
p.Lambda, q.XVal)
FROM(
SELECT a.seriesID,
FLNSBeta('BETA0', a.XVal, a.YVal, 1) AS Beta0,
FLNSBeta('BETA1', a.XVal, a.Yval, 1) AS Beta1,
FLNSBeta('BETA2', a.XVal, a.YVal, 1) AS Beta2,
1 AS Lambda
FROM tblNelsonSiegel a
GROUP BY a.SeriesID
) AS p,
tblNelsonSiegel q
WHERE q.SeriesID = p.SeriesID
ORDER BY 1, 2;
----------------------------------------------------------------------------------------
DROP TABLE tblWineDeep;
DROP TABLE tblWineTrain;
DROP TABLE tblWineModel;
EXEC SP_RegrDataPrep(NULL,
'tblWine',
'ObsID',
'Wine_Type',
'tblWineDeep',
false,
true,
false,
false,
0,
1,
0,
'',
'');
CREATE TABLE tblWineTrain
AS (
SELECT a.*
FROM tblWineDeep a
WHERE a.ObsID <= 90
)
DISTRIBUTE ON (ObsID);
SELECT '***** EXECUTING FLNeuralNetUdt *****';
CREATE TABLE tblWineModel AS (
SELECT f.*
FROM(SELECT 1 AS GroupID,
a.ObsID,
a.VarID,
a.Value,
10 AS NeuronCount1,
5 AS NeuronCount2,
0.2 AS LearningRate,
500 AS MaxEpochs,
1 AS ExecutionMode,
NVL(LAG(0) OVER (PARTITION BY GroupID ORDER BY
a.ObsID,a.VarID), 1) AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY GroupID ORDER BY
a.ObsID,a.VarID), 1) AS end_flag
FROM tblWineTrain a) AS z,
TABLE (FLNeuralNetUdt(z.GroupID,
z.ObsID,
z.VarID,
z.Value,
z.NeuronCount1,
z.NeuronCount2,
z.LearningRate,
z.MaxEpochs,
z.ExecutionMode,
z.begin_flag,
z.end_flag)) AS f ORDER BY 1,2,3,4 );
SELECT *
FROM tblWineModel
ORDER BY 1,2,3,4;
----------------------------------------------------------------------------------------
DROP TABLE tblWineTest;
CREATE TABLE tblWineTest
AS (
SELECT a.*
FROM tblWineDeep a
WHERE a.ObsID > 90
)
DISTRIBUTE ON (ObsID);
SELECT '***** EXECUTING SP_NeuralNetScore *****';
CALL SP_NeuralNetScore('tblWineModel', -- model table from previous step
'tblWineTest', -- table to be scored
NULL, -- group id column name
'ObsID', -- observation id column name
'VarID', -- variable id column name
'Value', -- value column name
'tblWineScore' -- Output score table
);
SELECT *
FROM tblWineScore
ORDER BY 1,2;
-- Skipped the SP_NeuralNetScore to be fixed later
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_PoissonRegr *****';
CALL SP_PoissonRegr('tblPoissonDeep', 25, 'Test Notes');
-- SELECT a.*
-- FROM fzzlPoissonRegrCoeffs a
-- WHERE a.AnalysisID = 'MMEHTA_824330'
-- ORDER BY 2;
-- SELECT a.*
-- FROM fzzlPoissonRegrStats a
-- WHERE a.AnalysisID = 'MMEHTA_824330';
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_SurveySelectStratExact *****';
DROP TABLE tblSample;
EXEC SP_SurveySelectStratExact('tblPopulation',
'ObsID',
'StratumID',
'tblSample',
'tblStratumSize',
2,
'100 samples perc') ;
-- SELECT *
-- FROM fzzlSurveySelectInfo
-- WHERE Analysisid = 'MMEHTA_202432';
-- SELECT *
-- FROM tblSample
-- ORDER BY 1, 2, 3;
-- SELECT *
-- FROM tblSample
-- ORDER BY 1, 2, 3;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_SurveySelectStratPerc *****';
DROP TABLE tblSample;
EXEC SP_SurveySelectStratPerc('tblPopulation',
'ObsID',
'StratumID',
'tblSample',
'tblStratumSize',
2,
'2 samples perc');
-- SELECT *
-- FROM fzzlSurveySelectInfo
-- WHERE Analysisid = 'MMEHTA_791124';
-- SELECT *
-- FROM tblSample
-- ORDER BY 1, 2, 3;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING FLSVMGaussianUdt *****';
SELECT f.*
FROM(SELECT 1 As GroupID,
a.ObsID,
a.VarID,
a.Num_Val,
5 As CValue,
0.1 As SigmaSqr,
NVL(LAG(0) OVER (PARTITION BY GroupID ORDER BY a.ObsID), 1)
AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY GroupID ORDER BY a.ObsID), 1)
AS end_flag
FROM tblSVMnonLinearSeparated a) AS z,
TABLE(FLSVMGaussianUdt(z.GroupID,
z.ObsID,
z.VarID,
z.Num_Val,
z.CValue,
z.SigmaSqr,
z.begin_flag,
z.end_flag)) AS f
ORDER BY 1, 2, 3;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING FLSVMLinearUdt *****';
SELECT f.*
FROM(SELECT 1 As GroupID,
a.ObsID,
a.VarID,
a.Num_Val,
5 As CValue,
NVL(LAG(0) OVER (PARTITION BY GroupID ORDER BY a.ObsID), 1)
AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY GroupID ORDER BY a.ObsID), 1)
AS end_flag
FROM tblSVMLinSeparableDeep a) AS z,
TABLE(FLSVMLinearUdt(z.GroupID,
z.ObsID,
z.VarID,
z.Num_Val,
z.CValue,
z.begin_flag,
z.end_flag)) AS f;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING FLSVMPolynomialUdt *****';
SELECT f.*
FROM(SELECT 1 As GroupID,
a.ObsID,
a.VarID,
a.Num_Val,
5 As CValue,
2 As Degree,
NVL(LAG(0) OVER (PARTITION BY GroupID ORDER BY a.ObsID), 1)
AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY GroupID ORDER BY a.ObsID), 1)
AS end_flag
FROM tblSVMnonLinearSeparated a) AS z,
TABLE(FLSVMPolynomialUdt(z.GroupID,
z.ObsID,
z.VarID,
z.Num_Val,
z.CValue,
z.Degree,
z.begin_flag,
z.end_flag)) AS f
ORDER BY 1, 2, 3;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_VIF *****';
CALL SP_VIF('tblLinRegr', 'New Test 1');
-- SELECT *
-- FROM fzzlVIFstats
-- WHERE AnalysisID = 'MMEHTA_230345'
-- ORDER BY VarID;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_VIFBW *****';
CREATE OR REPLACE VIEW V_TBLLINREGR_V20_withGrpID
AS
SELECT 1 AS DATASETID,
a.*
FROM tblLinRegr a
WHERE a.VARID <= 20;
CALL SP_VIFBW('V_TBLLINREGR_V20_withGrpID',5,'MMEHTA TEST');
-- SELECT a.*
-- FROM fzzlVIFBWStats a
-- WHERE a.AnalysisID ='MMEHTA_315056'
-- ORDER BY 1, 2, 4, 3;
----------------------------------------------------------------------------------------
SELECT '***** EXECUTING SP_VIFMultiDataSet *****';
CALL SP_VIFMultiDataSet('tbllogregrmulti','Manual test');
-- SELECT *
-- FROM fzzlVIFStats
-- WHERE AnalysisID = 'MMEHTA_209744'
-- ORDER BY 1, 2, 3;
-- DROP TABLES
DROP TABLE tblFieldMap;
DROP TABLE tblAbaloneWTD;
DROP TABLE tblAbaloneDTW;
DROP TABLE tblDeep;
DROP TABLE tempLinRegrvw;
DROP TABLE TABLE vw_LogRegrBWDemo;
DROP TABLE tblWineDeep;
DROP TABLE tblWineTrain;
DROP TABLE tblWineModel;
DROP TABLE tblWineTest;
DROP TABLE tblSample; |
c925367fde86437a1e11967ceae2481b6d6aec0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH7/EX7.2/Ex7_2.sce | cfcb684351210f71227e61a31adad12577427100 | [] | 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 | 156 | sce | Ex7_2.sce | //Example 7_2
clc();
clear;
//To estimate the numerical aperture
n1=1.46
delta=0.05
NA=n1*sqrt(2*delta)
printf("The numerical aperture is %.2f",NA)
|
9dae7df08b778f03d9ebc0d95a99babfe893527e | a159f59d19e2b03b234e9c2977ba4a932180e648 | /Software/GreenScilabV0.9/macros/Draw_bending.sci | 67911e5022d13e0e5ff61470f9093d1c503c036a | [] | no_license | OpenAgricultureFoundation/openag_sim | e052bbcc31b1d7f9b84add066327b479785f8723 | 425e678b55e24b5848d17181d25770175b8c2c3f | refs/heads/master | 2021-07-01T06:25:08.753260 | 2017-09-20T21:44:18 | 2017-09-20T21:44:18 | 80,540,145 | 0 | 1 | null | null | null | null | GB18030 | Scilab | false | false | 3,391 | sci | Draw_bending.sci | function [theta] = Draw_bending(p,L0,h0,Ey,InitAngle,fp,End_Ang,End_N,InitNum)
// Ouput variables initialisation (not found in input variables)
theta=[];
//------------------------ calculate bending angal theta -------------------------%
Init = InitAngle;//第一个生长单元离Z轴的角度
h=ceil(fp(p)*h0);
theta=zeros(1,L0);
I = (%pi*((1/2)^4))/4;
K = sqrt(0.35./(Ey(:,1)*I));
dx = 1;//每个单元的长度
at = 0.1744;// accuracy angle for the bending angle=10
if Init>0 then
x = K(p,1)*h*sqrt(abs(cos(Init))); //abs is added in case multiple initial angles. 2006/05/08. QR, MZ
w= sin(Init)*(1-cos(x))/(cos(Init)*cos(x)); // matlab can do cos(Init) <0!
if (K(p,1)*h*sqrt(abs(cos(Init)))*2/%pi >0.8 | abs(w)> .80 | w < 0 ) then // .80 = 45*%pi/180
a = 0; b = %pi -Init;
while ( b -a > at )
w = (a+b)/2; tt = 0; s = 0; x = 1; //I_H(i,p);
while (tt < w & x ~= 0)
dt = dx*sqrt(2)* K(p,1) * sqrt((abs(cos(Init+tt)-cos(Init+w))));
tt = tt + dt; x = x + dx;
end;
if x < h then
a = w;
else
b = w;
end;
end;
w = (a+b)/2;
end; //计算最后一个生长单元离Z轴的角度W
else
w = 0; //Init<0
end;
//%%%%%%%%%%%%%%%%%%%%%%%%%%% calculate total bending angal W %%%%%%%%%%%%%%%%%%%%%
//L0: last G.U.
//Lf: force point
//Le: ending point
tt = 0;
te = End_Ang;//the angle of last G.U.
if h0>0 then
Le = ceil(End_N*L0/h0); //number of ending up cycle
else
Le = 0;
end;
Lf = ceil(fp(p)*L0);
theta(1,1) = Init;
if L0<=Le then // ending point do not function
if L0>1 then
dt =(te-Init)/(L0-1);
for j = 2:L0 ;
// theta(j)=Init+dt*(j-1);
if tt<w then
tt = tt+ K(p,1)*sqrt(2*(cos(tt+Init)-cos(w+Init)))*dx;
end;
theta(j)=Init+tt; //每个生长单元离Z轴的角度
end;
end;
else // ending point do influence
Lb=L0-Le; //left of ending point
if Lf<Lb then //force point in the left part
//part 1-Lf
for j = 2:Lf-1 ;
if tt<w then
tt = tt+ K(p,1)*sqrt(2*(cos(tt+Init)-cos(w+Init)))*dx;
end;
theta(j) = Init+tt; //每个生长单元离Z轴的角度
end;
//part Lf-Lb
for j = Lf:Lb;
if tt+Init>0 then
tt = tt- K(p,1)*sqrt(2*(abs(cos(tt+Init)-cos(w+Init))))*dx;
end;
theta(j) =Init+tt;
end;
//part Lb-L0
if Le>0 then
dt = (te-theta(Lb))/Le;
else
dt = 0;
end;
for j = Lb+1:L0;
theta(j)=theta(j-1)+dt;
end;
else // %force point in the right part of ending point
//part 1:Lb
for j = 2:Lb;
if tt<w then
tt = tt+ K(p,1)*sqrt(2*(cos(tt+Init)-cos(w+Init)))*dx;
end;
theta(j)=Init+tt; //每个生长单元离Z轴的角度
end;
//part Lb+1:L0
if Le>0 then
dt=(te-theta(Lb))/Le;
else
dt = 0;
end;
for j = Lb+1:L0 ;
if j==1 then
theta(j)=Init;
else
theta(j)=theta(j-1)+dt;
end;
end;
end;
end;
// if initial angle is only one, make the initial angle 0
if InitNum==1 then
theta(:) = theta(:)-Init;
end;
//------------------------ calculate bending angal theta -------------------------%
endfunction
|
6aec1dc13969a3a27050e696884f0c30f351959a | 2cf6f8d7936597ab1c688f089cedebf458285ee2 | /descente.sce | 2ab6b2663b500c88901b47dfb937597aa51d9c60 | [] | no_license | WilliamDidier/Identification_conductivite | fbcff840fdcf41b96e5c57e44ec14c8da71ccba1 | e4eca12da93b85bb72da66209939a7a5288f5f04 | refs/heads/master | 2021-04-06T01:24:03.608385 | 2018-03-12T11:30:34 | 2018-03-12T11:30:34 | 124,878,899 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | sce | descente.sce | function [z]=descente(ldinf, ldiag, y)
n = size(y,"*")
z = zeros(n,1)
z(1) = y(1)/ldiag(1)
for i = 2:n
z(i) = (y(i)-ldinf(i-1)*z(i-1))/ldiag(i)
end
endfunction
|
67b6a9a07261ed1331e5730bb7839aab757215ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH2/EX2.33/2_33.sce | 2b37a77b85e7e259bb01e1da89dd18182cd0bcb3 | [] | 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 | 539 | sce | 2_33.sce | //Network Theorem 1
//page no-2.36
//example2.33
disp("Applying KCL to node a:");
disp("6*Va-5*Vb = -20");....//equation 1
disp("Applying KCL to node b:");
disp("-10*Va+17*Vb-5*Vc = 0");...//equation 2
disp("At node c");
disp("Vc = 20");
disp("Solving equations 1,2 and 3");...//solving equations in matrix form
A=[6 -5 0;-10 17 -5;0 0 1];
B=[-20 0 20]'
X=inv(A)*B;
disp(X);
disp("Va= 3.08 V");
disp("Vb= 7.69 V");
x=3.08;
y=7.69;
z=20;
Va = x-y;
Vb = y-z;
mprintf("\nV1 = Va-Vb =%.2f V \nV2 = Vb-Vc =%.2f V",Va,Vb);
|
d6f41104805d78c4f3fec918bb77675a9c744438 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH3/EX3.1/exp3_1c.sce | 856f6112ae3d104837041bc62385a2202b2036ba | [] | 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,169 | sce | exp3_1c.sce | clc
disp("example 3.1")
totpow=110*10^3 //(kW)
uc1=18000;fcr1=0.1;cf1=0.55;fuelcons1=0.7;fuelcost1=1500/1000;om1=0.2;utilizationf1=1;
uc2=30000;fcr2=0.1;cf2=0.60;fuelcons2=0.65;fuelcost2=1500/1000;om2=0.2;utilizationf2=1;
//given uck=unit capital cost k;fcrk= fixed charge rate of kth unit;cfk=capacity factor at k th unit; omk=annual cost of operating labour ;totpow=total power rating of units
afc1=fcr1*uc1*totpow;afc2=fcr2*uc2*totpow;
e1=8760*cf1*totpow;e2=8760*cf2*totpow;
annualfuel1=e1*fuelcons1;annualfuel2=e2*fuelcons2;
fc1=annualfuel1*fuelcost1;fc2=annualfuel2*fuelcost2;
om11=om1*fc1;om22=om2*fc2;
aoc1=fc1+om1;aoc2=fc2+om2;
apc1=aoc1+afc1;apc2=aoc2+afc2;
gc1=apc1/fc1;gc2=apc2/fc2
disp("solution for (a)")
printf("\nafc1=Rs.%d\n e1=%dkWh\n annualfual1=%fkg \n fc1=Rs.%d \n om1=Rs.%d \n aoc1=Rs.%f \n apc1=Rs.%f \n gc1=%fkWh\n",afc1,e1,annualfuel1,fc1,om11,aoc1,apc1,gc1)
disp("solution for (b)")
printf("\nafc2=Rs.%d\n e2=%dkWh\n annualfual2=%fkg \n fc2=Rs.%d \n om22=Rs.%d \n aoc2=Rs.%f \n apc2=Rs.%f \n gc2=%fkWh\n",afc2,e2,annualfuel2,fc2,om22,aoc2,apc2,gc1)
ogc=(apc1+apc2)/(e1+e2)
printf("\n\nsolution of (c)\nogc=Rs.%f/kWh",ogc) |
a84312f0f2c04d6a80f9c7b69bb7bae5a61f7a39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH5/EX5.16/Chapter5_Example16.sce | 8c62d7adb3cda08bb9e8d0e44e66695ba55530e5 | [] | 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 | Chapter5_Example16.sce | //Chapter-5, Example 5.16, Page 196
//=============================================================================
clc
clear
//INPUT DATA
D=0.08;//Diameter of the cylinder in m
L=0.16;//Length of the cylinder in m
Ti=800;//Initial tempertaure in degree C
Tm=30;//Temperature of the medium in degree C
h=120;//Heat transfer coefficient in W/m^2.K
t=(30*60);//Time for cooling in s
k=23.5;//Thermal conductivity in W/m.K
a=0.022;//Thermal diffusivity in m^2/h
//CALCULATIONS
Bi2=(h*(D/2))/k;//2 times the Biot number
X=(a*t)/(D/2)^2;//X for calculating C(R)
CR=0.068;//From Fig.5.10 on page no.187
Bi1=(k/(h*L));//Biot number
Y=(a*t)/L^2;//Y for calculating P(X)
PX=0.54;//From Fig.5.7 on page no.183
T=CR*PX;//Temperature at the centre of the cylinder in degree C
T30=T*(Ti-Tm)+Tm;//Temperature at the centre of cylinder 30 minutes after cooling is initiated in degree C
//OUTPUT
mprintf('Temperature at the centre of cylinder 30 minutes after cooling is initiated is %3.2f degree C',T30)
//=================================END OF PROGRAM==============================
|
f59d8510950b1af95affe58c229ab725361e0f71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3440/CH5/EX5.5/Ex5_5.sce | e086edf84deddef9143b0e107aeb5ca868472e53 | [] | 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 | 344 | sce | Ex5_5.sce | clc
T=300 //K
k=8.617*10^-5 //eV/K
q=1.6*10**-19 //C
epsilonx=8.854*10^-14 //F/cm
ni=9.65*10^9//cm^-3
NA=10^17 //cm^-3
d=8*10^-7//cm
VG=3//V
//2*phis=p
p=0.84//V
Co=epsilonx*3.9/d
disp(Co,"Co in F/cm^2 is=")
K=sqrt((epsilonx*11.9*NA*q))/Co
disp(K,"K is=")
Vdsat=VG-p+K^2*(1-sqrt(1+(2*VG/K^2)))
disp(Vdsat,"Vdsat in V is=")
|
57c563854b377307f1cacc40fe1dec139444803d | 4545588c8427debaf17f9dc71b0ace32f4fb5d67 | /avr32/services/dsp/dsplib/examples/dsp32_iirpart/iirpart_example.sce | b522da2a844f1ebb67cb421ddcc90f44879bec73 | [] | no_license | eewiki/asf | 02e06cec0465b28dd689dea801e6be6cbcd47eca | 8d0f55bd089f2e68d2b53aa76adbb02c07cdb166 | refs/heads/master | 2021-01-16T18:20:22.690176 | 2015-03-09T05:42:50 | 2015-03-09T05:42:50 | 18,419,213 | 34 | 30 | null | 2014-12-25T05:13:20 | 2014-04-03T21:42:46 | C | UTF-8 | Scilab | false | false | 1,359 | sce | iirpart_example.sce | clear
// Sampling frequency
fs = 8000;
// Number of point
SIZE = 144;
pi = %pi;
// Signal generation
t = 0:(SIZE-1);
F1 = 400;
F2 = 4000;
x1 = sin(2*pi*F1/fs*t);
x2 = cos(2*pi*F2/fs*t);
x = (x1+x2)/100;
// cutoff frequency
fc1 = 2000;
// cutoff frequency normalized
fc1n = fc1/fs;
// Order
order = 18;
// Compute Butterworth coefficient calculation
lisys = iir (order, 'lp' , 'butt', [fc1n 0], [0 0]);
// Filter x
y = flts(x,lisys);
printf("--------------------------------------------\n");
printf("-------------IIR Coefficients---------------\n");
printf("--------------------------------------------\n");
printf("--------------------------------------------\n");
num = lisys('num')
den = lisys('den')
printf("--------------------------------------------\n");
printf("----------------X Signal -------------------\n");
printf("--------------------------------------------\n");
printf("--------------------------------------------\n");
for i=1:SIZE,
printf("DSP32_Q(%.11f),\n", x(1, i));
end
printf("--------------------------------------------\n");
printf("----------------Y Signal--------------------\n");
printf("--------------------------------------------\n");
printf("--------------------------------------------\n");
for i=order:SIZE,
printf("%i %.11f \n",i-order,y(i));
end
|
eb784dd03cb27793b052d5159dcaa5905161be59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH12/EX12.5/12_5.sce | 48048106add85438e9ea37a76f80982fe5067659 | [] | 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 | 253 | sce | 12_5.sce |
ns=750
R2=0.5
X2=5
smaxT=R2/X2
n=(1-smaxT)*ns
disp(n)
k=R2/X2
Tmax_by_Tstart=(1+k*k)/2/k
disp(Tmax_by_Tstart)
p=poly([1,-4,1],"k","coeff")
w=roots(p)
R2=w*5
R2ext=R2-0.5
R2total=18.66
smaxT=R2total/X2
R2ext=R2ext(2)
disp(R2ext)
|
20ab46e7e4faa405c97ae3bed0b138a067b01b52 | 2538b9e05fa8c9696cb9298721887a63d7f3f6c5 | /fausto proy/graficador.sci | 61ec7bc8f3c5f9f99313d0e5426c566756a67101 | [] | no_license | kfilella/Org | 64e716460a97afb1ea7f0e65aa9103040fc7d66f | b615f84875b7a04b3fe582455788ab26e95e7f66 | refs/heads/master | 2016-09-06T05:32:09.014366 | 2014-12-17T01:02:34 | 2014-12-17T01:02:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,127 | sci | graficador.sci | //Funcion encargada de cargar los datos del archivo
//
//Parametros
//fileNsme: Nombre del archivo a ser leido
//GROUPS: Vector con el numero de grupos a graficar
//TIMES: Vector con los tiempos, leidos desde archivo
function [GROUPS, TIMES] = loadDatas (fileName)
GROUPS = [10, 20, 50, 100, 150, 200, 250, 300, 350, 400]
TIMES = zeros(1,10)
line = ""
fd = mopen(fileName,'r') //Localiza el archivo y lo coloca en modo lectura
if (fd == -1) then
error("Archivo no localizado") //Significa que el archivo no puede ser leido
else
for i=1:length(GROUPS) //Genero el formato de lectura en el archivo
line = line + "%d|" //Concateno el formato de acuerdo a la cantidad de valores a almacenar
end
line = line + "\n" //Concateno el salto de linea
//Realiza la lectura de la linea del archivo
[n,TIMES(1),TIMES(2), TIMES(3), TIMES(4), TIMES(5), TIMES(6), TIMES(7), TIMES(8), TIMES(9), TIMES(10)] = mfscanf(fd, line)
end
mclose(fd) //Cierre del archivo
endfunction
//******************************************************************************
//Funcion encargada de graficar segun las caracteristicas predefinidas
//Parametros:
//X: Conjunto de valores ubicados en el eje de las abcisas
//Y: Conjunto de valores ubicados en el eje de las ordenadas
//n: Indica el numero del color a ser coloreada la grafica
//******************************************************************************
function [] = plotDatas(X, Y, n)
title("Tiempo de Ordenamiento de un conjunto de enteros VS Cantidad de datos")//Coloca el titulo de las graficas
xlabel("Tiempos (ms)") //Muestra el rotulo en el eje de las abcisas
ylabel("Grupos") //Muestra el rotulo en el eje de las ordenadas
plot2d(X,Y,style=n) //Grafica segun el par de conjuntos dados y el color a ser dibujada
p = get("hdl");
p.children.mark_mode = "on"; //Activacion de las marcas
p.children.mark_style = 9; //Tipo de marca a mostrar
p.children.thickness = 2; //Grosor de las marcas
p.children.mark_foreground = n; //Color de las marcas
endfunction
//******************************************************************************
//Funcion encargada de graficar los datos de un determinado archivo y el color
//que se desea que este tenga.
//Parametros:
//fileName: Nombre del archivo a ser cargado y posteriormente graficados
//s: Color de la grafica
//******************************************************************************
function [] = plotting(fileName, s)
clc
[GROUPS,TIMES] = loadDatas(fileName)
plotDatas(TIMES,GROUPS, s)
endfunction
//******************************************************************************
//Funcion que se encarga de hacer el ploteo de 1 o varias graficas dentro
//de un mismo plano cartesiano
//Parametros
//FILES: Vector de string con los nombres de los archivos a graficar.
//******************************************************************************
function [] = plottingFiles(FILES)
len = size(FILES) //Obtiene la cantidad de archivos a plotear
for i=1: len(2)
plotting(FILES(i), i+1) //Ejecuta el ploteo de cada grafica
end
legend(FILES,4) //Muestra la leyenda, el 4 es la ubicacion de la grafica
xgrid //Muestra las cuadriculas en el graficador
endfunction
|
c81326cd023f2c88c2c0ed472524019df9d26b08 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/percent/%t2for.sci | 2f68cf9787b8bc62671360ea141859454b7a2d03 | [
"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 | 346 | sci | %t2for.sci | //[stk,nwrk,txt,top]=%t2for(nwrk)
// genere le code fortarn relatif a la transposition
//!
s2=stk(top)
if s2(4)<>'1'&s2(5)<>'1' then
[out,nwrk,txt]=outname(nwrk,s2(3),s2(4),s2(5))
txt=[txt;gencall(['mtran',s2(1),s2(4),out,s2(5),s2(4),s2(5)])];
stk=list(out,'-1',s2(3),s2(5),s2(4))
else
stk=list(s2(1),s2(2),s2(3),s2(5),s2(4))
end
//end
|
1ef8eed170ca6a1ab4166e4d7b0e3277fbd5fd54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH13/EX13.8/Ex13_8.sce | 8ba8f6c7bba8358a54a3ca379a7027deb8a2de8b | [] | 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 | 982 | sce | Ex13_8.sce | // Problem no 13.8,Page No.307
clc;clear;
close;
b=15 //cm //width of plank
t=2.5 //cm //thickness of planf
F_1=1250 //N //Shear Force
F_2=5*10**3 //shaear force transmitted by screw
d=15 //cm //Depth of plank
D=20 //cm //Overall depth
//Calculations
Y=D*2**-1 //C.G of beam
y_1=t*2**-1 //C.G of flange
I=((b*D**3)-(D*2**-1*b**3))*12**-1 //cm**4 //M.I
//Shear Stress in the Flange at 7.5 cm from N.A
X_1=F_2*b*t*(Y-y_1)*10**-6*(I*10**-8*d*10**-2)**-1*10**-3
//Shear Stress in the web at 7.5 cm from N.A
X_2=X_1*d*(2*t)**-1
//shear stress at N.A
X_max=F_2*(b*t*(Y-y_1)+2*t*d*2**-1*d*4**-1)*10**-6*(I*10**-8*2*t*10**-2)**-1*10**-3
//horizontal shear force per %pitch length to the shearing strength of two bolts we have
//X_h=X_2*10**3*2*t*10**-2*p
//Equating horizontal shear force per %pitch length to the shearing strength of two bolts we have
p=F_1*2*(X_2*10**3*2*t*10**-2)**-1*10**2
//Result
printf("The Min spacing of screw along the beam is %.2f",p);printf(" cm")
|
a544be3b813f352dee8246a12d23c3d488dd1da2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH4/EX4.23/ex4_23.sce | f48d6f0f774938b61f1c262fadf09c4c28a68b94 | [] | 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,387 | sce | ex4_23.sce | //Chapter-4, Example 4.23, Page 148
//=============================================================================
clc
clear
function [polar] = r2p(x,y)//function to convert rectangular to polar
polar = ones(1,2)
polar(1) = sqrt ((x ^2) +(y^2))
polar(2) = atan (y/x)
polar(2) =(polar (2)*180)/%pi
endfunction
function [ rect ] = p2r(r,theta)//function to convert polar to rectangular
rect = ones(1 ,2)
theta =( theta *%pi) /180
rect (1)=r* cos(theta)
rect (2)=r* sin(theta)
endfunction
//e1=230*sin(w*t)
//e2=230*sin(w*t*%pi/6)
//CALCULATIONS
E1=p2r(230,0);//impedance in rectangular form
disp(E1);
E2=p2r(230,30);
disp(E2);
E=E1+E2;
E=E/sqrt(2);
E=r2p(E(1),E(2));
disp(E)
Z=r2p(8,6);
disp(Z);
I1=E(1)/Z(1);
disp(I1)
theta=E(2)-Z(2);
disp(theta);
phi=cos(theta*%pi/180)
disp(phi)
P1=(E(1))*(I1)*(phi);//power supplied in Watts
mprintf("Thus Rms current and power supplied are %2.1f A and %f W respectively",I1,P1);
//note here power calculated my vary as we took many decimal values for calculation.Please check the calculations
//note:here direct functions for converson are not available and hence we defined user defined functions for polar to rect and rect to polar conversions
//=================================END OF PROGRAM=======================================================================================================
|
5e065357b2f0421f47c0c22133426e03b59aea76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH9/EX9.7/7.sce | 73f8d400ecd0af6680147a46a5c728feb03f423c | [] | 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 | 907 | sce | 7.sce | clc
clear
//INPUT DATA
Ef=2.1*1.6*10^-19//fermi energy level in potassium in J
f1=0.99//fermi factor for 1st
f2=0.01//fermi factor for 2nd
f3=0.5//fermi factor for 3rd
T=300//temperature in K
e=1.6*10^-19//charge of electro in C
KB=1.38*10^-23//Boltzmann's Constant in m^2 Kg s^-2 k^-1
//CALCULATION
E1=(Ef+((KB*T)*(log(1-f1)-log(f1))))/e//The energy for probability of occupancy at 1st at which the 300k in eV
E2=(Ef+((KB*T)*(log(1-f2)-log(f2))))/e//The energy for 1st at which the probability of occupancy at 300k in eV
E3=(Ef+((KB*T)*(log(1-f3)-log(f3))))/e//The energy for 1st at which the probability of occupancy at 300k in eV
//OUTPUT
printf('The energy for probability of occupancy at 1st at which the T is %3.2f eV\n The energy for probability of occupancy at 2nd at which the T is %3.2f eV\n The energy for probability of occupancy at 1st at which the T is %3.1f eV',E1,E2,E3)
|
39ccad4d039c7d4c128a5c09b6488d72d0c6e902 | 51c4c028f490213495b3a6df77e94afcfa03c254 | /delta-2_robot/LoadKinemConfig.sci | 39a50528ede76429306ba67c8e58933d5dd8cafe | [] | no_license | dgerod/robotics-utils | d8b130290ba77a3aa2fbe9502c39cfba78f40609 | 5d5d6c4c426de3bf859303b56c431ecd4b203d86 | refs/heads/master | 2020-05-17T08:31:03.702958 | 2016-08-20T11:14:57 | 2016-08-20T11:14:57 | 32,637,117 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,305 | sci | LoadKinemConfig.sci | // =================================================================================
// LoadKinemConfig.sci
// =================================================================================
function [Ret, KinemParams] = d2rLoadKinemConfig (Model)
//
// DESCRIPTION
// Load configuration (rf,lf,le,re) parameters of a delta-2 robot
// The model type is specificated using 'Model' input which is a string. If the model
// does not exist the function returns an error.
//
// PARAMETERS
// Model [IN] : Model name (string).
// KinemParams [OUT] : Kinematics parameters (rf,lf,le,re) [1x4].
// RETURN
// Ret : Success (1) or error (<0)
//
Ret = 1;
select Model
// UG-D2 from CODIAN
// http://www.codian-robotics.com/
case "UG-D2"
rf = 150.0;
lf = 401.5;
le = 850.0;
re = 0.0;
// Unknown model
else
errMsg = sprintf( "Unknown robot model: %s",Model );
Ret = -1;
error( errMsg ); // By defaut error stops execution and resume to prompt level.
end
KinemParams(1) = rf;
KinemParams(2) = lf;
KinemParams(3) = le;
KinemParams(4) = re;
return [Ret,KinemParams];
endfunction
// =================================================================================
|
b14705d33bbfd60186b79d22c923e9c521c91b13 | f04d3d47f893de08cd99a31b4870112915b80d5b | /Datasets/australian/data6.tst | 470765dfba6b38606ec12ba5e4b66d60aeb69b0e | [] | no_license | MesumRaza/MyWorkInPython | f5364b8514943e44c7200123653da9f4551251b1 | bd8c9b3ca2fb02ae6d2b626054fa3cd32c28b330 | refs/heads/master | 2021-08-19T21:46:41.412995 | 2017-11-27T13:37:52 | 2017-11-27T13:37:52 | 111,728,604 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,377 | tst | data6.tst | 0 0.145414 0.0282143 0 0.769231 0.375 0.0526316 1 1 0.0298507 1 0.5 0.04 0.004 class1
0 0.244361 0.188929 0.5 0.692308 0.125 0.0789474 1 1 0.0746269 1 0.5 0.0495 0.005 class1
0 0.399699 0.269286 0 0.769231 0.875 0.280702 1 1 0.208955 0 0.5 0 0.023 class1
0 0.345865 0.183036 0.5 0.692308 0.375 0.175439 1 0 0 1 0.5 0 0.04 class1
1 0.259398 0.0744643 0.5 0.538462 0.375 0.00298246 0 0 0 0 0.5 0.15 0 class0
0 0.171729 0.102679 0.5 1 0.875 0.0307018 1 0 0 0 0.5 0.18 0 class1
1 0.205564 0.446429 0.5 0.384615 0.5 0.00877193 0 0 0 1 0.5 0.36 0 class0
1 0.26797 0.142857 0.5 1 0.375 0.175439 1 1 0.0447761 1 0.5 0.145 0.02279 class1
1 0.305714 0.232143 0.5 0.384615 0.375 0.00438596 1 0 0 1 0.5 0.2215 0 class0
1 0.125263 0.0833929 0.5 0.230769 0.375 0.0263158 0 0 0 0 0.5 0.09 0 class0
1 0.260602 0.110179 0.5 0.538462 0.375 0.0877193 0 1 0.0298507 1 0.5 0.08 0.00041 class0
1 0.26797 0.0178571 0.5 0.538462 0.5 0.0292982 1 0 0 1 0 0.16 0 class0
1 0.0338346 0.111607 0.5 0.615385 0.375 0.00298246 0 1 0.0149254 0 0.5 0 6e-05 class0
1 0.203008 0.0594643 0.5 0.923077 0.875 0.178421 1 1 0.134328 0 0.5 0.1995 0.00827 class1
1 0.171729 0.107143 0.5 0.538462 0.375 0.0438596 0 1 0.0149254 0 0.5 0 0.00022 class0
1 0.81203 0.196429 0.5 0.692308 1 0.45614 1 1 0.0149254 1 0.5 0 0 class1
0 0.076391 0.339286 0.5 0.615385 0.375 0.0570175 1 1 0.0895522 1 0.5 0.02 0.006 class1
0 0.203008 0.0103571 0.5 0.461538 0.875 0.00438596 0 1 0.0149254 1 0.5 0.136 0.00108 class0
0 0.0876692 0.02375 0 0.538462 0.375 0.0350877 0 1 0.0149254 0 0.5 1 2e-05 class0
1 0.255639 0.0566071 0.5 0.0769231 0.375 0.0205263 0 0 0 1 0 0 0 class0
0 0.548872 0.0298214 0.5 0.384615 0.375 0.0175439 0 0 0 1 0.5 0.12 0.00117 class0
1 0.260602 0.0535714 0 0.615385 0.375 0.00140351 0 0 0 0 0 0.08 0 class0
1 0.568872 0.535714 0.5 0.538462 0.375 0.298246 1 1 0.134328 0 0.5 0 0 class1
0 0.343308 0.0103571 0.5 0 0 0 0 1 0.149254 0 0.5 0.1 0.00018 class0
1 0.298195 0.0982143 0.5 0.461538 0.375 0.149123 1 1 0.0895522 0 0.5 0.102 0 class1
0 0.106466 0.107143 0.5 0.384615 0.375 0.00140351 1 0 0 0 0.5 0.05 0 class1
1 0.337143 0.647321 0.5 0.615385 0.375 0.00298246 0 0 0 0 0.5 0.16 0.03552 class0
1 0.556391 0.0208929 0.5 0 0 0 0 0 0 0 0.5 0.0725 0 class0
0 0.14782 0.0296429 0.5 0.769231 0.375 0.0145614 0 1 0.0149254 1 0.5 0.1 0.00011 class0
1 0.322105 0.160714 0.5 1 0.875 0.201754 0 0 0 1 0 0.3555 0 class1
0 0.671729 0.75 0.5 0.153846 0.5 0.350877 1 1 0.19403 0 0.5 0 0.067 class1
1 0.218045 0.03125 0.5 0.461538 0.375 0.0336842 1 1 0.0447761 1 0.5 0.198 0 class1
1 0.26797 0.0223214 0.5 0.230769 0.375 0.00877193 0 0 0 0 0.5 0.19 0.0201 class0
0 0.270677 0.107143 0 0.307692 0.25 0 0 0 0 0 0.5 0.08 0.0002 class0
1 0.0852632 0.232143 0.5 0.615385 0.875 0.0512281 1 1 0.104478 0 0.5 0.04 0.02954 class1
1 0.380902 0.214286 0.5 0.461538 0.375 0.0452632 1 1 0.0746269 1 0.5 0.054 0.01097 class1
1 0.0500752 0.1175 0.5 0.153846 0.375 0.0117544 0 0 0 1 0.5 0.07 2e-05 class0
1 0.467368 0.25 0 0.538462 0.375 0.0570175 0 0 0 0 0.5 0.08 2e-05 class0
1 0.037594 0 0 0.384615 0.375 0.00877193 0 0 0 0 0.5 0.03 0 class0
0 0.412331 0.232143 0.5 0.769231 0.375 0.0175439 1 1 0.0447761 1 0.5 0.0725 0 class1
1 0.22812 0.535714 0.5 0.538462 0.875 0.187193 1 1 0.164179 0 0.5 0 0.02283 class1
0 0.186767 0.0714286 0.5 0.307692 0.25 0 0 0 0 1 0.5 0.138 1e-05 class0
1 0.373383 0.119107 0.5 0.615385 0.375 0.140351 1 1 0.208955 0 0.5 0.1915 0.01344 class1
1 0.171729 0.214286 0.5 0.538462 0.375 0.0350877 1 1 0.0447761 0 0.5 0 0 class1
0 0.216842 0.0133929 0.5 0.769231 0.375 0.0205263 1 1 0.0597015 0 0.5 0.04 0 class1
1 0.897293 0.633929 0.5 0 0 0 1 0 0 1 0.5 0 0 class1
1 0.131579 0.410714 0 0.461538 0.375 0.0526316 0 0 0 1 0.5 0 0.04 class0
0 0.201805 0.0446429 0.5 0 0 0 0 1 0.0149254 0 0.5 0.046 0.003 class0
0 0.0815038 0.306607 0.5 0.923077 0.875 0.0263158 1 1 0.104478 0 0.5 0.048 0 class1
0 0.177895 0 0.5 0.538462 0.375 0 0 0 0 0 1 0.092 0 class1
1 0.26797 0.00142857 0 0.0769231 0.375 0.149123 0 0 0 1 0.5 0.23 0 class0
0 0.131579 0.303571 0.5 0.769231 0.375 0.0614035 1 1 0.149254 0 0.5 0.04 0.0099 class0
0 0.137895 0.0446429 0.5 0.769231 0.375 0.00877193 0 0 0 1 0.5 0.06 0.00809 class0
1 0.142857 0.450893 0.5 0.538462 0.375 0.00438596 0 1 0.0298507 0 0.5 0 0.05552 class0
0 0.236842 0.03875 0 1 0.375 0.0350877 0 0 0 0 0.5 0.14 0.00013 class0
0 0.274436 0.214286 0.5 0.0769231 0.375 0.0438596 0 0 0 0 0.5 0.136 0 class0
1 0.199248 0.0535714 0 0.615385 0.375 0.0131579 1 0 0 1 0.5 0.13 0.01065 class1
1 0.0839098 0.389821 0.5 0.538462 0.5 0.0205263 0 1 0.0298507 1 0.5 0.1 7e-05 class0
1 0.330827 0.08625 0.5 0.615385 0.375 0.00438596 0 1 0.0298507 0 0.5 0.11 1e-05 class0
1 0.076391 0 0.5 0.769231 0.375 0.0233333 0 0 0 0 0.5 0.08 1e-05 class0
0 0.225564 0.133929 0.5 0.538462 0.375 0.0380702 1 1 0.0149254 1 0.5 0.1855 0 class1
1 0.310827 0.151786 0.5 0.153846 0.5 0.114035 1 1 0.0298507 0 0.5 0.137 0.0061 class1
0 0.293233 0.107143 0 0.384615 0.375 0.0701754 0 0 0 0 0.5 0.09 0 class0
1 0.60406 0.34375 0.5 0.692308 0.375 0.304035 1 1 0.0746269 0 0.5 0 0 class1
1 0.172932 0.0357143 0.5 0.384615 0.375 0.0175439 0 0 0 0 0.5 0.1 0 class0
1 0.280752 0.0773214 0 0.230769 0 0 0 0 0 0 0.5 0.06 0 class0
0 0.110226 0.178571 0 0 0 0 0 0 0 0 0.5 0 0 class0
0 0.642857 0.571429 0.5 0.307692 0 0 1 1 0.223881 0 0.5 0 0.00247 class1
1 0.278195 0.00589286 0 0.538462 0.875 0.114035 1 1 0.0149254 1 0.5 0.216 0.08 class1
|
982540a5ce6f69f2767425d796dee5bdc670ec0f | b829a470efb851fdd8700559c2092711adaa42e0 | /Data/OVI-CV-03-Facenet/CV-Groups/cv-group-114528472702/OVI-Test/cv-group-114528472702-run-00.tst | 7f1f1bf6b03ca3489a1626127a188b24596fbb2c | [] | no_license | achbogga/FaceRecognition | 6f9d50bd1f32f2eb7f23c7ae56f9e7b225d32325 | 165ebc7658228d2cceaee4619e129e248665c49a | refs/heads/master | 2021-07-04T21:47:57.252016 | 2017-08-01T18:53:12 | 2017-08-01T18:53:12 | 96,568,452 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 508 | tst | cv-group-114528472702-run-00.tst | Huiping\Huiping_018.jpg
Huiping\Huiping_015.jpg
Don\Don_012.jpg
Don\Don_007.jpg
Shirley\Shirley_008.jpg
Shirley\Shirley_007.jpg
Ahmad\Ahmad_006.jpg
Ahmad\Ahmad_005.jpg
Sima\Sima_010.jpg
Sima\Sima_001.jpg
SungChun\SungChun_011.jpg
SungChun\SungChun_013.jpg
Gang\Gang_014.jpg
Gang\Gang_010.jpg
Ethan\Ethan_004.jpg
Ethan\Ethan_009.jpg
Rob\Rob_004.jpg
Rob\Rob_007.jpg
Nara\Nara_005.jpg
Nara\Nara_003.jpg
Weihong\Weihong_007.jpg
Weihong\Weihong_008.jpg
Dave\Dave_006.jpg
Dave\Dave_009.jpg
|
e96d53461df0229391fd8e78fa7ade43efb70fcb | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH17/EX17.13.b/17_13_b.sce | a9cdda7839f7fba1e207901b41b6b285ee015e40 | [] | 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 | 299 | sce | 17_13_b.sce | clc;
//page no 660
//prob no. 17.13.b
c = 3*10^8;
tp=10^-6;//pulse duration of pulse radar
f=10^3;//operating freq in Hz
//The maximum unambiguous range is
Rmax=c/(2*f);
disp('m',Rmax,'The maximum range is ');
//The minimum unambiguous range is
Rmin=c*tp/2;
disp('m',Rmin,'The minimum range is '); |
25987b955f827a64f35db2ceef2bf41bf25fc018 | 676ffceabdfe022b6381807def2ea401302430ac | /library/Demos/LocalRegions/Tests/LocProject_Diff3D_Reg_Prism_Ortho_Basis_P6_Q7.tst | 9da5265f750ec1285d16ba418c8e301323bc9990 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 586 | tst | LocProject_Diff3D_Reg_Prism_Ortho_Basis_P6_Q7.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>LocProject_Diff3D Reg. Prism Ortho Basis, P=6, Q=7</description>
<executable>LocProject</executable>
<parameters>-s prism -b Ortho_A Ortho_A Ortho_B -o 6 6 6 -p 7 7 7 -c 0.0 0.0 0.0 1.0 0.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 0.5 0.0 1.0 0.5 1.0 1.0 -d</parameters>
<metrics>
<metric type="L2" id="1">
<value tolerance="1e-11">2.97892e-13</value>
</metric>
<metric type="Linf" id="2">
<value tolerance="1e-11">3.12639e-12</value>
</metric>
</metrics>
</test>
|
e797331ab9411bf6179889790a7f34541910f3c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1634/CH2/EX2.6/example2_6.sce | f1bc7a64fbc81f28fab418ef41d96e2273063955 | [] | 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 | 400 | sce | example2_6.sce |
//exapple 2.6
clc; funcprot(0);
// Initialization of Variable
h=500;//elevaton of point
f=20/100;//focal length
v=8.65/100;//vertical distance of photograph
ho=2000;//horizontal distance of photograph
R=v/ho;//representative fraction
H=h+f/R;
disp(H,"height above sea level in (m):");
h=800;
S=(H-h)/f/100;//scale of photograph
disp(S,"1cm in photograph represents metres:")
clear
|
a8c74a41d7cc948c60a36adece3f77baa4bb010f | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/statelevels/statelevels6.sce | a625490fdf84ab9f258254192e1ecf893cb669ea | [] | 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 | 549 | sce | statelevels6.sce | //check the o/p when i/p parameters include x(Bilevel waveform,a real valued row or column vector), NBINS(Number of histogram bins),Method(Statelevel estiation method in the subhistograms)
t=[0
2.50000000000000e-07
5.00000000000000e-07
7.50000000000000e-07
1.00000000000000e-06
1.25000000000000e-06];
x=[-0.00104287295007201
-0.00244190236539361
0.00330474678679599
0.00312506274996585
-0.00888427641170878
-0.000128837692967764
];
bounds=[1 10];
[levels,histogram,binlevels] = statelevels(x,1e3,'mean',bounds);
disp(levels)
//output
//!NaN NaN !
|
5126776c1dda4f21a88cff628c2191fd71d0394b | 683d55d55e7449e5ffb06e17d669fd6e8d7eca1c | /src/ltisol.sce | 5fb33baccb906d1fb0c0fe94930207d231437543 | [] | no_license | lucciano/ssc-lcc | 58efd303220cb36c09a305457fe5e5cc97e77b63 | fcd50437ca953ef0b0491672a71bee19383bc09b | refs/heads/master | 2021-01-19T20:15:53.904767 | 2014-04-26T20:15:03 | 2014-04-26T20:15:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | ltisol.sce | function x=ltisol(A,B,u,x0, t)
n=length(x0); //orden del sistema
r=length(t);//numero de puntos en el tiempo
x=zeros(n,r);
x(:,1)=x0;
for k=2:r
x(:,k)=expm(A*t(k))*x0 + inv(A)*(expm(A*t(k)) - eye(n,n)) * B *u;
end
endfunction
|
9ac5b728865cf647111d765dde6e153754c69c8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH6/EX6.01/6_01.sce | 9871a8995d5d1f985ac2947cae839d0d820bcbd9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 454 | sce | 6_01.sce | //Problem 6.01:(a) Determine the p.d. across a 4 μF capacitor when charged with 5 mC. (b) Find the charge on a 50 pF capacitor when the voltage applied to it is 2 kV.
//initializing the variables:
C1 = 4E-6; // in Farad
C2 = 50E-12; // in Farad
Q1 = 5E-3; // in Coulomb
V2 = 2000; // in volts
//calculation:
V1 = Q1/C1
Q2 = C2*V2
printf("\n\nResult\n\n")
printf("\n (a)P.d %.0f Volts(V)",V1)
printf("\n (b)Charge(Q) %.2E Coulomb(C)",Q2) |
c53c9b3908da6b4051b146823d1c5da7513d5e5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /854/CH4/EX4.3/Example4_3.sce | 708a22f75dce158e04347ee2ce31b7be0a171f99 | [] | 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,944 | sce | Example4_3.sce | //clear//
//Caption: Program to calculate E, D and volume charge density using divergence of D
//Example4.3
//page 100
clc;
x = -4;
y = 3;
z = 6;
V = 2*(x^2)*y-5*z;
disp(float(V),'Potential V at point P(-4,3,6)in volts is Vp =')
x1 = sym('x1');
y1 = sym('y1');
z1 = sym('z1');
ax = sym('ax');
ay = sym('ay');
az = sym('az');
V1 = 2*(x1^2)*y1-5*z1;
//Electric Field Intensity from gradient of V
Ex = -diff(V1,x1);
Ey = - diff(V1,y1);
Ez = - diff(V1,z1);
Ex1 = limit(Ex,x1,-4);
Ex1 = limit(Ex1,y1,3);
Ex1 = limit(Ex1,z1,6);
Ey1 = limit(Ey,x1,-4);
Ey1 = limit(Ey1,y1,3);
Ey1 = limit(Ey1,z1,6);
Ez1 = limit(Ez,x1,-4);
Ez1 = limit(Ez1,y1,3);
Ez1 = limit(Ez1,z1,6);
E = Ex1*ax+Ey1*ay+Ez1*az;
Ep = sqrt(float(Ex1^2+Ey1^2+Ez1^2));
disp(Ep,'Electric Field Intensity E at point P(-4,3,6) in volts E =')
aEp = float(E/Ep);
disp(aEp,'Direction of Electric Field E at point P(-4,3,6) aEp=')
Dx = float(8.854*Ex);
Dy = float(8.854*Ey);
Dz = float(8.854*Ez);
D = Dx*ax+Dy*ay+Dz*az;
disp(D,'Electric Flux Density in pico.C/square.metre D =')
dDx = diff(Dx,x1);
dDx = limit(dDx,x1,-4);
dDx = limit(dDx,y1,3);
dDx = limit(dDx,z1,6);
dDy = diff(Dy,y1);
dDy = limit(dDy,x1,-4);
dDy = limit(dDy,y1,3);
dDy = limit(dDy,z1,6);
dDz = diff(Dz,z1);
dDz = limit(dDz,x1,-4);
dDz = limit(dDz,y1,3);
dDz = limit(dDz,z1,6);
rV = dDx+dDy+dDz;
disp(rV,'Volume Charge density from divergence of D in pC/cubic.metre is rV=')
//Result
//Potential V at point P(-4,3,6)in volts is Vp = 66.
//Electric Field Intensity E at point P(-4,3,6) in volts E = 57.9050947672137
//Direction of Electric Field E at point P(-4,3,6) aEp=
//0.01726963756851*(5*az-32*ay+48*ax)
//equivalent to aEp= 0.0863482*az-0.5526284*ay+0.8289426*ax
//Electric Flux Density in pico.C/square.metre D =
// -35.416*ax*x1*y1-17.708*ay*x1^2+44.27*az
//Volume Charge density from divergence of D in pC/cubic.metre is rV=
// -106.248
|
1658b56f22764bf16ebde2651ee1b91838ab2975 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH4/EX4.12/example12.sce | d0e99cf3be6081edfe5d507b9602c529aafe7068 | [] | 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 | 971 | sce | example12.sce | clc
clear
//input data
Q=2.5//The amount of air which fan takes in m^3/s
P1=1.02//The inlet pressure of air in bar
T1=315//The inlet temperature of air in K
dH=0.75//The pressure head delivered by axial flow fan in m W.G
T2=325//The delivery temperature of air in K
R=287//The universal gas constant in J/kg.K
Cp=1.005//The specific heat of air at constant pressure in kJ/kg.K
r=1.4//The ratio of specific heats of air
g=9.81//Acceleration due to gravity in m/s^2
//calculations
d=(P1*10^5)/(R*T1)//The density of air in kg/m^3
m=d*Q//The mass flow rate of air in kg/s
W=m*Cp*(T2-T1)//Power required to drive the fan in kW
dP=((10^3)*g*dH)/(10^5)//The overall pressure difference in bar
P2=P1+(dP)//The exit pressure in bar
nf=((T1*(((P2/P1)^((r-1)/r))-1))/(T2-T1))//Static fan efficiency
//output
printf('(a)Mass flow rate through the fan is %3.2f kg/s\n(b)Power required to drive the fan is %3.2f kW\n(c)Static fan efficiency is %3.4f',m,W,nf)
|
24e0f1c70dc7a100e93c5b100a4a1f445c7b0b50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH1/EX1.3/example3.sce | c292deaa95b6df2e670dd2ec1822dbb86bc947b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 332 | sce | example3.sce | //Chapter-1, Example 1.3, Page 35
//=============================================================================
clc;
clear;
//INPUT DATA
D = 0.001;//Duty Cycle
Ppeak=500*10^3;//Peak Power in Watts
//Calculations
Pav = D * Ppeak;// D=averagepower/Peakpower;
//Output
mprintf('Average power is %g Watts',Pav);
|
9d0d763c493fdd0bae6d23228ca0dd292a5720c9 | bdbafbcce90eb6b9aa54964c32057b8117961b58 | /HydrauliqueD.sci | eaaa408e2d83e5df83057fa912ddf6417f2ea712 | [] | no_license | Rachine/Tp_Optim | 617191c586b46d8d44fc1bd24b24e3d3b760c851 | 68cabcb55cd4f343796d6f0f3823e4aa03edbe25 | refs/heads/master | 2016-09-05T09:23:21.650931 | 2015-05-10T20:37:58 | 2015-05-10T20:37:58 | 34,060,544 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,851 | sci | HydrauliqueD.sci | function [q,z,f,p]=HydrauliqueD(pd)
///////////////////////////////////////////////////////////////////////////////
// //
// CALCUL DES VARIABLES HYDRAULIQUES DU RESEAU A PARTIR DES PRESSIONS //
// //
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
//
// Supposant connues les pressions aux noeuds de demande, on calcule l'ensemble
// des variables hydrauliques du reseau ; on dispose pour cela des matrices qui
// ont ete calcules precedemment.
//
// Variables en entree
// -------------------
//
// - pd : vecteur des pressions aux noeuds de demande
//
// Variables en sortie
// -------------------
//
// - q : vecteur des debits des arcs
// - z : vecteur des pertes de charge des arcs
// - f : vecteur des flux des noeuds
// - p : vecteur des pressions des noeuds
//
//
// On suppose que l'environnement Scilab contient :
//
// - A : matrice d'incidence noeuds-arcs
// - Ar : sous-matrice de la matrice d'incidence
// - r : vecteur des resistances des arcs
// - pr : vecteur des pressions des reservoirs
// - fr : vecteur des flux des noeuds de demande
//
//
///////////////////////////////////////////////////////////////////////////////
// --------------------
// Pressions aux noeuds
// --------------------
p = [ pr ; pd ];
// -------------------------
// Pertes de charge des arcs
// -------------------------
z = - A' * p;
// ---------------
// Debits des arcs
// ---------------
q = z ./ sqrt(r.*abs(z));
// ---------------
// Flux aux noeuds
// ---------------
f = [ Ar*q ; fd ];
endfunction
|
cb0425113bcf9e21927419b99749029851cae19a | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/det.man.tst | 436fb22cea56dc4b88b155ad85784a3656f41795 | [
"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 | 164 | tst | det.man.tst | clear;lines(0);
x=poly(0,'x');
det([x,1+x;2-x,x^2])
w=ssrand(2,2,4);roots(det(systmat(w))),trzeros(w) //zeros of linear system
A=rand(3,3);
det(A), prod(spec(A))
|
9664be9ba44ac78de253d34c76e39c6cf4a5f5a5 | 8a13c34cfdbdcbc5b8122af70a216bb1079ba147 | /config/packages/tests/script_exec.yaml.tst | f8defdf0a53d1267500b5959ffce58538569765b | [] | no_license | maattdiy/home-assistant-config | 71edeebaacbce846fd92509440c63c8281897f24 | 033d71fe96504e0ad1db8ff3cd22ef60ea39f0c3 | refs/heads/master | 2022-02-05T12:07:20.861234 | 2022-01-23T19:10:33 | 2022-01-23T19:10:33 | 109,337,011 | 127 | 20 | null | null | null | null | UTF-8 | Scilab | false | false | 333 | tst | script_exec.yaml.tst | ## Script Exec HASS Module
##################################################
## Scripts
##################################################
script:
exec:
sequence:
- service: python_script.script_exec
data_template:
name: "{{ name }}"
msg: "{{ msg }}"
inner_data: "{{ data }}"
|
9291ddbbffe395b9e0d663dc7659edc06a82bccc | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH2/EX2.34/EX2_34.sce | 25f05a486fa97f3e43fbae7cc84176e734017577 | [] | 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,891 | sce | EX2_34.sce | //Calculate the efficiences of the generator at full load
//Chapter 2
//Example 2.34
//page 150
clear;
clc;
disp("Example 2.34")
Ig=2000;.............................//output current of generator in amperes
I=380;...............................//Input current from supply mains in amperes
Effi=sqrt(Ig/(Ig+I))*100;..................//Efficiency of generator assuming equal efficiencies of the two machines
printf("Efficiences of the generator at full load assuming equal efficiencies=%fpercent",Effi)
S=22;............................//Shunt field current of generator
G=Ig+S;........................//Armature current of generator in amperes
R=0.01;...............................//Resistance of the armature circuit of each machine in ohms
Gc=((G)^2)*R;..........................//copper loss in arrmature circuit of generator in W
V=500;................................//Voltage in volts
L=V*S;..............................//loss in the field circuit of the generator in W
T=Ig+I;............................//total current suuply in amperes
Sf=17;........................................//shunt field current of motor in amperes
A=T-Sf;..............................//armature current in motor in amperes
Lc=((A)^2)*R;........................//loss in armature circuit of motor in amperes
Lf=V*Sf;.................................//loss in the shunt field circuit of motor in W
Tin=V*I;......................//total input to motor and generator in W
Ml=Tin-(Gc+L+Lc+Lf);.....................//iron,friction and windage loss in both machines in W
Me=Ml/2;...................................//iron,friction and windage loss in each machine in W
p=1000;.....................//power in kW
OP=(Ig*V)/p;........................//full load output of the generator
Eff=(p*100)/(p+((Gc+L+Me)/1000));
printf("\nEfficiency of the generator at full load=%fpercent",Eff) |
5b47c53c99655743894409150c3d8c75328e2d35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH3/EX3.14/3_14.sce | a94aa6f5d4c43caebccbe6bd392f66e354d6672d | [] | 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 | 781 | sce | 3_14.sce | clear;
clc;
Z=complex(200*cosd(80), 200*sind(80));
Y=complex(.0013*cosd(90),.0013*sind(90));
YZ=Y*Z;
A=1+(YZ/2)+((YZ)^2/24);
B=Z * (1+(YZ/6)+((YZ)^2/120));
phiA=atan(imag(A)/real(A))*(180/%pi);
phiB=atan(imag(B)/real(B))*(180/%pi);
P=60e6
pf=.8;
Vs=round(220/sqrt(3))*1e3;
VIrm=P/(3*pf)
pfa=acos(pf);
VIr=complex(VIrm *pf, VIrm * sin(pfa));
pfa=pfa*(180/%pi);
a=(round(abs(A)*1000)/1000)^2;
b=round(((2*(abs(A)* (VIrm)*cosd(phiA)*abs(B)*cosd(phiB-pfa)) )+ (2*(abs(A)* (VIrm)*sind(phiA)*abs(B)*sind(phiB-pfa))) - (Vs^2))/1e7)*1e7;
c=abs(B)^2 * (VIrm)^2;
Vr=sqrt((-b+sqrt((b*b)-(4*a*c)))/(2*a));
vr=sqrt(3) * Vr / 1000;
Ir=VIr/(Vr*pf);
mprintf("Receiveing End Line voltage= %.0f kV", fix(vr));
mprintf("\n Receiveing End Line Current= %.0f A", Ir);
|
60fbddb4c245a9a7193e681714a1e0663ded7c2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH5/EX5.5.19/Ch5_5_19.sce | 4ba2ed5a9f192a8185aeacfa6e1c55bbc7fd9db7 | [] | 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 | Ch5_5_19.sce | clc
disp("Example 5.19")
printf("\n")
disp("calculate upper cut-off frequency & voltage gain at lower cut-off frequency")
printf("Given\n")
//bandwidth of amplifier
BW=500*10^3
//lower cut-off frequency
f1=25
//midband gain
Ao=120
//upper cut-off frequency
f2=BW+f1
//voltage gain at lower cut-off frequency
A1=Ao/sqrt(2)
printf("upper cut-off frequency \n %f hz\n",f2)
printf("Voltage gain at lower cut-off frequency \n %f \n",A1) |
8a76bfd04a020a54d94389c5c5b2afb058c659b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH13/EX13.8/Ex13_8.sce | 94da5adebd75a18040d4a6480402be79d3a297a9 | [] | 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 | 493 | sce | Ex13_8.sce | //pagenumber 582 example 8
clear
voltag=2000;//volt
d=1.5*10^-2;//centimetre
d1=5*10^-3;//metre
distan=50*10^-2;//metre
//(1) velocity
vox=sqrt(2*1.6*10^-19*(voltag)/(9.11*10^-31));
//(2) sensitivity
defsen=distan*d/(2*d1*voltag);
//deflection factor
g=1/defsen;
disp("velocity = "+string((vox))+"metre per second");
disp("sensitivity = "+string((defsen))+"metre per volt");
disp("deflection factor = "+string((g))+"volt per metre");//correction in the book
|
df9645af3b9cb79975215f05b5fed697c0721fd0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH8/EX8.2/example8_2.sce | b72345667b58a4fa423e23ae1eb2ebfe12909a43 | [] | 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 | 372 | sce | example8_2.sce | //Chapter 8
//Example 8_2
//Page 172
clear;clc;
v1=8;
v2=11;
k=(v2-v1)/v1;
v3=v2+(v2+v1)*k;
v=v1+v2+v3;
lv=sqrt(3)*v;
n=v*100/3/v3;
printf("k = %.2f kV \n\n", k);
printf("Voltage across third unit = %.2f kV \n\n", v3);
printf("Voltage between line and earth = %.2f kV \n\n", v);
printf("Line voltage = %.2f kV \n\n", lv)
printf("String efficiency = %.2f %% \n\n", n);
|
6ec623f43210f648ae4569d3f7b3d83e5a9444f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH1/EX1.8/chapter1_8.sce | be6295581cdebab1363a1d7930c71b74fb5f0a3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sce | chapter1_8.sce | //example
clc
disp("The given values are, I=50A and R_sh= 10ohm")
disp("For the equivalent voltage source,")
v=10*50
disp(v,"V(in V)=(I*R_sh)=")
disp("R_se=R_sh=10ohm in series.")
disp("The equivalent voltage source is shown in the fig 1.46(a)")
disp("Note the polarities of voltage source, which are such that +ve at top of arrow and -ve at botttom.")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.