blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
6
214
content_id
stringlengths
40
40
detected_licenses
listlengths
0
50
license_type
stringclasses
2 values
repo_name
stringlengths
6
87
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
15 values
visit_date
timestamp[us]date
2016-08-04 09:00:04
2023-09-05 17:18:33
revision_date
timestamp[us]date
1998-12-11 00:15:10
2023-09-02 05:42:40
committer_date
timestamp[us]date
2005-04-26 09:58:02
2023-09-02 05:42:40
github_id
int64
436k
586M
star_events_count
int64
0
12.3k
fork_events_count
int64
0
6.3k
gha_license_id
stringclasses
7 values
gha_event_created_at
timestamp[us]date
2012-11-16 11:45:07
2023-09-14 20:45:37
gha_created_at
timestamp[us]date
2010-03-22 23:34:58
2023-01-07 03:47:44
gha_language
stringclasses
36 values
src_encoding
stringclasses
17 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
1 class
length_bytes
int64
5
10.4M
extension
stringclasses
15 values
filename
stringlengths
2
96
content
stringlengths
5
10.4M
f98e4e8fd8b7c031e790ca90be75d60fff12b298
449d555969bfd7befe906877abab098c6e63a0e8
/761/CH1/EX1.7/1_7.sce
9509ea9858b031ef5c319022802eac6d54ecb503
[]
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
656
sce
1_7.sce
clc; //page no 23 //pro no 1.7 //Given:refer fig.1.12 of page no.23;R1=100ohm,300K;R2=200ohm,400k;B=100kHz;Rl=300ohm R1=100;T1=300;R2=200;T2=400;B=100*10^3;Rl=300;k=1.38*10^-23; //open-ckt noise voltage is given by //Vn1 =sqrt(Vr1^2 + Vr2^2) // =sqrt[sqrt(4kTBR1)^2 + sqrt(4kTBR2)^2] //by solving this we get Vn1=sqrt[4kB(T1R1 + T2R2)] Vn1=sqrt(4*k*B*(T1*R1 + T2*R2)); disp('volts',Vn1,'Open-ckt noise voltage is '); // since in this case the load is equal in value to the sum of the resistors, // one-half of this voltage is appear across the load. // Now the load power is P= Vn1^2/Rl P= (Vn1/2)^2/Rl; disp('W',P,'The load power is');
f7b73dd7c1461d6d685e89d98a662e3438636ee8
449d555969bfd7befe906877abab098c6e63a0e8
/1370/CH3/EX3.22/example3_22.sce
e361cb3ca78e2ed441e9e3ed3fec8756ea7ff72c
[]
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,099
sce
example3_22.sce
//example3.22 clc disp("%eta_FL = 96%, cos(phi)=0.8, %eta_HL =97.2%, cos(phi)=1") disp("%eta_FL=(VA *cos(phi))/(VA *cos(phi)+P_i+P_cu(FL))*100 i.e. 0.96=((259*10^3)*0.8)/((250*10^3)*0.8+P_i+P_cu(FL))") disp("Therefore, P_i+P_cu(FL)=8333.333 ...(1)") disp("%eta_HL=(n*VA*cos(phi))/(n*VA*cos(phi)+P_i+(n^2)*P_cu(FL)) *100 ...n=0.5 for half load") disp("Therefore, 97.2=(0.5*250*(10^3)*1)/(0.5*250*(10^3)*1+P_i+(0.5^2)*P_cu(FL)) *100") disp("Therefore, P_i+(0.5^2)*P_cu(FL)=3600.823 ..(2)") disp("Solving equations (1) and (2),") disp("3600.823-(0.5^2)*P_cu(FL)+P_cu(FL)=8333.333") disp("0.75*(P_cu)FL=8333.333-3600.823") p=(8333.333-3600.823)/0.75 format(9) disp(p,"P_cu(FL)[in W]=") p=8333.333-6310.013 format(9) disp(p,"P_i(in W)=") disp("At 75% of full load, n=0.75 and cos(phi)=0.8") disp("Therefore, %eta=(n*VA*cos(phi))/(n*VA*cos(phi)+P_i+(n^2)*P_cu(FL)) *100") disp("=(0.75*2508(10^3)*0.8)/(0.75*250*(10^3)*0.8+2023.319+(0.75^2)*6310.013)) *100") n=(0.75*250*(10^3)*0.8*100)/((0.75*250*(10^3)*0.8)+2023.319+((0.75^2)*6310.013)) format(8) disp(n,"= ")
ce8c6d61a3056ba3a0c01eaccbaad9c36f92c0fa
de14a6897d4397228a52bacb8905b8807370ef4b
/tapis_recursif.sce
5dfcbc0eac10cdaf668cabbd5327cf7603b10a85
[]
no_license
JustineMarlow/MT94-RapportLaTeX
20b670965a47ce85beecc15865d14ec9cc4d305b
3dfaa665b5691621410f8eafdf76ecaf081b92d1
refs/heads/master
2021-09-06T17:54:58.174773
2018-02-09T09:57:52
2018-02-09T09:57:52
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,560
sce
tapis_recursif.sce
function sierpinski(n,a,b,c,d) if n<1 plot([a(1),b(1)],[a(2),b(2)]); plot([b(1),c(1)],[b(2),c(2)]); plot([c(1),d(1)],[c(2),d(2)]); plot([d(1),a(1)],[d(2),a(2)]); e=gce() set(gca(),"isoview","on") else //calcul des coordonnees des points e=[(b(1)-a(1))*1/3+a(1),a(2)]; f=[a(1),(b(1)-a(1))*1/3+a(2)]; g=[(b(1)-a(1))*1/3+a(1),(b(1)-a(1))*1/3+a(2)]; h=[(b(1)-a(1))*2/3+a(1),a(2)]; i=[(b(1)-a(1))*2/3+a(1),(b(1)-a(1))*1/3+a(2)]; j=[(b(1)-a(1))*3/3+a(1),(b(1)-a(1))*1/3+a(2)]; k=[(b(1)-a(1))*3/3+a(1),(b(1)-a(1))*2/3+a(2)]; l=[(b(1)-a(1))*2/3+a(1),(b(1)-a(1))*2/3+a(2)]; m=[(b(1)-a(1))*2/3+a(1),(b(1)-a(1))*3/3+a(2)]; p=[(b(1)-a(1))*1/3+a(1),(b(1)-a(1))*3/3+a(2)]; o=[(b(1)-a(1))*1/3+a(1),(b(1)-a(1))*2/3+a(2)]; q=[a(1),(b(1)-a(1))*2/3+a(2)]; //appels recursifs sierpinski(n-1, a, e, g, f) sierpinski(n-1, e, h, i, g) sierpinski(n-1, h, b, j ,i) sierpinski(n-1, i, j, k, l) sierpinski(n-1, l, k, c, m) sierpinski(n-1, o, l, m, p) sierpinski(n-1, q, o, p, d) sierpinski(n-1, f, g, o, q) end endfunction A=[0,0]; B=[1,0]; C=[1,1]; D=[0,1]; //initialisation //dessin du premier carre plot([A(1),B(1)],[A(2),B(2)]); plot([B(1),C(1)],[B(2),C(2)]); plot([C(1),D(1)],[C(2),D(2)]); plot([D(1),A(1)],[D(2),A(2)]); e=gce() set(gca(),"isoview","on") N=input("Entrez n, le nombre de niveaux a dessiner : "); sierpinski(N,A,B,C,D)
4a01d18cb8c940df71949590b4482362b60d7c17
494b677053e1199325a80808377463794e1003e5
/experiments/irprop-c/irprop-c/results/Ignore-MV.iRProp+-C.vehicle/result5s0.tst
bac2775e932644ce8991b13bf69b9097f31339f9
[]
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,573
tst
result5s0.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} @data bus bus opel saab bus bus van van van van bus bus van van bus bus opel opel bus bus saab opel opel opel van van bus bus saab saab saab saab saab van opel saab van van bus bus saab bus saab bus saab opel van van saab opel van van van van saab saab bus bus bus bus bus bus van van bus bus van van bus bus opel opel opel saab opel saab opel van saab opel saab bus van van opel saab opel opel opel opel saab opel van van opel opel bus bus bus bus opel opel van van van bus van van opel saab saab bus bus bus saab saab opel van opel saab saab bus bus bus saab van saab saab saab opel van bus opel saab van van bus bus saab opel opel opel van van opel opel bus bus van van saab opel opel opel opel saab bus bus van van bus bus saab bus opel bus bus bus saab bus
b49e090e8260ca8934ba80f29e6d9b643ab6dd9e
449d555969bfd7befe906877abab098c6e63a0e8
/587/CH14/EX14.9/example14_9.sce
285e448aa41beea6c1e88fda1323c26f965718fb
[]
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,058
sce
example14_9.sce
clear; clc; //Example14.9[Measuring Diffusion Coefficient by the Stefan tube] //Given:- D=0.03;//Diameter of tube[m] P=83.5;//Atmospheric Pressure at an elevation of 1600m[kPa] T=20+273;//Ambient temperature[K] R=8.314;//Universal Gas Constant[kPa.m^3/kmol.K] P_vapor0=2.34;//The saturation pressure of water at 20 degree Celcius[kPa] M_vapor=18;//Molar mass of water vapor[kg/kmol] x=0.4;//Distance from water surface to the open end of the tube[m] //Solution:- //water vapor is species A yA0=P_vapor0/P; disp(yA0,"The mole fraction of water vapor (species A) at the Interface is") yAL=0;//mole fraction of water vapor on the top of the tube C=P/(R*T);//[kmol/m^3] A=%pi*(D^2)/4;//[m^2] disp("m^2",A,"The cross sectional area of tube") m_vapor=(1.23*10^(-3))/(15*24*3600);//Rate of evaporation [kg/s] N_vapor=m_vapor/M_vapor; disp("kmol/s",N_vapor,"The molar flow rate of vapor is") D_AB=(N_vapor/A)*(x/C)/log((1-yAL)/(1-yA0)); disp("m^2/s",D_AB,"Binary diffusion coefficient of water vapor in air at 20 degree Celcius and 83.5kPa")
0c76e8e3dac167100b545f4b33c83fe50a631354
449d555969bfd7befe906877abab098c6e63a0e8
/2204/CH1/EX1.2/ex1_2.sce
d791b7f1aa92814e0a47d01857ccdcc1576966fa
[]
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
ex1_2.sce
// Exa 1.2 clc; clear; close; // Given data V_CC = 50;// in V V_BE2 = 0.7;// in V R = 50;// in k ohm R = 50 * 10^3;// in ohm I_C1 = 10;// in µA I_C1 =I_C1 * 10^-6;// in A V_T = 26;// in mV V_T = V_T * 10^-3;// in V I_C2 = (V_CC - V_BE2)/R;// in A R_E = (V_T*log(I_C2/I_C1))/I_C1;// in ohm R_E = R_E * 10^-3;// in k ohm disp(R_E,"The value of R_E in kΩ is");
f4921b9060630713dba7fa1dcd62e03b8f2397e7
ae13380005e92ccde53c0efc1dd54bb736c1abfd
/cosmi-cut.sce
de66869e1b3a7835f1dbae948cf44dfbc909fb0f
[]
no_license
nezumi-tech/Scilab-Cosmi-Cut
fd39e286cc1710b9ade80bcda9765e947df46c97
84738e41861a3ac9fb04dd8a4321d93d58caa2c5
refs/heads/main
2023-04-03T08:30:19.061178
2021-04-15T11:22:40
2021-04-15T11:22:40
358,232,195
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,760
sce
cosmi-cut.sce
//Image Processing and Computer Vision Toolbox for Scilab (IPCV)が必要 //コスミカット法のアルゴリズム //加算合成 //比較明合成 //加算-比較明 //結果/(枚数-1) //ファイルの準備 //Scilab カレントディレクトリ/alignd_num/0.tif, 1.tif, 2.tif, ..., n-1.tif (Light Frame) //キャッシュクリア clear(); xdel(winsid()); //Light Frameの枚数 num_of_img = 10; img_index = num_of_img - 1; //0から始まるのでインデックスは枚数-1 [tate,yoko,oku] = size(imread(string(pwd()) + '\alignd_num\1.tif')); //Light Frameから一枚読み出し、縦横と色数を取得する img_added = uint32(zeros(tate, yoko, oku)); //加算合成用の配列(桁あふれするのでuint32) img_brighter = uint32(zeros(tate, yoko, oku)); //比較明合成用の配列 //clear tate yoko oku; for i = 0:1:img_index //0,1,...,枚数-1まで img_new = imread(string(pwd()) + '\alignd_num\' + string(i) + '.tif'); //Light Frameから順番に1枚読み出し、 img_added = img_added + img_new; //加算合成して img_brighter = max(img_brighter, img_new); //比較明合成する //clear img_new; disp(i) //進捗確認用 end //img_cosmi = uint16((img_added -img_brighter) / img_index); //img_out = uint16(img_added / num_of_img); //imshow(img_out); //imwrite(img_out,'I:\AstroPhoto\out.tif'); imwrite(uint16(img_added / num_of_img), string(pwd()) + '\img_avg.tif'); //加算平均の画像を書き出し imwrite(uint16((img_added - img_brighter) / img_index), string(pwd()) + '\img_cosmi.tif'); //コスミカット法の画像 imwrite(uint16(img_brighter), string(pwd()) + '\img_brighter.tif'); //比較明合成の画像
2ec826ddd25aea17eab88a6c412056cd32f5350a
de14a6897d4397228a52bacb8905b8807370ef4b
/validation.sce
af91fac8cd49f8f774cd26b01ad9821bbd9929ea
[]
no_license
JustineMarlow/MT94-RapportLaTeX
20b670965a47ce85beecc15865d14ec9cc4d305b
3dfaa665b5691621410f8eafdf76ecaf081b92d1
refs/heads/master
2021-09-06T17:54:58.174773
2018-02-09T09:57:52
2018-02-09T09:57:52
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,134
sce
validation.sce
data=[...];//ici les donnees t=data(:,1); y=data(:,2); function return=constrA(t,y,d) n=length(t); A=ones(n,d+1); for i=1:d A(:,i+1)=t.^i; end return=A; endfunction function [theta,reg,erreur]=reglin(t,y,p) A=constrA(t,y,p); theta=A\y; erreur=norm(A*theta-y)^2; reg=A*theta; endfunction function y=evalpoly(theta,t) y=zeros(t)+theta(1); for i=2:length(theta) y=y+theta(i)*t.^(i-1); end endfunction clf; n=length(t); V=find(abs(t)<=1); erreur_v=zeros(8,1); //validation T=setdiff(1:n,V); erreur_t=zeros(8,1); //apprentissage nom_degre=["degre 1","degre 2","degre 3","degre 4","degre 5","degre 6", "degre 7","degre 8"]; for degre=1:8 [theta,reg,erreur_t(degre)]=reglin(t(T),y(T),degre); yv=evalpoly(theta,t(V)); erreur_v(degre)=(norm(y(V)-yv))^2; subplot(4,2,degre); plot(t(T),y(T),'o',t(V),y(V),'o',t,evalpoly(theta,t),'r'); title(nom_degre(degre)); end scf(1); plot(1:8,log(erreur_t),'-o',1:8,log(erreur_v),'-o'); title("Variation de l''erreur sur T et sur V en fonction du degre", 'fontsize',3); legend(["Erreur d''apprentissage";"Erreur de validation"],opt=2);
16de0f07a9b919152a3eef59d20346a2225212f8
cb3c54411a4f3432c21524a69262b6655ba46ac1
/Calculo_Numerico/Ajuste_Linear.sci
9081b26755410b8b9ffa0c3982d7d2fabc662b21
[]
no_license
draetus/faculdade_trabalhos
ae85c0c89888c2ad956c6aa7147a801d0cdf4f9a
e9971b4478112fbe7333ad71d1b4f1620b384eb6
refs/heads/master
2022-12-30T19:39:42.191109
2020-10-16T13:12:03
2020-10-16T13:12:03
87,357,566
4
2
null
null
null
null
UTF-8
Scilab
false
false
257
sci
Ajuste_Linear.sci
clear close clc valor = 3 x = [1; 2; 3; 4; 5] y = [15; 28.4; 45.3; 58.6; 77.4] X = [size(x,1) sum(x); sum(x) sum(x^2)] Y = [sum(y); sum(x.*y)] A = X\Y resultado = A(1,1)+A(2,1)*valor disp (resultado, "Resultado: ") disp (A, "A: ") disp ("f(x) = a+b/x")
a0439da6b41370a89fb66a070445d3fb63e4d186
717ddeb7e700373742c617a95e25a2376565112c
/1766/CH9/EX9.7/EX9_7.sce
842640c0f4c0030b1e88c91d2f25d51be88b0c8c
[]
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
667
sce
EX9_7.sce
clc;funcprot(0);//Example 9.7 //Initilisation of Variables T=5800;....//Temparature of sun in K L1=0.35*10^-6;....//First Visible range of Wavelength in Mew m L2=3.0*10^-6;....//Last Visible range of Wavelength in Mew m R=5.67*10^-8;.....//Stefens boltsman constant Tr=0.93;....//Glass Transmissivity of incident radiation //calculations L1T=L1*T;....// L2T=L2*T;...// F1=0.067;......//The radiation funtions for L1T from blackbody radiation table F2=0.9764;......//The radiation funtions for L2T from blackbody radiation table Ps=(F2-F1)*Tr*100;.....//Percentage of solar energy transmitted in % disp(Ps,"Percentage of solar energy transmitted in %:")
7b6acf3aeaf0b2feacae6d5b0677f574cc915ff6
449d555969bfd7befe906877abab098c6e63a0e8
/1820/CH6/EX6.1/Example6_1.sce
5d557a2a8ca8cda1a2986577bb8a645b41bf1d08
[]
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,480
sce
Example6_1.sce
// ELECTRIC POWER TRANSMISSION SYSTEM ENGINEERING ANALYSIS AND DESIGN // TURAN GONEN // CRC PRESS // SECOND EDITION // CHAPTER : 6 : DIRECT CURRENT POWER TRANSMISSION // EXAMPLE : 6.1 : clear ; clc ; close ; // Clear the work space and console // GIVEN DATA K_1 = 2.5 ; // Factor K_2 = 1.7 ; // Factor // CALCULATIONS // For case (b) I_d = poly(0,'I_d') ; // since P_loss(dc) = P_loss (ac) I_L = poly(0,'I_L') ; // i.e 2*I_d^2*R_dc = 3*I_L^2*R_ac I_d = sqrt(3/2)*I_L ; // Ignoring skin effects R_dc = R_ac I_d1 = 1.225*I_L ; // Refer Equ 6.23 // For case (a) V_d = poly(0,'V_d') ; // Defining a ploynomial V_d E_p = poly(0,'E_p') ; // since P_dc = P_ac (or) V_d*I_d = 3*E_p*I_L V_d = 2.45*E_p ; // Refer Equ 6.25 // For case (c) ins_lvl = (K_2*(V_d/2))/(K_1*E_p) ; // Ratio of dc insulation level to ac insulation level ins_lvl_1 = (K_2*2.45/2)/K_1 ; // simplifying above equ dc_i = poly(0,'dc_i') ; // dc_i = dc insulation level ac_i = poly(0,'ac_i') ; // ac_i = ac insulation level dc_i = ins_lvl_1 * ac_i ; // DISPLAY RESULTS disp("EXAMPLE : 6.1 : SOLUTION :-") ; printf("\n (a) Line-to-line dc voltage of V_d in terms of line-to-neutral voltage E_p , V_d = \n") ; disp(V_d) ; printf("\n (b) The dc line current I_d in terms of ac line current I_L , I_d = \n"); disp(I_d1) ; printf("\n (c) Ratio of dc insulation level to ac insulation level = \n") ; disp(dc_i/ac_i) ; printf("\n (or) dc insulation level = \n") ; disp(dc_i) ;
b3e726671b40fa4f3ab7b0b3048983830f4ce3a2
449d555969bfd7befe906877abab098c6e63a0e8
/2795/CH3/EX3.4/Ex3_04.sce
8aae3e4b1c3a68a7095c148aeb8094fcfb4fef62
[]
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
509
sce
Ex3_04.sce
// Scilab Code Ex3.4: Page-98 (2013) clc; clear T = 1600 + 273; // Temperature of the furnace, K b = 2.898e-003; // Wein's constant, m-K lambda_max = ceil(b/(T*1e-009)); // Maximum wavelength from Wein's Displacement Law, nm printf("\nThe maximum wavelength emitted from the heated furnace = %4d nm", lambda_max); printf("\nThis wavelength falls in the IR-region."); // Result // The maximum wavelength emitted from the heated furnace = 1548 nm // This wavelength falls in the IR-region.
07f198584867efdb923cd10599bfdc7dd31c8cdd
449d555969bfd7befe906877abab098c6e63a0e8
/3838/CH2/EX2.3.C/EX2_3_c.sce
77d02850cf720580b29f3365623f6310eea15eed
[]
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
263
sce
EX2_3_c.sce
clc; t=-12:0.01:12 x=sin(2*t)+cos(t)+0.5*(sin(3*t)-sin(t)) h=-sin(2*t)+cos(t)-0.5*(sin(3*t)-sin(t)) e=cos(t)//(x+h)/2 o=(x-h)/2//sin(t)+0.5*(sin(3*t)-sin(t)) subplot(3,1,1) plot(t,e) xtitle('even signal') subplot(3,1,2) plot(t,o) xtitle('odd signal')
b347112320c43c7030dea1f8b22c43affdfbd7f2
f542bc49c4d04b47d19c88e7c89d5db60922e34e
/PresentationFiles_Subjects/CONT/VW42LKU/ATWM1_Working_Memory_MEG_VW42LKU_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce
774aea8a4499335dc56dca8e8321871b75445737
[]
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,620
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 = 28; default_font = "Arial"; default_background_color = 0 ,0 ,0 ; write_codes=true; # for MEG only begin; #Picture definitions box { height = 300; width = 300; color = 0, 0, 0;} frame1; box { height = 290; width = 290; color = 255, 255, 255;} frame2; box { height = 30; width = 4; color = 0, 0, 0;} fix1; box { height = 4; width = 30; color = 0, 0, 0;} fix2; box { height = 30; width = 4; color = 255, 0, 0;} fix3; box { height = 4; width = 30; color = 255, 0, 0;} fix4; box { height = 290; width = 290; color = 128, 128, 128;} background; TEMPLATE "StimuliDeclaration.tem" {}; trial { sound sound_incorrect; time = 0; duration = 1; } wrong; trial { sound sound_correct; time = 0; duration = 1; } right; trial { sound sound_no_response; time = 0; duration = 1; } miss; # Start of experiment (MEG only) - sync with CTF software trial { picture { box frame1; x=0; y=0; box frame2; x=0; y=0; box background; x=0; y=0; bitmap fixation_cross_black; x=0; y=0; } expStart; time = 0; duration = 1000; code = "ExpStart"; port_code = 80; }; # baselinePre (at the beginning of the session) trial { picture { box frame1; x=0; y=0; box frame2; x=0; y=0; box background; x=0; y=0; bitmap fixation_cross_black; x=0; y=0; }default; time = 0; duration = 10000; #mri_pulse = 1; code = "BaselinePre"; port_code = 91; }; TEMPLATE "ATWM1_Working_Memory_MEG.tem" { trigger_encoding trigger_retrieval cue_time preparation_time encoding_time single_stimulus_presentation_time delay_time retrieval_time intertrial_interval alerting_cross stim_enc1 stim_enc2 stim_enc3 stim_enc4 stim_enc_alt1 stim_enc_alt2 stim_enc_alt3 stim_enc_alt4 trial_code stim_retr1 stim_retr2 stim_retr3 stim_retr4 stim_cue1 stim_cue2 stim_cue3 stim_cue4 fixationcross_cued retr_code the_target_button posX1 posY1 posX2 posY2 posX3 posY3 posX4 posY4; 44 61 292 292 399 125 1792 2992 2442 fixation_cross gabor_175 gabor_097 gabor_124 gabor_016 gabor_175 gabor_097_alt gabor_124_alt gabor_016 "2_1_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2450_gabor_patch_orientation_175_097_124_016_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_154_framed blank blank blank blank fixation_cross_white "2_1_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_154_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 2092 2992 2242 fixation_cross gabor_161 gabor_076 gabor_027 gabor_010 gabor_161 gabor_076 gabor_027_alt gabor_010_alt "2_2_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2250_gabor_patch_orientation_161_076_027_010_target_position_1_2_retrieval_position_1" gabor_161_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_2_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_161_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 2242 2992 1942 fixation_cross gabor_151 gabor_168 gabor_095 gabor_078 gabor_151_alt gabor_168 gabor_095_alt gabor_078 "2_3_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_1950_gabor_patch_orientation_151_168_095_078_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_078_framed blank blank blank blank fixation_cross_white "2_3_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_078_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 63 292 292 399 125 1792 2992 2492 fixation_cross gabor_105 gabor_089 gabor_021 gabor_037 gabor_105_alt gabor_089 gabor_021_alt gabor_037 "2_4_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1800_3000_2500_gabor_patch_orientation_105_089_021_037_target_position_2_4_retrieval_position_1" gabor_056_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_4_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_056_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 1942 2992 2292 fixation_cross gabor_093 gabor_123 gabor_070 gabor_052 gabor_093 gabor_123 gabor_070_alt gabor_052_alt "2_5_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2300_gabor_patch_orientation_093_123_070_052_target_position_1_2_retrieval_position_1" gabor_142_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_5_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_142_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 2042 2992 1942 fixation_cross gabor_117 gabor_080 gabor_039 gabor_006 gabor_117 gabor_080_alt gabor_039_alt gabor_006 "2_6_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_1950_gabor_patch_orientation_117_080_039_006_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_006_framed blank blank blank blank fixation_cross_white "2_6_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_006_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 1892 2992 2442 fixation_cross gabor_019 gabor_163 gabor_039 gabor_145 gabor_019_alt gabor_163_alt gabor_039 gabor_145 "2_7_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2450_gabor_patch_orientation_019_163_039_145_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_095_framed blank blank blank blank fixation_cross_white "2_7_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_095_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 2242 2992 1992 fixation_cross gabor_079 gabor_050 gabor_096 gabor_161 gabor_079 gabor_050 gabor_096_alt gabor_161_alt "2_8_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2000_gabor_patch_orientation_079_050_096_161_target_position_1_2_retrieval_position_1" gabor_125_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_8_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_125_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 2042 2992 1942 fixation_cross gabor_038 gabor_149 gabor_010 gabor_081 gabor_038_alt gabor_149 gabor_010 gabor_081_alt "2_9_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_1950_gabor_patch_orientation_038_149_010_081_target_position_2_3_retrieval_position_2" gabor_circ gabor_099_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_9_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_099_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 64 292 292 399 125 1842 2992 2292 fixation_cross gabor_092 gabor_071 gabor_050 gabor_022 gabor_092 gabor_071 gabor_050_alt gabor_022_alt "2_10_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1850_3000_2300_gabor_patch_orientation_092_071_050_022_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_022_framed blank blank blank blank fixation_cross_white "2_10_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_022_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 2092 2992 2342 fixation_cross gabor_039 gabor_014 gabor_073 gabor_128 gabor_039 gabor_014_alt gabor_073_alt gabor_128 "2_11_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2350_gabor_patch_orientation_039_014_073_128_target_position_1_4_retrieval_position_1" gabor_089_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_11_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_089_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 2242 2992 2092 fixation_cross gabor_126 gabor_111 gabor_082 gabor_039 gabor_126_alt gabor_111 gabor_082 gabor_039_alt "2_12_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2100_gabor_patch_orientation_126_111_082_039_target_position_2_3_retrieval_position_2" gabor_circ gabor_064_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_12_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_064_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 2192 2992 2042 fixation_cross gabor_074 gabor_125 gabor_104 gabor_154 gabor_074 gabor_125_alt gabor_104_alt gabor_154 "2_13_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2050_gabor_patch_orientation_074_125_104_154_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_154_framed blank blank blank blank fixation_cross_white "2_13_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_154_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 2092 2992 2592 fixation_cross gabor_001 gabor_167 gabor_077 gabor_132 gabor_001 gabor_167_alt gabor_077 gabor_132_alt "2_14_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2600_gabor_patch_orientation_001_167_077_132_target_position_1_3_retrieval_position_1" gabor_048_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_14_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_048_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 1792 2992 2092 fixation_cross gabor_065 gabor_050 gabor_094 gabor_178 gabor_065_alt gabor_050_alt gabor_094 gabor_178 "2_15_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2100_gabor_patch_orientation_065_050_094_178_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_140_framed gabor_circ blank blank blank blank fixation_cross_white "2_15_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_140_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 1892 2992 2242 fixation_cross gabor_091 gabor_127 gabor_059 gabor_020 gabor_091_alt gabor_127 gabor_059 gabor_020_alt "2_16_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2250_gabor_patch_orientation_091_127_059_020_target_position_2_3_retrieval_position_2" gabor_circ gabor_127_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_16_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_127_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 1992 2992 1892 fixation_cross gabor_151 gabor_039 gabor_174 gabor_063 gabor_151 gabor_039 gabor_174_alt gabor_063_alt "2_17_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_1900_gabor_patch_orientation_151_039_174_063_target_position_1_2_retrieval_position_1" gabor_151_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_17_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_151_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 64 292 292 399 125 1942 2992 2392 fixation_cross gabor_129 gabor_089 gabor_004 gabor_174 gabor_129_alt gabor_089_alt gabor_004 gabor_174 "2_18_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1950_3000_2400_gabor_patch_orientation_129_089_004_174_target_position_3_4_retrieval_position_2" gabor_circ gabor_089_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_18_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_089_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 1992 2992 1892 fixation_cross gabor_019 gabor_136 gabor_158 gabor_091 gabor_019 gabor_136_alt gabor_158 gabor_091_alt "2_19_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_1900_gabor_patch_orientation_019_136_158_091_target_position_1_3_retrieval_position_1" gabor_068_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_19_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_068_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 1792 2992 2192 fixation_cross gabor_095 gabor_171 gabor_031 gabor_145 gabor_095_alt gabor_171 gabor_031_alt gabor_145 "2_20_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2200_gabor_patch_orientation_095_171_031_145_target_position_2_4_retrieval_position_2" gabor_circ gabor_171_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_20_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_171_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 2042 2992 1942 fixation_cross gabor_174 gabor_023 gabor_001 gabor_108 gabor_174_alt gabor_023 gabor_001 gabor_108_alt "2_21_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_1950_gabor_patch_orientation_174_023_001_108_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_001_framed gabor_circ blank blank blank blank fixation_cross_white "2_21_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_001_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 64 292 292 399 125 2142 2992 2292 fixation_cross gabor_162 gabor_017 gabor_097 gabor_132 gabor_162_alt gabor_017 gabor_097_alt gabor_132 "2_22_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2150_3000_2300_gabor_patch_orientation_162_017_097_132_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_097_framed gabor_circ blank blank blank blank fixation_cross_white "2_22_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_097_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 2142 2992 1892 fixation_cross gabor_167 gabor_085 gabor_100 gabor_047 gabor_167 gabor_085_alt gabor_100_alt gabor_047 "2_23_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_1900_gabor_patch_orientation_167_085_100_047_target_position_1_4_retrieval_position_1" gabor_031_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_23_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_031_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 63 292 292 399 125 1892 2992 2092 fixation_cross gabor_052 gabor_068 gabor_091 gabor_026 gabor_052 gabor_068_alt gabor_091_alt gabor_026 "2_24_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1900_3000_2100_gabor_patch_orientation_052_068_091_026_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_141_framed gabor_circ blank blank blank blank fixation_cross_white "2_24_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_141_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 1842 2992 2492 fixation_cross gabor_111 gabor_157 gabor_075 gabor_093 gabor_111_alt gabor_157_alt gabor_075 gabor_093 "2_25_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2500_gabor_patch_orientation_111_157_075_093_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_140_framed blank blank blank blank fixation_cross_white "2_25_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_140_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 2042 2992 2242 fixation_cross gabor_093 gabor_113 gabor_063 gabor_028 gabor_093 gabor_113_alt gabor_063 gabor_028_alt "2_26_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2250_gabor_patch_orientation_093_113_063_028_target_position_1_3_retrieval_position_1" gabor_138_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_26_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_138_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 2042 2992 2492 fixation_cross gabor_096 gabor_013 gabor_071 gabor_140 gabor_096_alt gabor_013_alt gabor_071 gabor_140 "2_27_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_2500_gabor_patch_orientation_096_013_071_140_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_071_framed gabor_circ blank blank blank blank fixation_cross_white "2_27_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_071_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 2242 2992 1892 fixation_cross gabor_005 gabor_122 gabor_094 gabor_060 gabor_005 gabor_122_alt gabor_094_alt gabor_060 "2_28_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_1900_gabor_patch_orientation_005_122_094_060_target_position_1_4_retrieval_position_1" gabor_005_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_28_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_005_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 2142 2992 2042 fixation_cross gabor_139 gabor_010 gabor_049 gabor_166 gabor_139 gabor_010_alt gabor_049 gabor_166_alt "2_29_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2050_gabor_patch_orientation_139_010_049_166_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_049_framed gabor_circ blank blank blank blank fixation_cross_white "2_29_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_049_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 2242 2992 2592 fixation_cross gabor_109 gabor_171 gabor_130 gabor_001 gabor_109 gabor_171_alt gabor_130_alt gabor_001 "2_30_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2600_gabor_patch_orientation_109_171_130_001_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_001_framed blank blank blank blank fixation_cross_white "2_30_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_001_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 63 292 292 399 125 2092 2992 2192 fixation_cross gabor_003 gabor_090 gabor_179 gabor_114 gabor_003_alt gabor_090 gabor_179_alt gabor_114 "2_31_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2100_3000_2200_gabor_patch_orientation_003_090_179_114_target_position_2_4_retrieval_position_1" gabor_050_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_31_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_050_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 1792 2992 2342 fixation_cross gabor_077 gabor_160 gabor_003 gabor_023 gabor_077_alt gabor_160 gabor_003 gabor_023_alt "2_32_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2350_gabor_patch_orientation_077_160_003_023_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_053_framed gabor_circ blank blank blank blank fixation_cross_white "2_32_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_053_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 1942 2992 2142 fixation_cross gabor_097 gabor_010 gabor_125 gabor_147 gabor_097_alt gabor_010 gabor_125_alt gabor_147 "2_33_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_2150_gabor_patch_orientation_097_010_125_147_target_position_2_4_retrieval_position_2" gabor_circ gabor_010_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_33_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_010_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 1842 2992 2542 fixation_cross gabor_094 gabor_035 gabor_122 gabor_053 gabor_094 gabor_035_alt gabor_122 gabor_053_alt "2_34_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2550_gabor_patch_orientation_094_035_122_053_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_073_framed gabor_circ blank blank blank blank fixation_cross_white "2_34_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_073_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 2092 2992 1992 fixation_cross gabor_119 gabor_009 gabor_034 gabor_057 gabor_119_alt gabor_009 gabor_034 gabor_057_alt "2_35_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2000_gabor_patch_orientation_119_009_034_057_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_034_framed gabor_circ blank blank blank blank fixation_cross_white "2_35_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_034_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 2142 2992 2442 fixation_cross gabor_044 gabor_154 gabor_029 gabor_072 gabor_044 gabor_154_alt gabor_029_alt gabor_072 "2_36_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_2450_gabor_patch_orientation_044_154_029_072_target_position_1_4_retrieval_position_1" gabor_093_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_36_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_093_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 1892 2992 2342 fixation_cross gabor_095 gabor_050 gabor_033 gabor_119 gabor_095_alt gabor_050_alt gabor_033 gabor_119 "2_37_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2350_gabor_patch_orientation_095_050_033_119_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_069_framed blank blank blank blank fixation_cross_white "2_37_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_069_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 63 292 292 399 125 2192 2992 2542 fixation_cross gabor_031 gabor_111 gabor_145 gabor_087 gabor_031_alt gabor_111 gabor_145_alt gabor_087 "2_38_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2200_3000_2550_gabor_patch_orientation_031_111_145_087_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_005_framed gabor_circ blank blank blank blank fixation_cross_white "2_38_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_005_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 1842 2992 2292 fixation_cross gabor_128 gabor_113 gabor_078 gabor_096 gabor_128_alt gabor_113_alt gabor_078 gabor_096 "2_39_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2300_gabor_patch_orientation_128_113_078_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_39_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_096_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 1742 2992 2192 fixation_cross gabor_166 gabor_003 gabor_149 gabor_059 gabor_166_alt gabor_003_alt gabor_149 gabor_059 "2_40_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2200_gabor_patch_orientation_166_003_149_059_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_059_framed blank blank blank blank fixation_cross_white "2_40_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_059_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 63 292 292 399 125 1942 2992 1942 fixation_cross gabor_126 gabor_016 gabor_170 gabor_146 gabor_126_alt gabor_016_alt gabor_170 gabor_146 "2_41_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1950_3000_1950_gabor_patch_orientation_126_016_170_146_target_position_3_4_retrieval_position_1" gabor_081_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_41_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_081_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 1892 2992 1992 fixation_cross gabor_036 gabor_105 gabor_167 gabor_061 gabor_036 gabor_105_alt gabor_167_alt gabor_061 "2_42_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2000_gabor_patch_orientation_036_105_167_061_target_position_1_4_retrieval_position_1" gabor_036_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_42_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_036_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 1742 2992 2492 fixation_cross gabor_091 gabor_015 gabor_120 gabor_063 gabor_091 gabor_015 gabor_120_alt gabor_063_alt "2_43_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2500_gabor_patch_orientation_091_015_120_063_target_position_1_2_retrieval_position_2" gabor_circ gabor_151_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_43_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_151_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 63 292 292 399 125 1892 2992 2142 fixation_cross gabor_062 gabor_174 gabor_101 gabor_044 gabor_062 gabor_174_alt gabor_101 gabor_044_alt "2_44_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1900_3000_2150_gabor_patch_orientation_062_174_101_044_target_position_1_3_retrieval_position_2" gabor_circ gabor_126_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_44_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_126_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 1842 2992 1992 fixation_cross gabor_168 gabor_063 gabor_100 gabor_132 gabor_168_alt gabor_063_alt gabor_100 gabor_132 "2_45_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2000_gabor_patch_orientation_168_063_100_132_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_132_framed blank blank blank blank fixation_cross_white "2_45_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_132_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 2192 2992 1992 fixation_cross gabor_159 gabor_025 gabor_091 gabor_044 gabor_159_alt gabor_025 gabor_091_alt gabor_044 "2_46_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2000_gabor_patch_orientation_159_025_091_044_target_position_2_4_retrieval_position_2" gabor_circ gabor_071_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_46_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_071_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 2092 2992 2442 fixation_cross gabor_070 gabor_101 gabor_024 gabor_144 gabor_070 gabor_101_alt gabor_024 gabor_144_alt "2_47_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2450_gabor_patch_orientation_070_101_024_144_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_160_framed gabor_circ blank blank blank blank fixation_cross_white "2_47_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_160_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 2142 2992 2392 fixation_cross gabor_063 gabor_121 gabor_013 gabor_048 gabor_063_alt gabor_121 gabor_013_alt gabor_048 "2_48_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2400_gabor_patch_orientation_063_121_013_048_target_position_2_4_retrieval_position_2" gabor_circ gabor_121_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_48_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_121_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 1792 2992 2142 fixation_cross gabor_053 gabor_171 gabor_088 gabor_136 gabor_053 gabor_171_alt gabor_088 gabor_136_alt "2_49_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2150_gabor_patch_orientation_053_171_088_136_target_position_1_3_retrieval_position_1" gabor_007_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_49_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_007_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 64 292 292 399 125 1742 2992 2042 fixation_cross gabor_087 gabor_130 gabor_105 gabor_020 gabor_087 gabor_130_alt gabor_105 gabor_020_alt "2_50_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1750_3000_2050_gabor_patch_orientation_087_130_105_020_target_position_1_3_retrieval_position_2" gabor_circ gabor_130_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_50_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_130_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 1742 2992 1892 fixation_cross gabor_049 gabor_015 gabor_162 gabor_091 gabor_049_alt gabor_015 gabor_162_alt gabor_091 "2_51_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_1900_gabor_patch_orientation_049_015_162_091_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_091_framed blank blank blank blank fixation_cross_white "2_51_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_091_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 1742 2992 2342 fixation_cross gabor_062 gabor_151 gabor_032 gabor_100 gabor_062_alt gabor_151 gabor_032 gabor_100_alt "2_52_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2350_gabor_patch_orientation_062_151_032_100_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_032_framed gabor_circ blank blank blank blank fixation_cross_white "2_52_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_032_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 1942 2992 2042 fixation_cross gabor_152 gabor_124 gabor_092 gabor_066 gabor_152 gabor_124_alt gabor_092_alt gabor_066 "2_53_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2050_gabor_patch_orientation_152_124_092_066_target_position_1_4_retrieval_position_1" gabor_017_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_53_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_017_retrieval_position_1" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 2192 2992 2392 fixation_cross gabor_107 gabor_176 gabor_159 gabor_125 gabor_107 gabor_176_alt gabor_159 gabor_125_alt "2_54_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2400_gabor_patch_orientation_107_176_159_125_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_019_framed gabor_circ blank blank blank blank fixation_cross_white "2_54_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_019_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 1992 2992 2142 fixation_cross gabor_112 gabor_057 gabor_131 gabor_091 gabor_112 gabor_057_alt gabor_131_alt gabor_091 "2_55_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2150_gabor_patch_orientation_112_057_131_091_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_091_framed blank blank blank blank fixation_cross_white "2_55_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_091_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 64 292 292 399 125 1892 2992 2592 fixation_cross gabor_148 gabor_068 gabor_115 gabor_038 gabor_148_alt gabor_068 gabor_115 gabor_038_alt "2_56_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1900_3000_2600_gabor_patch_orientation_148_068_115_038_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_038_framed blank blank blank blank fixation_cross_white "2_56_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_038_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 2042 2992 2592 fixation_cross gabor_002 gabor_156 gabor_108 gabor_071 gabor_002 gabor_156_alt gabor_108_alt gabor_071 "2_57_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2600_gabor_patch_orientation_002_156_108_071_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_023_framed blank blank blank blank fixation_cross_white "2_57_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_023_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 2242 2992 2242 fixation_cross gabor_021 gabor_177 gabor_133 gabor_153 gabor_021_alt gabor_177 gabor_133 gabor_153_alt "2_58_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2250_gabor_patch_orientation_021_177_133_153_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_133_framed gabor_circ blank blank blank blank fixation_cross_white "2_58_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_133_retrieval_position_3" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 1842 2992 2542 fixation_cross gabor_077 gabor_132 gabor_016 gabor_095 gabor_077 gabor_132_alt gabor_016 gabor_095_alt "2_59_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2550_gabor_patch_orientation_077_132_016_095_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_155_framed gabor_circ blank blank blank blank fixation_cross_white "2_59_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_155_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 2192 2992 2092 fixation_cross gabor_176 gabor_109 gabor_133 gabor_091 gabor_176 gabor_109_alt gabor_133_alt gabor_091 "2_60_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2100_gabor_patch_orientation_176_109_133_091_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_045_framed blank blank blank blank fixation_cross_white "2_60_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_045_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 1742 2992 2392 fixation_cross gabor_038 gabor_072 gabor_177 gabor_057 gabor_038 gabor_072_alt gabor_177 gabor_057_alt "2_61_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2400_gabor_patch_orientation_038_072_177_057_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_128_framed gabor_circ blank blank blank blank fixation_cross_white "2_61_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_128_retrieval_position_3" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 64 292 292 399 125 1792 2992 2042 fixation_cross gabor_137 gabor_174 gabor_004 gabor_156 gabor_137_alt gabor_174_alt gabor_004 gabor_156 "2_62_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1800_3000_2050_gabor_patch_orientation_137_174_004_156_target_position_3_4_retrieval_position_1" gabor_137_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_62_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_137_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 1742 2992 2142 fixation_cross gabor_114 gabor_054 gabor_085 gabor_028 gabor_114 gabor_054_alt gabor_085 gabor_028_alt "2_63_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2150_gabor_patch_orientation_114_054_085_028_target_position_1_3_retrieval_position_1" gabor_114_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_63_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_114_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 63 292 292 399 125 1992 2992 2192 fixation_cross gabor_149 gabor_081 gabor_001 gabor_111 gabor_149_alt gabor_081_alt gabor_001 gabor_111 "2_64_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2000_3000_2200_gabor_patch_orientation_149_081_001_111_target_position_3_4_retrieval_position_2" gabor_circ gabor_033_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_64_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_033_retrieval_position_2" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 1992 2992 2092 fixation_cross gabor_104 gabor_032 gabor_146 gabor_170 gabor_104_alt gabor_032 gabor_146 gabor_170_alt "2_65_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2100_gabor_patch_orientation_104_032_146_170_target_position_2_3_retrieval_position_2" gabor_circ gabor_032_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_65_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_032_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 2192 2992 2192 fixation_cross gabor_045 gabor_072 gabor_014 gabor_095 gabor_045 gabor_072_alt gabor_014_alt gabor_095 "2_66_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2200_gabor_patch_orientation_045_072_014_095_target_position_1_4_retrieval_position_1" gabor_045_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_66_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_045_retrieval_position_1" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 1942 2992 2242 fixation_cross gabor_042 gabor_063 gabor_020 gabor_130 gabor_042_alt gabor_063 gabor_020_alt gabor_130 "2_67_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_2250_gabor_patch_orientation_042_063_020_130_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_130_framed blank blank blank blank fixation_cross_white "2_67_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_130_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 62 292 292 399 125 1842 2992 2542 fixation_cross gabor_004 gabor_111 gabor_145 gabor_176 gabor_004_alt gabor_111_alt gabor_145 gabor_176 "2_68_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2550_gabor_patch_orientation_004_111_145_176_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_176_framed blank blank blank blank fixation_cross_white "2_68_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_176_retrieval_position_4" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 61 292 292 399 125 2142 2992 2342 fixation_cross gabor_083 gabor_027 gabor_058 gabor_146 gabor_083_alt gabor_027_alt gabor_058 gabor_146 "2_69_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_2350_gabor_patch_orientation_083_027_058_146_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_008_framed blank blank blank blank fixation_cross_white "2_69_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_008_retrieval_position_4" 2 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; 44 64 292 292 399 125 1992 2992 2292 fixation_cross gabor_004 gabor_138 gabor_156 gabor_117 gabor_004 gabor_138_alt gabor_156 gabor_117_alt "2_70_Encoding_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2000_3000_2300_gabor_patch_orientation_004_138_156_117_target_position_1_3_retrieval_position_2" gabor_circ gabor_138_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_70_Retrieval_Working_Memory_MEG_P5_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_138_retrieval_position_2" 1 45.96 45.96 -45.96 45.96 -45.96 -45.96 45.96 -45.96; }; # baselinePost (at the end of the session) trial { picture { box frame1; x=0; y=0; box frame2; x=0; y=0; box background; x=0; y=0; bitmap fixation_cross_black; x=0; y=0; }; time = 0; duration = 5000; code = "BaselinePost"; port_code = 92; };
162d1bec6f688afda3d0943ba04fbfeaa49686d9
449d555969bfd7befe906877abab098c6e63a0e8
/1499/CH3/EX3.2/q2.sce
b6410311d58b1e90bb19519454fe734fa73ab53a
[]
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
92
sce
q2.sce
s=%s; syms k; num=s+1; den=(s^2)*(s^2+5*s+6); t=syslin('c',num,den); clf; evans(t)
74583a9d142cf58dde863ca0466951bf15b5a8ee
4246cbb6bfbd96e60074b607df96d71e7b4ee070
/opp6code/countby.tst
8cdffd966984f1ec09d6977fafffb11c85d660f6
[]
no_license
thangduong3010/PL-SQL
bc0fa5c3400e46acc0ab63156573590935607b5d
1415772c87750bd30625eacf2bd116fb7e0c0aae
refs/heads/master
2020-05-22T06:57:54.352234
2016-12-26T04:47:27
2016-12-26T04:47:27
39,061,697
1
3
null
null
null
null
UTF-8
Scilab
false
false
973
tst
countby.tst
DECLARE results grp.results_tt; indx PLS_INTEGER; minrow PLS_INTEGER; maxrow PLS_INTEGER; BEGIN results := grp.countby ('employee', 'department_id'); indx := results.FIRST; LOOP EXIT WHEN indx IS NULL; IF minrow IS NULL OR minrow > results(indx).countby THEN minrow := indx; END IF; IF maxrow IS NULL OR maxrow < results(indx).countby THEN maxrow := indx; END IF; DBMS_OUTPUT.PUT_LINE ( results(indx).val || ' - ' || results(indx).countby); indx := results.NEXT(indx); END LOOP; END; / /*====================================================================== | Supplement to the third edition of Oracle PL/SQL Programming by Steven | Feuerstein with Bill Pribyl, Copyright (c) 1997-2002 O'Reilly & | Associates, Inc. To submit corrections or find more code samples visit | http://www.oreilly.com/catalog/oraclep3/ */
321707bbf459eed4881b775b886ae858445a12aa
717ddeb7e700373742c617a95e25a2376565112c
/2474/CH2/EX2.15/Ch02Ex15.sce
1fceed21427e12591654903a72013f79b206d9c7
[]
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,338
sce
Ch02Ex15.sce
// Scilab code Ex2.15: Pg.96-97 (2008) clc; clear; // For electron // For simplicity let velocity of light be unity c = 1; // Velocity of light, m/s E_k = 10; // Kinetic energy of electron, MeV E_r = 0.511; // Rest energy of the electron, MeV gama_e = 1 + (E_k/E_r); // Simplification factor E = E_k + E_r; // Total energy of electron, MeV p_e = sqrt((E^2)-(E_r^2)); // Momentum of electron, MeV/c u_e = (p_e*c)/E; // Speed of electron, m/s printf("\n The value of gama for electron = %5.2f",gama_e); printf("\n The momentum of electron = %5.2f MeV/c",p_e); printf("\n The speed of electron = %5.3fc",u_e); // For proton E_p = 938.3; // Rest energy of the proton, MeV E = E_k + E_p ; // Total energy of proton, MeV gama_p = 1 + (E_k/E_p); // Simplification factor p_p = sqrt((E^2)-(E_p^2)); // Momentum of proton, MeV/c u_p = (p_p*c)/E; // Speed of proton, m/s printf("\n The value of gama for proton = %4.2f ",gama_p); printf("\n The momentum of proton = %5.1f MeV/c",p_p); printf("\n The speed of proton = %6.4fc ",u_p); // Result // The value of gama for electron = 20.56 // The momentum of electron = 10.50 MeV/c // The speed of electron = 0.999c m/s // The value of gama for proton = 1.01 // The momentum of proton = 137.4 MeV/c // The speed of proton = 0.1448c m/s
e0f2b4fbae19ddb76358dc7fbc15c7737e68469a
449d555969bfd7befe906877abab098c6e63a0e8
/2885/CH1/EX1.3/ex1_3.sce
87d8749d2513e1447811542504a507ebeb325ff1
[]
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
880
sce
ex1_3.sce
//Find the equivalent current source clear; clc; //soltion //given Vs=2;//Volts //dc voltage source Rs=1;//ohm //internal resistance Rl=1;//ohm //load resistance Ise=Vs/Rs;//ampere //equivalent current source // In accordance to figure 1.23a Il1=Ise*(Rs/(Rs+Rl));//using current divider concept Vl1=Il1*Rl; printf("\nIn accordance to figure 1.23a \n"); printf("The Load current (current source) Il= %dA\n",Il1); printf("The Load voltage (current source) Vl= %dV\n\n",Vl1); // In accordance to figure 1.23b Vl2=Vs*(Rs/(Rs+Rl));//using voltage divider concept Il2=Vl2/Rl; printf("\nIn accordance to figure 1.23b \n"); printf("The Load voltage (voltage source) Vl= %dV\n",Vl2); printf("The Load current (voltage source) Il= %dA\n\n",Il2); printf("Therefore they both provide same voltage and current to load");
29ecb82ac2de1f11c43e7abbafeaac9576d9b26c
449d555969bfd7befe906877abab098c6e63a0e8
/213/CH8/EX8.9/8_9.sce
1810d89eddcffbe98081087281775f64007b170c
[]
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,652
sce
8_9.sce
//To find velocity and accelerations clc //Given: omegaAO1=100 //rad/s O1A=100/1000,AC=700/1000,BC=200/1000,BD=150/1000,O2D=200/1000,O2E=400/1000,O3C=200/1000 //m //Solution: //Refer Fig. 8.19 //Calculating the linear velocity of A with respect to O1 vAO1=omegaAO1/O1A //m/s vA=vAO1 //By measurement from the velocity diagram, Fig. 8.19(b), vCA=7,vCO3=10,vC=vCO3,vDB=10.2,vDO2=2.8,vD=vDO2,vE=5.8,vEO2=vE //m/s //Calculating the radial component of the acceleration of A with respect to O1 arAO1=vAO1^2/O1A //m/s^2 aAO1=arAO1,aA=aAO1 //Calculating the radial component of the acceleration of C with respect to A arCA=vCA^2/AC //m/s^2 //Calculating the radial component of the acceleration of C with respect to O3 arCO3=vCO3^2/O3C //m/s^2 //Calculating the radial component of the acceleration of D with respect to B arDB=vDB^2/BD //m/s^2 //Calculating the radial component of the acceleration of D with respect to O2 arDO2=vDO2^2/O2D //m/s^2 //Calculating the radial component of the acceleration of E with respect to O2 arEO2=vEO2^2/O2E //m/s^2 //By measurement from the acceleration diagram, Fig. 8.19(c), aE=1200,atDO2=610 //m/s^2 aEO2=aE aB=440 //Acceleration of point B, m/s^2 //Calculating the angular acceleration of the bell crank lever alpha=atDO2/O2D //The angular acceleration of the bell crank lever, rad/s^2 //Results: printf("\n\n Velocity of the point E on the bell crank lever, vE = %.1f m/s.\n",vE) printf(" Acceleration of point B = %d m/s^2.\n",aB) printf(" Acceleration of point E, aE = %d m/s^2.\n",aE) printf(" Angular acceleration of the bell crank lever = %d rad/s^2, anticlockwise.\n\n",alpha)
d336ea2df36c83dcadee5386df63b874ecdbc593
449d555969bfd7befe906877abab098c6e63a0e8
/1703/CH6/EX6.9/6_9.sce
6aced8aa4cac6b0db78d6359112e7a4d2aaf4329
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
527
sce
6_9.sce
clc //initialisation of variables Q= 450 //gal/min w= 6.24 //lb/ft^3 f= 0.005 l1= 1000 //ft l2= 2000 //ft r1= 1.6 r2= 4.4 r3= 0.8 r4 = 12.85 h1= 59.1 //ft h2= 40.19 //ft v= 1.2 //ft/sec f= 0.0056 l= 10 //ft //CALCULATIONS Q1= Q/(w*60) Q2= (r1+sqrt(r1^2+4*r2))/2 Q3= Q2-Q1 Q4= (-r3+sqrt(r3^2+4*r4))/2 Q5= Q4+Q1 d= (f*5500*v^2/(l*(h1-h2)))^0.2*12 //RESULTS printf ('flow in to reservoir B= %.2f cusecs',Q3) printf ('\n flow in to reservoir D= %.1f cusecs',Q5) printf ('\n diameter of MN= %.f in',d)
c4761ac0c8816dbee8ed8190fe64b48e160a70b0
449d555969bfd7befe906877abab098c6e63a0e8
/3802/CH8/EX8.8/Ex8_8.sce
4852d569ae2d967b7b9d6000b34f892c64df47b7
[]
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
Ex8_8.sce
//Book Name:Fundamentals of Electrical Engineering //Author:Rajendra Prasad //Publisher: PHI Learning Private Limited //Edition:Third ,2014 //Ex8_8.sce. clc; clear; R=200; P=100e3; V=500; E=525; printf("\n (a)") Il=P/V; If=V/R; Ia=Il+If; Ra=(E-V)/Ia; printf("\n The armature resistance=%1.4f ohm \n",Ra) printf("\n (b)") P=60e3; V=520; Il=P/V; If=V/R; Ia=Il+If; E=V+(Ia*Ra); printf("\n The generated emf=%3.2f volt",E)
f282962c420409a96fa341fed0b79921d08dac5e
b80969c9d72c732b0153d0de2b8fd28dc10d8a16
/Biologie/Site/sauvegarde/28.07.2016/www/Documents/simulation/initation_scilab/ex22.sci
1b9f3b0115562c96b639ba9be5925ce6afec186d
[]
no_license
adamdepossylux/stem_cells
6a2596a0734e3604b570cfdaa1e6cb798d13d7b7
e1ffdf24a223fea3a3606a0bd262067edc81f5b9
refs/heads/master
2020-04-01T17:26:21.772875
2017-05-10T15:15:09
2017-05-10T15:15:09
61,795,551
0
0
null
null
null
null
UTF-8
Scilab
false
false
81
sci
ex22.sci
r=2; t=linspace(0,2*%pi,102); x=r*cos(t); y=r*sin(t); //plot2d(x,y,2) comet(x,y)
a867783902459faf8437139d7c1d80dd4d9ca242
430e7adb489914d378a5b0a27d8d41352fa45f3a
/scilab/machine-sliding-mode/obokata/状態変数の比較/aaa.sce
7413a82f544fcd22e96a2657f4a5da348e8e2351
[]
no_license
ziaddorbuk/Lesson
04906ff94bf8c1f6bbc6971d5692ae011a9b8869
20fe20a6c9c145ef48a35574d885d3952f9ab6ff
refs/heads/master
2021-09-23T11:48:05.958608
2018-04-30T01:54:13
2018-04-30T01:54:13
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
239
sce
aaa.sce
A11 = [0]; A12 = [1]; S2 = eye(1); // 配置したい極を指定 p = [-5]; // 超平面の設計 F = ppol(A11,A12,p) S = S2*[F S2] //切換超平面Sの値をコンソールに出力 disp("切換超平面:S=") disp(S)
a56a0aa8b20ddf75751c86611272c11488cc75e6
449d555969bfd7befe906877abab098c6e63a0e8
/181/CH5/EX5.1/example5_1.sce
c6d5c3914257d325f5f1d5a688b7e535a4943813
[]
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,559
sce
example5_1.sce
// Calculate BJT parameters using beta gain // Basic Electronics // By Debashis De // First Edition, 2010 // Dorling Kindersley Pvt. Ltd. India // Example 5-1 in page 235 clear; clc; close; // Part 1 // Given Data beta_bjt=100; // Beta Gain of BJT Vcc=10; // DC voltage across Collector in V Rb=100000; // Base Resistance of BJT in ohm Rc=2000; // Collector Resistance of BJT in ohm Vbe=0.7; // Base-Emitter voltage of BJT // Calculations Ib=(Vcc-Vbe)/((beta_bjt*Rc)+Rc+Rb); Ic=beta_bjt*Ib; Vce=Vcc-(Ib+Ic)*Rc; printf("Part 1 \n"); printf("(a)The value of Base Current in the BJT circuit is %0.3e A \n",Ib); printf("(b)The value of Collector Current in the BJT circuit is %0.3e A \n",Ic); printf("(c)The value of Collector-Emitter voltage in the circuit is %0.3f V \n",Vce); // Part 2 // Given Data Vce2=7; // Collector-Emitter voltage of BJT Vcc=10; // DC voltage across Collector in V Rc=2000; // Collector Resistance of BJT in ohm Vbe=0.7; // Base-Emitter voltage of BJT Rc2=2000; // Collector Resistance of BJT in ohm // Calculations constant=(Vcc-Vce2)/Rc; Ib2=constant/101; Ic2=100*Ib2; Rb2=(Vcc-Vbe-(Rc2*constant))/Ib2; printf("\nPart 2 \n"); printf("(a)The value of the Base Resistance of the Circuit is %0.3e ohm \n ",Rb2); // Results // Circuit 1: Value of Base Current of circuit = 0.031 mA // Circuit 1: Value of Collector Current of circuit = 3.1 mA // Circuit 1: Value of Collector-Emitter voltage of BJT circuit = 3.779 V // Circuit 2: Value of BAse Resistance required = 424.24 K-ohm
2cbb88013cafa54880f212f0d31443e7796fd902
449d555969bfd7befe906877abab098c6e63a0e8
/2141/CH14/EX14.10/Ex14_10.sce
0b761eab83f0159ba78a8680537ed6eb9cb1df65
[]
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
520
sce
Ex14_10.sce
clc //initialisation of variables P=100 //lbf/in^2 T=600 //F A=20000//lbm/hr P1=0.545 //lbf/in^2 P2=54.5 //lbf/in^2 S=1.7581 //Btu/lbm-R h0=1329.1 //Btu/lbm T1=460//F h=1264.0 //Btu/lbm V=w1*sqrt(h0-h)//ft/sec v1=9.961 //lbf/in^2 PE=20 //lbf/in^2 sE=1.7581 //Btu/lbm-R hE=1174.9 //Btu/lbm vE=21.28 //lbf/in^2 w=3600//lbf/in^2 w1=223.7//ft/sec //CALCULATIONS A1=(A*v1)/(w*V)//in^2 VE=w1*sqrt(h0-hE)//ft/sec Mve=(A*vE)/(w*VE)//ft^2 //RESULTS printf('The throat area and exit area=% f ft^2',Mve)
eb883bb83c5adf2fff30d57564dfcc7d3a33104f
449d555969bfd7befe906877abab098c6e63a0e8
/2126/CH6/EX6.5/5.sce
aa716ca111caf4377accb45972d1fbe168c1622c
[]
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
990
sce
5.sce
clc clear //Input data n=2 //Number of jets D=0.25 //Diameter of turbojet in m P=3000 //Net power at turbojet in W mf_kWh=0.42 //Fuel consumption in kg/kWh CV=49000 //Calorific value in kJ/kg u=300 //Flight velocity in m/s d=0.168 //Density in kg/m^3 AFR=53 //Air fuel ratio //Calculatioon mf=mf_kWh*P/3600 //Mass flow rate of fuel in kg/s ma=AFR*mf //Mass flow rate of air in kg/s m=ma+mf //Mass flow rate of gas in kg/s Q=m/d //Volume flow rate in m^3/s Cj=(Q*4)/(2*%pi*D^2) //Jet velocity in m/s Ca=Cj-u //Absolute Jet velocity in m/s F=((m*Cj)-(ma*u))*10^-3 //Thrust in kN eff=((F*u)/(mf*CV))*100 //Overall efficiency in % eff_prop=((2*u)/(Cj+u))*100 //Propulsive efficiency of the cycle in % eff_ther=(eff/eff_prop)*100 //Efficiency of turbine in % //Output printf('(A)Absolute velocity of jet is %3.3f m/s\n (B)Resistance of the plane is %3.4f kN\n (C)Overall efficiency is %3.2f percent\n (D)Efficiency of turbine is %3.3f percent',Ca,F,eff,eff_ther)
5aff989827be427e8a824a4003b167c5e0405291
449d555969bfd7befe906877abab098c6e63a0e8
/3655/CH3/EX3.1/Ex3_1.sce
eb032a13187913d385e121d29d4632e67511d128
[]
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
832
sce
Ex3_1.sce
// Example 3.1 // Computation for mobility of the free electrons in aluminium// // Page no.61 clc; clear; close; //Given data ; d=2.70*10^3//2.70*10^3 kg/m3 v=3;//3 electrons/atom A=26.98; M=1.660*10^-27;//1.660*10^-27 kg/atom e=1.60*10^-19; R=3.44*10^-8;//R=resistivity //...................................(B)....................................// //Calculation for concentration of the free electrons in aluminium// n=(d*v)/(A*M); //Calculation for mobility of the free electrons in aluminium// mu=10^4/(n*e*R);//mu=mobility of the free electrons //Displaying the result in command window printf('\n Concentration of the free electrons in aluminium = %0.3f x 10^29 electron/m3',n*10^-29); printf('\n \n Mobility of the free electrons in aluminium = %0.2f cm2/V sec',mu); //Answers are varying due to round off error//
6ee2a79621dec80a7b90a7786c93293da94a7662
449d555969bfd7befe906877abab098c6e63a0e8
/1286/CH15/EX15.2/15_2.sce
4e8c38139267628454e031a9a4593f5c15e03b5e
[]
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
207
sce
15_2.sce
clc //initialisation n=5 h=2 p=1/6 //CALCULATIONS t=1-p a=((factorial(n))/(factorial(h)*factorial(n-h)))*(p^h)*(t^(n-h)) //results printf(' \n probability of apperance of 4 in two dices= % 1f ',a)
abd8cf6102ab35abf1e135a5e404a5b43c0a8575
449d555969bfd7befe906877abab098c6e63a0e8
/2321/CH6/EX6.10.2/EX6_10_2.sce
765355076dabea21fa44c8b1e605454e0092496b
[]
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
925
sce
EX6_10_2.sce
//Example No. 6.10.2 clc; clear; close; format('v',6); D=20;//dB(Directivity) //d=lambda/4;(spacing) dBYlambda=1/4;//(spacing/wavelength) D=10^(D/10);//unitless(Directivity) n=D/4/dBYlambda;//no. of elements disp(n,"(i) No. of elements : "); LBYlambda=(n-1)*dBYlambda;//(length/wavelength) disp("(ii) Length of the array is "+string(LBYlambda)+"*lambda"); HPBW=2*acosd(1-1.391/%pi/n/dBYlambda);//degree(HPBW) disp(HPBW,"(iii) HPBW in degree : "); SLL=-13.46;//dB(Side lobe level) disp(SLL,"(iv) SLL in dB : "); Beta_into_lambda=2*%pi;//(temorary calculatuion) //alfa=-Beta*d;//for theta=0 //alfa=Beta*d;//for theta=180 alfa1=-Beta_into_lambda*dBYlambda;//radian////for theta=0 alfa1=alfa1*180/%pi;//degree(angle) alfa2=Beta_into_lambda*dBYlambda;//radian////for theta=180 alfa2=alfa2*180/%pi;//degree(angle) disp(alfa2,alfa1,"(v) Progressive phase shift, α for theta equals to 0° & 180° are : ");
1025db4541d282d8537c0c5adb3e2cf1b9bb6d2a
891e9f4e3fce67f553f07f24cef2e802423770b9
/fgoalattain/fgoalattainTests/demo2.sce
d313a1dcd805f57789fb3784cfa053e9ff2a5016
[]
no_license
animeshbaranawal/FOSSEE
ae6b6c1a39803ad0fb26780b7f960a62431c71d2
75b1b18dcfd935f7ebbe89b44573c8076dae4267
refs/heads/master
2022-06-24T14:20:49.508846
2022-05-30T17:13:09
2022-05-30T17:13:09
50,281,099
1
0
null
null
null
null
UTF-8
Scilab
false
false
256
sce
demo2.sce
function f2=objfun1(x) f2(1) = 100*(x(2)-x(1)^2)^2 + (1-x(1))^2; f2(2)= x(2)-x(1)*5+x(2)*x(2) endfunction x0 = [-1,2]; A = [1,2]; b = [3]; goal=[5,-6]; weight=abs(goal); [z,gval,attainfactor,exitflag,output,lambda]=fgoalattain(objfun1,x0,goal,weight,A,b)
87139ae0c6f5861d558a636d83a476035838dbda
449d555969bfd7befe906877abab098c6e63a0e8
/1574/CH7/EX7.7/N_Ex_7_7.sce
ed9e10157566eed89a97c3b59a9cfc3e349dee0e
[]
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
529
sce
N_Ex_7_7.sce
clc //Chapter7 //Example7.6 //Given mue=25// tube parameters rp=10e3// tube parameters gm=2.5e-3// transconductance Req=2.5/gm// equivalent resistance Rs=1000 Rg=1e5 F1=1+(((Req*((Rs+Rg)^2))+Rg*Rs^2)/(Rs*(Rg^2)))//noise figure of the first stage Rg2=9.1e3 Rs2=10e3 Es=1// assuming Es=1 for ease of calculation Pi=((Es/2e3)^2)*1e3 Po=1.532e-2*Es^2 Ap1=Po/Pi F2=1+(((Req*((Rs2+Rg2)^2))+Rg2*Rs2^2)/(Rs2*(Rg2^2)))// noise figure of the second stage F=(F1)+((F2-1)/Ap1) mprintf('Overall Noise figure is:%f',F)
fd17af8fe266eb6eb1c84c15e8801e52912b2bc1
449d555969bfd7befe906877abab098c6e63a0e8
/1994/CH9/EX9.27/Example9_27.sce
79e86b97c2a8f9f45ac8b6a820e636da23dc2e64
[]
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
285
sce
Example9_27.sce
//Chapter-9,Example9_27,pg 9_81 V=250 FLo=16*10^3//full scale output n=80 I=FLo*100/n//input Il=I/V Il=Il Ia=1.5*Il //at start Ra=V/Ia Rac=0.18//Ra actual Ras=Ra-Rac//Ra starter Ia=Il//Ia drops as motor starts Eb=V-Ia*(Ra) printf("back e.m.f\n") printf("Eb=%.2f V",Eb)
83e4ac48ca2204067f2d17e0e66a4f278c643799
1485852dd59aafc286600126cf832a32e10f117f
/tests/roiPoly/test6.sce
7241927a04878dd8a6794dc94b0c0957b3136a0e
[]
no_license
rg77/Scilab-Image-Processing-And-Computer-Vision-Toolbox
dec9fbbce32cfd1eab3c45ccb29c89aaa1384758
8adb116da3a9c29a32e5e0727105aff571e5b374
refs/heads/master
2020-12-02T16:14:45.282650
2017-07-07T10:12:04
2017-07-07T10:12:04
96,524,257
0
0
null
2017-07-07T09:43:50
2017-07-07T09:43:50
null
UTF-8
Scilab
false
false
144
sce
test6.sce
I = imread('../images/color2.jpeg'); c1 = [200 250 300 250 200 150 200] r1 = [ 170 170 135 100 100 135 154] BW = roiPoly(I,c1,r1); imshow(BW)
331a25b15b474255eac598756a89459595da0d4e
449d555969bfd7befe906877abab098c6e63a0e8
/257/CH6/EX6.16/example6_16.sce
39fa3e4bc168afbad7562b79a44054bc0528f7f2
[]
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
195
sce
example6_16.sce
T1=1*5*10*1; T2=1*10*1; L1=10*(-1); L2=1*(-2); L3=5*10*1*(-1); L4=10*1*(-1) delta=1-(L1+L2+L3+L4)+(L1*L4) del1=1; del2=1-L1; TF=(T1*del1 + T2*del2)/delta ; disp(TF,"C/R = ")
463eaca8c9e05fcce6e777d8296ce9b95e2a730f
3592fbcb99d08024f46089ba28a6123aeb81ff3c
/main/correctionSway1D/testCorrectionSway1D_iros2011_period.sce
d914f75c043ea08e529153d4ac2d53706e0fb984
[]
no_license
clairedune/sciGaitanLib
a29ab61206b726c6f0ac36785ea556adc9ef03b9
7498b0d707a24c170fc390f7413359ad1bfefe9f
refs/heads/master
2020-12-11T01:51:13.640472
2015-01-28T13:52:26
2015-01-28T13:52:26
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,777
sce
testCorrectionSway1D_iros2011_period.sce
// 1d servo of a position x to zero // when the PG disturbs the control with an additional sin // comparison of 2 methods // 1) cancelling the effect of the sin in the control // 2) compensate for the sin clear // --- Control variable sat = 2; // control saturation k = 0.7; // gain >0 dt = 0.1; // sampling period N = 15; // number of iterations a = 0; // shift b = 2*%pi/2; // pulsation T = 1.5;//floor(2*%pi/(b)); // period // --- Variables of 1st method x = 5; // initial position c = 0; // initial correction u = 0; // initial control v = 0; // initial control+sin E = c ; // initial biais i = 0; // 0 iteration X = []; // position trajectory U = []; // control trajectory V = []; // control+sin trajectory C = []; // "correction" trajectory Estore = []; // biais estimation bar(s0)-s0 S = []; // --- Begin control Loop for t=0:dt:N, // compute the additional sin sway=2*cos(b*t+a); //cancelling the sway motion u=-k*(x-(c-E)); // saturation //if(abs(u)>1) // u=sign(u)*sat; //end // the real velocity is the control + sway v = u + sway; x = x + dt*v; S=[S;dt*(v-u)]; //c = sum(S(i-modulo(i,20)+1:$)); c = sum(S); // store data for display C=[C; c]; X=[X; x]; U=[U; u]; V=[V; v]; // estimate the biais of the current correction if (t<=T) E=mean(C); else // E=mean(C(i-T/dt:i-1)); E=mean(C); end Estore=[Estore;E]; i=i+1; end;// --- end of the loop t=0:dt:N; // --- Display xset("window",1); plot(t',X,'g') plot(t',U,'b') plot(t',V,'r') plot(t',C,'r-.') plot(t',Estore,'k-.') xset("window",2); plot(t',C,'k-.') //plot(t',C2,'r-.')
3570b638bb00873b12c30793a3260e45c215cfa6
449d555969bfd7befe906877abab098c6e63a0e8
/149/CH2/EX2.34.1/ex34_1.sce
045fa36c040036aad837efdc2586cadc10a906ac
[]
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
200
sce
ex34_1.sce
clc A=[1 2 3;3 4 4;7 10 12] disp('rank of A is') p=rank(A) if p==3 then disp('equations have only a trivial solution:x=y=z=0') else disp('equations have infinite no. of solutions.') end
5b055ed978b658207cf3a019cf52b9c442661436
449d555969bfd7befe906877abab098c6e63a0e8
/764/CH7/EX7.4.b/solution7_4.sce
d9a2ee3c36cefa4c2d1e9f53f46d1b1805e2acab
[]
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,010
sce
solution7_4.sce
//Function to standardise the given bolt-size function[v] = standard(w) v = ceil(w) rem = pmodulo(v,10) if (rem ~= 0) then v = v + (10 - rem) end endfunction //Obtain path of solution file path = get_absolute_file_path('solution7_4.sce') //Obtain path of data file datapath = path + filesep() + 'data7_4.sci' //Clear all clc //Execute the data file exec(datapath) //Calculate the permissible shear stress tau (N/mm2) tau = ((50/100)*Syt)/fs //Calculate the primary shear force on bolt3 Pshear (N) Pshear = (P * 1000)/N //Calculate the secondary shear force on bolt3 Sshear (N) Sshear = (P * 1000 * e * r1)/((r1^2) + (r3^2)) //Calculate the resultant force on bolt3 P3 (N) P3 = Pshear + Sshear //Calculate the core diameter of the bolt dc (mm) dc = ((4 * P3)/(%pi * tau))^(1/2) //Calculate the nominal diameter of the bolt d (mm) d = dc/0.8 //Standardise the bolt size d = standard(d) //Print results printf('\nThe standard size of the bolts is M%d\n',d)
d6e238e5b4e67900b04eb1626fb8e84778aafbb8
d963a50c09b7380dd7b1b97cd9997e9bd17ea8f3
/r34/xmpl/scope.tst
5a93d822e2819f32483258079ed3f641ec275452
[ "BSD-3-Clause" ]
permissive
reduce-algebra/reduce-historical
8220e211b116e0e01ff1a38f51917cac9db6069f
e014152729c4d62bb1ce4f5c311a027042a5495a
refs/heads/master
2023-04-10T22:54:00.796596
2021-04-16T08:52:19
2021-04-16T08:52:19
343,245,204
7
1
NOASSERTION
2021-04-16T08:53:31
2021-03-01T00:15:22
TeX
UTF-8
Scilab
false
false
1,704
tst
scope.tst
% Test SCOPE Package. % NOTE: The SCOPE, GHORNER, GSTRUCTR and GENTRAN packages must be loaded % to run these tests. on priall$ optimize z:=a^2*b^2+10*a^2*m^6+a^2*m^2+2*a*b*m^4+2*b^2*m^6+b^2*m^2 iname s; off priall$ on primat,acinfo$ optimize ghorner <<z:=a^2*b^2+10*a^2*m^6+a^2*m^2+2*a*b*m^4+2*b^2*m^6+b^2*m^2>> vorder m iname s; operator a$ k:=j:=1$ u:=c*x+d$ v:=sin(u)$ optimize {a(k,j):=v*(v^2*cos(u)^2+u), a(k,j)::=:v*(v^2*cos(u)^2+u)} iname s; off exp$ optimize {a(k,j):=v*(v^2*cos(u)^2+u), a(k,j)::=:v*(v^2*cos(u)^2+u)} iname s; off primat,acinfo,period$ on fort$ optimize z:=(6*a+18*b+9*c+3*d+6*e+18*f+6*g+5*h+5*k+3)^13 iname s; optimize {x:=3*a*p,y:=3*a*q,z:=6*a*r+2*b*p,u:=6*a*d+2*b*q, v:=9*a*c+4*b*d,w:=4*b} iname s; off fort$ clear a$ matrix a(2,2)$ a(1,1):=x+y+z$ a(1,2):=x*y$ a(2,1):=(x+y)*x*y$ a(2,2):=(x+2*y+3)^3-x$ on acinfo$ optimize gstructr<<a; aa:=(x+y)^2;b:=(x+y)*(y+z);c:=(x+2*y)*(y+z)*(z+x)^2>> name v iname s; clear a$ off fort; on priall$ optimize z:=:for j:=2:6 sum a^(1/j) iname s; off acinfo,priall$ on optdecs$ optlang!*:='fortran$ optimize {x(i+1,i-1):=a(i+1,i-1)+b(i),y(i-1):=a(i-1,i+1)-b(i)} iname s declare <<x(4),a(4,4),y(5):real;b(5):integer>>; optlang!*:='c$ optimize {x(i+1,i-1):=a(i+1,i-1)+b(i),y(i-1):=a(i-1,i+1)-b(i)} iname s declare <<x(4),a(4,4),y(5):real;b(5):integer>>; optlang!*:= 'pascal$ optimize {x(i+1,i-1):=a(i+1,i-1)+b(i),y(i-1):=a(i-1,i+1)-b(i)} iname s declare <<x(4),a(4,4),y(5):real;b(5):integer>>; optlang!*:='ratfor$ optimize {x(i+1,i-1):=a(i+1,i-1)+b(i),y(i-1):=a(i-1,i+1)-b(i)} iname s declare <<x(4),a(4,4),y(5):real;b(5):integer>>; end;
a54d861c3cb568b5969c995b2d3a0638ad580551
449d555969bfd7befe906877abab098c6e63a0e8
/2204/CH4/EX4.25/ex4_25.sce
8241e217926b2e0bd8c038743537d6d853f23a4b
[]
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
224
sce
ex4_25.sce
// Exa 4.25 clc; clear; close; // Given data R_F = 5;// in k ohm R_G = 1;// in k ohm R1 = 10;// in k ohm R2 = 20;// in k ohm A = (1 + ((2*R_F)/R_G))*(R2/R1); disp(A,"The gain of instrumentaion amplifier is");
66c1ff894fe10412a913050e9cf29687b92cbd47
449d555969bfd7befe906877abab098c6e63a0e8
/620/CH3/EX3.8/example3_8.sce
1d81bc4623a1e2df7a8f9576763720515700bdf0
[]
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
88
sce
example3_8.sce
v=120; i=3; t=12; e=v*i*t; disp("energy supplied by the source (in J) is"); disp(e);
cbc97400c5573ac79a421ebeee697171bd02f935
6e257f133dd8984b578f3c9fd3f269eabc0750be
/ScilabFromTheoryToPractice/Computing/testcomplexe.sce
eb86be09a28fc6e2c80357094e6c8c2d34b6679f
[]
no_license
markusmorawitz77/Scilab
902ef1b9f356dd38ea2dbadc892fe50d32b44bd0
7c98963a7d80915f66a3231a2235010e879049aa
refs/heads/master
2021-01-19T23:53:52.068010
2017-04-22T12:39:21
2017-04-22T12:39:21
89,051,705
0
0
null
null
null
null
UTF-8
Scilab
false
false
223
sce
testcomplexe.sce
z=1+2*%i // a complex number conj(z) // complex conjugate real(z) // real part imag(z) // imaginary part [r,a]=polar(z) // polar representation r*exp(%i*a) // =z sqrt(-1) // principal sqrt of -1
cbb5fc0919655161af6ca4030b93c310fb5a64e9
449d555969bfd7befe906877abab098c6e63a0e8
/70/CH3/EX3.2.1/3_2_1.sci
9fb608a0349b0941ff843aa7fdd6261382d587aa
[]
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
217
sci
3_2_1.sci
//page 155 clear; close; clc; b=[1;2;3]; disp(b,'b='); a=[1;1;1]; disp(a,'a=') x=(a'*b)/(a'*a) disp(x*a,'Projection p of b onto the line through a is x^*a='); disp((a'*b)/(sqrt(a'*a)*sqrt(b'*b)),'cos(thetha)='); //end
fd9628b70b2a30bad351c123e5ce30ba48e4f02a
449d555969bfd7befe906877abab098c6e63a0e8
/2213/CH7/EX7.13/ex_7_13.sce
05e97302f85382c385d3ef256fc31e0eb48fc9a8
[]
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
685
sce
ex_7_13.sce
//Example 7.13: maximum power and total distance clc; clear; close; format('v',5) //given data : w=250;//in tonnes we=(1+(10/100))*w;//efective weight in tonnes r=5*9.81;//in N/tonne G=1;// t1=30;//in sec t2=70;// in sec alpha=2;//kmphps V1=alpha*(t1);// in km/h ft=(277.8*we*alpha)+(98.1*G*w)+(w*r);//in newtons po=((ft*V1)/3600);//maximum power output in kW n=0.97;//efficiency pi=po/n;//in kW G=1; bc=((98.1+r))/(277.8*1.1);//in kmphps V2=V1-(bc*t2);//km/hr beta1=3;//retardation t3=V2/beta1;//in seconds S=(((V1*t1)/7200)+(((V1+V2)*t2)/7200)+((V2*t3)/7200)); disp(round(pi),"maximum power developed by traction motor is (kW)") disp(S,"total distance travelled by train in km is")
ab926660ad04e606ebf5262bb385fba642c85607
449d555969bfd7befe906877abab098c6e63a0e8
/42/CH4/EX4.8/sadiku_4_8.sce
9fc78384591f74cd78ac930a41c620ac08a08288
[]
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
169
sce
sadiku_4_8.sce
clear; clc; r1=0,r2=1,z1=-2,z2=2,q1=0,q2=2*%pi; Q=integrate('p^2','p',r1,r2)*integrate('(cos(Q)^2)','Q',q1,q2)*integrate('1','z',z1,z2); disp(Q,'Total charge is =');
9eaf50512118d5d2258cb9f1466a14856ed1478d
449d555969bfd7befe906877abab098c6e63a0e8
/3835/CH2/EX2.12/Ex2_12.sce
88e7d37cef3845793ff715384eb7e69ba5e37924
[]
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
300
sce
Ex2_12.sce
clear // //eqns derived from figure //6v1-4v2=2-->1 //-4v1+7v2=-3-->2 //eqn 1 and 2 are written in matrix form and solved using cramers rule printf("\n v1=0.0769 V") printf("\n v2=-0.3846V") printf("\n current in 0.5ohm resistance is 0.154A,0.25ohm resistance is 1.846,0.66ohm resistor is -1.154A")
56f79df3c23d84965bc6dddef71e453d56f66acd
449d555969bfd7befe906877abab098c6e63a0e8
/29/CH7/EX7.5.7.a/exa7_5_7_a.sce
777f5da0a2b0aaf93034fc7bedb42777f17638c3
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
555
sce
exa7_5_7_a.sce
//caption:stability_using_Routh-hurwitz_criterion //example 7.5.7.(a) //page 207 s=%s; syms T K P=s*(s*(s+10)+T); CH=sym('s^3+10*s^2+T*s+K'); disp('=0',CH,"characterstics_eq,CH=") c0=coeffs(CH,'s',0); c1=coeffs(CH,'s',1); c2=coeffs(CH,'s',2); c3=coeffs(CH,'s',3); b=[c0 c1 c2 c3] n=4; routh=[b([4,2]);b([3,1])]; routh=[routh;-det(routh)/routh(2,1),0] t=routh(2:3,1:2) routh=[routh;-det(t)/t(2,1),0] disp(routh,"routh=") disp("for given system to be stable:"); disp("((10*T-K)/10)>0 and K>0"); disp("which gives:"); disp("0<K<10T");
a67fb08f657a9ea618661f16f85365b2a8ed8a7c
8781912fe931b72e88f06cb03f2a6e1e617f37fe
/matlab/plasma/particle_lorentz_field_trajectory_2.sce
d2dcd346072cbf5633cc144d014c968dc2a3e615
[]
no_license
mikeg2105/matlab-old
fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e
eac168097f9060b4787ee17e3a97f2099f8182c1
refs/heads/master
2021-05-01T07:58:19.274277
2018-02-11T22:09:18
2018-02-11T22:09:18
121,167,118
1
0
null
null
null
null
UTF-8
Scilab
false
false
1,868
sce
particle_lorentz_field_trajectory_2.sce
//Script to model influence of uniform e and b field //on charged particle motion clear(); exec('lorentz.sce'); m=1.6*(10^(-27)); q=1.6*(10^(-19)); dt=5.0*(10^(-9)); it=1:1:1000; r=zeros(3,1); v=zeros(3,1); v(2,1)=1.0*(10^6); b=zeros(3,1); e=zeros(3,1); //bfield in z direction b(3,1)=0.1; //efield in y direction //e(2,1)=0.2; //e(3,1)=10*(10^4); ns=200; labels=["v(1)";"v(2)";"v(3) "]; [ok,v(1,1),v(2,1),v(3,1)]=getvalue("define velocity values",labels,... list("vec",1,"vec",1,"vec",1),["0.0";"1.0*(10^6)";"0.0"]); iv=v; labels=["b(1)";"b(2)";"b(3) "]; [ok,b(1,1),b(2,1),b(3,1)]=getvalue("define b field values",labels,... list("vec",1,"vec",1,"vec",1),["0.0";"0.0";"0.1"]); labels=["e(1)";"e(2)";"e(3) "]; [ok,e(1,1),e(2,1),e(3,1)]=getvalue("define e field values",labels,... list("vec",1,"vec",1,"vec",1),["0.0";"0.0";"0.0"]); ar=zeros(ns,3); // xsetech([0,0,0.5,0.5]); //elseif plotid==2 then // xsetech([0.5,0.5,0.5,0.5]); //elseif plotid==3 then // xsetech([0.0,0.5,0.5,0.5]); for it=2:1:ns dv=lorentzf(q,m,v,e,b); newv=v+dv*dt; newr=r+v*dt; v=newv; r=newr; ar(it,:)=r(1:3,1)'; end; // title by default text=x_dialog('Plot Title?',''); pictitle=sprintf("%s velocity %f %f %f bfield %f %f %f efield %f %f %f ",text,iv(1,1),iv(2,1),iv(3,1),b(1,1),b(2,1),b(3,1),e(1,1),e(2,1),e(3,1)); //pictitle=sprintf("%s ",text); clf(); da=gda(); // get the handle on axes model to view and edit the fields //da.title.text=pictitle; da.title.text=pictitle; param3d(ar(:,1),ar(:,2),ar(:,3),35,45,"X@Y@Z"); l1=list('Save plot?',2,['yes','no']); saverep=x_choices('Save plot?',list(l1)) if saverep==1 then graphicsfile=xgetfile("*.scg", title="Choose a graphics file name"); xsave(graphicsfile); end;
11ddfddea454ccfa76482446fdb2a6fac035fbde
88c914c9be129f1873d66f7242928d980a0c45e0
/Scilab/src/tolsolvty.sci
5211059615c30d6fb13b229243a01ff5e4d1b4c5
[]
no_license
MaximSmolskiy/tolsolvty
6b0555a242ea6b497c98ba85bb55d42bd6aec54e
47756130bb87936ea98ef600e321392cc679254d
refs/heads/main
2023-05-31T20:07:23.403227
2021-06-28T22:48:55
2021-06-28T22:48:55
309,448,233
1
0
null
2021-06-28T22:48:56
2020-11-02T17:40:28
MATLAB
UTF-8
Scilab
false
false
19,132
sci
tolsolvty.sci
function [tolmax,argmax,envs,ccode] = tolsolvty(infA,supA,infb,supb,varargin) // // Вычисление максимума распознающего функционала допускового множества // решений для интервальной системы линейных алгебраических уравнений // // TOLSOLVTY(infA, supA, infb, supb) выдаёт значение максимума распознающего // функционала для интервальной системы линейных уравнений Ax = b, у которой // матрицы нижних и верхних концов элементов A равны infA и supA, а векторы // нижних и верхних концов правой части b равны infb и supb соответственно. // Кроме того, процедура выводит заключение о разрешимости интервальной // линейной задачи о допусках с интервальной матрицей A = [infA, supA] и // вектором b = [infb, supb] (т.е. о пустоте или непустоте допускового // множества решений данной системы) и диагностику остановки алгоритма. // // Синтаксис вызова: // [tolmax,argmax,envs,ccode] = tolsolvty(infA,supA,infb,supb, ... // iprn,epsf,epsx,epsg,maxitn) // // Обязательные входные аргументы функции: // infA, supA - матрицы левых и правых концов интервальных коэффициентов // при неизвестных для интервальной системы линейных // алгебраических уравнений; они могут быть прямоугольными, // но должны иметь одинаковые размеры; // infb, supb - векторы левых и правых концов интервалов правой части // интервальной системы линейных алгебраических уравнений. // // Необязательные входные аргументы функции: // iprn - выдача протокола поиска; если iprn > 0 - информация // о ходе процесса печатается через каждые iprn-итераций; // если iprn <= 0 (значение по умолчанию), печати нет; // epsf - допуск на точность по значению целевого функционала, // по умолчанию устанавливается 1.0e-6; // epsx - допуск на точность по аргументу целевого функционала, // по умолчанию устанавливается 1.0e-6; // epsg - допуск на малость нормы суперградиента функционала, // по умолчанию устанавливается 1.0e-6; // maxitn - ограничение на количество шагов алгоритма, // по умолчанию устанавливается 2000. // // Выходные аргументы функции: // tolmax - значение максимума распознающего функционала; // argmax - доставляющий его вектор значений аргумента,который // лежит в допусковом множестве решений при tolmax>=0; // envs - значения образующих распознающего функционала в точке // его максимума, отсортированные по возрастанию; // ccode - код завершения алгоритма (1 - по допуску epsf на // изменения значений функционала, 2 - по допуску epsg // на суперградиент, 3 - по допуску epsx на вариацию // аргумента, 4 - по числу итераций, 5 - не найден // максимум по направлению). //////////////////////////////////////////////////////////////////////////////// // // Эта программа выполняет исследование разрешимости линейной задачи // о допусках для интервальной системы линейных уравнений Ax = b с матрицей // A = [infA, supA] и правой частью b = [infb, supb] с помощью максимизации // распознающего функционала Tol допускового множества решений этой системы. // См. подробности в // Шарый С.П. Конечномерный интервальный анализ. - Новосибирск: XYZ, // 2020. - Электронная книга, доступная на http://www.nsc.ru/interval/ // параграф 6.4; // Shary S.P. Solving the linear interval tolerance problem // // Mathematics and Computers in Simulation. - 1995. - Vol. 39. // - P. 53-85. // // Для максимизации вогнутого распознающего функционала используется // вариант алгоритма суперградиентного подъёма с растяжением пространства // в направлении разности последовательных суперградиентов, предложенный // (для случая минимизации) в работе // Шор Н.З., Журбенко Н.Г. Метод минимизации, использующий операцию // растяжения пространства в направлении разности двух последовательных // градинетов // Кибернетика. - 1971. - №3. - С. 51-59. // В качестве основы этой части программы использована процедура негладкой // оптимизации ralgb5, разработанная и реализованная П.И.Стецюком (Институт // кибернетики НАН Украины, Киев). // // С.П. Шарый, ФИЦ ИВТ, НГУ, 2007-2019. // М.Л. Смольский, СПбГПУ, 2019-2021. // //////////////////////////////////////////////////////////////////////////////// // // проверка корректности входных данных // mi = size(infA,1); ni = size(infA,2); ms = size(supA,1); ns = size(supA,2); if mi==ms then m = ms else error('Количество строк в матрицах левых и правых концов неодинаково') end if ni==ns then n = ns // n - размерность пространства переменных else error('Количество столбцов в матрицах левых и правых концов неодинаково') end ki = size(infb,1); ks = size(supb,1); if ki== ks then k = ks else error('Количество компонент у векторов левых и правых концов неодинаково') end if k ~= m then error('Размеры матрицы системы не соответствуют размерам правой части') end //////////////////////////////////////////////////////////////////////////////// // // задание параметров алгоритма суперградиентного подъёма // maxitn = 2000; // ограничение на количество шагов алгоритма nsims = 30; // допустимое количество одинаковых шагов epsf = 1.0e-6; // допуск на изменение значения функционала epsx = 1.0e-6; // допуск на изменение аргумента функционала epsg = 1.0e-6; // допуск на норму суперградиента функционала alpha = 2.3; // коэффициент растяжения пространства в алгоритме hs = 1.0; // начальная величина шага одномерного поиска nh = 3; // число одинаковых шагов одномерного поиска q1 = 0.9; // q1, q2 - параметры адаптивной регулировки q2 = 1.1; // шагового множителя iprn = 0; // печать о ходе процесса через каждые iprn-итераций // (если iprn < 0, то печать подавляется) //////////////////////////////////////////////////////////////////////////////// // // переназначение параметров алгоритма, заданных пользователем // nargin = argn(2); if nargin >= 5 iprn = ceil(varargin(1)); if nargin >= 6 epsf = varargin(2); if nargin >= 7 epsx = varargin(3); if nargin >= 8 epsg = varargin(4); if nargin >= 9 maxitn = varargin(5); end end end end end //////////////////////////////////////////////////////////////////////////////// function [f,g,tt] = calcfg(x) // // функция, вычисляющая значения f максимизируемого распознающего // функционала допускового множества решений и его суперградиента g // кроме того, выводится вектор tt значений образующих функционала // // для быстрого вычисления образующих распознающего функционала // используются сокращённые формулы умножения интервальной матрицы // на точечный вектор, через середину и радиус absx = abs(x); Ac_x = Ac * x; Ar_absx = Ar * absx; infs = bc - (Ac_x + Ar_absx); sups = bc - (Ac_x - Ar_absx); tt = br - max(abs(infs), abs(sups)); // сборка значения всего распознающего функционала [f, mc] = min(tt); // вычисление суперградиента той образующей распознающего функционала, // на которой достигается предыдущий минимум infA_mc = infA(mc, :)'; supA_mc = supA(mc, :)'; x_neg = x < 0; x_nonneg = x >= 0; dl = infA_mc .* x_neg + supA_mc .* x_nonneg; ds = supA_mc .* x_neg + infA_mc .* x_nonneg; if -infs(mc) <= sups(mc) g = ds; else g = -dl; end endfunction //////////////////////////////////////////////////////////////////////////////// // // формируем начальное приближение x как решение либо псевдорешение // 'средней' точечной системы, если она не слишком плохо обусловлена, // иначе берём начальным приближением нулевой вектор // Ac = 0.5*(infA + supA); Ar = 0.5*(supA - infA); bc = 0.5*(infb + supb); br = 0.5*(supb - infb); sv = svd(Ac); minsv = min(sv); maxsv = max(sv); if ( minsv~=0 & maxsv/minsv < 1.e+12 ) x = Ac\bc; else x = zeros(n,1); end //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// // // Рабочие массивы: // B - матрица обратного преобразования пространства аргументов // g - вектор суперградиента максимизируемого функционала // g1,g2 - используются для хранения вспомогательных векторов // vf - вектор приращений функционала на последних nsims шагах алгоритма B = eye(n,n); // инициализируем единичной матрицей vf = %inf*ones(nsims,1); // инициализируем массивом из бесконечностей //////////////////////////////////////////////////////////////////////////////// // // Присваивание строк оформления протокола работы программы TitLine = 'Протокол максимизации распознающего функционала Tol'; HorLine = '-----------------------------------------------------------'; TabLine = ' Шаг Tol(x) Tol(xx) ВычФун/шаг ВычФун'; //////////////////////////////////////////////////////////////////////////////// // // установка начальных параметров, вывод заголовка протокола // w = 1.0/alpha - 1; lp = iprn; [f,g0,tt] = calcfg(x); ff = f; xx = x; cal = 1; ncals = 1; if iprn > 0 printf('\n%100s',TitLine); printf('\n%60s',HorLine); printf('\n%77s',TabLine); printf('\n%60s',HorLine); printf('\n%5u%17g%17g%9u%9u',0,f,ff,cal,ncals); end //////////////////////////////////////////////////////////////////////////////// // основной цикл программы: // itn - счётчик числа итераций // xx - найденная точка максимума функционала // ff - значение функционала в точке максимума // cal - количество вычислений функционала на текущем шаге // ncals - общее количество вычислений целевого функционала // for itn = 1:maxitn; pf = ff; // критерий останова по норме суперградиента if norm(g0) < epsg ccode = 2; break end // вычисляем суперградиент в преобразованном пространстве g1 = B' * g0; g = B * g1/norm(g1); normg = norm(g); // одномерный подъём по направлению dx: // cal - счётчик шагов одномерного поиска, // deltax - вариация аргумента в процессе поиска r = 1; cal = 0; deltax = 0; while ( r > 0. & cal <= 500 ) cal = cal + 1; x = x + hs*g; deltax = deltax + hs*normg; [f, g1, tt] = calcfg(x); if f > ff ff = f; xx = x; end // если прошло nh шагов одномерного подъёма, // то увеличиваем величину шага hs if modulo(cal, nh) == 0 hs = hs*q2; end r = g'*g1; end // если превышен лимит числа шагов одномерного подъёма, то выход if cal > 500 ccode = 5; break; end // если одномерный подъём занял один шаг, // уменьшаем величину шага hs if cal == 1 hs = hs*q1; end // уточняем статистику и при необходимости выводим её ncals = ncals + cal; if itn == lp printf('\n%5u%17g%17g%9u%9u',itn,f,ff,cal,ncals); lp = lp + iprn; end // если вариация аргумента в одномерном поиске мала, то выход if deltax < epsx ccode = 3; break; end // пересчитываем матрицу преобразования пространства dg = B' * (g1 - g0); xi = dg / norm(dg); B = B + w*(B*xi)*xi'; g0 = g1; // проверка изменения значения функционала на последних nsims шагах, // относительного либо абсолютного vf(2:nsims) = vf(1:nsims-1); vf(1) = abs(ff - pf); if abs(ff) > 1 deltaf = sum(vf)/abs(ff); else deltaf = sum(vf); end if deltaf < epsf ccode = 1; break end ccode = 4; end tolmax = ff; argmax = xx; // сортируем образующие распознающего функционала по возрастанию tt = [(1:m)', tt]; [z,ind] = gsort(tt(:,2),'g','i'); envs = tt(ind,:); //////////////////////////////////////////////////////////////////////////////// // вывод результатов работы if iprn > 0 if modulo(itn,iprn) ~= 0 printf('\n%5u%17g%17g%9u%9u',itn,f,ff,cal,ncals); end printf('\n%60s\n',HorLine); end //////////////////////////////////////////////////////////////////////////////// if tolmax >= 0 printf('\n%48s\n\n','Интервальная линейная задача о допусках разрешима') else printf('\n%54s\n\n','Интервальная линейная задача о допусках не имеет решений') end //////////////////////////////////////////////////////////////////////////////// if ( tolmax < 0. & abs(tolmax/epsf) < 10 ) printf('%55s\n','Вычисленный максимум находится в пределах заданной точности') printf('%50s\n','- перезапустите программу с меньшими epsf и epsx, чтобы') printf('%55s\n\n','получить больше информации о разрешимости задачи о допусках') end //////////////////////////////////////////////////////////////////////////////// endfunction ////////////////////////////////////////////////////////////////////////////////
cd6533b05ee98118a7ebf1ba76c6914aff553c3a
449d555969bfd7befe906877abab098c6e63a0e8
/2660/CH5/EX5.25/Ex5_25.sce
d29c90d351ab271ed8f141b97634e90c29e62dda
[]
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
613
sce
Ex5_25.sce
clc C = 1000 // cost of fixture Co = 700 // cost of old fixture Cs = 250 // scrap value a = 10 //saving per piece in paisa a = a/100 b = 30 // overhead applied on direct labour saved b = b/100 I = 8 // interest rate I = I/100 M = 3 // allowance for maintenance M = M/100 T = 12 // allowance for tax T = T/100 H = 3/2 // amortization D = 1/H // allowance for depreciation N = (C*(I+T+D+M)+(Co-Cs)*I)/(a*(1+b)) // pieces per year printf("\n Number of pieces which must be produced to break even so that fixture may pay for itself = %d pieces per year" , N) // Answers vary due to round off error
1a73dfed0076f30f635b1d082eac215d593c0e63
449d555969bfd7befe906877abab098c6e63a0e8
/770/CH7/EX7.11/7_11.sce
5464ab8040e1f5ab526ead354a1197fa4f93f9cd
[]
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
462
sce
7_11.sce
clear; clc; //Example - 7.11 //Page number - 246 printf("Example - 7.11 and Page number - 246\n\n"); //This problem involves proving a relation in which no numerical components are involved. //For prove refer to this example 7.11 on page number 246 of the book. printf(" This problem involves proving a relation in which no numerical components are involved.\n\n"); printf(" For prove refer to this example 7.11 on page number 246 of the book.");
d14ffe3208822fe36ce3738b0d737c9cc6c7f4ec
63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa
/test/0055.tst
97954b3e3f4e2d4687f8a86d02ddf5ded2a371d2
[]
no_license
fmeci/nfql-testing
e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c
6b7d465b32fa50468e3694f63c803e3630c5187d
refs/heads/master
2021-01-11T04:09:48.579127
2013-05-02T13:30:17
2013-05-02T13:30:17
71,239,280
0
0
null
2016-10-18T11:01:57
2016-10-18T11:01:55
Python
UTF-8
Scilab
false
false
309
tst
0055.tst
spliTTER IG {} fILtEr RRv { } FilTER Y {nOt P Or nj } V -> YC GROUper k {MoDUlE MmGzI{ } MoDULE Y{ fAv < UAKXT DEltA 56 YT < R RdelTA 5 } aggRegATE UX } UngRoupEr N { } GrouPFiLteR aFaw {} meRGeR n { MoDule T { braNches vIs } MODUle Q { BrAncHEs n } MoDule x { bRaNCheS c, z, mQ } ExpOrT Fpr }
82729e2beb66c15efbe8aa8a89ceb9f8255b7714
449d555969bfd7befe906877abab098c6e63a0e8
/2858/CH4/EX4.6/Ex4_6.sce
4a5ca8bcb0907bf4a0766187ee01808e3bfaec8d
[]
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
139
sce
Ex4_6.sce
//example 4.6 clc; funcprot(0); Gamma=16.8; B=1.5; //from table Nyq=120; qu=1/2*Gamma*B*Nyq; disp(qu," shear stress in kN/m^2");
8e36daad579afaea2de86df13a0d7e38db02df7d
a62e0da056102916ac0fe63d8475e3c4114f86b1
/set12/s_Higher_Engineering_Mathematics_B._S._Grewal_149.zip/Higher_Engineering_Mathematics_B._S._Grewal_149/CH2/EX2.48/ex48.sce
9fd3927d1a3b18febf40d7bc7bbd6763163a880f
[]
no_license
hohiroki/Scilab_TBC
cb11e171e47a6cf15dad6594726c14443b23d512
98e421ab71b2e8be0c70d67cca3ecb53eeef1df6
refs/heads/master
2021-01-18T02:07:29.200029
2016-04-29T07:01:39
2016-04-29T07:01:39
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
148
sce
ex48.sce
errcatch(-1,"stop");mode(2); A=[-1 2 -2;1 2 1;-1 -1 0] disp("R is matrix of transformation and D is a diagonal matrix ") [R D]=spec(A) exit();
88575115e8ab855d72218c41117d8ed986192eaa
449d555969bfd7befe906877abab098c6e63a0e8
/2882/CH7/EX7.14/Ex7_14.sce
9ff071f7dd2edea3a552fe07869dd879ce5a8019
[]
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
617
sce
Ex7_14.sce
//Tested on Windows 7 Ultimate 32-bit //Chapter 7 Field Effect Transistors Pg no. 251 clear; clc; //Given Data IDSS=15D-3;//drain saturation current in amperes VGS0=-6;//gate to source cutoff voltage in volts VGS_1=-2;//gate to source voltage in volts VGS_2=2;//gate to source voltage in volts //Solution ID_1=IDSS*(1-VGS_1/VGS0)^2;//drain current for VGS_1 in amperes ID_2=IDSS*(1-VGS_2/VGS0)^2;//drain current for VGS_2 in amperes printf("For VGS = %d Volts\nID = %.2f mA\n\n",VGS_1,ID_1*10^3); printf("For VGS = %d Volts\nID = %.2f mA\n\n",VGS_2,ID_2*10^3); //decimal are rounded off here
3209210c5b3215fe79654ab173b8e05be6776656
449d555969bfd7befe906877abab098c6e63a0e8
/2021/CH17/EX17.5/EX17_5.sce
cccda93c649f35aec7267ce6097bb29638ae1167
[]
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
267
sce
EX17_5.sce
//Finding of Force Exerted //Given rho=1000; d=0.07; V=25; theta=20; theta2=15; //To Find A=(%pi/4)*d^2 Fx=rho*A*V^2*(sin(%pi/9)+cos(%pi/12)); Fy=rho*A*V^2*(sin(%pi/9)-sin(%pi/12)); disp("Fx ="+string(Fx)+" Newtons"); disp("Fy ="+string(Fy)+" Newtons");
169d5c03942d482704966c5ebfeac6f6904da757
449d555969bfd7befe906877abab098c6e63a0e8
/3775/CH5/EX5.5/Ex5_5.sce
77362790adb1f8172c0b4b8acf70299ae0c8e29c
[]
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
458
sce
Ex5_5.sce
//Ex 5.5 page 186 clc; clear; close; Vs=220;//V Vo=660;// V Toff=100;// micro s //Vo=Vs/(1-alfa) alfa=1-Vs/Vo;// duty cycle //alfa=Ton/(Ton+Toff) Ton=alfa*Toff/(1-alfa);// micro s T=Ton+Toff;//micro s printf('Pulse width of output voltage, Ton = %d micro s & T = %d micro s',Ton,T) //(ii) reduce pulse width by 50% Ton=Ton/2;// micro s Toff=T-Ton;// micro s alfa=Ton/(Ton+Toff);// duty cycle Vo=Vs/(1-alfa);// V printf('\n New output voltage = %d V',Vo)
a052e979df1f42c4f0cf0e4d47e9846cd60bf011
676ffceabdfe022b6381807def2ea401302430ac
/solvers/CompressibleFlowSolver/Tests/IsentropicVortex16_P3.tst
c8a1a2484022dc2ba254f4956c7d9791f4cbc6f3
[ "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
1,020
tst
IsentropicVortex16_P3.tst
<?xml version="1.0" encoding="utf-8"?> <test> <description>Euler Isentropic Vortex P=3</description> <executable>CompressibleFlowSolver</executable> <parameters>IsentropicVortex16_P3.xml</parameters> <files> <file description="Session File">IsentropicVortex16_P3.xml</file> </files> <metrics> <metric type="L2" id="1"> <value variable="rho" tolerance="1e-12">0.00180046</value> <value variable="rhou" tolerance="1e-12">0.0032838</value> <value variable="rhov" tolerance="1e-12">0.00512593</value> <value variable="E" tolerance="1e-12">0.0114334</value> </metric> <metric type="Linf" id="2"> <value variable="rho" tolerance="1e-12">0.00328633</value> <value variable="rhou" tolerance="1e-12">0.00639972</value> <value variable="rhov" tolerance="1e-12">0.0118186</value> <value variable="E" tolerance="1e-12">0.0283689</value> </metric> </metrics> </test>
9f015110105e3bfab9ddc4e293ad39d79c10bc50
449d555969bfd7befe906877abab098c6e63a0e8
/2471/CH11/EX11.7/Ex11_7.sce
55a33ed1cddb4d6b9489bb59f52b85115d039fe2
[]
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
544
sce
Ex11_7.sce
clear ; clc; // Example 11.7 printf('Example 11.7\n\n'); printf('Page No. 320\n\n'); //given T1 = 40;// in degree T2 = 0;// in degree celcius //As from carnot cycle, C.O.P = (T1/(T1 - T2)), where temperature are in degree celcius C_O_P1 = ((T1+273)/((T1+273) - (T2+273))); printf('C.O.P. is %.1f \n',C_O_P1) // A secondary fluid as hot water at 60 deg C is used T3 = 60;// Temperature of hot water in degree celcius C_O_P2 = ((T3+273)/((T3+273) - (T2+273))); printf('C.O.P. when secondary fluid is used is %.1f \n',C_O_P2)
2ea48b325a698f16cef1bdb757c4cae3d6928bef
8217f7986187902617ad1bf89cb789618a90dd0a
/browsable_source/2.1.1/Unix/scilab-2.1.1/macros/xdess/hist3d.sci
7604bcfce2df003e009e949905a73225c6c14d79
[ "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
6,766
sci
hist3d.sci
function []=hist3d(f,labels,view) // hist3d() ---> example defaults=list(['x','y','z'],[0,%pi/4,%pi/3,xget('white'),2,0.25]) smod=0;first=1-smod; //gestion de la liste d'appel [lhs,rhs]=argn(0), if rhs<=0, write(%io(2),'hist3d(rand(10,10));'); hist3d(rand(10,10)); return;end; enable_r=0 select rhs case 1 then,[labels,view]=defaults(1:2);enable_r=1 case 2 then, select type(labels) case 10 then view=defaults(2);enable_r=1 case 1 then view=labels;[labels]=defaults(1);enable_r=0 else error('hist3d(f,[,legends] [,view])') end end, //tests de coherence select type(f) case 1 then [nr,nc]=size(f); xx=0:nc; yy=0:nr; case 15 then xx=f(2); yy=f(3);f=f(1); [nr,nc]=size(f); if prod(size(xx))<>nc+1 then error(89),end if prod(size(yy))<>nr+1 then error(89),end else error('first argument must be matrix or list (f,x,y)') end select prod(size(view)) case 3 then view(4:6)=[15,2,0.25] case 5 then view(6)=0.25 case 1 then view(2:6)=[%pi/4,%pi/3,15,2,0.25];enable_r=1 end //grid variables //-------------- prop=view(6) d=(1-prop)/2 // x=matrix(xx,1,nc+1), if prop<1 then // x=ones(1,nc).*.[d,d,1-d,1-d]+(0:nc-1).*.[1 1 1 1];x=[0 x nc] x1=x(1);xn=x(nc+1) x=(x(2:nc+1)-x(1:nc)).*.[d,d,1-d,1-d]+x(1:nc).*.[1 1 1 1];x=[x1 x xn] nc=4*nc+2 else x1=x(1);xn=x(nc+1) x=x(2:nc).*.[1 1 1];x=[x1 x1 x xn xn] nc=3*nc+1 end mnx=mini(x);mxx=maxi(x);xc=(mnx+mxx)/2 // y=matrix(yy,nr+1,1), if prop<1 then y1=y(1);yn=y(nr+1) y=(y(2:nr+1)-y(1:nr)).*.[d;d;1-d;1-d]+y(1:nr).*.[1;1;1;1];y=[y1;y;yn] nr=4*nr+2 else y1=y(1);yn=y(nr+1) y=y(2:nr).*.[1;1;1];y=[y1;y1;y;yn;yn] nr=3*nr+1 end mny=mini(y);mxy=maxi(y);yc=(mny+mxy)/2 x=x-xc*ones(x);y=y-yc*ones(y) // xe=[mnx-xc mxx-xc];ye=[mny-yc mxy-yc] // //parametres de visualisation initiaux //------------------------------------ //rotation and projection ; (xr,yr)=PROJ(ROT(theta,phi)*(x,y,f)) //ou ROT est la matrice de rotation : // | ct -st 0| // ROT=| cp*st cp*ct -sp| // | sp*st sp*ct cp| //et PROJ((xr,yr,fr))=(xr,yr) // //angles de rotation theta=view(2),phi=view(3); st=sin(theta);ct=cos(theta);sp=sin(phi);cp=cos(phi); //gain mxf=maxi(0,maxi(f));mnf=mini(0,mini(f)) range=(mxf-mnf); gain=view(1); if gain=0 then, gain=.25*sp*(abs(ye(2)-ye(1))*abs(st)+abs(xe(2)-xe(1))*abs(ct))/range; print(6,gain), end, f=f*gain;mxf=mxf*gain;mnf=mnf*gain; if prop<1 then f=f.*.[0 0 0 0;0 1 1 0;0 1 1 0;0 0 0 0] f=[0*ones(nr-1,1) [0*ones(1,nc-2);f]];f(nr,nc)=0 else f=f.*.[0 0 0;0 1 1;0 1 1];f(nr,nc)=0 end // //variables utiles //---------------- //calcul de la suite des indices relatifs a une ligne de la matrice nl=2 //nombre de lignes visulaisees simultaneement ind=ones(1,nc-1).*.[1 1 2 2]+((0:nc-2).*.[1 0 0 1]+(1:nc-1).*.[0 1 1 0])*2; nind=(nc-1)*4 nc2=nl*nc xsel=[1 2 2 1];ysel=[1 1 2 2]; // //boucle de localisation //---------------------- btn=1; while %t, //enveloppe convexe all=[1;1].*.([xe(xsel)' ye(ysel)']*[ct cp*st;-st cp*ct]); all(:,2)=all(:,2)+sp*[mxf*ones(4,1);mnf*ones(4,1)] // //extrema dans la fenetre xmax=maxi(all(:,1));xmin=mini(all(:,1)); ymax=maxi(all(:,2));ymin=mini(all(:,2)); dx=0.1*(xmax-xmin) dy=0.1*(ymax-ymin) xb=[xmin,xmax] yb=[ymin,ymax] if first=1 then //definition de la fenetre plot2d(0,0,0,'010',' ',[xb(1),yb(1),xb(2),yb(2)]) first=0 end // //trace des aretes de l'enveloppe convexe ksel=[1 2 2 3 3 4 4 1 5 6 6 7 7 8 8 5 1 5 2 6 3 7 4 8]; if smod=0 then xsegs(all(ksel,1),all(ksel,2)),end // //definition des points visibles de l'enveloppe convexe // iur (idr) : point en haut (bas) a droite // iul (idl) : point en haut (bas) a gauche // iu1 (id1) : point en haut (bas) et face avant // iub (idb) : point en haut (bas) et face arriere [w,ir]=maxi(all(1:4,1)) i1=modulo(ir,4)+1, if all(i1,2)>all(ir,2) then i1=modulo(ir+2,4)+1, il=modulo(i1+2,4)+1 ib=modulo(ir,4)+1 else i1=modulo(ir,4)+1, il=modulo(i1,4)+1 ib=modulo(ir+2,4)+1 end if sp<0 then id1=i1;idr=ir;idl=il;idb=ib; iu1=i1+4;iur=ir+4;iul=il+4;iub=ib+4; else iu1=i1;iur=ir;iul=il;iub=ib; id1=i1+4;idr=ir+4;idl=il+4;idb=ib+4; end // //le triedre visible vis=[all(iu1,:);all(id1,:);all(iu1,:);all(iur,:);all(iu1,:);all(iul,:)] //la surface visible de l'enveloppe convexe front=[all(iu1,:);all(id1,:);all(idr,:);all(iur,:);.. all(iu1,:);all(id1,:);all(idl,:);all(iul,:);.. all(iu1,:);all(iur,:);all(iub,:);all(iul,:)]; // //trace de la surface //------------------- // // choix de l'ordre de parcours if btn=1 then mm=modulo(iu1-1,4) print(6,mm) select modulo(iu1-1,4) case 0, l0=nr;il=-1;ind1=ind(nind:-1:1);ilab=[3,1,2] case 1, l0=nr;il=-1;ind1=ind;ilab=[3,2,1] case 2, l0=1;il=1;ind1=ind;ilab=[3,1,2] case 3, l0=1;il=1;ind1=ind(nind:-1:1);ilab=[3,2,1] end //trace xx(1:2:nc2)=ct*x-st*y(l0)*ones(x) yy(1:2:nc2)=cp*(st*x+ct*y(l0)*ones(x))+sp*f(l0,:) ff(1:2:nc2)=f(l0,:) for l=nr:-1:2 l0=l0+il xx(2:2:nc2)=ct*x-st*y(l0)*ones(x); yy(2:2:nc2)=cp*(st*x+ct*y(l0)*ones(x))+sp*f(l0,:); ff(2:2:nc2)=f(l0,:) zer=find([1 1 1 1]*abs(matrix(ff(ind1)',4,nind/4))<%eps);zer=zer'; pat=2*xget('white')+2-view(4); coul=pat*ones(nind/4,1) pat=2*xget('white')+2-view(5); coul(zer)=pat*ones(zer) xfpolys(matrix(xx(ind1),4,nind/4),.. matrix(yy(ind1),4,nind/4),coul); xx(1:2:nc2)=xx(2:2:nc2); yy(1:2:nc2)=yy(2:2:nc2); ff(1:2:nc2)=ff(2:2:nc2) end, // if smod==0 then //trace du triedre visible et des legendes xsegs(vis(:,1),vis(:,2)); for il=1:3 orig=vis(2*il,:)+0.1*(vis(2*il,:)-vis(1,:)) xstring(orig(1),orig(2),labels(ilab(il)),0,0); end end end //deplacement eventuel //-------------------- // if enable_r=0 then return,end if smod=1 then return,end [btn,xc,yc]=xclick();xy=[xc,yc]'; if btn<>1 then //recherche du sommet de l'enveloppe qui a ete designe dist=abs(all-ones(8,1)*xy')*[1;1]; [m,i]=mini(dist); // pas un sommet on quitte if abs((all(i,1)-xy(1))/(xmax-xmin))>0.1 then return,end if abs((all(i,2)-xy(2))/(ymax-ymin))>0.1 then return,end //acquisistion de la nouvelle position choisie pour ce sommet [btn,xc,yc]=xclick();xy=[xc,yc]'; // calcul de la transformation correspondante if i>4 then m=mnf,i=i-4,else m=mxf,end; ex=xe(xsel(i));ey=ye(ysel(i)); theta=real(asin( xy(1)/sqrt(ex*ex+ey*ey)))-atan(ex,-ey); st=sin(theta);ct=cos(theta); // u=ex*st+ey*ct; phi=real(asin((xy(2))/(sqrt(u*u+m*m)))-atan(u,m)); sp=sin(phi);cp=cos(phi); // //on efface l'enveloppe convexe xclear(); end end;
d9aed7235c683ea710685ce1e8d012db87144d3d
449d555969bfd7befe906877abab098c6e63a0e8
/536/CH4/EX4.3/Example_4_3.sce
3cd5a591379f977d641079f2f0a347a70610bed9
[]
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,074
sce
Example_4_3.sce
clc; printf("\n Example 4.3\n"); Q=50; //volumetric flow rate of methane P=101.3e3;//Given Pressure T1=288;//Given Temperature d=0.6;//Diameter of pipeline l=3e3;//length of the pipe line R_R=0.0001;//Relative roughness P2=170e3;//Pressure at which methane is to be discharged T2=297;//Temperature at which methane leaves the compressor M=16;//molecular mass of methane R=8314;//Gas constant Meu=1e-5;//Viscosity of methane at 293 K T=(T1+T2)/2;//Mean temperature P1_v1=R*T/(M); //At 288 K and 101.3 kN/m^2 v=P1_v1/P*T1/T; G=Q/v;//Mass flow rate of methane A=%pi/4*d^2;//cross sectional area of pipeline G_A=G/A; Re=G_A*d/Meu; //Y=R/(rho*u^2) = 0.0015 Y=0.0015;//(from fig 3.7) //The upstream pressure is calculated using equation 4.55: function[y]=pressure(P1) y=G_A^(2)*log(P1/P2)+(P2^2-P1^2)/(2*1.5525e5)+4*Y*(l/d)*G_A^2; funcprot(0); endfunction P1 = 1e5; z = fsolve(P1,pressure); printf("\n Pressure to be developed at the compressor in order to achieve this flowrate = %.2f * 10^5 N/m^2",z*1e-5);
9bad3132c3ed55d22d696114ac7d7daaf2321fb0
449d555969bfd7befe906877abab098c6e63a0e8
/125/CH4/EX4.5/Example4_5.sce
b8856e64d38cd1d2d4b7f9c87b4fddbf4e514fb1
[]
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
443
sce
Example4_5.sce
//Caption: 2D DFT of 4x4 grayscale image //Example4.5 //page 171 clc; F = [16,0,0,0;0,0,0,0;0,0,0,0;0,0,0,0]; N =4; //4-point DFT kernel = dft_mtx(N); f = (kernel*(F*kernel'))/(N^2); f = real(f); disp(f,'Inverse 2D DFT of the transformed image f =') //Result //Inverse 2D DFT of the transformed image f = // // 1. 1. 1. 1. // 1. 1. 1. 1. // 1. 1. 1. 1. // 1. 1. 1. 1.
d61f3370ab62bd2c2bebadd6f800f2b33c91ac95
449d555969bfd7befe906877abab098c6e63a0e8
/1049/CH7/EX7.23/ch7_23.sce
a2c8ef67bd0f83c3f2fcb449c45d8d26142794d2
[]
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
424
sce
ch7_23.sce
clear; clc; V_s=230; C=50*10^-6; L=20*10^-6; I_cp=V_s*sqrt(C/L); I_o=200; x=I_cp/I_o; t_c=(%pi-2*asin(1/x))*sqrt(C*L); printf("turn off time of main thyristor=%.2f us",t_c*10^6); th1=asind(1/x); t=(5*%pi/2-th1*%pi/180)*sqrt(L*C)+C*V_s*(1-cosd(th1))/I_o; printf("\ntotal commutation interval=%.3f us",t*10^6); t=(%pi-th1*%pi/180)*sqrt(L*C); printf("\nturn off time of auxillery thyristor=%.3f us",t*10^6);
3a9b0d44f8335a07c93a663f3a89d855a027efbd
1b969fbb81566edd3ef2887c98b61d98b380afd4
/Rez/bivariate-lcmsr-post_mi/bfas_ac_usi_d/~BivLCM-SR-bfas_ac_usi_d-PLin-VLin.tst
15a738e90a10828172dd9b5130d4fdafd56c4fab
[]
no_license
psdlab/life-in-time-values-and-personality
35fbf5bbe4edd54b429a934caf289fbb0edfefee
7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e
refs/heads/master
2020-03-24T22:08:27.964205
2019-03-04T17:03:26
2019-03-04T17:03:26
143,070,821
1
0
null
null
null
null
UTF-8
Scilab
false
false
11,909
tst
~BivLCM-SR-bfas_ac_usi_d-PLin-VLin.tst
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 1 2 3 4 5 ________ ________ ________ ________ ________ 1 0.266132D+00 2 -0.438931D-02 0.228397D-02 3 -0.110970D+00 0.292504D-02 0.313991D+00 4 0.277758D-02 -0.912338D-03 -0.168274D-02 0.282383D-02 5 0.274117D-03 0.209673D-03 -0.155065D-02 -0.193459D-03 0.275822D-02 6 0.363019D-03 -0.403425D-04 -0.112034D-03 0.893409D-04 0.367222D-04 7 0.161424D-02 0.226405D-04 -0.139588D-02 0.216423D-03 0.224584D-03 8 0.126229D-02 0.162065D-03 -0.142085D-03 -0.228184D-04 0.510490D-05 9 -0.494945D+00 0.235610D-01 0.544049D+00 -0.116829D-01 -0.139408D-01 10 -0.383618D+00 -0.666990D-03 0.182096D+00 -0.450308D-02 0.122376D+00 11 0.139682D-01 0.792026D-02 -0.325471D+00 0.298188D-02 0.232496D-01 12 0.441281D+00 0.394507D-01 0.548892D+00 -0.203843D-01 -0.176787D-01 13 0.119927D+00 -0.120162D-01 0.373876D-01 0.129247D-01 -0.144175D-01 14 0.170777D+00 0.250524D-01 0.471380D+00 0.271581D-01 0.417050D-01 15 -0.262759D+01 0.912229D-01 0.600268D+00 -0.361020D-01 -0.393452D-01 16 0.524125D-01 -0.160588D-01 -0.648911D-02 0.403819D-02 0.432278D-03 17 -0.635062D-02 -0.465067D-03 0.226948D-02 0.488174D-03 -0.102895D-02 18 0.709500D+00 -0.140354D-01 -0.690564D-01 -0.246394D-02 0.221281D-02 19 0.376888D-01 0.151188D-01 0.129847D+00 -0.870160D-02 -0.458081D-02 20 -0.490253D+00 0.904351D-02 -0.525506D+00 0.427279D-01 -0.255201D-01 21 -0.529081D-01 -0.442305D-02 -0.166958D+00 0.744026D-02 0.972526D-02 22 0.200757D-02 0.221087D-03 -0.129895D-03 -0.583523D-03 0.341458D-03 23 -0.232369D-01 -0.911556D-03 0.116260D-01 0.406787D-02 -0.170272D-02 24 0.145982D-02 -0.593343D-03 0.566185D-02 0.179237D-03 -0.754065D-04 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 6 7 8 9 10 ________ ________ ________ ________ ________ 6 0.598683D-03 7 0.510328D-03 0.329885D-02 8 -0.231722D-04 0.274966D-03 0.216813D-02 9 0.598547D-02 0.156084D-01 0.308113D-02 0.458666D+02 10 -0.611975D-02 0.174546D-02 -0.148482D-01 -0.102743D+01 0.164281D+02 11 0.255241D-01 0.537614D-01 0.648170D-02 -0.810782D+01 -0.102418D+01 12 -0.173257D-01 0.336224D-01 0.179306D+00 0.265448D+01 -0.156217D+01 13 0.432127D-01 0.927792D-01 0.606048D-02 0.252790D+01 -0.137454D+01 14 -0.535908D-02 0.456058D-01 0.170423D+00 0.363679D+00 0.366086D+01 15 0.109901D-01 0.617340D-01 0.174827D-01 0.424253D+01 -0.798309D+01 16 0.155533D-02 0.110800D-02 -0.194623D-02 0.407001D+00 0.407531D-01 17 -0.675502D-04 -0.931156D-03 -0.339935D-03 -0.123565D+00 0.297642D-01 18 -0.459951D-01 -0.123717D+00 -0.102128D-01 0.189355D+01 0.264092D+01 19 -0.110151D-01 0.556386D-02 -0.131545D-03 0.976403D+00 0.471538D+00 20 -0.310370D-01 -0.742206D-01 -0.203273D+00 0.710453D+01 0.337367D+01 21 0.952672D-02 -0.591601D-02 0.197493D-02 -0.103018D+01 -0.239501D+00 22 -0.915371D-04 0.418799D-03 0.322123D-03 -0.167885D-01 -0.125920D-01 23 0.660659D-03 0.180559D-02 -0.339817D-03 -0.131988D+00 0.400898D-01 24 0.136236D-03 0.435647D-04 -0.308121D-03 -0.439242D-01 -0.530895D-02 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 11 12 13 14 15 ________ ________ ________ ________ ________ 11 0.349746D+02 12 -0.196912D+02 0.157984D+03 13 -0.467836D+00 0.128285D+01 0.124862D+02 14 0.235557D+01 0.127624D+02 -0.440637D+01 0.638077D+02 15 0.228879D+01 -0.952503D+01 0.700039D+00 -0.241866D+01 0.247265D+03 16 -0.153346D+00 -0.135787D+00 0.204641D+00 -0.785543D-01 0.163487D+01 17 0.185675D-01 -0.224862D-01 -0.186675D-01 -0.128278D-01 -0.117189D+01 18 -0.536332D+01 0.217936D+02 -0.533623D+01 0.250047D+01 -0.949275D+02 19 -0.127080D+00 -0.503536D+00 0.803926D-01 0.954197D+00 -0.329462D+01 20 -0.170948D+01 -0.712360D+02 -0.150772D+01 -0.326192D+02 0.288244D+02 21 0.387809D+00 0.358917D+00 -0.194522D+00 -0.606641D+00 0.178815D+01 22 -0.244395D-01 -0.513575D-02 -0.289417D-02 0.247784D-01 0.526424D+00 23 0.123299D+00 0.352680D-01 0.479541D-01 -0.978711D-01 0.896432D-01 24 0.688044D-02 0.286378D-01 0.976867D-02 -0.242439D-02 -0.223727D+00 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 16 17 18 19 20 ________ ________ ________ ________ ________ 16 0.510537D+00 17 -0.413247D-01 0.152538D-01 18 -0.531665D+00 0.493943D+00 0.158785D+03 19 -0.342011D+00 0.355532D-01 -0.116656D+01 0.460095D+01 20 0.118134D+00 -0.169923D+00 -0.855678D+02 0.510877D+01 0.316329D+03 21 0.305510D-01 -0.157183D-01 0.373115D+01 -0.417270D+01 -0.544127D+01 22 0.912080D-02 -0.620352D-02 -0.850740D+00 0.660067D-02 0.393099D+00 23 0.425087D-01 0.292992D-03 -0.816507D+00 -0.251556D+00 0.307741D+01 24 0.522979D-03 0.313025D-02 0.455286D+00 0.789065D-02 -0.141938D+01 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 21 22 23 24 ________ ________ ________ ________ 21 0.461980D+01 22 -0.363148D-01 0.940891D-02 23 0.296209D-01 0.117707D-01 0.371091D+00 24 0.731876D-02 -0.465834D-02 -0.360429D-01 0.138915D-01 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 1 2 3 4 5 ________ ________ ________ ________ ________ 1 1.000 2 -0.178 1.000 3 -0.384 0.109 1.000 4 0.101 -0.359 -0.057 1.000 5 0.010 0.084 -0.053 -0.069 1.000 6 0.029 -0.035 -0.008 0.069 0.029 7 0.054 0.008 -0.043 0.071 0.074 8 0.053 0.073 -0.005 -0.009 0.002 9 -0.142 0.073 0.143 -0.032 -0.039 10 -0.183 -0.003 0.080 -0.021 0.575 11 0.005 0.028 -0.098 0.009 0.075 12 0.068 0.066 0.078 -0.031 -0.027 13 0.066 -0.071 0.019 0.069 -0.078 14 0.041 0.066 0.105 0.064 0.099 15 -0.324 0.121 0.068 -0.043 -0.048 16 0.142 -0.470 -0.016 0.106 0.012 17 -0.100 -0.079 0.033 0.074 -0.159 18 0.109 -0.023 -0.010 -0.004 0.003 19 0.034 0.147 0.108 -0.076 -0.041 20 -0.053 0.011 -0.053 0.045 -0.027 21 -0.048 -0.043 -0.139 0.065 0.086 22 0.040 0.048 -0.002 -0.113 0.067 23 -0.074 -0.031 0.034 0.126 -0.053 24 0.024 -0.105 0.086 0.029 -0.012 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 6 7 8 9 10 ________ ________ ________ ________ ________ 6 1.000 7 0.363 1.000 8 -0.020 0.103 1.000 9 0.036 0.040 0.010 1.000 10 -0.062 0.007 -0.079 -0.037 1.000 11 0.176 0.158 0.024 -0.202 -0.043 12 -0.056 0.047 0.306 0.031 -0.031 13 0.500 0.457 0.037 0.106 -0.096 14 -0.027 0.099 0.458 0.007 0.113 15 0.029 0.068 0.024 0.040 -0.125 16 0.089 0.027 -0.058 0.084 0.014 17 -0.022 -0.131 -0.059 -0.148 0.059 18 -0.149 -0.171 -0.017 0.022 0.052 19 -0.210 0.045 -0.001 0.067 0.054 20 -0.071 -0.073 -0.245 0.059 0.047 21 0.181 -0.048 0.020 -0.071 -0.027 22 -0.039 0.075 0.071 -0.026 -0.032 23 0.044 0.052 -0.012 -0.032 0.016 24 0.047 0.006 -0.056 -0.055 -0.011 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 11 12 13 14 15 ________ ________ ________ ________ ________ 11 1.000 12 -0.265 1.000 13 -0.022 0.029 1.000 14 0.050 0.127 -0.156 1.000 15 0.025 -0.048 0.013 -0.019 1.000 16 -0.036 -0.015 0.081 -0.014 0.146 17 0.025 -0.014 -0.043 -0.013 -0.603 18 -0.072 0.138 -0.120 0.025 -0.479 19 -0.010 -0.019 0.011 0.056 -0.098 20 -0.016 -0.319 -0.024 -0.230 0.103 21 0.031 0.013 -0.026 -0.035 0.053 22 -0.043 -0.004 -0.008 0.032 0.345 23 0.034 0.005 0.022 -0.020 0.009 24 0.010 0.019 0.023 -0.003 -0.121 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 16 17 18 19 20 ________ ________ ________ ________ ________ 16 1.000 17 -0.468 1.000 18 -0.059 0.317 1.000 19 -0.223 0.134 -0.043 1.000 20 0.009 -0.077 -0.382 0.134 1.000 21 0.020 -0.059 0.138 -0.905 -0.142 22 0.132 -0.518 -0.696 0.032 0.228 23 0.098 0.004 -0.106 -0.193 0.284 24 0.006 0.215 0.307 0.031 -0.677 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 21 22 23 24 ________ ________ ________ ________ 21 1.000 22 -0.174 1.000 23 0.023 0.199 1.000 24 0.029 -0.407 -0.502 1.000
545a7a6fde5c29c701fc997c7d18026f1e581510
bbc11c0776778eadc6701c4eedfe19ae8dfa1584
/scilab/substituicaoRetroativa.sce
5636dd31bdad118855adbc4bca358ae74aa48851
[]
no_license
ceconelli/Metodos-Computacionais
842eeebf11cc74acc66fa08d7ca67f9c45f3b268
07f4326c4821facaf5989f89d5d959f8000e062c
refs/heads/master
2020-06-03T03:23:51.762483
2017-06-12T16:12:12
2017-06-12T16:12:12
94,114,311
0
0
null
null
null
null
UTF-8
Scilab
false
false
191
sce
substituicaoRetroativa.sce
y=[5 -2 6 1;0 3 7 -4;0 0 4 5;0 0 0 2]; c=[1 -2 28 8]; x=[0 0 0 0]; for i=4:-1:1 soma=0; for j=i+1:4 soma=soma+(y(i,j)*x(j)); end x(i)=(c(i)-soma)/y(i,i); end disp(x);
2ea8f48982ae576af24f358de357a3fdfc1f9da0
449d555969bfd7befe906877abab098c6e63a0e8
/2045/CH5/EX5.10/Ex5_10.sce
971e82683e8afa95335ee0307b7303ebf3a52f50
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
262
sce
Ex5_10.sce
//pagenumber 290 example 10 clear re=1*10^3;//ohm hie=100;//ohm hfe=100; //voltage gain volgai=1/((1+(hie/(2*(1+hfe)*re)))); //ri ri=(hie/2)+(1+hfe)*re; disp("voltage gain = "+string((volgai))); disp("input resistance = "+string((ri))+"ohm");
fbb75b73d8bdc813fa47c334bcf7e42b9338bb7f
10c4e756cd02827a2850ac551e68da15c21dff39
/video_condition.sce
fcec49d9377d1c578d3f2f0e1aad1762fb30dc8c
[]
no_license
bkretzmeyer/decision-making-in-lane-merging
401e811c6a8a7bd0b0b707e4ddd469b215edde9a
fdd5a0594b588e499cb6a787f38f6b362917d113
refs/heads/master
2020-06-04T08:49:30.864860
2020-01-10T13:07:36
2020-01-10T13:07:36
191,951,825
2
0
null
null
null
null
UTF-8
Scilab
false
false
1,365
sce
video_condition.sce
#### Benedikt Kretzmeyer - current version: 11.11.2019 #### Decision-Making and how it as affected by Cognitive Workload in a Lane Merging Task. #### A fMRI driving simulator study ### Script is supposed to: ### - calibrate and control eyetracker ### - play video ### - play nback soundfile ### - record button presses and compare them to the expected button presses ## settings # default path for stimuli - needs to be changed accordingly default_path = "C:\\Users\\zuse\\OneDrive - FernUniversität Hagen\\Masterarbeit_Data\\presentationtest"; # Define default settings default_font = "Times New Roman"; default_font_size = 25; default_text_color = 200,200,200; default_formatted_text = true; default_background_color = 35,40,40; # buttons active_buttons = 3; button_codes = 1,2,3; target_button_codes = 101,102,103; response_matching = simple_matching; ## SDL Part # begin begin; # define stimuli # define trials trial { # nothing stimulus required for parallel stimulus events nothing {}; # play entire video video { filename = "newtest1_vd.avi"; } vid1; # play sound as long as video sound { wavefile { filename = "nback1_nr_1.wav"; }; } sound1; parallel = true; } trialvideo1; trial { # play entire video video { filename = "newtest2_vd.avi"; } vid2; } trialvideo2; begin_pcl; trialvideo1.present(); trialvideo2.present();
6a755eed1406595224172202a61b722889b95fbc
449d555969bfd7befe906877abab098c6e63a0e8
/3543/CH3/EX3.17/Ex3_17.sce
48e3c6aadb40bae693ce58eaa4267c153f4f44b8
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
427
sce
Ex3_17.sce
// Example 3.17 //Computation of conversion efficiency // Page no 484 clc; clear; //Given data i=10*10^-6; // Device current p=5; // Electrical power op=50 *10^-6; // Optical power ip=5*10*10^-3; // Input power //Conversion efficiency c=op/ip*100; //Display result on command window printf("\n Conversion efficiency (in percentage)= %0.1f ",c);
f8ee6881c25e0da11e70496fd1800e05a6a1e454
449d555969bfd7befe906877abab098c6e63a0e8
/3669/CH3/EX3.10/10.sce
e8f138d43ac153f6bd4f2fc12c722df26f0cfbb6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
351
sce
10.sce
//Variable declaration lamda=1.54; //wavelength(angstrom) h=1; k=1; l=1; n=1; theta=19.2; //angle(degrees) //Calculation theta=theta*%pi/180; //angle(radian) d=n*lamda/(2*sin(theta)); a=d*sqrt(h**2+k**2+l**2); //cube edge of unit cell(angstrom) //Result printf('cube edge of unit cell is %0.3f angstrom \n',(a))
2e1bb7ae12740365d4c9c8b1b4b98f057b95acb1
449d555969bfd7befe906877abab098c6e63a0e8
/2159/CH11/EX11.5/115.sce
0ba03f77e6fd367949d2016383355abba1a3ecd9
[]
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
267
sce
115.sce
// problem 11.5 H=50 Q=1.2 u1=18 y=160 y2=180-y Cv=0.94 g=9.81 V1=Cv*((2*g*H)^0.5) Vw1=V1 Vr1=V1-u1 Vr2=Vr1 Vw2=Vr2*(cosd(y2))-u1 w=9810 P=(w*Q*(Vw1+Vw2)*u1)/(g*1000) n=P*1000/(w*Q*H) disp(n*100,P,"power developed in Kw and efficiency of the wheel")
75f03e4e4049fcd1e9e9e71c6480d15792fa27ff
449d555969bfd7befe906877abab098c6e63a0e8
/1754/CH1/EX1.1/Exa1_1.sce
4b41d2ca26327759589365cf7654605f4642d283
[]
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
404
sce
Exa1_1.sce
//Exa 1.1 clc; clear; close; //Given data I=40;//in mA V=0.25;//in Volt T=20;//in degree C T=T+273;//in Kelvin ETA=1;//For Ge e=1.6*10^-19;//in Coulamb(electronic charge) k=1.38*10^-23;//in J/K(Boltzman Constant) //Formula : I=Io*(exp(%e*V/(ETA*k*T))-1) y=(e*V/(ETA*k*T));//Assumed y=round(y); Io=I*10^-3/(exp(y)-1);//in mA disp(Io*10^6,"Reverse saturation current in micro Ampere : ");
09a2800f2fa52c9017596ffe82464e78e3835d14
449d555969bfd7befe906877abab098c6e63a0e8
/1658/CH20/EX20.10/Ex20_10.sce
33a028b736d12ff0b0ade8239437938ea565907d
[]
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
73
sce
Ex20_10.sce
clc; hfe=50; hfb=-hfe/(1+hfe); disp(hfb); hfc=-(1+hfe); disp(hfc);
c239dda14c2a937e244d06c5253d4b5518798443
cafd8519410b1371e80fafecc5f233a5a34edc65
/lista-7/2-questao-delfino.sce
e035207c7ebec2c3b1168705c479c6bb9c7282b6
[]
no_license
pdelfino/numerical-analysis
1da89897284a92af69941ef4f63b888a0a4f3016
aa4d7ade992690263bd5ec159a8c11cc7aeb587c
refs/heads/master
2020-03-25T18:04:21.542228
2019-04-02T20:53:47
2019-04-02T20:53:47
144,011,835
1
0
null
null
null
null
UTF-8
Scilab
false
false
829
sce
2-questao-delfino.sce
function z = f(t,y) //f(t,z) represents the sysmte of ODEs: // -the first argument should always be the independe variable // -the second argument should always be the dependent variables // -it may have more than two arguments // -y is a vector 2x1: y(1) = theta, y(2) = theta' // -z is a vector 2x1: z(1) = z , z(2) = z' z(1) = y(2) //first equation: z = theta' z(2) = 10*sin(y(1)) //second equation: z' = 10*sin(theta) endfunction ts = linspace(0,3,200); theta0 = %pi/4; dtheta0 = 0; y0 = [theta0; dtheta0]; t0 = 0; thetas = ode('rk',y0, t0, ts, 0.1, f); //the output have the same order //as the argument `y` of f() scf(1); clf(); plot2d(thetas(2,:),thetas(1,:),-5); xtitle('Phase portrait', 'theta''(t)','theta(t)'); xgrid();
52adf99a670a1ddd655760b787b0ead794398ebd
bbdc72de6d7eef74128eaf52b1f040053943de38
/Code/Doolittle_Factorisation LU.sci
88c6783c16a4c96fe4607e01480bdac0c713aeed
[]
no_license
Abdel-BHPC/Numerical-analysis
46bb4dbcd26e00d6c4f405fe59a1ba433b8b72e0
2bcdb80d9ab8890d036eac3cce92b595abb88784
refs/heads/main
2023-03-02T14:11:06.939206
2021-02-08T08:40:07
2021-02-08T08:40:07
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,248
sci
Doolittle_Factorisation LU.sci
/* Etideur: Jinshan GUO Objecitf: Fonction à réaliser l'algorithme de Doolittle pour le calcul direct en factorisation LU Principe A = LU => Ax = b => LUx = b => Ly = b,Ux = y Containtes: A est une matrice carré inversible L est une matrice triangulaire inférieure dont les termes diagonaux sont 1 U est une matrice triangulaire supérieure b est un vecteur colonne y est un vecteur colonne intermédiaire x est un vecteur colonne objetif à obtenir Valeur retour: L,U,x */ function [L,U,x] = Doolittle_Factorisation_LU(A,b) n = size(A)(1) //Nombre de ligne de matrice //Initialisation de L et U L = eye(n,n); U = zeros(n,n); for k=1:n //disp(L); //disp(U); U(k,k:n) = A(k,k:n) - L(k,1:k) * U(1:k,k:n); if abs(U(k,k)) < %eps then error('Pivot nul'); end L(k+1:n,k) = 1/U(k,k) * (A(k+1:n,k) - L(k+1:n,1:k) * U(1:k,k)); end //Calculer y exec(fullpath(pwd() + '\Système Triangulaire Inférieur_SL.sci'),-1); [y] = sloinf(L,b); //Calculer x exec(fullpath(pwd() + '\Système Triangulaire Supérieur_SL.sci'),-1); [x] = slosup(U,y); endfunction
94bf7aa0806807c3a2ddab733df5a67cd691cdb9
449d555969bfd7befe906877abab098c6e63a0e8
/29/CH4/EX4.4.3/exa4_4_3.sce
85f07f40741364ba1bd9de69c9044a25a253bf1f
[]
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
565
sce
exa4_4_3.sce
//Caption:to_find_various_signal_flow_graph_parameter // example 4.4.3 //page 66 syms a b c d e f g h ij // forward path denoted by P1,P2 and so on and loop by L1,L2 and so on //path factor by D1,D2 and so on and graph determinant by D //six independent path P1=a*b*d P2=e*f*h P3=a*j*h P4=e*i*d P5=-e*i*c*j*h P6=-a*j*g*i*d //3 INDIVIDUAL LOOPS L1=-b*c L2=-f*g L3=-i*c*j*g //NON TOUCHING LOOPS L1L2=L1*L2 //PATH FACTORS D3=1;D4=1;D5=1;D6=1 D1=1-L2 D2=1-L1 //GRAPH DETERMINANT D=1-(L1+L2+L3)+(L1L2); D=simple(D) disp(D,"graph_determinant=")
edd3aafc00563d0087a129db91daaa22060f18fa
449d555969bfd7befe906877abab098c6e63a0e8
/2087/CH5/EX5.20/example5_20.sce
bfc9847db05894df4b863600c30ac24dfc54942f
[]
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
412
sce
example5_20.sce
//example 5.20 ////calculate //yield from well clc; //given h1=2.5; //initial pumping depression h=1.8; //heigth after recuperation t=80; //time h2=h1-h; KbyA=2.303*60*log10(h1/h2)/t; d=4; //diameter of well H=3; //depression head A=%pi*d^2/4; Q=(KbyA)*A*H/3.6; Q=round(Q); mprintf("\nYield from well=%f lit/sec.",Q);
5f3107213f5b882a7115d744e63cb21a589a909b
449d555969bfd7befe906877abab098c6e63a0e8
/2606/CH9/EX9.13/ex9_13.sce
76673f80292b6647231b88cda81458480a3188a5
[]
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,206
sce
ex9_13.sce
//Page Number: 9.20 //Example 9.13 clc; //Given Mf1=0.003; //for f<=1.5D+3 Hz f1=1.5D+3; //Hz Mf2=0.001; //for 1.5D+3 <=f<=3D+3 Hz f2=3D+3; //Hz Mf3=0; //for f>3D+3 Hz //(a) Ac that power transmitted is 100mW St=100D-3; //W //As St=2*[{f1*(Mf1*Ac/2)^2}+{f1*(Mf2*Ac/2)^2}+{f2*(Mf3*Ac/2)^2}] //Neglecting Mf3 as zero Ac=sqrt((4*St)/(2*f1*(Mf1^2+Mf2^2))); disp('V',Ac,'Ac for s(t)=100mw:'); //(b)Power in abscence of noise Zt=2*[{f1*(((Mf1*Ac)/4)^2)}+{f1*(((Mf2*Ac)/4)^2)}+{f2*(((Mf3*Ac)/4)^2)}]; disp('W',Zt,'Power in absence of Noise:'); //(c) //Given N0=0.0001D-3; //W/Hz //Psd=N0/4 //Pt=2*f1*N0/4 Pt=(2*f2*N0)/4; disp('W',Pt,'Power:'); //(d) SNR at output SNR=Zt/Pt; SNRO=10*log10(SNR); disp('dB',SNRO,'SNR at output for SSB:'); //(e)For DSB St1=100D-3; //W //As St=4*[{f1*(Mf1*Ac/2)^2}+{f1*(Mf2*Ac/2)^2}+{f2*(Mf3*Ac/2)^2}] //Neglecting Mf3 as zero Ac1=sqrt((4*St)/(4*f1*(Mf1^2+Mf3^2))); Zt1=4*[{f1*(((Mf1*Ac)/4)^2)}+{f1*(((Mf2*Ac)/4)^2)}+{f2*(((Mf3*Ac)/4)^2)}]; //SNR at output SNR1=Zt1/Pt; SNRO1=10*log10(SNR1); disp('dB',SNRO1,'SNR at output for DSB:'); //3dB increase in SNR //DSB has higher SNR but SSB os spectarally efficient
6df6135db292498fd730b79900b1cf9a6c4bf20c
7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2
/Scilab/virtual/2dof_controller/dc/ss/scilab/double_int_bad.sce
938dcadb3af41efd4a7cce8113454bd860a28a89
[]
no_license
advait23/sbhs-manual
e2c380051117e3a36398bb5ad046781f7b379cb9
d65043acd98334c44a0f0dbf480473c4c4451834
refs/heads/master
2021-01-16T19:50:40.218314
2012-11-16T04:11:12
2012-11-16T04:11:12
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
252
sce
double_int_bad.sce
-->Ab = [1 -2 1]; dAb = 2; zBb = [0 1 1]; dzBb = 2; -->phi = [1 -1.2 0.52]; dphi = 2; -->[S1,dS1,R1,dR1] = xdync(zBb,dzBb,Ab,dAb,phi,dphi) dR1 = 1. R1 = 1. 0.32 dS1 = 1. S1 = 0.48 - 0.32 -->diary off
f35237f708bd51a99bbbeefd5bed8174292fb047
1489f5f3f467ff75c3223c5c1defb60ccb55df3d
/tests/test_ods_5_i.tst
2cce81118f7309f71c2634fc02a76c05a404d24a
[ "MIT" ]
permissive
ciyam/ciyam
8e078673340b43f04e7b0d6ac81740b6cf3d78d0
935df95387fb140487d2e0053fabf612b0d3f9e2
refs/heads/master
2023-08-31T11:03:25.835641
2023-08-31T04:31:22
2023-08-31T04:31:22
3,124,021
18
16
null
2017-01-28T16:22:57
2012-01-07T10:55:14
C++
UTF-8
Scilab
false
false
34
tst
test_ods_5_i.tst
aaa bbb ccc ddd eee 0 aaa bbb ccc
05e540c97f93be69a29a276980f778323d7a6751
449d555969bfd7befe906877abab098c6e63a0e8
/1962/CH3/EX3.1/example3_1.sce
5f1dba2fd7ceed769ccba65d065068d74f7c5cf0
[]
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
228
sce
example3_1.sce
//example 3.1 //page 119 clc; funcprot(0); // Initialization of Variable rho=997.1; pi=3.14; v=15;//velocity A=pi*0.3^2/4; Q=v*A; disp(Q,"discharge in (m^3/s)"); m=rho*Q; disp(m,"mass flow rate(kg/s)="); clear
dbec87aeffc241227a918003dec5b039bacbf034
f542bc49c4d04b47d19c88e7c89d5db60922e34e
/PresentationFiles_Subjects/CONT/KP85YLZ/ATWM1_Working_Memory_MRI_KP85YLZ/ATWM1_Working_Memory_MRI_Nonsalient_Cued_Run1.sce
d2f62e05cec3a725d2d9f0635e01dd6bbe659354
[]
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,492
sce
ATWM1_Working_Memory_MRI_Nonsalient_Cued_Run1.sce
# ATWM1 MRI Experiment scenario = "ATWM1_Working_Memory_MRI_nonsalient_cued_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_096 gabor_061 gabor_120 gabor_175 gabor_096_alt gabor_061 gabor_120 gabor_175_alt "1_1_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_9601_3000_12400_gabor_patch_orientation_096_061_120_175_target_position_2_3_retrieval_position_2" gabor_circ gabor_061_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_1_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_061_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 12342 fixation_cross gabor_101 gabor_159 gabor_070 gabor_119 gabor_101 gabor_159 gabor_070_alt gabor_119_alt "1_2_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_11601_3000_12400_gabor_patch_orientation_101_159_070_119_target_position_1_2_retrieval_position_1" gabor_101_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_2_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_101_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 33 39 292 292 399 125 11543 2992 14342 fixation_cross gabor_056 gabor_082 gabor_009 gabor_145 gabor_056_alt gabor_082 gabor_009 gabor_145_alt "1_3_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_11601_3000_14400_gabor_patch_orientation_056_082_009_145_target_position_2_3_retrieval_position_2" gabor_circ gabor_129_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_3_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_129_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 48 54 292 292 399 125 11543 2992 14342 fixation_cross gabor_007 gabor_139 gabor_029 gabor_174 gabor_007 gabor_139 gabor_029_alt gabor_174_alt "1_4_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_11601_3000_14400_gabor_patch_orientation_007_139_029_174_target_position_1_2_retrieval_position_1" gabor_057_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_4_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_057_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 63 69 292 292 399 125 11543 2992 14342 fixation_cross gabor_112 gabor_143 gabor_082 gabor_169 gabor_112 gabor_143_alt gabor_082 gabor_169_alt "1_5_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_11601_3000_14400_gabor_patch_orientation_112_143_082_169_target_position_1_3_retrieval_position_1" gabor_112_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_5_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_112_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 78 83 292 292 399 125 9543 2992 12342 fixation_cross gabor_150 gabor_005 gabor_069 gabor_126 gabor_150 gabor_005_alt gabor_069_alt gabor_126 "1_6_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_9601_3000_12400_gabor_patch_orientation_150_005_069_126_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_176_framed blank blank blank blank fixation_cross_target_position_1_4 "1_6_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_176_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 91 96 292 292 399 125 9543 2992 14342 fixation_cross gabor_148 gabor_006 gabor_088 gabor_128 gabor_148_alt gabor_006 gabor_088 gabor_128_alt "1_7_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_9601_3000_14400_gabor_patch_orientation_148_006_088_128_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_128_framed blank blank blank blank fixation_cross_target_position_2_3 "1_7_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_128_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 105 110 292 292 399 125 9543 2992 14342 fixation_cross gabor_138 gabor_119 gabor_048 gabor_065 gabor_138 gabor_119_alt gabor_048_alt gabor_065 "1_8_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_9601_3000_14400_gabor_patch_orientation_138_119_048_065_target_position_1_4_retrieval_position_1" gabor_138_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_8_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_138_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 119 124 292 292 399 125 9543 2992 14342 fixation_cross gabor_170 gabor_004 gabor_117 gabor_055 gabor_170_alt gabor_004 gabor_117_alt gabor_055 "1_9_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_9601_3000_14400_gabor_patch_orientation_170_004_117_055_target_position_2_4_retrieval_position_2" gabor_circ gabor_004_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_9_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_004_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 133 138 292 292 399 125 9543 2992 12342 fixation_cross gabor_068 gabor_130 gabor_103 gabor_044 gabor_068_alt gabor_130 gabor_103_alt gabor_044 "1_10_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_9601_3000_12400_gabor_patch_orientation_068_130_103_044_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_179_framed blank blank blank blank fixation_cross_target_position_2_4 "1_10_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_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; 146 152 292 292 399 125 11543 2992 14342 fixation_cross gabor_078 gabor_098 gabor_019 gabor_046 gabor_078_alt gabor_098 gabor_019_alt gabor_046 "1_11_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_11601_3000_14400_gabor_patch_orientation_078_098_019_046_target_position_2_4_retrieval_position_1" gabor_128_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_11_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_128_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 161 167 292 292 399 125 11543 2992 12342 fixation_cross gabor_001 gabor_131 gabor_079 gabor_159 gabor_001 gabor_131 gabor_079_alt gabor_159_alt "1_12_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_11601_3000_12400_gabor_patch_orientation_001_131_079_159_target_position_1_2_retrieval_position_1" gabor_001_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_12_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_001_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 175 180 292 292 399 125 9543 2992 12342 fixation_cross gabor_169 gabor_034 gabor_139 gabor_016 gabor_169 gabor_034 gabor_139_alt gabor_016_alt "1_13_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_9601_3000_12400_gabor_patch_orientation_169_034_139_016_target_position_1_2_retrieval_position_2" gabor_circ gabor_081_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_13_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_081_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 188 194 292 292 399 125 11543 2992 12342 fixation_cross gabor_026 gabor_053 gabor_076 gabor_143 gabor_026_alt gabor_053_alt gabor_076 gabor_143 "1_14_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_11601_3000_12400_gabor_patch_orientation_026_053_076_143_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_006_framed blank blank blank blank fixation_cross_target_position_3_4 "1_14_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_006_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 202 207 292 292 399 125 9543 2992 14342 fixation_cross gabor_150 gabor_040 gabor_063 gabor_122 gabor_150 gabor_040 gabor_063_alt gabor_122_alt "1_15_Encoding_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_9601_3000_14400_gabor_patch_orientation_150_040_063_122_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_122_framed blank blank blank blank fixation_cross_target_position_1_2 "1_15_Retrieval_Working_Memory_MRI_P1_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_122_retrieval_position_4" 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; };
b063c33e893443d3cdfda6e13a1e3e683c3dca0f
449d555969bfd7befe906877abab098c6e63a0e8
/1739/CH7/EX7.7/Exa7_7.sce
b110fc38810b0b6ad223a39bf2a4cf31188f5bfb
[]
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
460
sce
Exa7_7.sce
//Exa 7.8 clc; clear; close; //Given data : format('v',5) L=0.3;//in mm L=L*10^-3;//in meter n=3.6;//Refractive Index(unitless) c=3*10^8;//speed of light in m/s lambda=0.82;//in um lambda=lambda*10^-6;//in meter deltaNEU=c/(2*n*L);//in Hz disp(deltaNEU*10^-9,"Frequency spread between longitudinal modes in GHz"); deltaLambda=lambda^2/(c/deltaNEU)//in meter disp(deltaLambda*10^9,"Wavelength spread between longitudinal modes in nano meter : ");
615daccb6a4fc1272179e0d4551d50809b6435e5
449d555969bfd7befe906877abab098c6e63a0e8
/213/CH13/EX13.18/13_18.sce
8dded6a250221138cd946f4890c95dd074acd2ab
[]
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
448
sce
13_18.sce
//To find speed of road wheel clc //Given: TA=10, TB=60 NA=1000, NQ=210, ND=NQ //rpm //Solution: //Refer Fig. 13.24 and Table 13.20 //Calculating the speed of crown gear B NB=NA*(TA/TB) //rpm //Calculating the values of x and y y=200 x=y-210 //Calculating the speed of road wheel attached to axle P NC=x+y //Speed of road wheel attached to axle P, rpm //Results: printf("\n\n Speed of road wheel attached to axle P = %d rpm.\n\n",NC)
f37e26145065db0e5f3dab7eec75ac6fe4ee25a9
449d555969bfd7befe906877abab098c6e63a0e8
/2504/CH5/EX5.2/5_2.sce
87648f54e4cad68e2835c2841729837f0cc77567
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
290
sce
5_2.sce
clc //initialisation of variables clear w= 62.4 //lbf/ft^3 g= 32.2 //ft/sec^2 v= 86.5 //ft/sec d2= 3 //in d1= 6 //in dp= 50 //lbf/in^2 //CALCULATIONS Fb= -((%pi*(w/g)*v^2*(1/d1)^2*(1-(d2/d1)^2)*0.25)-dp*144*(%pi/4)*(1/d2)^2) //RESULTS printf ('Load on the bolts = %.f lbf',Fb)
e502b2d2193f5aa12fc39f4ee1fd8d3a5061afd9
449d555969bfd7befe906877abab098c6e63a0e8
/824/CH13/EX13.8/13_8.sce
f6a9b529873afdc52e2de23057e55aed521b7ea1
[]
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
607
sce
13_8.sce
//clear// clc clear k=0.1 cao=8; z0=0; z = 0:1:200; function w=f(z,x) w =zeros(1,1); lam=200-z; ca=cao*(1-x) E1=4.44658e-10*(lam^4)-1.1802e-7*(lam^3)+1.35358e-5*(lam^2)-.00086 5652*lam+.028004; E2=-2.64e-9*(lam^3)+1.3618e-6*(lam^2)-.00024069*lam+.015011 F1=4.44658e-10/5*(lam^5)-1.1802e-7/4*lam^4+1.35358e-5/3*lam^3-.000865652/2*lam^2+.028004*lam; F2=-(-9.3076e-8*lam^3+5.02846e-5*lam^2-.00941*lam+.61823-1) ra=-k*ca^2; if lam&lt; =70 E=E1 else E=(E2) end if(lam&lt; =70) F=F1 else F=F2 end EF=E/(1-F) w(1)=-(ra/cao+E/(1-F)*x) endfunction X=ode([0],z0,z,f); plot2d(z,X);
81f4d05ba8301947b1496f38e04d594404ecbe98
449d555969bfd7befe906877abab098c6e63a0e8
/2243/CH15/EX15.3/Ex15_3.sce
6dc4eeffeb3b8aa68ef822168dfb7412ad2c5df3
[]
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
363
sce
Ex15_3.sce
clc(); clear; //Given : lambda = 1.25; // wavelength in mu_m n1 = 1.462; // refractive index of core n2 = 1.457; // refractive index of cladding // Single mode propogation : (2*pi*a*sqrt(n1^2 - n2^2))/lambda < 2.405 a = (2.405*lambda)/(2*%pi*sqrt(n1^2 - n2^2)); // radius in mu_m d = a*2; // diameter in mu_m printf("Limiting diameter = %.2f mu_m",d);
ba02f9b1d54f3e2a574d31b1f03c593499a7b352
99b4e2e61348ee847a78faf6eee6d345fde36028
/Toolbox Test/polyscale/polyscale5.sce
81bc8cd8b7bd8837fd094148f7762c3f6f834bb0
[]
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
266
sce
polyscale5.sce
//i/p arg x contains only negative elements x=[-12 -3 -4 -5 -6 -7 -8 -9]; a=5; y=polyscale(x,a); disp(y); //output // column 1 to 5 // // - 12. - 15. - 100. - 625. - 3750. // // column 6 to 8 // // - 21875. - 125000. - 703125. //>>
97d809861a619be19a109c5abc3eff4e4bee653f
0e1b45c07f0938ba9c8a003d6ae1cf2d8315efdb
/uva.onlinejudge.org/112, Tree Summing/test4.tst
8d29d154a7249487206a7439253960fbf9ab7fb1
[]
no_license
Kot-Angens/acm
c85d8582c3e84f218415321743864b9680e01f2e
05472eaa0fff7abb6679826085da5e0c990df4cb
refs/heads/master
2021-01-24T22:36:05.159612
2012-10-02T13:51:56
2012-10-02T13:51:56
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
43
tst
test4.tst
5 (5 ()()) ~~~~~~~~~~~~~~~~~~~~~~~~ yes
d366ea2bc39597648f388969e737df5d5cc0096b
2587236934174196597ea90b834c2cf87d5bdb0d
/Q3.sce
4874b7e72ee05981594ba6130787afe637ce05f7
[]
no_license
Stephaniebraga/SC2
386bb257d07e874e3a22595d90c1327ec26bf365
011331e5cad4a633f935495ff8e95151254a118a
refs/heads/master
2021-01-19T04:56:19.429061
2015-08-04T12:39:35
2015-08-04T12:39:35
39,805,292
0
0
null
null
null
null
UTF-8
Scilab
false
false
2,752
sce
Q3.sce
//Trabalho de Simulação //Disciplina: Sistemas de Comunicação II //Dupla: Stéphanie Braga e Hugaleno //Questão 3 - Equalizador ZF. clc; close; clear; //****SINAL****// b=rand(1,10); //Gera matriz com valores aleatórios entre 0 e 1. s=round(b); //arredonda os valores para 0 ou 1. ns=size(s,2); //retorna o número de colunas de x bitResolution=10; //numero de amostras por cada simbolo da sequencia bitTime=1; //Tempo de bit //matriz de 3 linhas que indica o pulso a ser usado em cada simbolo. p=[ones(1,bitResolution);ones(1,bitResolution)*-1]; //pre-atribuição para x. Matriz de 1 linha e nx*bitResolution colunas. x=zeros(1,ns*bitResolution); //eixo de tempo para plotagem timeAxis=[0:size(x,2)-1]*(bitTime/bitResolution); //Sinal i=1; while i< ns+1 start = 1+(bitResolution*(i-1)); fim = i*bitResolution; if (s(1,i)==1) x(1,start:fim) = p(1,:); else x(1,start:fim) = p(2,:); end i=i+1; end //canal h=[-0.25, 0.80, 0.2, -0.15, 0.10]; //Sinal pelo canal y=filter(h,1,x); // Equalizador zero forcing com 5 coeficientes: C=[0;1;0;0;0]; //coeficientes H=[h(2),h(1),h(1),0,0 h(3),h(2),h(1),0,0 h(4),h(3),h(2),h(1),0 h(5),h(4),h(3),h(2),h(1) 0,h(5),h(4),h(3),h(2)]; wz = inv(H)*C; //hw = convol(h,wz); disp(hw); // Equalizador zero forcing com 7 coeficientes: C2=[0;0;0;1;0;0;0]; //coeficientes H2=[h(2),h(1),h(1),0,0,0,0 h(3),h(2),h(1),0,0,0,0 h(4),h(3),h(2),h(1),0,0,0 h(5),h(4),h(3),h(2),h(1),0,0 0,h(5),h(4),h(3),h(2),0,0 0,0,h(5),h(4),h(3),h(2),0 0,0,0,h(5),h(4),h(3),h(2)]; wz2 = inv(H2)*C2; //hw = convol(h,wz); disp(hw); //equalizando o sinal: z= filter(wz,1,y); z2= filter(wz2,1,y); //mostra o codigo de linha bipolar NRZ subplot(4,1,1); title('Sinal antes do canal'); plot(timeAxis,x, "-o"); xgrid; //// resposta em freq. do canal: //w=0:0.01:%pi; //z=exp(-%i*w); zk=z; //hz = h(1) + h(2)*z; //for k=3:5 // zk = zk.*z; // hz = hz + h(k)*zk; //end //hza = abs(hz); // ////sinal após o canal: ////N = 130; ////a = sign(rand(1,N,'n')); ////af = filter(h,1,a); ////n = 0.1*rand(1,N,'n'); ////af = af + n; // // ////mostra a Resposta ao Impulso do canal //subplot(5,1,1); //title('Resposta ao Impulso do canal'); //plot2d3(h); //plot(h,"o"); //xgrid; // ////mostra a Resposta em frequência do canal //subplot(5,1,2); //title('Resposta em frequência do canal'); //plot(w,hza); //xgrid; // // ////mostra o sinal //subplot(5,1,3); //title('Sinal'); //plot(1:N,a,'.'); //mostra o sinal apos canal subplot(4,1,2); title('Sinal após canal'); //plot(1:N,af,'.'); plot(timeAxis,y, "-o"); //figure; subplot(4,1,3); title('Sinal eq'); plot(timeAxis,z, "-o"); //plot(1:N,az,'.'); subplot(4,1,4); title('Sinal eq'); plot(timeAxis,z2, "-o");
d370598c56015e6f916e9f938165114782c95117
449d555969bfd7befe906877abab098c6e63a0e8
/2621/CH1/EX1.18/Ex1_18.sce
573da624565f1b53ebf706b294da06276db66d5e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
393
sce
Ex1_18.sce
// Example 1.18 clc; clear; close; // Given data format('v',5); VEE= 10;// in V VBE= 0.715;// in V beta_ac= 100; beta_dc= 100; R= 5.6;// in kΩ I_REF= (VEE-VBE)/R;// in mA IC1= I_REF*beta_ac/(2+beta_ac);// in mA // IC1= IC2= IC3 (by symmetry) IC2= IC1;// in mA IC3= IC2;// in mA I_RC= IC1+IC2+IC3;// current through RC in mA disp(I_RC,"The current through RC in mA is : ");
99cab8850a1a6cdf4194e11e0fe0ef51c314e95b
449d555969bfd7befe906877abab098c6e63a0e8
/965/CH7/EX7.11/11.sci
68d38f47d1986e6344525becc9d203604328032a
[]
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
592
sci
11.sci
clc; clear all; disp("Local HT coefficient") U=5;//m/s velocity of air rho=0.815;//kg/m^3 density of air k=0.0364;// W/(m.C) mu=24.5*10^(-6);//Ns/m^2 viscosity of air Pr=0.7;// Prandlt number Ts=200;// degree C Ta=120;// degree C x=0.5;//m width of plate v=mu/rho; Rex=U*x/v;// Reynold's number Rex delta=5*x*1000/(Rex)^0.5;//mm disp("mm",delta,"Boundary layer thickness =") deltath=delta/(Pr)^(1/3); disp("mm",deltath,"Thickness of thermal boundary level =") hx=0.332*(k/x)*(Rex)^0.5*Pr^(1/3); disp("W/(m^2.C)",hx,"Local convective heat transfer coefficient, hx =")
255bb5fa9a767c9e37d8d09ff614eaca905c7405
449d555969bfd7befe906877abab098c6e63a0e8
/1439/CH11/EX11.4/11_4.sce
5064ef2be12dda531a21394c4cce2cdd50850426
[]
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
397
sce
11_4.sce
clc //initialisation of variables s= 3.61*10^-8 //cm v= 4.44*10^4 //cm/sec n= 2.46*10^19 //molecules N= 6.02*10^23 //molecules Z1= 13.6*10^16 //collisions cm^-3 sec^-1 N= 6*10^23 //molecules //CALCULATIONS Z= sqrt(2)*%pi*s^2*v*n^2*10^3/(2*N) Z2= Z1*10^3/N //RESULTS printf ('Z= %.2e moles of collisons litre^-1 sec^-1',Z) printf ('\n Z= %.2e moles of collisons litre^-1 sec^-1',Z2)
9acecc81f395bf41bb84105827ce8da3dd88fb77
449d555969bfd7befe906877abab098c6e63a0e8
/3862/CH4/EX4.7/Ex4_7.sce
bdd81f46dcd1f5c6dbe1c56b0f8e6c016746c287
[]
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
821
sce
Ex4_7.sce
clear // Note that it is convenient to take axis in such a way that the centroids of all simple figures are having positive coordinates. If coordinate of any simple figure comes out to be negative, one should be careful in assigning the sign of moment of area //variable declaration A1=2.0*6.0*1.0/2.0 //Area of 1,m^2 A2=2.0*7.5 //Area of 2,m^2 A3=3.0*5.0*1.0/2 //Area of 3,m^2 A4=1.0*4.0 //Area of 4,m^2 //The composite figure can be conveniently divided into two triangles and two rectangle X1=2.0*2.0/3.0 X2=2.0+1.0 X3=2.0+2.0+(1.0*3.0/3.0) X4=4.0+4.0/2.0 Y1=6.0/3.0 Y2=7.5/2.0 Y3=1.0+5.0/3.0 Y4=1/2.0 A=A1+A2+A3+A4 xc=(A1*X1+A2*X2+A3*X3+A4*X4)/A printf("\n xc= %0.3f m",xc) yc=(A1*Y1+A2*Y2+A3*Y3+A4*Y4)/A printf("\n yc= %0.3f m",yc)
8249070d3db40efacbea2d2cee19b89c78fd7b1b
449d555969bfd7befe906877abab098c6e63a0e8
/14/CH6/EX6.4/example_6_4.sce
ff184ec2c1dc012534b256af0baff023f68a6ce0
[]
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
853
sce
example_6_4.sce
//Chapter 6 //Example 6.4 //Page 147 //leakagereactance clear;clc; //Given V_lt = 110; V_ht = 440; P = 2.5e3; x_lt = 0.06; //Calculations disp('Viewed from low-tension side') lt_base_impedance = (V_lt)^2 / P; printf("\n Leakage reactance from low-tension side = %.2f ohm",x_lt) printf("\n Low-tension base impedance = %.2f ohmn",lt_base_impedance) X_lt_pu = x_lt / lt_base_impedance; printf("\n Leakage reactance in per unit from Low-tension side = %.4f per unit \n\n",X_lt_pu) disp('Viewed from high-tension side') x_ht = x_lt * (V_ht / V_lt)^2; ht_base_impedance = (V_ht)^2 / P; printf("\n Leakage reactance from high-tension side = %.2f ohm",x_ht) printf("\n High-tension base impedance = %.2f ohmn",ht_base_impedance) X_ht_pu = x_ht / ht_base_impedance; printf("\n Leakage reactance in per unit from Low-tension side = %.4f per unit \n\n",X_ht_pu)
be6f7183b2b22031579b2dd2ab98da9cf1d1700a
1573c4954e822b3538692bce853eb35e55f1bb3b
/DSP Functions/allpassshiftc/test_13.sce
a59939c5bf25b02eb7a65c6cbfc7ed20bf99b723
[]
no_license
shreniknambiar/FOSSEE-DSP-Toolbox
1f498499c1bb18b626b77ff037905e51eee9b601
aec8e1cea8d49e75686743bb5b7d814d3ca38801
refs/heads/master
2020-12-10T03:28:37.484363
2017-06-27T17:47:15
2017-06-27T17:47:15
95,582,974
1
0
null
null
null
null
UTF-8
Scilab
false
false
296
sce
test_13.sce
// Test # 13 : Valid input test case #2 exec('./allpassshiftc.sci',-1); [n,d]=allpassshiftc(0.861,0.546); disp(d); disp(n); // //Scilab Output //d=1. 0. //n= 0 0.5490228 - 0.8358074i // //Matlab Output //d = 1 0 //n = 0.0000 + 0.0000i 0.5490 - 0.8358i
d1e2984ab16a8f6169f667b853b29b78162d9274
694ad1c574305de3b85702522d231dea9660e94c
/test/markdown.tst
8cf8be0f55766d214e1d5d9844ec1a8628d55328
[]
no_license
Mark-Seaman/SeamanTech
ced41e87b2b6fe2ffdc1172c2bd1b2e207536dfd
f2635eb82c26990305ff338c1a9dcbbf4618a3ed
refs/heads/master
2021-01-13T02:03:24.626053
2015-12-07T16:20:34
2015-12-07T16:20:34
23,025,408
0
0
null
null
null
null
UTF-8
Scilab
false
false
34
tst
markdown.tst
tpyrun $p/bin/util/markdown_test
87f64a372d140f6b9f555239538348977b5a19a6
54cca39cd1cf7f62b001c8a4d64dcc3d29e3cb4e
/PitchDetection/sinwave.sce
10c0772338c0537efff74f64119e6e7a942dddcc
[]
no_license
hamling-ling/NumericalResearches
d2487c2566c24ba3dc674e7e17f1745c1020d542
a824357d7650d3ed86220f1315ee37e577285a7d
refs/heads/master
2021-01-25T08:36:58.455319
2015-04-22T15:17:21
2015-04-22T15:17:21
7,775,139
0
0
null
null
null
null
UTF-8
Scilab
false
false
658
sce
sinwave.sce
funcprot(0); clear all; ////////////////////////////////////////////////////////////////////// // parameters ////////////////////////////////////////////////////////////////////// sampleNum = 1024; // sample number sampleFreq = 44100; // sampling frequency waveFreq = 440; // wave frequency ////////////////////////////////////////////////////////////////////// // main ////////////////////////////////////////////////////////////////////// ts = [0:sampleNum-1] * 1/sampleFreq; f=sin(2 * %pi * waveFreq * ts); plot2d(ts,f); title = sprintf("A %dHz wave is sampled with sampling rate=%dHz",waveFreq,sampleFreq); xtitle(title,"time (sec)","arbitral");
fedde4a8a5366532ee4ab3edc5e0ed77ffc3c1b3
449d555969bfd7befe906877abab098c6e63a0e8
/3574/CH3/EX3.3/EX3_3.sce
1558af4ca7e3433ccdf49cbd09c5682409ad4544
[]
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
745
sce
EX3_3.sce
// Example 3.3 // Computation of (a) Buck boost transformer parameters // (b) Repeating the same assuming utilization voltage as 246V // Page No. 102 clc; clear; close; // Given data S=10000; // Supply voltage VLS=212; // Voltage at the low side VHSNEW=246; // New voltage at the high side a1=1.100; a11=1.0667; // (a) Buck boost transformer parameters VHS=a1*VLS; // (b) Repeating the same assuming utilization voltage as 246V VLSNEW=VHSNEW/a11; //Display result on command window printf("\n Actual output voltage supplied to the air conditioner is = %0.1f V ",VHS); printf("\n Actual output voltage assuming utilization voltage as 246 V is = %0.1f V ",VLSNEW);
3dc2de6315c3b04e62753b0034683f5f739bbb25
449d555969bfd7befe906877abab098c6e63a0e8
/22/CH3/EX3.10/ch3ex10.sce
5d4a422cc0b85dc170b903cb383f49c4b01a26ed
[]
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
671
sce
ch3ex10.sce
//signals and systems //time domain analysis of discreet time systems //total response with initial conditions clear; close; clc; n=(-2:10)'; y=[25/4;0;zeros(length(n)-2,1)]; x=[0;0;4^-n(3:length(n))]; for k=1:length(n)-2 y(k+2)=0.6*y(k+1)+0.16*y(k)+5*x(k+2); end; clf; a=gca(); plot2d3(n,y); y1=[25/4;0;zeros(length(n)-2,1)]; x=[0;0;4^-n(3:length(n))]; for k=1:length(n)-2 y1(k+2)=-6*y1(k+1)-9*y1(k)+2*x(k+2)+6*x(k+1); end figure a=gca(); plot2d3(n,y1); y2=[25/4;0;zeros(length(n)-2,1)]; x=[0;0;4^-n(3:length(n))]; for k=1:length(n)-2 y2(k+2)=1.56*y2(k+1)-0.81*y2(k)+ x(k+1)+3*x(k); end figure a=gca(); plot2d3(n,y2);
bc8ef7be2a6265b2f7787c206f729ad131ec4ec6
449d555969bfd7befe906877abab098c6e63a0e8
/2780/CH3/EX3.35/Ex3_35.sce
1eab6bc84cef1de1aefc5f477738033cd193a460
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
219
sce
Ex3_35.sce
clc //to calculate smallest angle between two stars lambda=5*10^-5 //wavelength in cm a=100*2.54 //diameter in cm theta=1.22*lambda/a disp("the smallest angle between two stars is thita="+string(theta)+"radians")
1f6973158720a22ac50a25c24d6d700b073c0b2b
449d555969bfd7befe906877abab098c6e63a0e8
/1793/CH8/EX8.2/8q2.sce
7668b13d9e1ca0c15e7084e3f521a091da0acdb6
[]
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
452
sce
8q2.sce
clc //initialisation of variables Nd= 6 H1= 5.6 //m H2= 2.2 //m k= 5e-5 //cm/sec dL= 4.1 //m //calculations H= (H1-H2)/Nd h1= 5.61-H h2= 5.61-5*H q= 2.38*(H1-H2)*k/Nd i= H/dL //results printf ('at point a,water will rise to height of = % 3f m ',h1) printf ('at point b,water will rise to height of = % 3f m ',h2) printf ('total rate of seepage per unit lenghth = %e m^3/sec/m ',q) printf ('average hydraulic gradient at c = % 3f ',i)