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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bbdca88f8dc26bfa46561f60a2e92f6758516663 | 449d555969bfd7befe906877abab098c6e63a0e8 | /36/DEPENDENCIES/prob9_8data.sci | 8a8588ad104f8d83b1121566f020c13573ce8de6 | [] | 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 | 166 | sci | prob9_8data.sci | //problem 9-8 data
//defining all the process to be carried out
seg1="input from source A and B";
seg2="Multiplier Pipeline";
seg3="Adder Pipeline";
seg4="goto 2nd"; |
9b889376459216ee5455ea3b77d07d48055638fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH3/EX3.16/example3_16.sce | a47fb6085cb98567e89ddeef4f44622266f7c24f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 405 | sce | example3_16.sce |
// example 3-16 in page65
clc;
//Given data
//the equivalent circuit is derived as shown in the fig3-24 from the R X 1 range ohmmeter circuit
E=1.5;// battery rating in volts
//calculation
for Rx=0:24:24,//Rx in ohm
Ib=E/(Rx+14+((10*(9990+2875+3820))/(9990+2875+3820)));
Im=Ib*(10/(10+9990+2875+3820));// meter current
printf("meter current when Rx=%d ohm is %.2f micro-A\n",Rx,Im*1e+6);
end
|
df996eb0a6d3272232ef9f18d06520ff8a029fa2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/m2sci/sci_ylabel.sci | 300092a4f4c3fbe146145b16c8f4dd3f10eb9fc7 | [
"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 | 132 | sci | sci_ylabel.sci | function [stk,txt,top]=sci_ylabel()
// Copyright INRIA
txt=[]
stk=list('xtitle('' '','' '','+stk(top)(1)+')','0','0','0','0')
|
043269c80b3572ec1ec80a8cdfe1e73d616bc5ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH6/EX6.4.b/EX6_4_B.sce | d2a69a52225b4b4e74b65e8023ff4c17af5df287 | [] | 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 | 194 | sce | EX6_4_B.sce | //example 6_4_B
//check the signal is periodic or not
clc ;
n=-15:0.01:15;
y =cos((n/8)-(%pi));
xlabel('n')
ylabel('x(n)')
plot(n,y);
disp ( 'Plot shows that given signal is NOT periodic ' ) ;
|
b872cb770f3ee031d148542949958bc9fb498ed2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/CH7/EX7.15/Example_7_15.sce | 1a802c4bf71145f3fca6981061b256dd229ea44b | [] | 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 | Example_7_15.sce | //Caption: Sample Size for Determining Sample Proportion
//Example7.15
//Page220
clc;
p =0.35;//35% of branches have enhanced yearly collection of deposits
q = 1-p;
D = 0.06;// deviation of mean sample size
Conf_Level = 0.90; //confidence level = 90%
alpha = 0.1; //Significance level
alpha = alpha/2;
z = standard_normal_zstat(alpha)
n = ((z^2)*p*q)/(D^2);
disp(ceil(n),'Sample Size n =')
//Result
//Sample Size n =
//
// 170 |
70c323dcbcff4c4d520bb034104dfa690f763b96 | 95beaf56de829d390a567f241221c582c4b682ed | /projet/KSVD_cosamp.sce | 9a99db23f20c27a5c36a46a948268a58d03e8888 | [] | no_license | the-mousaillon/compressive-sensing | 85d5d5ce814ad8ec20271a3b932144e35e640041 | bfa3acf166be6a8141d1eb2064523e7de8f19db7 | refs/heads/master | 2020-04-17T15:02:05.840745 | 2019-03-20T12:55:21 | 2019-03-20T12:55:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,909 | sce | KSVD_cosamp.sce | clear
// chargement des données
data = csvRead("/Users/nbreizh/Documents/compressive sensing/tp/data.csv")
[M,N] = size(data)
// normalization des données
for i=1:N
data(:,i) = data(:,i)/norm(data(:,i))
end
function cj=contribution(R,dj)
cj=abs(dj'*R)/norm(dj)
endfunction
function y=contriblist(R,D,s)
[N,M]=size(D)
CJ=[]
for i=1:M
CJ=[CJ,contribution(R,D(:,i))]
end
indices=1:length(CJ)
[B,k]=gsort(CJ,"g","d")
y=k(1:2*s)
endfunction
function y=cosamp(D,K,x,s)
[N,M]=size(D)
a=zeros(M,1)
R=x
supp=[]
for i=1:K
supp=union(supp, contriblist(R,D,s))
AS=D(:,supp)
zmk=AS'*pinv(AS*AS')*x
[B,h]=gsort(zmk,"g","d")
a(h(1:s)) = zmk(h(1:s))
R = x-D*a
end
y = a
endfunction
// ss est l'odre de parcimonie souhaitée
function [D,Alpha]=KSVD(X,K,L,ss)
[N,l]=size(X);
MAX_ITR=round(K/10);
D=X(:,1:K);
s=sqrt(diag(D'*D));
for i=1:K
D(:,i)=D(:,i)/s(i);
end
Alpha=zeros(K,l);
for j=1:L
for i_vect=1:l
Alpha(:,i_vect)=cosamp(D, MAX_ITR, X(:,i_vect), ss);
end
for i_col=1:K
idx_k=find(Alpha(i_col,:)<>0);
if length(idx_k)>0 then l
E_k=X-D*Alpha+D(:,i_col)*Alpha(i_col,:);
Omega=zeros(l,length(idx_k));
for inz=1:length(idx_k)
Omega(idx_k(inz),inz)=1;
end
E_kR=E_k*Omega;
[U,delta,V]=svd(E_kR);
D(:,i_col)=U(:,1);
Alpha(i_col,idx_k)=delta(1,1)*V(:,1)';
else
g=grand(1,1,"uin",1,l);
D(:,i_col)=X(:,g)/norm(X(:,g));
end
end
end
endfunction
// Apprentissage à l'aide du stomp
N = 99
K = 100
L = 10
eps=1e-1;
[D,Alpha]=KSVD(data, K,L,50);
// On arrondi Alpha pour mieux voir
|
3339ef54d64e2fb4aba26d02898140681f0c1d7e | 449d555969bfd7befe906877abab098c6e63a0e8 | /74/CH12/EX12.11/example11_sce.sce | 880d4c4501217cc21bd623116254f5dcb1b17ad2 | [] | 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 | 131 | sce | example11_sce.sce | //chapter 12
// example 12.11
//page 431
f=1*10^6;
n=8;//8-bit ADC
T=1/f;//time period
Tc=T*(n+1);
disp(Tc)//conversion time |
5c91f857e73d84d3847e78c24976a9511dd97ada | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH11/EX11.4/Chapter11_example4.sce | 87c057a01b6e8821cd53f8220fbe8c06256f3ace | [] | 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,314 | sce | Chapter11_example4.sce | clc
clear
//Input data
d=0.08;//The diameter of the bore in m
L=0.1;//The length of the stroke in m
r=8;//The compression ratio
o=60;//The exhaust port open before BDC in degrees
v=60;//The exhaust port closes after BDC in degrees
a=15;//Air fuel ratio
T=300;//The temperature of the mixture entering into the engine in K
p=1.05;//The pressure in the cylinder at the time of closing
R=290;//Real gas constant in J/kgK
ma=150;//Mass flow rate of air in kg/h
N=4000;//The speed of the engine in rpm
pi=3.1414;//Mathematical constant of pi
//Calculations
mf=ma/a;//Mass flow rate of fuel in kg/h
mac=ma+mf;//Actual mass flow rate in kg/h
r=(L*100)/2;//Half the length of the stroke in cm
Le=(r+(r*sin (pi/6)))/100;//Effective stroke length in m
Vse=(pi*d^2*Le)/4;//Swept volume corresponding to Le in m^3
V=(r/(r-1))*Vse;//Total volume corresponding to m^3
da=(p*10^5)/(R*T);//The density in kg/m^3
m=V*da;//Mass of mixture per cycle in kg/cycle
mi=m*60*N;//Ideal rate of mass flow in kg/h
Rsc=mac/mi;//Scavenging ratio
nsc=(1-(exp(-Rsc)))*100;//Scavenging efficiency in percent
ntr=nsc/Rsc;//Trapping efficiency in percent
//Output
printf(' The scavenging ratio = %3.3f \n The scavenging efficiency = %3.2f percent \n The trapping efficiency = %3.2f percent ',Rsc,nsc,ntr)
|
bd2260b39ee4a24154f9085a977123825216fb48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/653.sci | 6d9f4cfadb229479c5afbf59d7b6b43007cd7d2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 125 | sci | 653.sci | basis=1 //Tonne Epsom salt produced/h
inputx=0.301 //Tonne MgSO4/tonne
outputx=0.232 //Tonne MgSO4/tonne
M=120.4
M1=246.4 |
c5fa35384c6715dc7c18ab5de9fd2a18ee859e89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH12/EX12.12/Ex12_12.sce | f186c3e75dae23fa8e7fadb553014f0701f3100f | [] | 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 | 364 | sce | Ex12_12.sce | //Initilization of variables
//Calling upward direction positive
xdot1=6 //ft/s
xdot3=3 //ft/s
xdoubledot=2 //ft/s^2
xdoubledot3=-4 //ft/s^2
//Calculations
xdot=-xdot1 //ft/s
xdot2=2*xdot-xdot3 //ft/s
xdoubledot2=2*xdoubledot-xdoubledot3 //ft/s^2
//Result
clc
printf('The value of velocity is %f ft/s and acceleration is %f ft/s^2',xdot2,xdoubledot2)
|
e2a19509c3c7ef44b0d4cd49e1456e34e0493080 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH9/EX9.7/Ex9_7.sce | f9167d33c9b75da36d026dc81a5cf64af9f26fd5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 431 | sce | Ex9_7.sce | // Chapter 9
// determine Output frequency
// Page.No-327
// Example9_7
//Figure 9.28
// Given
clear;clc;
Vp=12; //in V
R1=4700; //in Ohm
R2=2000; //in Ohm
R3=20000; //in Ohm
C=1.1*10^-9; //in Farad
Vc=Vp*(R3/(R2+R3));
printf("\n The control Voltage is = %.2f V\n",Vc); // Result
fo=2*(Vp-Vc)/(Vp*R1*C);
printf("\n Output frequency = %.0f Hz\n",fo); // Result
|
a3edafe58e31a5a98ff2a446f80b75426f5aa340 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH3/EX3.7/example7.sce | 2d9939ed98bbd9233b61b56c6bbf1ce1e8754fa6 | [] | 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 | 589 | sce | example7.sce | //Chapter-3, Problem 3.7 , Page106
//===========================================================================
clc;
clear;
//INPUT DATA
n1 = 1 ;//since first blindspeed
n3 = 3 ;//since third blindspeed
//Calculations
// blind speed Vb1 = n1*(lamda_1/2)*PRF1 in m/s
// blind speed Vb3 = n3*(lamda-2/2)*PRF2 in m/s
//here PRF1 = PRF2 = PRF
//if Vb1=Vb3 then
//1*(lamda_1/2)*PRF = 3*(lamda_2/2)*PRF
//lamda_1/lamda_2 = 3/1;
//lamda = C/F;
//therefore F1/F2 = 1/3 ;
//Output
mprintf('Ratio of Operating Frequencies of two Radars are (F1/F2) = 1/3');
|
2b7ef963da7086a24b483c8e01e144fcc04ab5d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH8/EX8.1/Ex8_1.sce | 4da4a98fafff3d28837de83a6b5bb0175433e5dc | [] | 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 | 315 | sce | Ex8_1.sce | clear
//
//given
f=50
p=4
//case a
s=(120*f)/p //synchronous speed
printf("\n synchronous speed= %0.0f rpm",s)
//case b
slip=0.03
r=s-s*slip //rotor speed
printf("\n rotor speed= %0.0f rpm",r)
//case c
r=900 //given speed of rotor
slip=(s-r)/s //per unit slip
rf=slip*f
printf("\n rotor frequency= %0.0f Hz",rf)
|
5d5c68857218045799bc00ffa860b2e62ea9b7af | d9e20e3e491ed05049f4f1a44021e96499a581ba | /src/teste.sce | f52108c2fb5be76469ff6f7faecaeceed4fca607 | [] | no_license | josenalde/applied-math | 1e13000bec5e92fa828bee3193607cf8a200a604 | 76a9aab93d69e4be6b564cae72c441bc648444d4 | refs/heads/master | 2021-01-10T09:21:01.369665 | 2020-09-21T22:56:42 | 2020-09-21T22:56:42 | 46,852,259 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | teste.sce | //a = input('Digite a:');
a = 1;
amplitude = 5;
numero = abs(amplitude)*sign(a);
x1 = -10:-6;
x2 = -5:-1;
x3 = 0:4;
x4 = 5:9;
y1 = numero*ones(1,5);
y2 = -numero*ones(1,5);
y3 = numero*ones(1,5);
y4 = -numero*ones(1,5);
plot(x1,y1,x2,y2,x3,y3,x4,y4);
|
ac71065ce7c3825a9d8d2a47996f573df519ceed | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH7/EX7.8/7_8.sce | cdf2e76c31029f6ac6954a2ee7bd1178dfe0722b | [] | 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 | 317 | sce | 7_8.sce | uo=(4*%pi)*1E-7
ur=3000
Ac=10/100*10/1000
Bc=1.4
Hc=Bc/(uo*ur)
lc=150/100
Ftotal=Hc*lc
N2=800
I2=2
F2=N2*I2
F1=Ftotal-F2
N1=400
I1=F1/N1 ////out of terminal a
disp(I1)
Bc=1.4
fluxc=Bc*Ac
Rc=lc/(Ac*uo*ur)
Wf=1/2*Rc*fluxc*fluxc
disp(Wf)
L1=N1*N1/Rc
L2=N2*N2/Rc
M=sqrt(L1*L2)
disp(M) |
7fb8efbb4ec9303ccc5a19976ce29a98c99f4f33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH19/EX19.4/Ch019Ex4.sce | 49eba35921b3b11ecce18a1469f2ac2c4b264a12 | [] | 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,351 | sce | Ch019Ex4.sce | // Scilab Code Ex19.4: Page-960 (2011)
clc; clear;
T_c = 7.18; // Critical temperature of lead in superconducting state, K
H_c0 = 6.5e+004; // Critical field for lead at 0 K, A/m
// At T = 4.2 K
T = 4.2; // Temperature at which critical field of lead is to be found out, K
H_cT = H_c0*(1-(T/T_c)^2); // Critical field for lead at 4 K, A/m
d = 1e-003; // Diameter of lead wire, m
r = d/2; // Radius of lead wire, m
I_c = 2*3.14*r*H_cT; // Critical current through superconducting lead wire, A
J_c = I_c/(3.14*r^2); // Critical current density for superconducting lead wire, A/Sq. meter
printf("\nThe critical current density at %3.1f K = %5.3e A/Sq.m", T, J_c);
// At T = 7 K
T = 7; // Temperature at which critical field of lead is to be found out, K
H_cT = H_c0*(1-(T/T_c)^2); // Critical field for lead at 4 K, A/m
d = 1e-003; // Diameter of lead wire, m
r = d/2; // Radius of lead wire, m
I_c = 2*3.14*r*H_cT; // Critical current through superconducting lead wire, A
J_c = I_c/(3.14*r^2); // Critical current density for superconducting lead wire, A/Sq. meter
printf("\nThe critical current density at %3.1f K = %4.2e A/Sq.m", T, J_c);
// Result
// The critical current density at 4.2 K = 1.710e+008 A/Sq.m
// The critical current density at 7.0 K = 1.29e+007 A/Sq.m
|
6807c9351e42d39e6218c54b7cbba1e04d25e9ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH6/EX6.1/Ex6_1.sce | 5c3cc9e302b843f84c6de6505541f48a5517c9d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 712 | sce | Ex6_1.sce | //Ex 6.1
clc;
clear;
close;
format('v',6);
f0=600;//Hz//Oscillating Frequency
disp("Various design parameters are :-");
C=0.05;//micro F//Chosen for the design
disp(C,"Capacitance(micro F)");
format('v',5);
R=1/(2*%pi*f0*sqrt(6)*C*10^-6);//ohm
R=R/1000;//kohm
disp(R,"Resistance R(kohm)");
disp("We can use R=2.2 kohm for design purpose.")
//To avoid loading effect
Ri=10*R;//kohm//Ri>=10*R
Ri=ceil(Ri);//kohm
disp(Ri,"Resistance Ri(kohm)");
Rf=29*Ri;//kohm//Rf>=29*Ri
disp(Rf,"Resistance Rf(kohm)");
disp("We can use Rf=640 kohm for design purpose.")
Rf=640;//kohm
//Balancing the circuit
Rom=Rf*Ri/(Rf+Ri);//kohm
Rom=ceil(Rom);//kohm
format('v',6);
disp(Rom,"Resistance Rom(kohm)");
|
9f3a744dbadc56198132ff596eeaf1e90a5c23ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH7/EX7.14/7_14.sce | 82b9151ce5f4452cefd967127b89a0962bdaf8e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | 7_14.sce | clc
clear
//Initialization of variables
h=6 //m
rho=930 //kg/m^3
Q=3/60 //m^3/s
d=0.15 //m
L=20 //m
mu=0.006
g=9.81 //m/s^2
//calculations
V=Q/(%pi/4 *d^2)
RN=V*d*rho/mu
f=0.316/RN^0.25
hl=f*L/d *V^2 /(2*g)
Hp=h+hl
gam=rho*g
W=gam*Q
Power= W*Hp
//results
printf("Power required = %.3f kW",Power/1000)
|
5a749833e0310923ab1135b25623e5b9f6ae8c33 | 93640402789b9a9d07c82958f433765f1e2a8397 | /part 1/BitSelect.tst | b73cc004eca9fa3537434b5c7cd8d1bc8168451f | [] | no_license | Slayingripper/Z80-CPU | 7a6b71f9e59850c3d4492a7f1867f4e81be278ba | 451873966cf071f8088407300629994a8d33f13c | refs/heads/master | 2020-05-04T02:42:27.419333 | 2019-04-01T19:27:22 | 2019-04-01T19:27:22 | 178,932,396 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | tst | BitSelect.tst | load BitSelect.hdl,
output-file BitSelect.out,
compare-to BitSelect.cmp,
output-list bit%B1.3.1 out%B1.8.1;
set bit %B000,
eval,
output;
set bit %B001,
eval,
output;
set bit %B010,
eval,
output;
set bit %B011,
eval,
output;
set bit %B100,
eval,
output;
set bit %B101,
eval,
output;
set bit %B110,
eval,
output;
set bit %B111,
eval,
output;
|
b6ac62c294f63236f08deb93a96a7a9992ce44d9 | b80969c9d72c732b0153d0de2b8fd28dc10d8a16 | /Biologie/Site/sauvegarde/28.07.2016/www/Documents/simulation/initation_scilab/ex4.sci | 014df4d1f8b55a19289327f3f33f989fb5b2c33c | [] | 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 | 66 | sci | ex4.sci | A=[2,-3,1,2;
3,1,2,-2;
0,1,4,5;
0,2,3,1];
b=[1;3;-1;6];
inv(A)*b
|
5cdad4d52a9f03284dfca194418fc38c8ff678ff | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_MatFunc/repElem.sce | a09f9ca1df0d01f8c49686b328c64d642469bb10 | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 422 | sce | repElem.sce | // Function Name: repElem
// Generate a matrix by replicating each element
// The generated matrix has the following size:
// n_rows = num_copies_per_row * A.n_rows
// n_cols = num_copies_per_col * A.n_cols
// 3rd parameter = num_copies_per_row
// 4th parameter = num_copies_per_col
// Calculating the repElem
inputMat = [ 1, 2, 3; 4, 5, 6; 7, 8, 9;]
result = armaMatFunc("repElem",inputMat,2,2)
|
b2f29a351763a4720b5ba2dd5bb8a24eb3491b2b | 3079a9af600e0e376bf32335b167b59f09bb95a5 | /Homework 1/linux-0.01/apps/domaci/test3.tst | 157e70d2d1ab6f784ee274ee47efe41b05b30c19 | [] | no_license | OgnjenArsenijevic/RAF-Operating-Systems | dccd19eddbcecbccb0c56db0bd448913c3d94770 | 1157c6fcfffc9c0331727996d8b88ffac9363383 | refs/heads/master | 2020-05-21T03:43:41.360415 | 2019-05-31T01:54:50 | 2019-05-31T01:54:50 | 185,896,419 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 467 | tst | test3.tst | 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
202
1
26
10
302
200
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
300
202
1
65
10
302
201
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
301
202
1
65
10
302
200
201
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
300
301
400 |
8ee9e457f8a55fe59ab2ee54870263cb58e1b12a | e9b135074a04c0ae4273c18ac8466c003190b21a | /2 Ano/Metodos Numericos/Soluciones/raices.sce | 5df8f7a3f3d293a559061db26905ea167a515bc4 | [] | no_license | damianarielm/lcc | 804faae03e5f60e44de58d264721892e1fea0c3c | ffd3e65f54073215e1e3542aabd62b3ec1ec5960 | refs/heads/master | 2023-02-18T12:14:00.543045 | 2023-02-14T00:19:54 | 2023-02-14T00:19:54 | 161,278,175 | 60 | 9 | null | 2020-12-04T14:43:40 | 2018-12-11T04:41:42 | HTML | UTF-8 | Scilab | false | false | 817 | sce | raices.sce | function r = raices(polinomio)
a = coeff(p, 2)
b = coeff(p, 1)
c = coeff(p, 0)
delta = b^2 - 4*a*c
if b < 0 then
x1 = (2*c) / (-b + sqrt(delta))
x2 = (-b + sqrt(delta)) / (2*a)
else
x1 = (-b - sqrt(delta)) / (2*a)
x2 = (2*c) / (-b - sqrt(delta))
end
r = [x1; x2]
endfunction
function r = resolvente(p)
a = coeff(p, 2)
b = coeff(p, 1)
c = coeff(p, 0)
delta = b^2 - 4*a*c
x1 = (-b - sqrt(delta)) / 2*a
x2 = (-b + sqrt(delta)) / 2*a
r = [x1; x2]
endfunction
epsilon = 0.0001;
a = epsilon;
b = 1 / epsilon;
c = -epsilon;
p = poly([c b a], "x", "coeff");
assert_checkequal(raices(p), roots(p));
error1 = abs(raices(p)(1) - resolvente(p)(1))
error2 = abs(raices(p)(1) - resolvente(p)(1))
|
6bff045b3464051782eb5047a6f5bf72af30fb53 | bce0c755bfdc527c8cc0737e8e1e59467267cff9 | /macros/CascadeObjectDetector.sci | 6f6335cb0269c4af3a57918231c6580c59e0ce31 | [] | no_license | shubham0108/FOSSEE-Image-Processing-Toolbox | bacc26e6c7139383a374ea16f6c62565a7ff0603 | 68cddb2ca8dabddfe47251ac6647011acb849a2c | refs/heads/master | 2021-06-16T02:27:39.886532 | 2020-05-01T09:23:39 | 2020-05-01T09:23:39 | 97,078,162 | 0 | 0 | null | 2017-07-13T03:57:21 | 2017-07-13T03:57:21 | null | UTF-8 | Scilab | false | false | 4,186 | sci | CascadeObjectDetector.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
// Author: Nihar Rao
// Organization: FOSSEE, IIT Bombay
// Email: toolbox@scilab.in
function [out,bbox]=CascadeObjectDetector(input_image,classifierList,varargin)
// This function is used to detect objects in an image.
//
// Calling Sequence
//
// detect=CascadeObjectDetector(inputImage,classifierList);
// detect=CascadeObjectDetector(inputImage,classifierList,scale);
// detect=CascadeObjectDetector(inputImage,classifierList,scale,minNeighbors);
// detect=CascadeObjectDetector(inputImage,classifierList,scale,minNeighbors,flags);
// detect=CascadeObjectDetector(inputImage,classifierList,scale,minNeighbors,flags,minSize);
// detect=CascadeObjectDetector(inputImage,classifierList,scale,minNeighbors,flags,minSize,maxSize);
//
// Parameters
// out: the output image with all specified detections.
// inputImage: input image on which the objects should be detected.
// classifierList: a matrix of strings containing the location of the xml files which are to be used in the detection.
// scale: Parameter specifying how much the image size is reduced at each image scale.
// minNeighbors: Parameter specifying how many neighbors each candidate rectangle should have to retain it.
// flags: the method used in detection.it should be either 1 or 4 or 2 or 8.
// min size: Minimum possible object size. Objects smaller than that are ignored.
// max size: Maximum possible object size. Objects larger than that are ignored.
//
// Description
//
// This function is used to detect objects in an image.
//
// Examples
// // A example detecting all faces,eyes in an image.
// //read the input image.
// z=imread("oscarSelfie.jpg");
// //increase stacksize of scilab
// stacksize('max')
// declare string martrix with the xml locations.Here the general opencv's .xml files are used.
// s=["/home/nihar/Desktop/opencv/data/haarcascades/haarcascade_eye_tree_eyeglasses.xml" "/home/nihar/Desktop/opencv/data/haarcascades/haarcascade_frontalface_alt.xml"];
// //call function
// //Note:-the value of scale and other optional inputs must be adjusted to get proper/desired detection.
// p=CascadeObjectDetector(z,s,1.05);
// //show the detection
//imshow(p);
//
// Detect only faces.
//
// //read the input image.
// z=imread("oscarSelfie.jpg");
// //increase stacksize of scilab
// stacksize('max')
// declare string martrix with the xml locations.Here the general opencv's .xml files are used.
// s=["/home/nihar/Desktop/opencv/data/haarcascades/haarcascade_frontalface_alt.xml"];
// //call function
// //Note:-the value of scale and other optional inputs must be adjusted to get proper/desired detection.
// p=CascadeObjectDetector(z,s,1.05);
// //show the detection
// imshow(p);
input_image1=mattolist(input_image);
[lhs rhs]=argn(0);
if lhs>1
error(msprintf(" Too many output arguments"));
elseif rhs>7
error(msprintf(" Too many input arguments"));
elseif rhs<2
error(msprintf("Too less arguments provided!,minimum is 2!"));
end
select rhs
case 2 then
[a,bbox]=raw_CascadeObjectDetector(input_image1,classifierList);
case 3 then
[a,bbox]=raw_CascadeObjectDetector(input_image1,classifierList,varargin(1));
case 4 then
[a,bbox]=raw_CascadeObjectDetector(input_image1,classifierList,varargin(1),varargin(2));
case 5 then
[a,bbox]=raw_CascadeObjectDetector(input_image1,classifierList,varargin(1),varargin(2),varargin(3));
case 6 then
[a,bbox]=raw_CascadeObjectDetector(input_image1,classifierList,varargin(1),varargin(2),varargin(3),varargin(4));
case 7 then
[a,bbox]=raw_CascadeObjectDetector(input_image1,classifierList,varargin(1),varargin(2),varargin(3),varargin(4),varargin(5));
end
dimension=size(a)
for i = 1:dimension
out(:,:,i)=a(i);
end
endfunction;
|
a1179e6de54b32f922dbfc276270b6336dd5527c | 449d555969bfd7befe906877abab098c6e63a0e8 | /462/CH3/EX3.3/ex_3_3.sce | 49761ea19137bf4870425831a1d0b96490f1ddc4 | [] | 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 | 972 | sce | ex_3_3.sce | //example 3.3//
clc
//clears the screen//
clear
//clears already existing varibales//
a=10;
//input voltage (in volts)//
b=.7;
//transistor voltage(saturation voltage)//
c=5;
//resistor b/w input voltage and the transistor//
d=10;
//input voltage from collector side//
e=0.1;
//transistor voltage(saturation voltage from collector side)//
f=2;
//resistor in kilo-ohm//
g=30;
h=-10;
//input voltage from emitter side//
I=(a-b)/c;
//base current of transistor from given figure//
disp('the base current of given circuit is (in mA):')
disp(I)
//base current is in mA//
K=(d-e)/f
//collector current of transistor from given figure//
disp('the collector current of given circuit is (in mA):')
disp(K)
//collector current in mA(saturation current)//
L=K/g
disp('base current required for the transistor to be in saturation is (in mA):')
disp(L)
//current in mA//
M=(h-b)/c
disp('the base current is (in mA):')
disp(M)
//base current in mA// |
716c8d8ccb0320505e672e1e5e4e6b7958729482 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH5/EX5.4/exa_5_4.sce | 18a27f27e0af0b9ab33cdbee4df6e56f272fcc69 | [] | 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 | 376 | sce | exa_5_4.sce | // Exa 5.4
clc;
clear;
close;
// Given data
V1= 2;// in volt
V2= -1;// in volt
// Let R1= (R||R)/(R+(R||R))= (R/2)/(R+R/2) = 1/3
R1=1/3;
Vs1= V1*R1;// in volt
// Let R2= (1+Rf/R)= (1+2*R/R)= 3
R2= 3;
Vo_desh= Vs1*R2;// in volt
Vs2= V2*R1;// in volt
Vo_doubleDesh= Vs2*R2;// in volt
V_out= Vo_desh+Vo_doubleDesh;// in volt
disp(V_out,"Output voltage in volt")
|
945338b733fb3f63c4f9e3a0f53a5bd6cb789b17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /530/CH2/EX2.12/example_2_12.sce | 9d05792781dd39127fde6063a04f3cdd1eeac37d | [] | 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,211 | sce | example_2_12.sce | clear ;
clc;
// A Textbook on HEAT TRANSFER by S P SUKHATME
// Chapter 2
// Heat Conduction in Solids
// Example 2.12
// Page 67
printf("Example 2.12, Page 67 \n\n")
a = 0.12 ; // [m]
T = 400 ; // [C]
To = 25 ; //[C]
t = 100/60 ; // [hour]
h = 10 ; // [W/m^2 K]
k = 1.0 ; // [W/m K]
alpha = 3.33*10^-3 ; // [m^2/h]
// using fig 2.18 and eqn 2.7.20
x1 = h*a/k ;
x2 = k/(h*a);
x3 = alpha*t/a^2;
// Let ratio_x = theta/theta_o for x direction, from fig 2.18
ratio_x = 0.82 ;
// Similarly, for y direction
ratio_y = 0.41;
// Similarly, for z direction
ratio_z = 0.30;
// Therefore
total_ratio = ratio_x*ratio_y*ratio_z ;
T_centre = To + total_ratio*(T-To) ; // [degree C]
printf("Temperature at the centre of the brick = %f degree C \n\n",T_centre);
// Alternatively
printf("Alternatively, obtaining Biot number and values of lambda_1_b and using eqn 2.7.20, we get \n")
ratio_x = 1.1310*exp(-(0.9036^2)*0.385);
ratio_y = 1.0701*exp(-(0.6533^2)*2.220);
ratio_z = 1.0580*exp(-(0.5932^2)*3.469);
ratio = ratio_x*ratio_y*ratio_z;
T_centre = To + total_ratio*(T-To) ; // [degree C]
printf("Temperature at the centre of the brick = %f degree C \n",T_centre); |
184fc16e2e49d203aae2a58fd6c3231583e1fe16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH20/EX20.5/20_5.sce | 58ed1b3fcd9b2549232d884a4eaab7c030c1ee5d | [] | 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 | 304 | sce | 20_5.sce | clear//
//Variables
V0 = 10 //Regulated dc supply (in volts)
LR = 0.00002 //Line regulation
//Calculation
dV = LR * V0 //Change in output voltage (in volts)
//Result
printf("\n Change in output voltage is %0.3f mV.",dV * 10**3)
|
f8892f4605fdc8233bd18a10d0b914f0da8c7865 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH10/EX10.10/Ex10_10.sce | a77db9a6d113bd8720ea76ea6e90a02b19607c98 | [] | 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 | 199 | sce | Ex10_10.sce | //Ex10_10
clc
x='1001000';
disp("Binary number="+string(x))//binary value
d=bin2dec(x)//binary to decimal
h=dec2hex(d)//decimal to hexa decimal
disp("Eqivalent hexadecimal number="+string(h))
|
e11240106872b6ac738de9c92bb9c3882d5345da | 907843f7d8c0871eec2850b95a5d2077c14c182a | /utilities/MeshConvert/Tests/Gmsh/Scalar_Windows.tst | 6849127daf08c9d27a7face9e81e04c86f0efdae | [
"MIT"
] | permissive | li12242/nektar | 4792c4f8f88992875ecefb590e804e850887ae19 | a31e519cdde5d58d2fa23e0eaedd54ce3ed9fb72 | refs/heads/master | 2020-05-29T12:21:41.203547 | 2015-07-29T14:15:38 | 2015-07-29T14:15:38 | 65,020,427 | 1 | 0 | null | 2016-08-05T13:26:59 | 2016-08-05T13:26:58 | null | UTF-8 | Scilab | false | false | 706 | tst | Scalar_Windows.tst | <?xml version="1.0" encoding="utf-8" ?>
<test>
<description>Gmsh box with scalar surface deformation and hex boundary layer splitting</description>
<executable>MeshConvert</executable>
<parameters>-m scalar:surf=1:scalar=exp(-x*x-y*y):nq=7 -m bl:nq=7:layers=7:r=2.5 -m jac:list Scalar.msh Scalar.xml:xml:test</parameters>
<files>
<file description="Input File">Scalar.msh</file>
</files>
<metrics>
<metric type="regex" id="1">
<regex>^Total negative Jacobians: (\d+)</regex>
<matches>
<match>
<field id="0">0</field>
</match>
</matches>
</metric>
</metrics>
</test>
|
dcac24877ae0ddb84f9f788ecb5bd1af8a08d708 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH10/EX10.3/10_3.sce | e7a484f2a6f46a57ad4bb3305925457c04f5da5a | [] | 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 | 731 | sce | 10_3.sce | //To estimate the power
clc
//Given:
W=75*1000 //W
v=300 //mm/min
p=6,d0=40 //mm
mu=0.1
//Solution:
//Calculating the mean diameter of the screw
d=(d0-p/2)/1000 //m
//Calculating the helix angle
alpha=atan(p/(%pi*d*1000)) //radians
//Calculating the force required at the circumference of the screw
phi=atan(mu) //Limiting angle of friction, radians
P=W*tan(alpha+phi) //N
//Calculating the torque required to overcome the friction
T=P*d/2 //N-m
//Calculating the speed of the screw
N=v/p //rpm
//Calculating the angular speed
omega=2*%pi*N/60 //rad/s
//Calculating the power of the motor
Power=T*omega/1000 //Power of the motor, kW
//Results:
printf("\n\n Power of the motor required = %.3f kW.\n\n",Power) |
43b98cd35dea33ba7ac99625565e7f30ce8b5c92 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Linear_Integrated_Circuits_S._Salivahanan_And_V._S._K._Bhaaskaran_1106.zip/Linear_Integrated_Circuits_S._Salivahanan_And_V._S._K._Bhaaskaran_1106/CH4/EX4.4/ex4_4.sce | b77dc8eb52c1483ae8c2ba98649e04d000ac2631 | [] | 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 | 160 | sce | ex4_4.sce | errcatch(-1,"stop");mode(2);// Example 4.4, Page No-187
Vcc=15
Re2=1000
Vc1=5
Ve2=5
I=(Vcc-Ve2)/Re2
I=I*1000
printf("Current= %d mA", I)
exit();
|
da1b9c891f928c052580c88812680980434e8e43 | f23e565144f1b0f63c7b613c0f549944d425a073 | /Cours/TP_INFO/TP_note/foissard.ressayre. TD MACHINE.sce | dc10333191329b82dcef557df038a799382faaa9 | [] | no_license | Antoine-Gerard/Valar-Morghulis | c45766f03898241bd9c424256744b5ffa16dd82c | 796363bfbc6f2e3249c90f1762e041ff5a4e705a | refs/heads/master | 2021-08-31T06:06:55.296982 | 2017-12-20T13:54:33 | 2017-12-20T13:54:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 956 | sce | foissard.ressayre. TD MACHINE.sce | //Exercice A
V0 = zeros(50, 1)
V1 = 10* ones(50, 1)
V2 = 0:0.3:10
V5 = linspace(-3, 7, 50)
//Exercice B
function f = truc(x)
f = (1 + x) .*sin(%pi .*x)
endfunction
x = linspace(-2, 2, 100)
xdel(winsid());
fenetre = figure("Figure_name", "Mon premier tracé", "position", [100 50 1000 600]);
fenetre.background = color("aliceblue");
set("current_figure", fenetre);
plot2d(x, truc(x), style=[color("forestgreen")]);
function P1 = P1(x)
P1 = (%pi .*x)
endfunction
plot2d(x, P1(x), style=[color("red")]);
function P2 = P2(x)
P2 = (%pi .*x) + (%pi .*x ^2)
endfunction
plot2d(x, P2(x), style=[color("lightblue")]);
//Exercice C
fenetre = figure("Figure_name", "Equations", "position", [100 50 1000 600]);
fenetre.background = color("white");
set("current_figure", fenetre);
function v = G(t, y)
v = (y ./t) + t.*log(t)
endfunction
y = ode ("rk", u, a, t, G)
a = 1
t = linspace(1, 4, 100)
u = -2
plot2d(t, y, style=[color("pink")]);
|
d575a7b001006c5aa9087fed119dec8a288fe0ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2321/CH9/EX9.6.1/EX9_6_1.sce | fed35c6a62850f19d40755c4facfb49992c6e0ba | [] | 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 | 306 | sce | EX9_6_1.sce | //Example No. 9.6.1
clc;
clear;
close;
format('v',7);
f=2;//GHz(Frequency)
G=12;//dBi(Gain)
D=12;//dBi(Gain)
D=10^(D/10);//unitless(Directivity)
c=3*10^8;//m/s(speed of light)
lambda=c/(f*10^9);//m(wavelength)
Ap=D*lambda^2/7.5;//m²(capture area)
disp(Ap,"Required capture area in m² : ");
|
f9762edd6702e70094ca3a3516dc8051aea2eed1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH8/EX8.1/ex8_1.sce | 129bb02dd8d6cdcbca3723a08f968529be51aac1 | [] | 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 | 491 | sce | ex8_1.sce | //Express the gain in decibel
clear;
clc;
//soltion
//given
//Powere gain of 1000
Pg1=1000;
Pgd1=10*log10(Pg1);
printf("Power gain (in dB)= %.0f dB\n",Pgd1);
//Voltage gain of 1000
Vg1=1000;
Vgd1=20*log10(Vg1);
printf("Voltage gain (in dB)= %.0f dB\n",Vgd1);
//Powere gain of 1/100
Pg2=1/100;
Pgd2=10*log10(Pg2);
printf("Power gain (in dB)= %.0f dB\n",Pgd2);
//Voltage gain of 1/100
Vg2=1/100;
Vgd2=20*log10(Vg2);
printf("Voltage gain (in dB)= %.0f dB\n",Vgd2);
|
4fd0e0d33266fa292c1e20a227aff3cd28a9a5b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH2/EX2.1/Ex2_1.sce | 2c6ca9830f3cf65ec70538036560cc9991bfd821 | [] | 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 | 301 | sce | Ex2_1.sce | clc;
//page no 31
//problem 2.1
//v(t)=12coos(2pi*2000t)
A=12; //in volts
disp('V',A,'(a) The amplitude is idetified as');
w=2*%pi*2000;
disp('rad/s',w,'(b) The radian frequincy is');
f=w/(2*%pi);
disp('Hz',f,'(c) The cyclic frequency is');
T=1/f;
disp('s',T,'(d) The period is');
|
27f4d14359d9568ba0c5b339b64b69c159070678 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1208/CH9/EX9.22/Exa22.sce | bc41a819ea89a250e7c2f0394ceb91ca0acd5d90 | [] | 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 | 818 | sce | Exa22.sce | //Exa22
clc;
clear;
close;
//given data :
SQ=58000//in sq.ft.
AQ=60000//in sq.ft.
SP=7//in rupees per sq.ft.
AP=6.75//in rupees per sq.ft.
ST=174000;//in hours
AT=185200;//in hours
SR=3.75;//in Rs/Hour
AR=3.5;//in Rs/Hour
//(i) MCV
MCV=(SQ*SP)-(AQ*AP);//in rupees
//(ii) MPV
MRV=AQ*(SP-AP);//in rupees
//(iii) MUV
MUV=SP*(SQ-AQ);//in rupees
disp(MCV,"MCV=");
disp(MRV,"MRV=");
disp(MUV,"MUV=");
disp("Note : ")
disp("Negative variances indicate adverse value ");
disp("Positive variances indicate favourable value ")
//Labour Cost variance
LCV=(ST*SR)-(AT*AR)
//Labour Efficiency variance
LEV=SR*(ST-AT);// in Rs
//Labour Rate variance
LRV=AT*(SR-AR);// in Rs
disp(LCV,"Labour Cost variance : ")
disp(LRV,"Labour Rate variance : ")
disp(LEV,"Labour Efficiency variance : ")
|
3ebd5a3a8fad49c1c7c5e115f6da090e4c2a75e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH2/EX2.69/ex2_69.sce | 78ec4c9cc83ed580f2970a2f4986336a46517a1b | [] | 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 | ex2_69.sce | clc
Im1=20; //Assigning values to parameters
Im2=40;
Im=25;
function i1=f(wt), i1=Im1*sin(wt), endfunction
function i2=f(wt), i2=Im2*sin(wt+%pi/6), endfunction
function i=f(wt), i=Im*sin(wt+%pi/6), endfunction
Z=6+%i*8;
I1=Im1/sqrt(2);
I2=24.49+%i*14.14;
I=15.31+%i*8.84;
I3=I-(I1+I2);
V=I*Z;
[r,t]=polar(Z);
P=V*I*cos(t);
Z1=V/I1;
disp("Amperes",I3,polar(I3),"Current I3");
disp("Volts",V,polar(V),"Supply Voltage");
disp("Watts",P,polar(P),"Active Power");
disp("Ohms",Z1,polar(Z1),"Impedance Z1"); |
9430bc634a249c536e3eea281830dc948f7e475f | c9976c3dcdac467bda6eb41a24f8aff2afd5a02d | /TestBallSeq.tst | 371074b5f73b1c225f9581389309255a503e33e7 | [] | no_license | mb0swell/hwk2 | b02f636e94a9c124fa11af54974d6d7f48985db4 | 617c70852fc4f52c2740a79318256ea396cc0843 | refs/heads/master | 2020-12-24T01:38:50.652743 | 2020-01-31T01:26:32 | 2020-01-31T01:26:32 | 237,338,996 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | tst | TestBallSeq.tst | 566769707=6
1191281444=3
1557219254=1
1854083915=1
25562286=1
710084632=3
565750963=0
1459925108=5
236938571=0
1860957759=5
1724402076=3
980256184=5
221507525=-2
1957337308=-1
1196621866=0
887770454=0
491728531=-1
1006831199=4
371995505=-1
|
8b205b76adbd07e52659ee4310a12e5840f5ed0c | 81a5c9fb4452c596031b1d529ea71e53e423de8d | /power.sce | f6fc036c8de8ab40ba86b832073e7e365460f9e4 | [] | no_license | thevinitgupta/scilab | b9d6b31b27bd3192d3713470c4a51da080d6a572 | c0aa61b0463c3501d43b73fdec07b9dc7fc27b21 | refs/heads/main | 2023-03-22T07:49:10.980286 | 2021-03-12T13:32:10 | 2021-03-12T13:32:10 | 346,394,901 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 146 | sce | power.sce | // Name - Vinit Gupta
//
// Date of creation: 10 Mar, 2021
//
x = input("Enter base value ")
n = input("Enter exponent value ")
y = x^n
disp(y)
|
7de651e5088bc9da9ec2312d7d807214fd66413f | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH3/EX3.13/Example_3_13.sce | 8abd2f9ed66c1477891b4710e093fd24588cf9c9 | [] | 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 | Example_3_13.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 3
//P-V-T Behaviour and Heat Effects
//Example 13
clear;
clc;
//Given:
To = 298; //standard temperature(K)
T1 = 400; //temperature of reactants(K)
T2 = 600; //temperature of products (K)
Ho = -283.028; //standard heat of reaction(kJ/mol)
//To determine heat added or removed
//Basis:
n_CO = 1; //moles of CO reacted
n_O2 = 1;//moles of oxygen supplied
n_N2 = 1*79/21; //moles of nitrogen
n1_O2 = 0.5; //moles of oxygen required
n_CO2 = 1; //moles of carbon di oxide formed
H1 = ((n_O2*29.70)+(n_N2*29.10)+(n_CO*29.10))*(To-T1)/1000; //enthalpy of cooling of reactants
H2 = ((n1_O2*29.70)+(n_N2*29.10)+(n_CO2*41.45))*(T2-To)/1000; //enthalpy of heating the products
Hr = H1+Ho+H2;
mprintf('Heat supplied is %f kJ',Hr);
//end |
a4e2f4033817881b891ce48917d5c134e04ffed1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH11/EX11.4/11_4.sce | 7753011e3a25dd493bdeb44245ad3559182520a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | 11_4.sce | clc
//initialization of varaibles
P1=100 //psia
P2=10 //psia
T1=140 +460 //R
g=1.4
cp=0.248
//calculations
dh=g*55.16*T1*((P2/P1)^((g-1)/g) -1)/(g-1)
T2=T1*(P2/P1)^((g-1)/g)
dh2=cp*(T2-T1)
//results
printf("In method 1, Enthalpy = %d Btu/lb",dh*0.01286)
printf("\n In method 2, Enthalpy = %.1f ft lb/lb",dh2)
|
aa0e1fbde05140e03875226d2043ac1fb48c9c6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH13/EX13.1/1.sci | c6bf289f913610871298623d1d3a110f41c70a4e | [] | 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 | 603 | sci | 1.sci | clc;
clear all;
disp("fracion and pressure")
Ma=24;
Mb=48;
M=30;
rho=1.2;// kg/m^3
T=290;// K
C=rho/M;// mole concentration of the mixture
//Ca=C-Cb
//rhoA+rhoB=rho;
//rhoA=Ma*Ca
//rhoB=Mb*Cb
//24*(C-Cb)+48*Cb=rho
Cb=(rho-24*C)/24;//kg mole/m^3
Ca=C-Cb;//kg mole/m^3
rhoA=Ma*Ca;// kg/m^3
rhoB=Mb*Cb;// kg/m^3
xA=Ca/C;
disp(xA,"mole fraction of A, xA =")
xB=Cb/C;
disp(xB,"mole fraction of B, xB =")
mA=rhoA/rho;
disp(mA,"mole fraction of A, mA =")
mB=rhoB/rho;
disp(mB,"mole fraction of B, mB =")
G=8.314;// kJ/(kgmole*K)
p=rho*G*T/M;
disp("kPa",p,"Total pressure p =")
|
f88cc9a752c95661c5cfa984d0a549883401eac7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH3/EX3.10/example3_10.sce | 497179223c0161a379c4e9029ef71396ecb2b468 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | example3_10.sce | disp('chapter 3 ex3.10')
disp('given')
disp('The difference of two input signals is to be ampliflied by factor of 37')
Av=37
disp('amplitude=50mV')
disp('R2=1Mohms')
R2=1*10^(6)
disp('R1=R2/Av')
R1=R2/Av
disp('ohms',R1)
disp('R3=R1=27kohms')
disp('R4=R2=1Mohms')
R3=27000
R4=1*10^(6)
disp('differential mode input resistance Ridiff=R1+(R3+R4)')
Ridiff=R1+(R3+R4)
disp('ohms',Ridiff)
disp('commom mode input resistance Ricm=R1||(R3+R4)')
Ricm=R1*(R3+R4)/(R1+R3+R4)
disp('ohms',Ricm) |
854698a36e03a2b9adc85a9035beddf27d085937 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH17/EX17.4/Ex17_4.sci | 20cabc3facb55d17879e21d0799675952214868b | [] | 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 | sci | Ex17_4.sci | //Initilization Of Variables
s1=2 //Lower Limit oF the Integral
s2=5 //Upper Limit of the Integral
n=10 //Interval of the integral
k=20 //lb/in
//Calculation
//Using Trapezoidal Rule for Intergration
function[I1]=Trap_Composite1(f,s1,s2,n)
h=(s2-s1)/n
s=linspace(s1,s2,n+1)
I1=(h/2)*((2*sum(f(s)))-f(s(1))-f(s(n+1)))
endfunction
deff('[y]=f(s)','y=k*s')
//Result
clc
printf('The work done is %f in-lb',Trap_Composite1(f,s1,s2,n) )
|
64dca46c654f615a4cf62721d80696d7fdf93ec6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH3/EX16.5/16_5.sce | 9907dcfb11277952cc5c73dbcf24013bb521a324 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | 16_5.sce | clc
//initialisation of variables
p1=200//kg
p2=300//kg
p3=250//kg
a1=1//m
a2=1.5//m
a3=2//m
l=5//m
w=20//kg
L=5.5//m
Rb=415//kg
Ra=1325//kg
//CALCULATIONS
RA=p1+p2+p3//kg
RB=RA-Rb//kg
B=L*w//kg
R=RB+(B/2)//kg
S=Rb+(B/2)//kg
//RESULTS
printf('the beam lying is force=% f kg',S)
|
d32d656cd30363f166430a666556f98219c4c58c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH16/EX16.11w/16_11w.sce | fe6495771d1b2d7e6cd30d4eb1b2812a104ee746 | [] | 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 | 591 | sce | 16_11w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 16.11w
//calculation of the minimum distance between the source and the detector for maximum sound detection
//given data
nu=180//frequency(in Hz)
d=2//distance(in m)
v=360//speed(in m/s) of the sound wave in air
//calculation
//path difference.....delta = (2*((2^2) + (x^2/4))^(1/2)) - (x)
lambda=v/nu//wavelength
delta=lambda
//solving the above equation,we get
x=4-1
printf('the minimum distance between the source and the detector for maximum sound detection is %d m',x)
|
6c0611e5f8602b7df43799b25fcce8a2f49512f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1820/CH7/EX7.4/Example7_4.sce | 3e973bc83af5694a74b251c610eb47a6ac12b5f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,041 | sce | Example7_4.sce | // ELECTRIC POWER TRANSMISSION SYSTEM ENGINEERING ANALYSIS AND DESIGN
// TURAN GONEN
// CRC PRESS
// SECOND EDITION
// CHAPTER : 7 : TRANSIENT OVERVOLTAGES AND INSULATION COORDINATION
// EXAMPLE : 7.4 :
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
R = 500 ; // Resistance in Ω
Z_c = 400 ; // characteristic impedance in Ω
v_f = 5000 ; // Forward travelling voltage wave in V
i_f = 12.5 ; // Forward travelling current wave in A
// CALCULATIONS
// For case (a)
r_v = (R - Z_c)/(R + Z_c) ; // Reflection coefficient of voltage wave
// For case (b)
r_i = -(R - Z_c)/(R + Z_c) ; // Reflection coefficient of current wave
// For case (c)
v_b = r_v * v_f ; // Backward-travelling voltage wave in V
// For case (d)
v = v_f + v_b ; // Voltage at end of line in V
v1 = (2 * R/(R + Z_c)) * v_f ; // (or) Voltage at end of line in V
// For case (e)
t1 = (2 * R/(R + Z_c)) ; // Refraction coefficient of voltage wave
// For case (f)
i_b = -( v_b/Z_c ) ; // backward-travelling current wave in A
i_b1 = -r_v * i_f ; // (or) backward-travelling current wave in A
// For case (g)
i = v/R ; // Current flowing through resistor in A
// For case (h)
t2 = (2 * Z_c/(R + Z_c)) ; // Refraction coefficient of current wave
// DISPLAY RESULTS
disp("EXAMPLE : 7.4 : SOLUTION :-") ;
printf("\n (a) Reflection coefficient of voltage wave , ρ = %.4f \n",r_v) ;
printf("\n (b) Reflection coefficient of current wave , ρ = %.4f \n",r_i) ;
printf("\n (c) Backward-travelling voltage wave , v_b = %.3f V \n",v_b) ;
printf("\n (d) Voltage at end of line , v = %.3f V \n",v) ;
printf("\n From alternative method ")
printf("\n Voltage at end of line , v = %.3f V \n",v) ;
printf("\n (e) Refraction coefficient of voltage wave , Γ = %.4f \n",t1) ;
printf("\n (f) Backward-travelling current wave , i_b = %.4f A \n",i_b) ;
printf("\n (g) Current flowing through resistor, i = %.4f A \n",i) ;
printf("\n (h) Refraction coefficient of current wave , Γ = %.4f \n",t2) ;
|
fb52f862d98e24f21d7e4047baa1f94fd447c2c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1627/CH8/EX8.1/Ex8_1.sce | b5cde63548c25e936f6efa7ca3d21d532aaec077 | [] | 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 | 227 | sce | Ex8_1.sce | clc
//initialisation of variables
p1=5//cm
v=50//m/s
p2=5*10^-2//m
g=9.8//m/s^2
q=9802//N/m^3
//CALCULATIONS
Q=(%pi)*(p2)^2*v/4//m^3/s
F=q*Q*v/g*0.001//kN
//RESULTS
printf('The force exerted on the plate=% f kN',F)
|
0b2188b5e5e900806244697a22ebd2a8677c619c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH9/EX9.2/Example9_2.sce | 28f36e6da6cfb8b15efde43dd1a119e128f7dae7 | [] | 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 | Example9_2.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 9: POLYPHASE INDUCTION (ASYNCHRONOUS) DYNAMOS
// Example 9-2
clear; clc; close; // Clear the work space and console.
// Given data
s_a = 5*(1/100); // Slip (case a)
s_b = 7*(1/100); // Slip (case b)
// Given data and calculated values from Ex.9-1
f_a = 60 ; // Line frequency in Hz (case a)
f_b = 50 ; // Line frequency in Hz (case b)
S_a = 1200 ; // Speed in rpm of the rotating magnetic field (case a)
S_b = 1000 ; // Speed in rpm of the rotating magnetic field (case b)
// Calculations
// case a
S_r_a = S_a * ( 1 - s_a ); // Rotor speed in rpm when slip is 5% (case a)
// case b
S_r_b = S_b * ( 1 - s_b ); // Rotor speed in rpm when slip is 7% (case b)
// Display the results
disp("Example 9-2 Solution : ");
printf(" \n a: S_r = %.f rpm @ s = %.2f \n ", S_r_a ,s_a );
printf(" \n b: S_r = %.f rpm @ s = %.2f ", S_r_b ,s_b );
|
c2715125bdd9f1f6ae276760ae758575ad1745e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH3/EX3.11/Ex3_11.sce | e7c43a42d9b3d704fcbe5ed78f238f9211a69768 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | sce | Ex3_11.sce | clc;
clear;
E=1.43 //in eV
h=4.14*10^-15 //plancks constant in e*V*s
c=3*10^8 //in m/s
//Calculation
//a)
v=E/h
//b)
lamda=c/v
mprintf("a)minimum frequency= %.3e Hz\n",v)
mprintf("b)wavelength= %.1e m",lamda) //The answers vary due to round off error
|
8a66da0c28ceba9cca7639a78b9d2592d29efbbe | 76b8c4ba0a69d3281b658f0fcf0ec56a96e27581 | /Scripts/erosionBinaire.sci | b83bfe5de265f2acea3c0740840958e4f8d957e2 | [] | no_license | RomainJunca/ExoLife | 0824fa566b38c5061f77592df6c38c3614dd8619 | 8da1524432d0ef1137d5e73e80cec339e6ec1c33 | refs/heads/master | 2020-05-25T14:08:07.353617 | 2017-03-20T08:31:32 | 2017-03-20T08:31:32 | 84,937,995 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 969 | sci | erosionBinaire.sci | //Dilatation
function image_out=erosionBinaire(image, calque, centerX, centerY)
image1 = inversionCouleurs(image);
SizeCalcX = size(calque, 1);
SizeCalcY = size(calque, 2);
calque2 = zeros(SizeCalcX, SizeCalcY);
//Application de l'effet Miroir à l'aide de boucle for
for X = 1 : SizeCalcX
for Y = 1 : SizeCalcY
if calque(X, Y) == 255 then
calque2(SizeCalcX+1-X, Y) = 255;
end,
end
end
calque3 = zeros(SizeCalcX, SizeCalcY);
for X = 1 : SizeCalcX
for Y = 1 : SizeCalcY
if calque2(X, Y) == 255 then
calque3(X, SizeCalcY+1-Y) = 255;
end,
end
end
disp(calque3, calque);
//On applique la dilatation et l'inversion des couleurs binaires
image2 = dilatationBinaire(image1, calque3, centerX, centerY);
image_out = inversionCouleurs(image2);
endfunction
|
b1b02a37bbb5dc9112caf76cfac5db3bf7bc7ba9 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/GOLD-TEST/mao.tst | 4ba0a9fb561070638d67d5c57566e7e3f8f6e4c2 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 809 | tst | mao.tst | mōhio mōhio V;ACT
mōhio mōhiotia V;PASS
tahi tahi V;ACT
tahi tahia V;PASS
patu patua V;PASS
patu patu V;ACT
hoe hoe V;ACT
hoe hoea V;PASS
āmine āmine V;ACT
āmine āminetia V;PASS
oka okaina V;PASS
oka oka V;ACT
paki pākia V;PASS
paki paki V;ACT
wareware wareware V;ACT
wareware warewaretia V;PASS
puta puta V;ACT
puta putaina V;PASS
kaukau kaukauria V;PASS
kaukau kaukau V;ACT
tae tae V;ACT
tae taea V;PASS
tomo tomo V;ACT
tomo tomokia V;PASS
hora horahia V;PASS
hora hora V;ACT
waiata waiatatia V;PASS
waiata waiata V;ACT
ako ākona V;PASS
ako ako V;ACT
kohikohi kohikohia V;PASS
kohikohi kohikohi V;ACT
hoki hoki V;ACT
hoki hokia V;PASS
hono honoa V;PASS
hono hono V;ACT
ruruku ruruku V;ACT
ruruku rurukutia V;PASS
hūtuki hūtukia V;PASS
hūtuki hūtuki V;ACT
haere haerea V;PASS
haere haere V;ACT
|
baa673c02254ac77b3c189c76ef5480c4a558426 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH7/EX7.2/Ex7_2.sce | 168b0e55b42a8467d5031cbfd4fdef4e6d0250e9 | [] | 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 | 579 | sce | Ex7_2.sce | // Example 7.2
clc;
clear;
close;
// Given data
format('v',6);
f_H= 2*10^3;//cut-off frequency in Hz
C= 0.033*10^-6;// in F
R= 1/(2*%pi*f_H*C);// in Ω
// 2*R= Rf*R1/(Rf+R1)= 0.586*R1^2/(1.586*R1) since Rf= 0.586*R1
R1= 2*R*1.586/0.586;// in Ω
R1= round(R1*10^-3);// in kΩ
disp("The value of R1 is : "+string(R1)+" kΩ");
disp("(The value of R1 may be taken of 15 kΩ)");
R1= 15;// in kΩ
Rf= R1*0.586;// in kΩ
//Rf= floor(1.5*R1);// in kΩ
disp("The value of Rf is : "+string(Rf)+" kΩ");
disp("(The value of Rf may be taken as a pot of 10 kΩ)");
|
7d2da166af2e96a7451b7cbf678a22824d10ebdb | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH12/EX12.11/ex12_11.sce | 36dee3373a97be050886f4246f0ba36ec253b633 | [] | 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,126 | sce | ex12_11.sce | clear;
//clc();
// Example 12.11
// Page: 338
printf("Example-12.11 Page no.-338\n\n");
//***Data***//
// The data used in this example will e same as in the example 12.10
T = 273.15+400;//[K] given temperature
P = 150*1.01325;//[bar] given pressure
// Here again the equation will be same as in the example 12.9 like we used in the example 12.10 only K_673 is replaced by (K/K_v)*[P/(1 bar)]^(1.5+0.5-1)
K_673 = 0.013;
// The value of 'K_v' is calculated by the equation 12.BN, which is
// log10(1/K_v) = (0.1191849/T + 91.87212/T^(2) + 25122730/T^(4))*P
// So
K_v = (10^((0.1191849/T + 91.87212/T^(2) + 25122730/T^(4))*P))^(-1);
// Thus
K = (K_673/K_v)*[P/1]^(1.5+0.5-1);
// Now from the previous example we have
// K = ((0+e)/(2-e))/(((0.5-0.5*e)/(2-e))^(0.5)*((1.5-1.5*e)/(2-e))^(1.5))
deff('[y]=f(e)','y = ((0+e)/(2-e))/(((0.5-0.5*e)/(2-e))^(0.5)*((1.5-1.5*e)/(2-e))^(1.5))-K');
e = fsolve(0.2,f);
// Mol fraction of the ammonia in the gas phase in the equilibrium is given by
y_NH3 = (0+e)/(2-e);
printf(" The mole fraction of the ammonia in the equilibrium is %0.2f",y_NH3);
|
2756c804ee7153ec773150997a4c1445c6fa3bd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH6/EX6.16/example_16.sce | 00bcd65819c948a85b605994eb40f805c04155e6 | [] | 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 | 476 | sce | example_16.sce | clc
clear
printf("example 6.16 page number 264\n\n")
//to find the percentage extraction of nicotine
x=0.01; //% of nicotine
X0 = x/(1-x);
w=150 //weight of nicotine water solution
A0=w*(1-X0);
B0=250; //kg keroscene
X1 = A0*X0/(A0+B0*0.798);
printf("final concentration of nicotine = %f",X1)
c=A0*(X0-X1);
printf("\n\namount of nicotine removed = %f kg",c)
percentage = (c*100)/(A0*x);
printf("\n\npercentage recovery = %f percent",percentage)
|
84650de2d7d8cffa03326f9c2e0065be659fdba8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH2/EX2.13/13.sce | 1867579b85c57a3f81e2027772ab6d81ada9a265 | [] | 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 | 205 | sce | 13.sce | clc
deff("[e]=func(t)","e=0.20*t-5*10^(-4)*t^2")
t1=0; //0C
e1=func(t1);
t2=100; //0C
e2=func(t2);
t3=70; //0C
e3=func(t3);
t=e3*(t2-t1)/e2-e1;
disp("thermocouple will read")
disp(t)
disp("°C") |
e5898c432603692c38f819aaa677f069f45db43a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1316/CH1/EX1.11/example1_11.sce | 9a7bfb34fdb1b9af61f5a594a28bf85a0bebb55c | [] | 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 | example1_11.sce | //Chapter 1
//Example 1.11
//Page 29
clear;
clc;
Delta_K=1.5;
Delta_G=0.05;
K=100;
G=20;
//Calculation of system accuracy of flow process
printf("Here we have direct application of Delta V/V = %.2f \n",(Delta_K/K)+(Delta_G/G));
printf("If we use more statistically correct rms approach,the system accuracy would be = %.4f",sqrt((Delta_K/K)^2+(Delta_G/G)^2));
|
0f2f7a5d6efc66b039c75f1f7a893e11d75e4d5b | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/EnHe/enhe11.tst | c5a7c629be40394e82b87f447bd64cfae2541553 | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,453 | tst | enhe11.tst | ghotbzadeh
takuya
verona
kohl
alami
veneto
dalnet
bouna
gammoudi
durrell
lato
prodi
aston
morihei
reza
talaat
anastasius
lakis
mohaisen
daniel
chacour
lucy
guthrie
galilei
deanna
batumi
haruki
zenata
kolotov
platko
vernon
sharon
shojaei
heiner
sylvia
guity
mil
ramat
sorensen
rafe
nouvel
maneiro
mohammad
attica
bodom
bryansk
machaalani
assisi
dobias
risa
hidd
bamyan
melinda
bartosz
nisa
manfredonia
naseem
celtic
bagheri
lamport
laertius
arkansas
tarak
buriani
lapid
masuda
hitler
bjorn
stancioiu
hansard
huffman
schrojf
poul
thailand
darine
jarrod
robles
bodmer
zamrak
straw
dangda
wlodzimierz
timisoara
diogenes
bandar
puhl
alla
peterson
saadavi
loboue
nagai
herodias
potato
leningrad
tamblyn
theodor
mazuz
marzouk
dyer
edvard
dohan
wilhelmsson
runstrom
baruch
yamasaki
claudius
palikir
burkert
rivas
barukh
oklahoma
semih
baloyi
tanaka
shuttleworth
tzrifin
livingstone
daniels
filippo
creatine
baltasar
jeandupeux
nakagawa
hellman
petter
buruk
bertin
nadal
holyfield
munich
erekat
mancini
vidic
nasra
zayatte
ethiopia
nemo
zubin
naguib
belal
muir
clement
mia
carlyle
bikin
edmonton
beasley
menezes
papadopoulos
pankhurst
dekker
buckmaster
newman
sie
yekaterinburg
reich
ramdane
shalhoub
baronio
bakhit
tomoyuki
randolph
ilia
shalit
gioachino
tibbets
hazazi
silicone
ryusei
shasta
kramer
olafur
chivadze
shehab
yekini
karam
feraoun
wilmer
ryanair
torbinski
tamagnini
laval
balotelli
badr
nelsen
crichton
casarin
bats
huxley
eitam
zarko
masopust
freleng
hyam
commodus
ginzburg
deguerville
carles
humphrey
tilman
feinstein
salem
suweid
rolland
saleh
lassina
nozawa
bloch
dooley
nadim
costello
tyler
jovan
tarja
felicia
garaudy
frankfurt
roland
wittgenstein
wilson
trejo
amuneke
ransford
orabi
ghannouchi
garfield
guayana
paisley
cilic
taisir
worm
kyrgiakos
kodjo
kelso
kohler
milutin
yeltsin
lea
poisson
danielle
mississauga
berger
shui
maris
goldziher
scirea
zeitoun
mashrabiya
rodion
dragutinovic
d
bo
peltier
irkutsk
aharon
novak
shaul
kitazawa
matt
konchesky
ferrell
per
ramadan
raul
rafik
nimba
surprise
dunai
opec
caviezel
parthenon
herzberg
ranieri
karo
dirac
mili
hitomi
khalil
cassandra
ubayy
dismas
aghily
douis
waldemar
shaka
alaam
maariv
zajec
kevin
wenhui
yasunari
flores
walter
hachilensa
gein
ayman
virgil
valli
jaromir
hariri
saturday
diesel
samer
marbury
litton
grosso
hrodna
sadeghi
hampstead
hirata
stark
malchiel
skorzeny
pasquale
karolina
jackie
moseley
ramel
milli
hertzberger
avram
everest
teresina
luiz
mariette
bakhtiar
meade
zlatan
chihab
lilli
toshihiko
bakdash
dainelli
campo
porsche
kocharyan
banana
malloum
milorad
emerich
kurt
vince
honecker
alfazari
mickael
dick
carl
ludo
cazorla
doria
innsbruck
monteverdi
hazem
correia
baidachny
benjani
bocelli
sars
keira
cheik
sidwell
berliner
tonu
kadhim
macbride
gallup
alain
moro
nwaneri
salfit
halo
sprem
kalo
tanya
ziegler
rinko
mwanza
routledge
gene
cato
tomiko
chris
amapa
chintu
masoud
mounier
rice
mirko
arba
maaya
dai
safy
riedle
dvorak
teemu
golda
ravenna
mourinho
shmuel
bright
geynrikh
casiraghi
deniz
coeck
vieira
premysl
alaska
fournier
prso
kristanna
steven
threonine
gordimer
chrysler
mariner
kerry
stevie
knightley
sanli
culina
minor
saiga
safet
artem
nightingale
lovelace
yobo
paloschi
montparnasse
soumbeila
prandelli
ramn
haggai
cassian
hendry
kropotkin
frick
khatibi
tchato
austria
blokhin
lille
papafloratos
katakana
amritsar
wilhelmshaven
matviyenko
palotai
aldrin
hangeland
ricardinho
trafford
sarabia
gordian
fincher
tikrit
bem
slavisa
montpellier
mansouri
muslin
flemming
hawke
riggott
hass
intron
belgrano
eichmann
planinc
mouynet
baird
maskawa
komano
clapton
album
pretoria
sotomayor
venizelos
sharpe
diwali
thani
saca
serge
ami
preseren
ladbroke
kragujevac
dolores
escorial
yakan
herbert
dunbar
elyakim
darko
rawls
gourcuff
shariati
lai
khashuri
guatemala
mazinho
kenya
canberra
tueni
hawass
mcmillan
avshalom
arad
chtaura
peron
cossou
foo
brooks
wallis
morjane
bassala
adir
karaganda
schulze
milosevic
minorca
monteiro
jimmy
kieft
atiyah
salloukh
tange
histadrut
sukha
diourbel
trek
kilambe
tufts
zaytsev
ballut
rakitic
lisandro
pot
anselmo
lavan
sesto
shibam
micky
senna
kokoszka
moisiu
kosygin
shaked
salzman
sagunto
sonny
sabbah
krylov
ostrovsky
livathinos
katsouranis
pulsa
kenzo
istra
ilkhanate
schober
yonai
ringo
matsushita
mexes
lucky
giggs
chedli
petty
lindsay
golestan
familia
verne
licka
mosul
gilardino
velzquez
euclid
soichiro
covey
seitaridis
oyama
blasi
mathieu
nunez
jacobson
sedonoude
feiglin
buddha
octave
melvin
hanny
citroen
scott
devouard
giovane
agassi
tancredo
shiba
nori
irving
edubuntu
massari
patti
taraneh
moretti
hathor
lagerback
cagliari
camara
iskandar
azzam
cosa
forough
campania
gillerman
puerto
geresh
ian
dias
nahyan
moustaki
murcutt
claesen
lopez
gareth
hatshepsut
mongi
fico
tavares
yom
smolnikov
santorini
kenenisa
marcuse
samassi
donadel
bathory
bila
ruislip
musaed
chiellini
morley
oskarsdottir
duke
nemanja
ebla
macarthur
hermesh
chadwick
serhiy
sarton
jasseron
yasumoto
seeler
diamoutene
drewry
kenny
khalilou
faso
gonen
ferhat
fisichella
kobi
bashar
demetrio
mekorot
elias
linney
sotiris
costica
elazar
boulares
mallya
benzarti
diana
deena
rym
fleischer
borden
maskhadov
peluce
tao
pareto
rainer
chaves
gramsci
chang
troels
thalassemia
kessai
advocaat
bragg
zweyer
chraibi
lara
mara
galois
winstone
pulcheria
dara
andersen
mcdermott
niamey
dermot
milenko
sberbank
vogts
khairat
jarkko
crocker
barkin
poe
chokheli
saviola
philip
anand
lidice
speirs
vartan
lemasson
mouath
smoot
dror
lvov
barrau
quinton
travers
sunil
zubrin
octavian
goldberg
kolodziejczak
mohsen
boole
pluskal
yahav
kakheti
stanton
massad
kuni
quinto
collina
houbara
mladinic
silvester
segev
kyoto
naomi
malmo
vioarsson
matsumoto
mauresmo
stalteri
lotte
planck
navon
perkins
perham
senac
amalia
krakatoa
rieu
laplace
almog
shapour
talley
switzerland
alnabhani
ethology
conny
hirano
yari
zungul
jansson
vliegen
malisse
zebari
pegasus
toshiba
henning
jay
harper
motran
parker
french
yosuke
bongani
bertie
ravi
roudhan
suzuki
boissier
harewood
jason
shoukry
pennant
andriy
ghosh
nozomi
toyoda
foucault
cristiano
fillion
elissa
vitali
biros
mendelsohn
rafal
mugabe
gaspoz
huntington
deedat
geoff
gerhart
streep
kowloon
forlan
skacel
savage
belletti
waddle
atomic
plus
yasuhito
govedarica
jakob
arbel
vanga
glazer
tsunenaga
barzagli
tukar
naphtali
phelps
pepper
maroun
mughrabi
philippe
conrad
kachalin
kobe
karazon
gabi
dushanbe
salman
saretta
tabari
valdas
mcgregor
pinchas
duisburg
rob
modi
edmund
ealing
apso
boakye
rafa
sho
mart
kobayashi
bolkiah
uzeyir
westenra
vahidin
sanhedrin
zino
primus
fromm
vaz
arnon
kisaichi
harlem
mhlongo
koyasu
hackett
nasief
presley
sumter
hakan
delisle
keller
garang
africa
mcgrady
kawakami
leung
tupac
holman
ak
hofstadter
mkhalele
west
livingston
jamal
philipp
balti
propolis
lapetra
sar
ramsey
muhren
giordano
hubail
sela
rocha
arar
minkowski
knud
kabardin
petit
prolactin
abbass
sima
zeev
barmada
dixon
courbis
husbands
valens
fahmy
mimouni
yaya
busk
malaren
carsley
shai
carroll
mcdonnell
jianqing
sumner
thabet
kerlon
mitsuki
rourke
rosicky
dagon
carpinello
danyel
prince
kaspar
thai
vantaa
solomin
somekh
drovetti
boston
planus
gildas
columba
jan
ido
neeskens
breen
basler
dahomey
temotu
rousset
haggard
dayton
eloui
zapp
allal
stanislav
kong
bobo
dong
tehran
deflandre
aarhus
trezeguet
wilczek
legwinski
brahman
hudson
zahi
figueroa
gouffran
roemer
guiza
mazar
ankara
matlin
augustin
richards
anita
calzada
pancsics
nolasco
rembrandt
koyama
stefano
ciolek
kubrick
magister
herve
marley
takagaki
mizoram
|
0ea89e4d5c5587406156ff35de446d9916faa3c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH11/EX11.5/11_5.sce | 8c4c7be78c148fbec78f0b40c6928778fe0bb0ea | [] | 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 | 924 | sce | 11_5.sce | //Example 11.5
//Inverse Power Method
//Page no. 347
clc;close;clear;
A=[7,6,-3;-12,-20,24;-6,-12,16];
e=10^-6;
X=[1;1;1];
B=0;
Y=[0;0;0]
a=0;l=0;
for i=1:2
printf('When a=%i\n',a);
C=A-a*eye();
disp(C,"C=")
C_1=inv(C);
disp(C_1,"Inverse of C=");
printf('\n\nItr lambda X')
printf('\n------------------------------------------------------------------\n')
for j=1:10
printf('\n%i %f %f %f %f',j-1,l,X(1),X(2),X(3));
Y=C_1*X;
B=max(Y);
e1=abs(l-B);
X=Y/B;
m=0;
for k=1:3
m=m+(Y(k)-X(k))^2;
end
e2=sqrt(m);
er=max(e1,e2);
if(er<e)
break
end
l=B;
end
a=-3;
printf('\n\n\n\n')
end
printf('\n\n\nNote : Computation of Y is wrong given in the book') |
20b455a25abf3197ba24d09e0e280ecfe70babc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH12/EX12.10/Ex12_10.sce | 00001495e303d80199d93bb151aab17718273959 | [] | 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 | Ex12_10.sce |
clc
//initialisation of variables
h=-86748//Btu/lb mole fuel
P=-1692054 //Btu/lb mole fuel
W=200*2545//Btu/hr
nf=1209000/1605306//moles fuel/hr
n=114.23//Btu/lb mole fuel
//CALCULATIONS
mf=nf*n//lbm fuel /hr
//RESULTS
printf('The fuel consumption per hour=% f lbm fuel/hr',mf)
|
e85a1741cc6855f5a9b7c8cd909bf6775d04f9ca | 881e0bcc7118244a24f736786ac36140acfb885e | /yeast/results/GAssist-ADI-C.yeast-2/result8s0.tst | 31bcdafad1a8aa3742a0aa02919547f97d051d9a | [] | no_license | woshahua/Experiment_File | 3e34e5a4a622d6d260fbdf8d5ef2711712aad9bc | 6a139cd3f779373799cb926ba90d978235b0de0d | refs/heads/master | 2021-01-01T06:57:13.285197 | 2017-07-28T08:17:38 | 2017-07-28T08:17:38 | 97,557,409 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,585 | tst | result8s0.tst | @relation yeast-2
@attribute Mcg real [0.11, 1.0]
@attribute Gvh real [0.13, 1.0]
@attribute Alm real [0.21, 1.0]
@attribute Mit real [0.0, 1.0]
@attribute Erl real [0.5, 1.0]
@attribute Pox real [0.0, 0.83]
@attribute Vac real [0.0, 0.73]
@attribute Nuc real [0.0, 1.0]
@attribute Class {MIT, NUC, CYT, ME1, ME2, ME3, EXC, VAC, POX, ERL}
@inputs Mcg, Gvh, Alm, Mit, Erl, Pox, Vac, Nuc
@outputs Class
NUC NUC
CYT CYT
CYT CYT
ME2 ME1
ME3 NUC
MIT MIT
CYT CYT
NUC ME3
NUC CYT
CYT NUC
CYT NUC
NUC CYT
ME3 ME3
ME3 ME3
CYT CYT
CYT CYT
ME1 ME1
MIT MIT
MIT ME3
MIT ME3
MIT MIT
MIT MIT
NUC CYT
NUC NUC
CYT NUC
CYT NUC
MIT MIT
MIT CYT
CYT CYT
CYT CYT
ME2 CYT
NUC NUC
CYT NUC
ME3 ME3
CYT CYT
CYT NUC
NUC NUC
ME3 ME3
ME1 ME1
CYT NUC
CYT NUC
MIT MIT
CYT CYT
ME3 ME3
NUC NUC
ME1 ME3
EXC ME1
ME2 ME3
CYT NUC
MIT ME3
NUC CYT
NUC NUC
NUC CYT
NUC NUC
MIT MIT
MIT MIT
MIT CYT
MIT MIT
NUC MIT
MIT CYT
CYT CYT
MIT MIT
NUC NUC
POX CYT
CYT CYT
VAC CYT
MIT CYT
CYT NUC
EXC EXC
ME3 ME3
MIT MIT
NUC CYT
CYT NUC
NUC NUC
NUC MIT
MIT CYT
NUC NUC
NUC NUC
NUC NUC
NUC NUC
NUC NUC
NUC CYT
NUC CYT
NUC NUC
CYT NUC
CYT CYT
CYT CYT
NUC CYT
CYT CYT
CYT CYT
CYT CYT
NUC CYT
CYT CYT
CYT NUC
CYT NUC
ME3 ME3
CYT CYT
CYT NUC
CYT CYT
ME3 ME3
MIT NUC
ME3 ME3
NUC NUC
NUC NUC
NUC NUC
NUC CYT
NUC CYT
NUC NUC
CYT NUC
CYT NUC
ME3 ME3
ME3 ME3
EXC ME1
NUC CYT
ME3 ME3
CYT CYT
CYT CYT
CYT MIT
CYT CYT
CYT CYT
CYT CYT
CYT MIT
VAC CYT
NUC NUC
NUC ME3
CYT NUC
ME3 ME3
ME3 CYT
ME1 CYT
ME1 ME1
NUC ME3
NUC NUC
MIT CYT
ME2 ME3
NUC MIT
ME2 ME1
MIT MIT
MIT MIT
MIT CYT
NUC NUC
CYT NUC
NUC NUC
ME3 ME3
EXC MIT
NUC NUC
CYT NUC
VAC ME3
POX CYT
|
805d5c8b5c403e5318168fd6d71fe23b763efdfd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2783/CH8/EX8.7/Ex8_7.sce | 8bcb7f4a16e6c7b8bc761789346fc24c3799360c | [] | 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 | 232 | sce | Ex8_7.sce | clc
//initialization of new variables
clear
h=15 //m
D=0.25 //m
u=30 //m/s
rho=1.2 //kg/m^3
mu=1.81*10^-5
Cd=0.7
Re=rho*u*D/mu
D=Cd*1/2*rho*u^2*(h*D)
M=h/2*D
//results
printf('D = %.1f N',D)
printf('\n M = %d N m',M)
|
7aae9e6ba28f5077fa34d90f959503349fcf9702 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/LK10ARW/ATWM1_Working_Memory_MEG_LK10ARW_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run1.sce | 986a60563bf603dd5ff10208f0ae469871d255c5 | [] | 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,615 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor_sounds = false;
active_buttons = 2;
response_matching = simple_matching;
button_codes = 10, 20;
default_font_size = 36;
default_font = "Arial";
default_background_color = 0 ,0 ,0 ;
write_codes=true; # for MEG only
begin;
#Picture definitions
box { height = 382; width = 382; color = 0, 0, 0;} frame1;
box { height = 369; width = 369; color = 255, 255, 255;} frame2;
box { height = 30; width = 4; color = 0, 0, 0;} fix1;
box { height = 4; width = 30; color = 0, 0, 0;} fix2;
box { height = 30; width = 4; color = 255, 0, 0;} fix3;
box { height = 4; width = 30; color = 255, 0, 0;} fix4;
box { height = 369; width = 369; color = 42, 42, 42;} background;
TEMPLATE "StimuliDeclaration.tem" {};
trial {
sound sound_incorrect;
time = 0;
duration = 1;
} wrong;
trial {
sound sound_correct;
time = 0;
duration = 1;
} right;
trial {
sound sound_no_response;
time = 0;
duration = 1;
} miss;
# Start of experiment (MEG only) - sync with CTF software
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
} expStart;
time = 0;
duration = 1000;
code = "ExpStart";
port_code = 80;
};
# baselinePre (at the beginning of the session)
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
}default;
time = 0;
duration = 10000;
#mri_pulse = 1;
code = "BaselinePre";
port_code = 91;
};
TEMPLATE "ATWM1_Working_Memory_MEG.tem" {
trigger_encoding trigger_retrieval cue_time preparation_time encoding_time single_stimulus_presentation_time delay_time retrieval_time intertrial_interval alerting_cross stim_enc1 stim_enc2 stim_enc3 stim_enc4 stim_enc_alt1 stim_enc_alt2 stim_enc_alt3 stim_enc_alt4 trial_code stim_retr1 stim_retr2 stim_retr3 stim_retr4 stim_cue1 stim_cue2 stim_cue3 stim_cue4 fixationcross_cued retr_code the_target_button posX1 posY1 posX2 posY2 posX3 posY3 posX4 posY4;
44 61 292 292 399 125 2092 2992 2492 fixation_cross gabor_179 gabor_012 gabor_151 gabor_041 gabor_179_alt gabor_012 gabor_151 gabor_041_alt "1_1_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2500_gabor_patch_orientation_179_012_151_041_target_position_2_3_retrieval_position_2" gabor_circ gabor_061_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_1_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_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;
44 62 292 292 399 125 2242 2992 2492 fixation_cross gabor_053 gabor_137 gabor_116 gabor_009 gabor_053 gabor_137_alt gabor_116 gabor_009_alt "1_2_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2500_gabor_patch_orientation_053_137_116_009_target_position_1_3_retrieval_position_1" gabor_053_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_2_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_053_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2092 2992 2392 fixation_cross gabor_150 gabor_042 gabor_092 gabor_130 gabor_150 gabor_042_alt gabor_092 gabor_130_alt "1_3_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2400_gabor_patch_orientation_150_042_092_130_target_position_1_3_retrieval_position_1" gabor_015_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_3_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_015_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2192 2992 2142 fixation_cross gabor_132 gabor_114 gabor_083 gabor_156 gabor_132 gabor_114 gabor_083_alt gabor_156_alt "1_4_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2150_gabor_patch_orientation_132_114_083_156_target_position_1_2_retrieval_position_2" gabor_circ gabor_066_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_4_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_066_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1792 2992 2192 fixation_cross gabor_118 gabor_094 gabor_050 gabor_031 gabor_118_alt gabor_094_alt gabor_050 gabor_031 "1_5_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2200_gabor_patch_orientation_118_094_050_031_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_031_framed blank blank blank blank fixation_cross_white "1_5_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_031_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2092 2992 2542 fixation_cross gabor_169 gabor_101 gabor_154 gabor_136 gabor_169 gabor_101_alt gabor_154 gabor_136_alt "1_6_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2550_gabor_patch_orientation_169_101_154_136_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_154_framed gabor_circ blank blank blank blank fixation_cross_white "1_6_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_154_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 2142 2992 2542 fixation_cross gabor_029 gabor_003 gabor_112 gabor_142 gabor_029_alt gabor_003 gabor_112_alt gabor_142 "1_7_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2150_3000_2550_gabor_patch_orientation_029_003_112_142_target_position_2_4_retrieval_position_1" gabor_029_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_7_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_029_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2142 2992 2042 fixation_cross gabor_153 gabor_180 gabor_122 gabor_017 gabor_153 gabor_180_alt gabor_122 gabor_017_alt "1_8_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2050_gabor_patch_orientation_153_180_122_017_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_122_framed gabor_circ blank blank blank blank fixation_cross_white "1_8_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_122_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2042 2992 1942 fixation_cross gabor_020 gabor_089 gabor_131 gabor_176 gabor_020 gabor_089 gabor_131_alt gabor_176_alt "1_9_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_1950_gabor_patch_orientation_020_089_131_176_target_position_1_2_retrieval_position_2" gabor_circ gabor_089_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_9_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_089_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1892 2992 2092 fixation_cross gabor_120 gabor_039 gabor_158 gabor_009 gabor_120 gabor_039 gabor_158_alt gabor_009_alt "1_10_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2100_gabor_patch_orientation_120_039_158_009_target_position_1_2_retrieval_position_2" gabor_circ gabor_174_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_10_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_174_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 2042 2992 2492 fixation_cross gabor_057 gabor_164 gabor_136 gabor_004 gabor_057_alt gabor_164 gabor_136_alt gabor_004 "1_11_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2050_3000_2500_gabor_patch_orientation_057_164_136_004_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_136_framed gabor_circ blank blank blank blank fixation_cross_white "1_11_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_136_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1992 2992 2442 fixation_cross gabor_176 gabor_159 gabor_090 gabor_054 gabor_176 gabor_159_alt gabor_090_alt gabor_054 "1_12_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2450_gabor_patch_orientation_176_159_090_054_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_009_framed blank blank blank blank fixation_cross_white "1_12_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_009_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2242 2992 1942 fixation_cross gabor_097 gabor_040 gabor_063 gabor_130 gabor_097_alt gabor_040 gabor_063_alt gabor_130 "1_13_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_1950_gabor_patch_orientation_097_040_063_130_target_position_2_4_retrieval_position_2" gabor_circ gabor_177_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_13_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_177_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1942 2992 1942 fixation_cross gabor_175 gabor_149 gabor_064 gabor_098 gabor_175 gabor_149 gabor_064_alt gabor_098_alt "1_14_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_1950_gabor_patch_orientation_175_149_064_098_target_position_1_2_retrieval_position_2" gabor_circ gabor_014_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_14_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_014_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 1792 2992 2592 fixation_cross gabor_114 gabor_069 gabor_180 gabor_148 gabor_114 gabor_069_alt gabor_180 gabor_148_alt "1_15_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1800_3000_2600_gabor_patch_orientation_114_069_180_148_target_position_1_3_retrieval_position_2" gabor_circ gabor_069_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_15_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_069_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1742 2992 1992 fixation_cross gabor_003 gabor_132 gabor_160 gabor_047 gabor_003_alt gabor_132 gabor_160_alt gabor_047 "1_16_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2000_gabor_patch_orientation_003_132_160_047_target_position_2_4_retrieval_position_2" gabor_circ gabor_132_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_16_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_132_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1942 2992 1992 fixation_cross gabor_024 gabor_170 gabor_001 gabor_155 gabor_024 gabor_170_alt gabor_001_alt gabor_155 "1_17_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_2000_gabor_patch_orientation_024_170_001_155_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_155_framed blank blank blank blank fixation_cross_white "1_17_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_155_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2242 2992 2142 fixation_cross gabor_023 gabor_146 gabor_176 gabor_109 gabor_023 gabor_146_alt gabor_176 gabor_109_alt "1_18_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2150_gabor_patch_orientation_023_146_176_109_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_039_framed gabor_circ blank blank blank blank fixation_cross_white "1_18_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_039_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2092 2992 2342 fixation_cross gabor_088 gabor_052 gabor_024 gabor_178 gabor_088 gabor_052_alt gabor_024_alt gabor_178 "1_19_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2350_gabor_patch_orientation_088_052_024_178_target_position_1_4_retrieval_position_1" gabor_088_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_19_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_088_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1842 2992 2142 fixation_cross gabor_179 gabor_137 gabor_066 gabor_156 gabor_179_alt gabor_137 gabor_066 gabor_156_alt "1_20_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2150_gabor_patch_orientation_179_137_066_156_target_position_2_3_retrieval_position_2" gabor_circ gabor_137_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_20_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_137_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1892 2992 2292 fixation_cross gabor_141 gabor_033 gabor_011 gabor_164 gabor_141 gabor_033 gabor_011_alt gabor_164_alt "1_21_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2300_gabor_patch_orientation_141_033_011_164_target_position_1_2_retrieval_position_1" gabor_095_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_21_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_095_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1742 2992 1992 fixation_cross gabor_149 gabor_133 gabor_002 gabor_071 gabor_149 gabor_133_alt gabor_002_alt gabor_071 "1_22_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2000_gabor_patch_orientation_149_133_002_071_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_071_framed blank blank blank blank fixation_cross_white "1_22_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_071_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 2142 2992 2292 fixation_cross gabor_169 gabor_054 gabor_019 gabor_140 gabor_169 gabor_054 gabor_019_alt gabor_140_alt "1_23_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2150_3000_2300_gabor_patch_orientation_169_054_019_140_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_094_framed blank blank blank blank fixation_cross_white "1_23_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_094_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1942 2992 1942 fixation_cross gabor_127 gabor_020 gabor_157 gabor_049 gabor_127_alt gabor_020 gabor_157_alt gabor_049 "1_24_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_1950_gabor_patch_orientation_127_020_157_049_target_position_2_4_retrieval_position_2" gabor_circ gabor_069_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_24_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_069_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1792 2992 2592 fixation_cross gabor_051 gabor_016 gabor_164 gabor_140 gabor_051 gabor_016_alt gabor_164 gabor_140_alt "1_25_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2600_gabor_patch_orientation_051_016_164_140_target_position_1_3_retrieval_position_1" gabor_098_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_25_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_098_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1842 2992 1992 fixation_cross gabor_004 gabor_088 gabor_036 gabor_058 gabor_004_alt gabor_088 gabor_036 gabor_058_alt "1_26_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2000_gabor_patch_orientation_004_088_036_058_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_173_framed gabor_circ blank blank blank blank fixation_cross_white "1_26_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_173_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 2242 2992 2492 fixation_cross gabor_024 gabor_103 gabor_159 gabor_142 gabor_024_alt gabor_103_alt gabor_159 gabor_142 "1_27_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2250_3000_2500_gabor_patch_orientation_024_103_159_142_target_position_3_4_retrieval_position_2" gabor_circ gabor_103_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_27_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_103_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2092 2992 2442 fixation_cross gabor_146 gabor_012 gabor_127 gabor_038 gabor_146_alt gabor_012 gabor_127 gabor_038_alt "1_28_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2450_gabor_patch_orientation_146_012_127_038_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_176_framed gabor_circ blank blank blank blank fixation_cross_white "1_28_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_176_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1992 2992 1892 fixation_cross gabor_007 gabor_088 gabor_169 gabor_022 gabor_007 gabor_088 gabor_169_alt gabor_022_alt "1_29_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_1900_gabor_patch_orientation_007_088_169_022_target_position_1_2_retrieval_position_1" gabor_145_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_29_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_145_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2192 2992 2392 fixation_cross gabor_061 gabor_010 gabor_097 gabor_033 gabor_061_alt gabor_010 gabor_097 gabor_033_alt "1_30_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2400_gabor_patch_orientation_061_010_097_033_target_position_2_3_retrieval_position_2" gabor_circ gabor_010_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_30_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_010_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1742 2992 2142 fixation_cross gabor_015 gabor_104 gabor_126 gabor_171 gabor_015 gabor_104_alt gabor_126 gabor_171_alt "1_31_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2150_gabor_patch_orientation_015_104_126_171_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_081_framed gabor_circ blank blank blank blank fixation_cross_white "1_31_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_081_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 1842 2992 2242 fixation_cross gabor_155 gabor_050 gabor_079 gabor_101 gabor_155_alt gabor_050 gabor_079 gabor_101_alt "1_32_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1850_3000_2250_gabor_patch_orientation_155_050_079_101_target_position_2_3_retrieval_position_1" gabor_018_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_32_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_018_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1892 2992 2192 fixation_cross gabor_008 gabor_066 gabor_134 gabor_150 gabor_008 gabor_066_alt gabor_134 gabor_150_alt "1_33_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2200_gabor_patch_orientation_008_066_134_150_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_134_framed gabor_circ blank blank blank blank fixation_cross_white "1_33_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_134_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1742 2992 2342 fixation_cross gabor_034 gabor_121 gabor_139 gabor_062 gabor_034 gabor_121_alt gabor_139_alt gabor_062 "1_34_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2350_gabor_patch_orientation_034_121_139_062_target_position_1_4_retrieval_position_1" gabor_034_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_34_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_034_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1992 2992 2592 fixation_cross gabor_126 gabor_063 gabor_170 gabor_098 gabor_126 gabor_063_alt gabor_170 gabor_098_alt "1_35_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2600_gabor_patch_orientation_126_063_170_098_target_position_1_3_retrieval_position_1" gabor_126_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_35_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_126_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1892 2992 2192 fixation_cross gabor_101 gabor_077 gabor_059 gabor_039 gabor_101_alt gabor_077 gabor_059 gabor_039_alt "1_36_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2200_gabor_patch_orientation_101_077_059_039_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_014_framed gabor_circ blank blank blank blank fixation_cross_white "1_36_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_014_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2042 2992 2442 fixation_cross gabor_172 gabor_064 gabor_102 gabor_027 gabor_172_alt gabor_064_alt gabor_102 gabor_027 "1_37_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_2450_gabor_patch_orientation_172_064_102_027_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_102_framed gabor_circ blank blank blank blank fixation_cross_white "1_37_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_102_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 1842 2992 1892 fixation_cross gabor_152 gabor_047 gabor_031 gabor_062 gabor_152 gabor_047_alt gabor_031_alt gabor_062 "1_38_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1850_3000_1900_gabor_patch_orientation_152_047_031_062_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_031_framed gabor_circ blank blank blank blank fixation_cross_white "1_38_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_031_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1892 2992 2392 fixation_cross gabor_089 gabor_028 gabor_053 gabor_161 gabor_089 gabor_028_alt gabor_053_alt gabor_161 "1_39_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2400_gabor_patch_orientation_089_028_053_161_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_115_framed blank blank blank blank fixation_cross_white "1_39_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_115_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1942 2992 2242 fixation_cross gabor_106 gabor_122 gabor_066 gabor_041 gabor_106 gabor_122_alt gabor_066 gabor_041_alt "1_40_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2250_gabor_patch_orientation_106_122_066_041_target_position_1_3_retrieval_position_1" gabor_156_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_40_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_156_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1992 2992 2292 fixation_cross gabor_161 gabor_007 gabor_125 gabor_037 gabor_161_alt gabor_007_alt gabor_125 gabor_037 "1_41_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2300_gabor_patch_orientation_161_007_125_037_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_037_framed blank blank blank blank fixation_cross_white "1_41_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_037_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2192 2992 2192 fixation_cross gabor_158 gabor_084 gabor_142 gabor_109 gabor_158_alt gabor_084 gabor_142 gabor_109_alt "1_42_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2200_gabor_patch_orientation_158_084_142_109_target_position_2_3_retrieval_position_2" gabor_circ gabor_034_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_42_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_034_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 2142 2992 2042 fixation_cross gabor_006 gabor_025 gabor_068 gabor_044 gabor_006 gabor_025 gabor_068_alt gabor_044_alt "1_43_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2150_3000_2050_gabor_patch_orientation_006_025_068_044_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_179_framed blank blank blank blank fixation_cross_white "1_43_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_179_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1742 2992 1992 fixation_cross gabor_019 gabor_125 gabor_141 gabor_003 gabor_019_alt gabor_125 gabor_141_alt gabor_003 "1_44_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2000_gabor_patch_orientation_019_125_141_003_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_051_framed blank blank blank blank fixation_cross_white "1_44_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_051_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2042 2992 2242 fixation_cross gabor_086 gabor_113 gabor_063 gabor_008 gabor_086 gabor_113_alt gabor_063_alt gabor_008 "1_45_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_2250_gabor_patch_orientation_086_113_063_008_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_008_framed blank blank blank blank fixation_cross_white "1_45_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_008_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1792 2992 2042 fixation_cross gabor_051 gabor_021 gabor_133 gabor_089 gabor_051_alt gabor_021 gabor_133 gabor_089_alt "1_46_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2050_gabor_patch_orientation_051_021_133_089_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_178_framed gabor_circ blank blank blank blank fixation_cross_white "1_46_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_178_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 2192 2992 2392 fixation_cross gabor_091 gabor_124 gabor_171 gabor_053 gabor_091_alt gabor_124 gabor_171 gabor_053_alt "1_47_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2200_3000_2400_gabor_patch_orientation_091_124_171_053_target_position_2_3_retrieval_position_1" gabor_140_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_47_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_140_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1892 2992 2592 fixation_cross gabor_139 gabor_053 gabor_011 gabor_079 gabor_139 gabor_053 gabor_011_alt gabor_079_alt "1_48_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2600_gabor_patch_orientation_139_053_011_079_target_position_1_2_retrieval_position_2" gabor_circ gabor_098_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_48_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_098_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2092 2992 2092 fixation_cross gabor_163 gabor_001 gabor_143 gabor_116 gabor_163 gabor_001_alt gabor_143_alt gabor_116 "1_49_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2100_gabor_patch_orientation_163_001_143_116_target_position_1_4_retrieval_position_1" gabor_163_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_49_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_163_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2142 2992 2242 fixation_cross gabor_032 gabor_016 gabor_172 gabor_105 gabor_032 gabor_016 gabor_172_alt gabor_105_alt "1_50_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2250_gabor_patch_orientation_032_016_172_105_target_position_1_2_retrieval_position_2" gabor_circ gabor_016_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_50_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_016_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1942 2992 2342 fixation_cross gabor_174 gabor_105 gabor_017 gabor_154 gabor_174 gabor_105_alt gabor_017 gabor_154_alt "1_51_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_2350_gabor_patch_orientation_174_105_017_154_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_017_framed gabor_circ blank blank blank blank fixation_cross_white "1_51_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_017_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1992 2992 2092 fixation_cross gabor_017 gabor_050 gabor_034 gabor_124 gabor_017_alt gabor_050 gabor_034_alt gabor_124 "1_52_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2100_gabor_patch_orientation_017_050_034_124_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_077_framed blank blank blank blank fixation_cross_white "1_52_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_077_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 1792 2992 1892 fixation_cross gabor_042 gabor_131 gabor_152 gabor_097 gabor_042_alt gabor_131_alt gabor_152 gabor_097 "1_53_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1800_3000_1900_gabor_patch_orientation_042_131_152_097_target_position_3_4_retrieval_position_2" gabor_circ gabor_176_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_53_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_176_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1942 2992 2042 fixation_cross gabor_139 gabor_119 gabor_032 gabor_074 gabor_139 gabor_119_alt gabor_032 gabor_074_alt "1_54_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2050_gabor_patch_orientation_139_119_032_074_target_position_1_3_retrieval_position_1" gabor_002_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_54_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_002_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 2242 2992 2092 fixation_cross gabor_001 gabor_091 gabor_161 gabor_179 gabor_001_alt gabor_091 gabor_161 gabor_179_alt "1_55_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2250_3000_2100_gabor_patch_orientation_001_091_161_179_target_position_2_3_retrieval_position_1" gabor_047_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_55_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_047_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1792 2992 2192 fixation_cross gabor_062 gabor_132 gabor_008 gabor_091 gabor_062 gabor_132_alt gabor_008_alt gabor_091 "1_56_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2200_gabor_patch_orientation_062_132_008_091_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_091_framed blank blank blank blank fixation_cross_white "1_56_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_091_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1992 2992 2092 fixation_cross gabor_139 gabor_094 gabor_111 gabor_050 gabor_139 gabor_094_alt gabor_111_alt gabor_050 "1_57_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2100_gabor_patch_orientation_139_094_111_050_target_position_1_4_retrieval_position_1" gabor_139_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_57_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_139_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 2242 2992 2542 fixation_cross gabor_072 gabor_144 gabor_010 gabor_128 gabor_072 gabor_144_alt gabor_010_alt gabor_128 "1_58_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2550_gabor_patch_orientation_072_144_010_128_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_178_framed blank blank blank blank fixation_cross_white "1_58_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_178_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 63 292 292 399 125 1842 2992 1892 fixation_cross gabor_147 gabor_017 gabor_081 gabor_126 gabor_147 gabor_017 gabor_081_alt gabor_126_alt "1_59_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1850_3000_1900_gabor_patch_orientation_147_017_081_126_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_171_framed blank blank blank blank fixation_cross_white "1_59_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_171_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2042 2992 1942 fixation_cross gabor_098 gabor_041 gabor_122 gabor_063 gabor_098_alt gabor_041 gabor_122 gabor_063_alt "1_60_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_1950_gabor_patch_orientation_098_041_122_063_target_position_2_3_retrieval_position_2" gabor_circ gabor_041_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_60_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_041_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2142 2992 1892 fixation_cross gabor_025 gabor_085 gabor_112 gabor_149 gabor_025 gabor_085_alt gabor_112_alt gabor_149 "1_61_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_1900_gabor_patch_orientation_025_085_112_149_target_position_1_4_retrieval_position_1" gabor_025_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_61_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_025_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1842 2992 2292 fixation_cross gabor_019 gabor_125 gabor_151 gabor_035 gabor_019 gabor_125_alt gabor_151 gabor_035_alt "1_62_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2300_gabor_patch_orientation_019_125_151_035_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_151_framed gabor_circ blank blank blank blank fixation_cross_white "1_62_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_151_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1792 2992 2142 fixation_cross gabor_094 gabor_124 gabor_019 gabor_056 gabor_094 gabor_124_alt gabor_019 gabor_056_alt "1_63_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2150_gabor_patch_orientation_094_124_019_056_target_position_1_3_retrieval_position_1" gabor_140_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_63_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_140_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 1742 2992 2242 fixation_cross gabor_176 gabor_094 gabor_136 gabor_071 gabor_176_alt gabor_094_alt gabor_136 gabor_071 "1_64_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1750_3000_2250_gabor_patch_orientation_176_094_136_071_target_position_3_4_retrieval_position_2" gabor_circ gabor_094_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_64_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_094_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2042 2992 2442 fixation_cross gabor_003 gabor_033 gabor_110 gabor_084 gabor_003 gabor_033 gabor_110_alt gabor_084_alt "1_65_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_2450_gabor_patch_orientation_003_033_110_084_target_position_1_2_retrieval_position_2" gabor_circ gabor_033_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_65_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_033_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 2192 2992 2042 fixation_cross gabor_070 gabor_090 gabor_013 gabor_149 gabor_070 gabor_090_alt gabor_013_alt gabor_149 "1_66_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2050_gabor_patch_orientation_070_090_013_149_target_position_1_4_retrieval_position_1" gabor_070_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_66_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_070_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1892 2992 2542 fixation_cross gabor_027 gabor_012 gabor_051 gabor_160 gabor_027 gabor_012_alt gabor_051_alt gabor_160 "1_67_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2550_gabor_patch_orientation_027_012_051_160_target_position_1_4_retrieval_position_1" gabor_076_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_67_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_076_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 62 292 292 399 125 1742 2992 2342 fixation_cross gabor_053 gabor_127 gabor_004 gabor_088 gabor_053_alt gabor_127_alt gabor_004 gabor_088 "1_68_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2350_gabor_patch_orientation_053_127_004_088_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_004_framed gabor_circ blank blank blank blank fixation_cross_white "1_68_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_004_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 64 292 292 399 125 2192 2992 2292 fixation_cross gabor_140 gabor_118 gabor_162 gabor_011 gabor_140 gabor_118 gabor_162_alt gabor_011_alt "1_69_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2200_3000_2300_gabor_patch_orientation_140_118_162_011_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_011_framed blank blank blank blank fixation_cross_white "1_69_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_011_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
44 61 292 292 399 125 1842 2992 2342 fixation_cross gabor_078 gabor_166 gabor_005 gabor_048 gabor_078 gabor_166 gabor_005_alt gabor_048_alt "1_70_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2350_gabor_patch_orientation_078_166_005_048_target_position_1_2_retrieval_position_1" gabor_028_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_70_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_028_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
};
# baselinePost (at the end of the session)
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
};
time = 0;
duration = 5000;
code = "BaselinePost";
port_code = 92;
}; |
1fc8203b184188605d5d241daff65a3c1b85c939 | 00691fb0e6d8362a23e4c4e0aca2f5b9108bf0ea | /Functions/Compand/compand.sce | bbd8efe9bc33ef279cf3ebc98a81a098213a8154 | [] | no_license | alirumane/Scilab | 29f477be45c133bb9638740ba0c95432633a1acf | b1a2de394a4cce5f8eb2095ab78f109dbfc62436 | refs/heads/master | 2021-01-10T14:26:58.744817 | 2016-03-29T19:48:42 | 2016-03-29T19:48:42 | 54,900,794 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,640 | sce | compand.sce | // =============================================================================
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C)2015 - Ali N.M. Rumane
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
// =============================================================================
// =============================================================================
//Syntax
//out = compand(in,param,v)
//out = compand(in,Mu,v,'mu/compressor')
//out = compand(in,Mu,v,'mu/expander')
//out = compand(in,A,v,'A/compressor')
//out = compand(in,A,v,'A/expander')
//where in is input vector, typical value for μ is 255 and that of A is 87.5, v
//is the input signal's maximum magnitude
//Output
//μ-Law Compression and Expansion
//data = 2:2:10;
//compressed = compand(data,255,max(data),'mu/compressor')
// compressed =
// 7.1255496 8.3581257 9.0834832 9.5993501 10.
//expanded = compand(compressed,255,max(data),'mu/expander')
// expanded =
// 2. 4. 6. 8. 10.
//A-Law Compression and Expansion
//data = 1:5;
//compressed = compand(data,87.6,max(data),'a/compressor')
// compressed =
// 2.9867715 3.4933858 3.7897361 4.
//expanded = compand(compressed,87.6,max(data),'a/expander')
// expanded =
// 1. 2. 3. 4.
// =============================================================================
funcprot(0);
function[out]=compand(in,param,v,charac)
v=max(in);
select charac
// mu/expander
case 'mu/expander' then
Mu=param
out =(1*v/Mu)*((1+Mu).^(abs(in/v))-1).*sign(in)
// a/compressor
case 'a/compressor' then
A=param;
inp=in;
datas=in;
for inp=0:abs((v/A))
out=A*in/(1+log(A)).*sign(in);
end
for inp=abs((v/A)):abs(v)
out=v*(1+log(A*in/v))/(1+log(A)).*sign(in);
end
// a/expander
case 'a/expander' then
A=param;
inp=in;
for inp=0:(1/(1+log(A/v)))
out=abs(in)*(1+log(A))/A.*sign(in)
end
for inp=(1/(1+log(A/v))):v
out=v*exp(abs(in/v)*(1+log(A))-1)/A.*sign(in)
end
// mu/compressor
else
Mu=param;
datas=in;
out=v*log(1+(Mu*in/v))/(log(1+Mu)).*sign(in);
end
endfunction
|
2c0c8723b980e0643a2db54bffc001a5b4e91c43 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s__elelectronics_instrumentation_and_measurements_U._S._Shah_2195.zip/_elelectronics_instrumentation_and_measurements_U._S._Shah_2195/CH10/EX10.13.1/ex_10_13_1.sce | 5e2d772d79632d4e46429bf2e200055243784301 | [] | 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 | 245 | sce | ex_10_13_1.sce | errcatch(-1,"stop");mode(2);//Example 10.13.1 // sampling rate
;
;
//given data :
N=10;//number of cycles
f=1*10^3;//in Hz
sampling_period=N/f;
sampling_rate=1/sampling_period;
disp(sampling_rate,"sampling rate in samples per second")
exit();
|
d2046a36b23a6bf51968ad58d40bdf212710c92b | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Linear_Algebra_And_Its_Applications_G._Strang_70.zip/Linear_Algebra_And_Its_Applications_G._Strang_70/CH3/EX3.1.2/3_1_2.sci | 39d960c57456f22d55913a750894d9888fe89e1e | [] | 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 | 248 | sci | 3_1_2.sci | errcatch(-1,"stop");mode(2);//page 144
;
;
disp('Suppose V is a plane spanned by v1=(1,0,0,0) and v2=(1,1,0,0).If W is the line spanned by w=(0,0,4,5),then w is orthogonal to both v''s.The line W will be orthogonal to the whole plane V.')
exit();
|
28a25b81ad97b0feee1937cdb0e6d06c4607919e | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH14/EX14.11/example14_11.sce | 7d9678fe7471df03e6b03dfe46af370d89fdf472 | [] | 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,153 | sce | example14_11.sce | clear;
clc;
//Example14.11[Analogy between Heat and Mass Transfer]
//Given:-
//Napthalene is species A and air is species B
M_A=128.2;//Molar Mass of A[kg/kmol]
M_air=29;//Molar mass of B[kg/kmol]
P=101325;//Pressure of Air[Pa]
T=298;//Temperature[K]
D_AB=0.61*10^(-5);//[m^2/s]
v=2;//Stream velocity[m/s]
rho=1.184;//Density of air[kg/m^3]
Cp=1007;//Specific Heat[J/kg.K]
a=2.141*10^(-5);//Absorptivity[m^2/s]
w_inf=0;//Mass fraction of napthalene at free stream conditions
P_As=11;//Vapor Pressure of Napthalene at surface[Pa]
mA=12*10^(-3);//Mass of napthalene sublimated[kg]
delta_t=15*60;//time of sublimation[s]
As=0.3;//surface area of the body[m^2]
//Solution:-
w_As=(P_As/P)*(M_A/M_air);
disp(w_As,"Mass fraction at the surface is")
m_evap=mA/delta_t;//[kg/s]
disp("kg/s",m_evap,"The rate of evaporation of napthalene is")
h_mass=m_evap/(rho*As*(w_As-w_inf));
disp("m/s",h_mass,"The mass convection coefficient is")
//Using analogy between heat and mass transfer
h_heat=rho*Cp*h_mass*((a/D_AB)^(2/3));//[W/m^2.degree Celcius]
disp("W/m^2.degree Celcius",round(h_heat),"The average heat transfer coefficient is")
|
6ebf52cd3076e3d9c8658fdeeadc7d815a0c92e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /339/CH2/EX2.9/ex2_9.sce | 0c34e861d78a147820119048bb7c09c1e0bce4b9 | [] | 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 | 450 | sce | ex2_9.sce | Zg=50; //generator impedance
Zo=75; //intrinsic impedance
Zl=40; //line impedance
Vg=5; //generator voltage
Ts=(Zg-Zo)/(Zg+Zo); //reflection coefficient at source
To=(Zl-Zo)/(Zl+Zo); //reflection coefficient at load
temp=1-(To^2);
temp1=(1-Ts)^2;
temp2=(1-Ts*To)^2;
Pin=((Vg)^2*temp1*temp2)/(8*Zo*temp); //input power
Pl=Pin; //power delivered to the load
disp("Watts",Pl,"The Power delivered to the load is same as that at the input-->"); |
c5ccfdeaa353371d69a4ffc365b2a44052e72fdb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH6/EX6.7/Ex6_7.sce | 837aebb674139355198c3d45e9b00042fb89581d | [] | 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 | 354 | sce | Ex6_7.sce | clc
T=300 //temperature in Kelvin
gama=1.4
Tf=gama*T
mprintf("Tf=%iK\n",Tf)
P=50*10^5 //pressure in Pascals
V=0.1 //volume in metre-cube
R=8.314
N=(P*V)/(R*Tf)
mprintf("N=%f\n",N)//ans vary due to roundoff error
molmass=28.97 //molar mass of air
mprintf("Mass of air filled in cylinder=%fkg",N*molmass*10^-3)//ans vary due to roundoff error
|
5b7820be262fde3799ea63add2feb2676d29ea2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH9/EX9.7/Ex9_7.sce | 2e9cf9898466e1eee578620641e94f8a9a836e55 | [] | 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 | 967 | sce | Ex9_7.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex9_7.sce.
clc;
clear;
//input data are taken from example 9.5
V=1+%i*0;
Xd=1.0;
Xq=0.6;
pf=0.8;
theta=acosd(pf);
Ia1=pf-%i*sind(acosd(pf));
Ia=1.0; //phase magnitude of Ia
printf("\n (a)")
//lagging power factor
tan_del=(Ia*Xq*cosd(theta))/(V+(Ia*Xq*sind(theta)));
del=atand(real(tan_del));
Ef_dash=((V+(Ia*Xq*sind(theta)))^2+(Ia*Xq*cosd(theta))^2)^(1/2);
Ef=real(Ef_dash)+(Ia*sind(theta+del)*(Xd-Xq));
reg=((Ef-V)/1.0)*100;
printf("\n Voltage Regulation for 0.8 lagging power factor=%d percentage \n",reg)
printf("\n (b)")
tan_del=(Ia*Xq*cosd(theta))/(V-(Ia*Xq*sind(theta)));
del=atand(real(tan_del));
Ef=((V-(Ia*Xq*sind(theta)))^2+(Ia*Xq*cosd(theta))^2)^(1/2);
reg=((Ef-V)/1.0)*100;
printf("\n Voltage Regulation for 0.8 leading power factor=%2.0f percentage",reg)
|
eeb4664062436380dd9f9e77b7bb597ab88b8ae5 | b26cbe6bc3e201f030705aaf9eb82da94def231f | /tests/Morisita_RP-019.tst | a0f36ab67e709030a2df800eba937472626d7fef | [] | no_license | RP-pbm/Recurrence-plot | f86c5cd85460661b01a609f8f4281d2cda6b4e07 | b5da95f9b30c1a924a002102219bf0a2ad47df2c | refs/heads/master | 2022-07-24T12:11:34.163543 | 2022-07-09T19:32:43 | 2022-07-09T19:32:43 | 92,934,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 31 | tst | Morisita_RP-019.tst | ../inputs/pops-10x2-rand-03.ssv |
ad1ac1da70eee68b07cf5d831503b818b64dea37 | 948c6e0314c1822f872350cf63aaceb3d28fa497 | /tests/test-print-UTF-8.tst | 2d69bdc50b2af7904996d69ee6a633b7e018a358 | [
"Apache-2.0"
] | permissive | archiecobbs/bom | 832eb815b40f4955e6551496bdd2598cb4f00442 | 0bab1a015bb5e53345e5422902e16f802bd4c07f | refs/heads/main | 2023-08-25T05:43:51.470221 | 2021-11-04T16:12:49 | 2021-11-04T16:12:49 | 417,213,171 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 75 | tst | test-print-UTF-8.tst | FLAGS='--print UTF-8'
STDIN=''
STDOUT='\xef\xbb\xbf'
STDERR=''
EXITVAL='0'
|
5c364f5fe0265c78b435b9306aa033395d4689d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3564/CH1/EX1.5/Ex1_5.sce | b2b7b6c3eb3c69b135c01eec2608b07b30838356 | [] | 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 | 324 | sce | Ex1_5.sce |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clc;
disp("Introduction to Fluid Mechanics, 3rd Ed. William S. Janna Chapter - 1 Example # 1.5 ")
disp("This example is theoretical and does not require computation")
disp("Final result is h = (2*sigma*cos(theta))/(rho*R*g)")
|
1ac0426b553868d88fc506648002b396fb412e75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH4/EX4.8/Example4_8.sce | 0f2a0946b06d67bbdd9f1353f379d5d8c40ba900 | [] | 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 | 533 | sce | Example4_8.sce | //Example 4.8
clear;
clc;
f0=2*10^3;
Q=25;
C=10*10^(-9);//Assumed
w0=2*%pi*f0;
L=1/((w0^2)*C);
R=Q/((C/L)^(1/2));
//Specifying components of GIC
C2=C;
R1=(L/C2)^(1/2);
R3=R1;
R4=R1;
R5=R1;
printf("Designed Dual Amplifier Band Pass Filter :");
printf("\nC=%.2f nF",C*10^9);
printf("\nL=%.2f H",L);
printf("\nR=%.2f kohms",R*10^(-3));
printf("\n\nComponents of General Impedance Converter :");
printf("\nC2=%.2f nF",C2*10^9);
printf("\nR1=R3=R4=R5=%.2f kohms",R1*10^(-3)); |
e2503933e71851b49fabf1accdd039bc0584d73c | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/pulseperiod/pulseperiod13.sce | 653467e3dbb395c97cd2d697788a93a25055d98b | [] | 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 | 58 | sce | pulseperiod13.sce | x=[1 2 4 5];
[d]=pulseperiod(x);
disp(d);
//output
// []
|
95a5da18ff3d9fc01b5750e551d3f5d4c5ad5459 | 449d555969bfd7befe906877abab098c6e63a0e8 | /26/CH4/EX4.2.1/4_2_1.sce | f4295db49c2b18a3770af0c8965e7959d9e4de18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 241 | sce | 4_2_1.sce | disp('the given matrix is:')
a=[3 -5 -3;6 -2 0;-8 4 1]
disp(a,'A=')
disp('the vector x is:')
x=[1;3;-4]
disp(x,'x=')
disp('To check if x is in nullspace of A')
disp('Ax=')
disp([0;0;0],'=')
disp('hence, x is in the null space of A') |
6696bd3465ae94fb4e714d3d330deea1d2e2e264 | 2ae858a680a4ccf8a2ec89a45a1e48a0292d8eab | /macros/rgb2ntsc.sci | ff185cc0a31012a275ba16415251b5af26b9bfcd | [] | no_license | shreyneil/FOSSEE-Image-Processing-Toolbox | f315a82c325b2d6cbd0611689f3e30071a38490d | dd1cbd0dcbe0c3dd11d6ce1ab205b4b72011ae56 | refs/heads/master | 2020-12-02T16:26:13.755637 | 2017-07-07T19:22:33 | 2017-07-07T19:22:33 | 96,552,147 | 0 | 0 | null | 2017-07-07T15:32:15 | 2017-07-07T15:32:15 | null | UTF-8 | Scilab | false | false | 1,112 | sci | rgb2ntsc.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
// Author: Shreyash Sharma
// Organization: FOSSEE, IIT Bombay
// Email: toolbox@scilab.in
function [output] = rgb2ntsc(img)
// This function is used to convert the range of rgb values to the range ntsc values.
//
// Calling Sequence
// image1 = imread(img);
// image2 = rgb2ntsc(image1);
//
// Parameters
// image1: image matrix of the source image.
// image2: image matrix of the resultant image.
//
// Description
// This function takes an rgb image and transforms the channels of the image in accordance with the ntsc values.
//
// Examples
// i = imread("lena.jpeg");
// rr = rgb2ntsc(i);
// imshow(rr(:,:,1));
// imshow(rr(:,:,2));
// imshow(rr(:,:,3));
//
image = mattolist(img);
a = raw_rgb2ntsc(image);
d = size(a);
for i=1:d
output(:,:,i) = a(i);
end
endfunction
|
33263b7336548fa92c9fac8d1100044dd4881130 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3432/CH7/EX7.32/Ex7_32.sce | e4ce496510c351d9d163ea62deed8f3a83e05df3 | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,158 | sce | Ex7_32.sce | //Example 7.32
// Redesign of the Dc servo compensator using SRL
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
// State space representation
//Transfer function model for DC Servo
s=poly(0,'s');
num=10;
den=s*(s+2)*(s+8);
Gs=syslin('c',num/den);
// State space representation
F=[-10 1 0;-16 0 1;0 0 0]
G=[0 0 10]';
H=[1 0 0];
J=0;
n=sqrt(length(F));
//Desired poles for the DC Servo system.
Pc=[-2+1.56*%i -2-1.56*%i -8.04]
// State feedback gain
K=ppol(F,G,Pc)
disp(K,'K=',"State feedback gain")
//Estimator - error roots are at
Pe=[-4+4.49*%i -4-4.49*%i -9.169]
exec ('acker_dk.sci);
Lt=ppol(F',H',Pe);
L=clean(Lt');
disp(L,'L=',"Observer gain")
//Error in book, Gain values are different in book.
//------------------------------------------------------------------
//Compensator Design
DK=-K*inv(s*eye(n,n)-F+G*K+L*H)*L;
DK=syslin('c',DK)
exec('zpk_dk.sci', -1);
[pl,zr,Kp]=zpk_dk(DK);
Dc=poly(zr,'s','roots')/poly(pl,'s','roots')
//------------------------------------------------------------------
//symmetric root locus
G_s=horner(Gs,-s);
evans(Gs*G_s)
zoom_rect([-10 -5 10 5])
f=gca();
f.x_location = "origin"
f.y_location = "origin"
xset("color",2);
h=legend('');
h.visible = "off"
//Title, labels and grid to the figure
exec .\fig_settings.sci; //custom script for setting figure properties
title('Symmetric root locus','fontsize',3);
//------------------------------------------------------------------
//root locus
figure,
evans(Gs*Dc) //Correct root locus
zoom_rect([-11 -6 1 6])
f=gca();
f.x_location = "origin"
f.y_location = "origin"
xset("color",2);
h=legend('');
h.visible = "off"
//Title, labels and grid to the figure
exec .\fig_settings.sci; // custom script for setting figure properties
title('Root locus for pole assignment from the SRL','fontsize',3);
//------------------------------------------------------------------
//Discrete-time controller
nc=94.5*conv([7.98 1],[2.52 1])
dc=conv([59.5348 8.56 1],[10.6 1])
sysDc=poly(nc,'s','coeff')/poly(dc,'s','coeff');
sysDc_ss=syslin('c',tf2ss(sysDc));
ts=0.1;
sysDd=dscr(sysDc_ss,ts)
Gdz=ss2tf(sysDd);
disp(sysDc,"Continuous-time compensator")
disp(Gdz,"Discrete-time compensator")
//------------------------------------------------------------------
//step responses
importXcosDiagram(".\Ex7_32_model.xcos")
xcos_simulate(scs_m,4);
scs_m.props.context
figure,
plot(yt.time,yt.values(:,1),2)
plot(yt.time,yt.values(:,2),'r--')
xlabel('Time (sec)');
ylabel('y');
title("Comaprison of step responses for continuous and discrete...
controllers",'fontsize',3)
exec .\fig_settings.sci; //custom script for setting figure properties
legend("continuous controller","digital controller",4)
//Control inputs
figure,
plot(ut.time,ut.values(:,1),2)
plot(ut.time,ut.values(:,2),'r--')
xlabel('Time (sec)');
ylabel('u');
title("Comaprison of control signals for continuous and discrete...
controllers",'fontsize',3)
exec .\fig_settings.sci; //custom script for setting figure properties
legend("continuous controller","digital controller")
//------------------------------------------------------------------ |
adba61e4c5e929522589760400c1ddc1bded0cdf | fbdb7ffbca4888d348b4fe8e82dddbc0f72f0685 | /src/Webapp/ClientApp/server/Redux.tst | 634f4807774959e91a9e6fd8fa173f28a3bed271 | [
"MIT"
] | permissive | markchipman/rrod | 525d4933ee07f1a791747efe26059818939476ec | 7a8021bf881df21e4800f4e5cac417bed3d9fa18 | refs/heads/master | 2020-03-22T12:12:07.966703 | 2018-08-10T23:11:44 | 2018-08-10T23:11:44 | 140,024,175 | 1 | 0 | MIT | 2018-08-10T23:11:44 | 2018-07-06T19:49:47 | C# | UTF-8 | Scilab | false | false | 1,469 | tst | Redux.tst | ${
using System.Text;
Template(Settings settings)
{
settings
.IncludeCurrentProject()
.IncludeProject("GrainInterfaces");
settings.OutputFilenameFactory = file => {
string name = System.IO.Path.GetFileNameWithoutExtension(file.Name);
if (name.StartsWith("I") && name.Length > 2 && Char.IsUpper(name[1]))
name = name.Substring(1);
if (name.EndsWith("Grain"))
name = name.Substring(0, name.Length - 5);
return name + ".ts";
};
}
bool HasPayload(Class cls)
{
return cls.Properties.Any();
}
string ActionName(Class cls)
{
StringBuilder sb = new StringBuilder();
string name = cls.name.Substring(0, cls.name.Length - 6); // remove 'Action'
foreach (char c in name)
{
if (Char.IsUpper(c))
{
sb.Append("_");
}
sb.Append(Char.ToUpper(c));
}
return sb.ToString();
}
}// This file is generated from template "Redux.tst" using typewriter
// it generates interface declarations for Actions and State that are implemented server-side
$Classes(*Action)[export const $ActionName = '$Name';
]
$Enums(e => e.Name == "Gender")[export enum $Name { $Values[
$Name = $Value][,]
}
]
$Classes(*Action)[export interface $Name {
type: '$Name'; $HasPayload[
payload: {$Properties[
$name: $Type;]
}][]
}
]
$Classes(c => c.Name.EndsWith("State"))[export interface $Name {$Properties[
$name: $Type;]
}
]
|
a89f100b7e75b051d68bcdf9e85c42463b8ed2eb | e85969371a3a944826b152dfd4d87dc64af8fd84 | /ssbmod/ssbmod.sci | 9752051a71ee5258c8655f3c1e70f11abe10de9c | [
"CC0-1.0"
] | permissive | virajshah978/Comm.Toolbox.Scilab | 385ccb9279c0f077c6731f83eaf1e09e7ebf6bad | 854278ab4b11218756e3f1357e4850b694476943 | refs/heads/master | 2021-01-17T05:22:47.726178 | 2016-02-01T20:42:22 | 2016-02-01T20:42:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,248 | sci | ssbmod.sci | //Created by: Kartik Patel
// Indian Institute of Technology, Roorkee
//Date : 28 Jan, 2016
//License : Creative Commons Attribution-ShareAlike 4.0 International License
function[y]=ssbmod(x, Fc, Fs, varargin)
// y = ssbmod(x, Fc, Fs, init_phase, 'upper')
// This function will generate the single sideband modulated signal with modulating
// singal x and carrier frequency Fc.
//
// Input Arguments:
// x : Modulating signal
// Fc : Carrier Frequency of Modulated signal
// Fs : Sampling Frequency of Input signal
// init_phase : Initial Phase of Modulated signal (default = 0, optional)
// 'upper' : Upper SideBand modulated signal (default='lower', optional)
// For lower sideband, this argument can be blank.
// Conditions:
// Fs > 2*(Fc+BW), where BW is bandwidth of Modulating Signal
//
// Output:
// y : Single Sideband Modulated signal
if imag(x)~=0 then
//Check for real input signal
disp('Input vector must be real.')
return
end
if imag(Fc)~=0 or Fc<=0 then
//Check for positive real Fc
disp('Carrier Frequency must be positive real number.')
return
end
if imag(Fs)~=0 or Fs<=0 then
//Check for positive real Fs
disp('Sampling Frequency must be positive real number.')
return
end
if (Fs<=2*Fc) then
//Check for Fs>2*Fc
disp('Sampling Frequency must be atleast twice of Carrier Frequency');
return
end
iniph = 0; //Default Initial Phase = 0
upper = 0~=0; //Default method is not upper
if argn(2)>=4 then //Initial Phase and/or 'Upper' is provided
iniph = varargin(1); //Initial Phase
if length(iniph) == 0 then
//Check for blank
iniph = 0;
elseif ~isreal(iniph) then
//Check for real value
disp('Initial Phase of the signal must be a real quantity');
return
elseif length(iniph)>1 then
//Check for scalar quantity
disp('Initial Phase of the signal must be a scalar quantity');
return
end
if argn(2)==5 then //Whether Method is provided
upper_string = varargin(2);
compare = strcmpi(upper_string, 'upper') //If Method == 'upper'
if compare~=0 then
//If Method != 'upper'
disp('Invalid string');
return
else
upper = 0==0; //upper = True
end
end
end
//Variable checks completed
if size(x,1)==1 then
x = x(:) //Making sure that x is a column vector
end
t = (0:1/Fs:(size(x,1)-1)./Fs)';
t = t(:,ones(1,size(x,2))); //For 2D vector x, each column will be assumed to be a seperate channel
if upper then //Upper Sideband
y = x.*cos(2*%pi*Fc*t + iniph) - imag(hilbert(x)).*sin(2*%pi*Fc*t + iniph);
else //Lower Sideband
y = x.*cos(2*%pi*Fc*t + iniph) + imag(hilbert(x)).*sin(2*%pi*Fc*t + iniph);
end
//End of Function
endfunction
|
7a7f99698be851fc09a7262f4fcc19c3e5b59484 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH2/EX2.27/example2_27.sce | 2a7a3557a93869d154ee2adcd2132cb4365748ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 518 | sce | example2_27.sce | // Dynamic resistance at forward bias
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 2-27 in page 103
clear; clc; close;
// Given data
k_BT=25.86*10^-3; // Constant
I_0=1.5*10^-6; // Current in microA
V=0.15; // Forward bias voltage in volts
V_T=0.02586; // Thermal voltage in volts
// Calculation
R_ac=k_BT/(I_0*exp(V/V_T));
printf("Dynamic resistance = %0.2f W",R_ac);
// Result
// Dynamic resistance at forward bias = 52.17 W |
3205b8a560bf875f932417aec3d413c003b5c9fb | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Digital_Control_K._M._Moudgalya_2048.zip/Digital_Control_K._M._Moudgalya_2048/CH5/EX5.4/derv_bode.sce | 59fb9d26782d23e86b4bec957e5a1571d54d6dfb | [] | 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 | 473 | sce | derv_bode.sce | mode(2);errcatch(-1,"stop");driver("GIF");// Bode plot of the differencing filter, discussed in Example 5.6 on page 130
// 5.4
exec('label.sci',-1);
w = 0.01:0.01:%pi;
G = 1-exp(-%i*w);
subplot(2,1,1)
plot2d1("gll",w,abs(G),style = 2);
label('',4,' ','Magnitude',4);
subplot(2,1,2)
plot2d1("gln",w,phasemag(G),style = 2);
label('',4,'w','Phase',4)
xinit('/home/fossee/Downloads/tbc_graphs/Digital_Control_K._M._Moudgalya_2048/derv_bode');xend();exit();
|
d46468353dd45f791f19c2f0fecfe9868dbbf21e | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH19/EX19.22/example22_sce.sce | 28396843ff5a2c6d5bdf5d24c74c9784a9c6fb0e | [] | 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 | 317 | sce | example22_sce.sce | //chapter 19
//example 19.22
//page 868
printf("\n")
printf("given")
Vcc=15;Rl=15;Rd=.3;R5=2.2*10^3;R6=33*10^3;C2=3.9*10^-6;C4=100*10^-12;
disp(" power output")
Vp=(Vcc*Rl)/(Rd+Rl)
Ip=Vp/Rl
Po=(Vp*Ip)/2
disp(" voltage gain")
Av=(R5+R6)/R5
disp("cutoff frequency")
f1=1/(2*3.14*C2*R5)
f2=1/(2*3.14*C4*R6) |
2a2fd41839b7ece1beb53b29cce96f89554262c1 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testvecteurs.sce | 2055a8d44bad174f94527d6ae493f8c041a639d3 | [] | 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 | 172 | sce | testvecteurs.sce | u=[1 2 3 4 5] // row vector
v=[-1;-2;-3] // column vector
// size and length
size(u),length(u)
size(v),length(v)
// retrieving values
u(1,4),u(4)
v(2,1),v(2)
|
8d74a21b07ff4d1b88787d2e7049c50caec577ac | aca04316c7c96dcc66a208d620f3bf5d6b0e45e9 | /Pas_Cauchy.sci | c759e2fc7f5ef06c3adbdaad7d2b68102b1adf93 | [] | no_license | yamiir/projet_Optimisation | 7979cc942549c745c88c822ec9ccac88094bbc56 | d51aac92f4cbd37013ea2f5f3137b8fb3958f648 | refs/heads/master | 2021-01-21T12:59:11.019376 | 2016-04-29T00:33:29 | 2016-04-29T00:33:29 | 52,592,455 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sci | Pas_Cauchy.sci | function [PasOp]=Pas_Cauchy(OraclePG,xini,D)
x1=xini
g1=OraclePG(x1,3)
G1=g'*D
iter=500
alpha=0.01
for k=1:iter
x1=x1-alpha*G1
g1=OraclePG(x1,3)
G1=g'*D
end
|
dadb784ce57eb83ad9471a975f19275051ac87d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH12/EX12.6/6.sce | 256b8728e620c3fcb9ac276890b7a12e1516a2c5 | [] | 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 | 848 | sce | 6.sce | clc
p1=35; //bar
x=1;
p2=0.2; //bar
m=9.5; //kg/s
//At 35 bar
h1=2802; //kJ/kg
h_g1=h1;
s_g1=6.1228; //kJ/kg K
//At0.26 bar
h_f=251.5; //kJ/kg
h_fg=2358.4; //kJ/kg
v_f=0.001017; //m^3/kg
s_f=0.8321; //kJ/kg
s_fg=7.0773; //kJ/kg K
disp("(i) The pump work")
W_pump=v_f*(p1-p2)*100; //kJ/kg
P=m*W_pump; //power required
disp("Power required to drive the pump")
disp(P)
disp("kW")
disp("(ii) The turbine work")
x2=(s_g1-s_f)/s_fg;
h2=h_f+x2*h_fg;
W_turbine=m*(h1-h2);
disp("Turbine work=")
disp(W_turbine)
disp("kW")
disp("(iii) The Rankine efficiency")
n_rankine=(h1-h2)/(h1-h_f);
disp("rankine efficiency=")
disp(n_rankine)
disp("(iv) The condenser heat flow :")
Q=m*(h2-h_f);
disp("The condenser heat flow=")
disp(Q)
disp("kW")
disp("(v) The dryness at the end of expansion=")
disp(x2) |
b0a5e0df71aac0129d44c3acff17ed10d1979c32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH9/EX9.5/9_5_Radiation_Shield.sce | 614664f2b8a26793ac6584435c3c3a933cd14498 | [] | 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,323 | sce | 9_5_Radiation_Shield.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 9.5 Page 592 \n'); //Example 9.5
// Heat Loss from pipe per unit of length
// Heat Loss if air is filled with glass-fiber blanket insulation
//Operating Conditions
To = 35+273 ;//[K] Shield Temperature
Ti = 120+273 ;//[K] Tube Temperature
Di = .1 ;//[m] Diameter inner
Do = .12 ;//[m] Diameter outer
L = .01 ;//[m] air gap insulation
//Table A.4 Air Properties T = 350 K
k = 30*10^-3 ;//[W/m.K] Conductivity
uv = 20.92*10^-6 ;//[m^2/s] Kinematic Viscosity
al = 29.9*10^-6 ;//[m^2/s] alpha
be = 2.85*10^-3 ;//[K^-1] Tf^-1
Pr = .7 ;// Prandtl number
g = 9.81 ;//[m^2/s] gravitational constt
//Table A.3 Insulation glass fiber T=300K
kins = .038 ;//[W/m.K] Conductivity
Lc = 2*[2.303*log10(Do/Di)]^(4/3)/((Di/2)^-(3/5)+(Do/2)^-(3/5))^(5/3);
Ra = g*be*(Ti-To)/al*Lc^3/uv;
keff = .386*k*(Pr/(.861+Pr))^.25*Ra^.25;
q = 2*%pi*keff*(Ti-To)/(2.303*log10(Do/Di));
//From equatiom 9.58 and 3.27
qin = q*kins/keff;
printf("\n Heat Loss from pipe per unit of length is %i W/m \n Heat Loss if air is filled with glass-fiber blanket insulation %i W/m",q,qin);
//END |
23616c23a0979f725b9ebe3854f33924c2f627f9 | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Dump/Copy/Train Test split_Demo.sce | c87327e1a51e7c14b34260315006bde02a131178 | [] | no_license | SoumitraAgarwal/Scilab-gsoc | 692c00e3fb7a5faf65082e6c23765620f4ecdf35 | 678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f | refs/heads/master | 2021-04-15T17:55:48.334164 | 2018-08-07T13:43:26 | 2018-08-07T13:43:26 | 126,500,126 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 127 | sce | Train Test split_Demo.sce | // Demo script for train test split
getd('.')
// Data preparation
M = csvRead('Datasets/weather.csv')
x = M(1:2000, [6, 10]); |
9c5bbb90ece3efabab326458ca27a5c1fc8dd755 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH5/EX5.9/Ex5_9.sce | 016e3d2eeab1ef3b16bd974b21ee953f2ee77210 | [] | 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 | 524 | sce | Ex5_9.sce | clear;
clc;
disp('Example 5.9');
// aim : To determine
// the new pressure of the gas
// Given values
P1 = 300;// original pressure,[kN/m^2]
T1 = 273+25;// original temperature,[K]
T2 = 273+180;// final temperature,[K]
// solution
// since gas compressing according to the law,P*V^1.4=constant
// so,for polytropic process,T1/T2=(P1/P2)^((n-1)/n),here n=1.4
// hence
P2 = P1*(T2/T1)^((1.4)/(1.4-1));// [kN/m^2]
mprintf('\n The new pressure of the gas is = %f kN/m^2\n',P2);
// End
|
dcf8edb3dd9dbe56bc1fb9a3138ace641ebc7127 | 10b87c4237b53526d21f2f99b652fd22ef5b1380 | /ws-soap/TestClientBarFiles/TESTNODE_jcduenasr_default.tst | eecdae23d1e76d30e376c4570e4abbbbb1841523 | [] | no_license | jcduenasr/IIB | 191e6ecf8ed385261c9bf79b3da37f05ce99d381 | 02994fd7193c65f2bda8158d82f408ce7d279f4b | refs/heads/master | 2020-05-05T12:02:07.878129 | 2019-05-29T20:43:03 | 2019-05-29T20:43:03 | 180,012,277 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 249 | tst | TESTNODE_jcduenasr_default.tst | ***************************************************
* Run the following command to create the queues *
* runmqsc <queue manager name> <TESTNODE_jcduenasr_default.tst *
***************************************************
DEFINE QL('DHL.OUT.QUEUE')
|
4ba5db64348cfb347adc4d2c15c711927003d659 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH1/EX1.9/Ex1_9.sce | 8ee6f9d3f66cdf49347c13b6916822ea053f41cd | [] | 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 | 429 | sce | Ex1_9.sce | clear;
clc;
printf("\nEx1.9\n");
//page no.-11
//given
rho=2170;.......//density of NaCl in kg/m^3
m=58.45;.........//molecular wt. of NaCl
n=4;...........//molecules per unit cell for F.C.C.
N=6*10^26;...//avagadro no.
M=(n*m)/N;..........//mass in each unit cell
//as density=mass/volume, so volume is a^3
a=(M/rho)^(1/3)......//lattice constant in Angstrom
printf("\nlattice constant is 5.64 angstrom\n");
|
4b98776111da8411c12b95a289636b964bbcd45a | 449d555969bfd7befe906877abab098c6e63a0e8 | /530/CH3/EX3.12/example_3_12.sce | e051d8c6699fd088ee59356d2e66f9fce9910d59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | sce | example_3_12.sce | clear;
clc;
// A Textbook on HEAT TRANSFER by S P SUKHATME
// Chapter 3
// Thermal Radiation
// Example 3.12
// Page 145
printf("Example 3.12, Page 145 \n\n")
D = 0.02 ; // [m]
T1 = 1000+273 ; // [K]
T2 = 27+273 ; // [K]
s = 5.670*10^-8 ; // stefans constant
// Assuming the opening is closed by an imaginary surface at temperature T1
// Using equation 3.10.3 , we get
q = s*1*%pi*((D/2)^2)*(T1^4-T2^4); // [W]
printf("Rate at which heat is lost by radiation = %f W",q); |
a3b2f86d7a7ba12b8e698c8dffe76cd00ab8edb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH14/EX14.6/14_6.sce | 33b8f0a0322dcaee36a2ba3a3efa41aef3cd2b07 | [] | 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 | 463 | sce | 14_6.sce | eox=3.9*8.85*10^-14; //say eox=Єox
dox=20*10^-7;
cox=eox/dox;
printf('\n The value of Cox is %fnF/cm^2',cox*10^9);
disp("Cfb=1/((1/cox)+(Ld/Єs))");
es=11.9*8.85*10^-14;
Vt=0.0259;
q=1.6*10^-19;
Na=10^17;
Ld=sqrt(es*Vt/(q*Na));
printf('\n The value of Ld is %fnm',Ld*10^7);
Cfb=1/((1/cox)+(Ld/es));
printf('\n The value of Cfb is %fnF/cm^2',Cfb*10^9);
xdT=1.05*10^-5;
Chf=1/((1/cox)+(xdT/es));
printf('\n The value of Chf is %fnF/cm^2',Chf*10^9); |
4c4bf913948916280fb2edfa8eecf948a0ffa7e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH5/EX5.2/Example5_2.sce | 3420d2b486cad2dee96d6d8014337faa3387bdbc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,498 | sce | Example5_2.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 5: ARMATURE REACTION AND COMMUTATION IN DYNAMOS
// Example 5-2
clear; clc; close; // Clear the work space and console.
// Given data
conductors = 800 ; // No. of conductors
I_a = 1000 ; // Rated armature current in A
I_l = I_a ; // load or total current entering the armature in A
P = 10 ; // No. of poles
pitch = 0.7 ; // Pole-face covers 70% of the pitch
a = P ; // No. of parallel paths ( Simplex lap-wound )
alpha = 5 ; // No. of electrical degress that the brushes are shifted
// Calculations
Z = conductors / P ; // No. of armature conductors/path under each pole
A_Z_per_pole = ( Z * I_l ) / ( P * a ); // Cross magnetizing
// ampere-conductors/pole
At_per_pole = ( 1 / 2 ) * ( 8000 / 1 ); // Ampere-turns/pole
frac_demag_At_per_pole = (2*alpha) / 180 * (At_per_pole);
// Fraction of demagnetizing ampere-turns/pole
funcprot(0); // to avoid redefining function: beta warning message
beta = 180 - 2*alpha ; // cross-magnetizing electrical degrees
cross_mag_At_per_pole = (beta/180)*(At_per_pole);
// cross-magnetizing ampere-turns/pole
// Display the results
disp("Example 5-2 Solution : ");
printf(" \n a: With the brushes on the GNA,the entire armature reaction effect");
printf(" \n is completely cross-magnetizing. The cross-magnetizing ");
printf(" \n ampere-conductors/pole are ");
printf(" \n = %d ampere-conductots/pole \n", A_Z_per_pole);
printf(" \n and since there are 2 conductors/turn, the cross-magnetizing ");
printf(" \n ampere-turns/pole are \n = %d At/pole \n\n", At_per_pole );
printf(" \n b: Let alpha = the no. of electrical degrees that the brushes are ");
printf(" \n shifted. Then the total no. of demagnetizing electrical degrees ");
printf(" \n are 2*alpha, while the (remaining) cross-magnetizing electrical");
printf(" \n degrees,beta, are 180 - 2*alpha. The ratio of demagnetizing to ");
printf(" \n cross-magnetizing ampere-turns is always 2*alpha/beta. The ");
printf(" \n fraction of demagnetizing ampere-turns/pole is ");
printf(" \n = %.1f At/pole \n\n",frac_demag_At_per_pole );
printf(" \n Note: Slight calculation mistake in the textbook for case b\n")
printf(" \n c: Since beta = 180-2*alpha = 170, the cross-magnetizing ampere-turns/pole ");
printf(" \n are \n = %.1f At/pole ", cross_mag_At_per_pole );
|
b4c7fb56cd9af272f10767423f71afc39fc593f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH2/EX2.28/ex2_28.sce | 04a3dc93f29ed8a506b7fd491d7283276b794c5a | [] | 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 | 279 | sce | ex2_28.sce | // Example 2.28 page no-86
clear
clc
Vt=0.026
Nv=(3/4)*Vt*log(3)
printf("\nFor Intrinsic Semiconductor,\nEF will be at the centre of the forbidden band. \nBut if mp and mn are unequal, EF will be away\nfrom the centre of the forbidden band by\n\nNv=%.1f*10^-3 eV",Nv*10^3)
|
b21b1bf6a8f10b891f1afd62f35c72f10125f491 | 899cecef18712265c22e100bf72286df1ec5fb65 | /Asgn2/Q2.sci | e02fd097ebb575c895f16ee14f283feb61130dc3 | [] | no_license | ajaykumarkannan/Speech-Signal-Processing-and-Coding | 449679bef8bdf0215e96521163774f88d8a6b41e | c1d371b2866239a89312a0f64db3d61cc0b1011c | refs/heads/master | 2020-05-17T17:02:33.143586 | 2012-11-15T12:48:40 | 2012-11-15T12:48:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 846 | sci | Q2.sci | Nms = input("Enter the frame size in milliseconds: ");
Sfms = input("Enter the frame shift in milliseconds: ");
FileName = input("Enter the sound file name (Enclose in single quotes): ");
[y, Fs, bits] = wavread(FileName);
N = Nms * Fs / 1000; // Number of frames for size
Sf = Sfms * Fs / 1000; // Number of frames for shift
y = y(1,:);
t = 0:(1/Fs):((-1+length(y))/Fs);
clf();
subplot(2,1,1);
plot2d(t, y);
title('Input Signal');
xlabel('Time');
ylabel('Input');
ZCR = zeros(length(y) / Sf, 1);
index = 0;
for i = 1:Sf:(length(y)-N)
index = index + 1;
for j = 0:(N-2)
ZCR(index) = ZCR(index) + abs(sign(y(i+j+1)) - sign(y(i+j)));
end
ZCR(index) = ZCR(index) / (2*N);
end
t2 = 0:Sf/Fs:Sf*(length(ZCR)-1)/Fs;
subplot(2,1,2);
subplot(2,1,2);
plot2d(t2, ZCR);
xlabel('Time');
ylabel('Zero Crossing Rate');
title('Zero Crossing Rate');
|
50a20373537d8791fb52f85eb401f873ec92575e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH6/EX6.3/Ex6_3.sce | 7308da1ce6ca430f86025d0f19d1aee6bd47dff5 | [] | 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 | 770 | sce | Ex6_3.sce | clear ;
clc;
// Example 6.3
printf('Example 6.3\n\n');
printf('Page No. 144\n\n');
// given
Th_i = 130;//Inlet temperature of hot liquid in degree celcius
Th_o = 90;// Outlet temperature of hot liquid in degree celcius
Tc_i = 20;// Inlet temperature of cold liquid in degree celcius
Tc_o = 50;// Outlet temperature of cold liquid in degree celcius
//For Couter-current flow
T1 = Th_i - Tc_o;
T2 = Th_o - Tc_i;
Tm_1 = ((T2-T1)/log(T2/T1));
printf('The logarithmic mean temperature difference for counter-current flow is %.0f degree celcius \n',Tm_1)
//For Co-current flow
T3 = Th_i - Tc_i;
T4 = Th_o - Tc_o;
Tm_2 = ((T3-T4)/log(T3/T4));
printf('The logarithmic mean temperature difference for co-current flow is %.0f degree celcius \n',Tm_2)
|
c44c1ac8772cac3826f1baaf1bcafecde78dc3ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH40/EX40.01/40_01.sce | 16ba0886a1ac65665083df3b79ba3fa462fb8c56 | [] | 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 | 542 | sce | 40_01.sce | //Problem 40.01: A field plot between two metal plates is shown in Figure 40.9. The relative permeability of the dielectric is 2.8. Determine the capacitance per metre length of the system.
//initializing the variables:
e0 = 8.85E-12;
er = 2.8;
l = 1; // in m
//calculation:
//From Figure 40.9
m = 16; // number of parallel squares measured along each equipotential
n = 6; // the number of series squares measured along each line of force
C = e0*er*l*m/n
printf("\n\n Result \n\n")
printf("\n capacitance is %.3E Farad.",C) |
d283362f6b881b52e8b0b3bdf807e195a40a9e67 | 1c1157eb9ae639124969d74ed2969f3990c91767 | /src/scilab/istft.sci | 58aff48216fb77ef51e6642a1ee7b9a4d231b45a | [] | no_license | JOfTheAncientGermanSpear/Simple-Time-Stretcher-Scilab | c00a9da29d3a73929bbdcbd7edc78ad66b803ac6 | 638360ea04ee4951f9a4e550d45fcea0bc01c867 | refs/heads/master | 2021-01-18T16:29:56.086062 | 2012-05-09T03:15:45 | 2012-05-09T03:15:45 | 4,267,913 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,114 | sci | istft.sci | function timeSignal = istft(stftMatrix, windowLen, hop)
// timeSignal = istft(stftMatrix, windowLen, hop) Inverse short-time Fourier transform.
// Performs overlap-add resynthesis from the short-time Fourier transform
// data in stftMatrix. Each column of stftMatrix is taken as the result of an F-point
// fft; each successive frame was offset by hop points (default
// windowLen/2, or F/2 if windowLen==0). Data is hann-windowed at windowLen pts, or
// windowLen = 0 gives a rectangular window (default);
// modified version of Dan Ellis' istft.m from http://www.ee.columbia.edu/~dpwe/resources/matlab/pvoc/
[numOutputs, nargin] = argn(0);
[ftLen, numOfFTs] = size(stftMatrix);
//if nargin < 2; ftlen = lenOfEachFt; end //2*(lenOfEachFt-1); end
if nargin < 2; windowLen = 0; end
if nargin < 3; hop = 0; end // will become winlen/2 later
//if lenOfEachFt ~= (ftsize/2)+1
// error('number of rows should be fftsize/2+1')
//end
if length(windowLen) == 1
if windowLen == 0
// special case: rectangular window
win = ones(1,ftLen);
else
if modulo(windowLen, 2) == 0 // force window to be odd-len
windowLen = windowLen + 1;
end
halflen = (windowLen-1)/2;
halff = ftLen/2;
halfwin = 0.5 * ( 1 + cos( %pi * (0:halflen)/halflen));
win = zeros(1, ftLen);
acthalflen = min(halff, halflen);
win((halff+1):(halff+acthalflen)) = halfwin(1:acthalflen);
win((halff+1):-1:(halff-acthalflen+2)) = halfwin(1:acthalflen);
// 2009-01-06: Make stft-istft loop be identity for 25// hop
win = 2/3*win;
end
else
win = windowLen;
end
windowLen = length(win);
// now can set default hop
if hop == 0
hop = floor(windowLen/2);
end
timeSignalLen = ftLen + (numOfFTs-1)*hop;
timeSignal = zeros(1,timeSignalLen);
for currTimeStart = 0:hop:(hop*(numOfFTs-1))
currFT = stftMatrix(:,1+currTimeStart/hop)';
//currFT = [currFT, conj(currFT([((ftsize/2)):-1:2]))];
currIFT = real(ifft(currFT));
timeSignal((currTimeStart+1):(currTimeStart+ftLen)) = timeSignal((currTimeStart+1):(currTimeStart+ftLen))+currIFT.*win;
end;
endfunction |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.