blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e20fa2214b82bb03998ae594b4845001fa08cc13 | c6c7eb21f96a4f31fbebb18724ed9bbca4bb661b | /Ex1.sce | fffb2f1e386e0db07edeb22a057ee5ceb0fa9cda | [] | no_license | Yunagiri/MT12 | 766b022278b220e85358919241fff3f0f1c7e665 | 6da3df8fb7a8507f600ee51bd916e605c6838ee0 | refs/heads/master | 2020-12-05T11:04:18.108037 | 2020-01-06T11:45:31 | 2020-01-06T11:45:31 | 232,089,292 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 938 | sce | Ex1.sce | //DINH Viet Phuong
function [L,U] = DecompLU(A)
n = size(A,1);
L = zeros(3,3);
U = zeros(3,3);
U(1,1:n) = A(1,:);
L(1:n,1) = A(:,1)/A(1,1);
S1 = 0;
S2 = 0;
for i = 2:n
U(i,i) = A(1,1) - L(i,1:i-1)*U(1:i-1,i);
for j = i+1:n
for k = 1:i-1
... |
3adb43fe229acb1afda111acd15806309270fab1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH6/EX6.4/ex6_4.sce | f512b3a6f059050e6d8d385b85910bfa849a97da | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | ex6_4.sce | // Exa 6.4
clc;
clear;
close;
format('v',5)
// Given data
V=250;// full scale voltage reading in V
Rm = 2;// in ohm
Rsh = 2;// in m ohm
Rsh = Rsh * 10^-3;// in ohm
R = 5000;// in ohm
Im = V/(Rm+R);// in A
Ish = (Im*Rm)/Rsh;// in A
// Current range of instrument
I = Im+Ish;// in A
disp(I,"The current rang... |
37e3b00daf7d8cbeaf8dfe45cfef89b9b30e3467 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1085/CH14/EX14.7/ex14_7.sce | 5e0df07fff268e299fb17a15b217f0e81d1deff2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 454 | sce | ex14_7.sce | //Exam:14.7
clc;
clear;
close;
p=8.90*10^6;//density of nickel in gm/m3.
N_A=6.023*10^23;//Avogadro’s number atoms/mol
At_w=58.71;//Atomic weight of Ni in gm/mol
N=p*N_A/At_w;//number of atoms/m3
U_B=9.273*10^(-24);//Bohr_magneton
M_s=0.60*U_B*N;//saturation magnetization
pi=22/7;
U_o=4*pi*10^(-7);//magneti... |
c6ec2d05aa15053f6fa30e69361f7858f1f1c0f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH14/EX16.7/eg_14_7.sce | c93845ad375e80eeefac0ba42fc41fea2f2d8df1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 563 | sce | eg_14_7.sce | clc;
clear;
s=['S' 'C1' 'SB1';
'B1' 'S' '-';
'C1' 'C2' '-';
'C2' '-' 'S'];
n=max(size(s(:,1)));
l=1;
for i=1:n
for j=i:n
if(i~=j)
p(l,1)=strcat([s(i,1) s(j,1)]);
if(s(i,2)=='-' | s(j,2)=='-')
p(l,2)='-';
else
p(l,2)=... |
18c5e7cd021ee682c77db5f9820478a036012fa1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH3/EX3.16/Ex3_16.sce | cf3afa77aa623e5ac410426c3b34f2abf596b414 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | Ex3_16.sce | //Ex3_16
clc
//considering Lissajous pattern given in question
y1 = 0
y2 = 5
phi = asind(y1/y2)
disp("y1 = "+string(y1)+"cm")//minor axis
disp("y2 = "+string(y2)+"cm")//major axis
disp("phi = sin-1(y1/y2) = "+string(phi)+"degree")//phase difference
|
e7908e26326bf76c3e1ace644774fd8f5a0260b9 | 91bba043768342a4e23ee3a4ff1aa52fe67f7826 | /cs/142/1/tests/test1.tst | e18aef082a7574e1263d6ac4a800b2f5d7bd21fa | [] | no_license | MaxNanasy/old-homework | 6beecc3881c953c93b847f1d0d93a64ec991d6de | 48b7997a49a8f111344f30787c178e1661db04bd | refs/heads/master | 2016-09-08T04:37:44.932977 | 2010-03-02T00:48:59 | 2010-03-02T00:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 31 | tst | test1.tst | test = abc!;
main() { a = 1; } |
0b505cf4dd79fec40cf1f20ae58a074c96485b4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /68/CH6/EX6.6/ex6.sce | 3ff611de1f71a5a538fe13a6ed5e740d182ca7ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 580 | sce | ex6.sce | // Example 6.6 : To determine midband gain and upper 3dB frequency
R_in=420*10^3; // (ohm)
R_sig=100*10^3; // (ohm)
g_m=4*10^-3; // (mho)
R_L=3.33*10^3; // R_L=R'_L (ohm)
C_gs=1*10^-12; // F
C_gd=C_gs;
A_M=-R_in*g_m*R_L/(R_in+R_sig)
disp(A_M,"Midband frequency gain A_M (V/V)")
R_gs=R_in*R_sig/(R_in+R_sig);
R... |
c53ed1f9d0db268604dced30570a8ac9cc023939 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH12/EX12.1/Ex12_1.sce | 5d062c76ae971bc6ddb66963cd5be78c051f4dd5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | sce | Ex12_1.sce |
//Variable Declaration
P=6 //Transmit power(Watts)
G=48.2 //Antenna Gain(dB)
//Calculation
EIRP=10*log10(P)+G //Equivalent isotropic radiated power(dB)
//Result
printf("Hence the Equivalent isotropic radiated power is %.0f dBW",EIRP)
|
f670fb060894e12db12ffec9141e0af1e6507a83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH27/EX27.2/Ex27_2.sce | 9b6d10534822bed24af780918d529ddc9021ba87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex27_2.sce | clear
//Given
V=2 //V
R=10.0 //ohm
R1=20.0
//Calculation
I=V/R
I1=V/R1
//Result
printf("\n (i) Current drawn from battery is %0.3f A", I)
printf("\n (ii) Current drawn from point B is %0.3f A",I1)
|
9350eebd3e903287ed0422eaeb0bbd2176da5e09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH6/EX6.15/Example_6_15.sce | c1519de93b4b54260e68fbc8ea71e41150ea9cbe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 835 | sce | Example_6_15.sce | //Example 6.15
clear;
clc;
//Given
T=298;//temperature in K
h=6.626;//plancks constant in 10^(34) Js
k=1.3806;//in (10^(-23)) J K^-1
c=2.997925;//speed of light in 10^8 m s^-2
w=158020;//vibrational frequency in m^-1
R=8.314;//gas constant in J mol^-1 K^-1
//To determine the vibrational contributions
x=(... |
add38c4a92323b4849f16a7725c89b331e04f895 | f6b3a0c494772f6ca78e2f620df06d393dafcc51 | /f.sci | 16726503fff2b4ee32775fd899dba2c89a5ea05a | [] | no_license | rishabhthecoder/scilab | f914595f7af9682a731f49fc1203925c9529297a | f0460b09d16d7349f408183d4089553360ca4ba5 | refs/heads/master | 2020-03-31T05:47:43.762852 | 2018-10-07T16:06:20 | 2018-10-07T16:06:20 | 151,958,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 120 | sci | f.sci | function z=f(x,y)
z=4+x+y;
endfunction
x=linspace(-2,2,100);
y=linspace(-2,2,100);
z=feval(x,y,f);
surf(x,y,z);
|
5241cd9c802ce91d5ee67d33b09165565222932d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH3/EX3.8/NNID_Ex_3_8.sce | 37b9ae957b95ff78d0c6e34e0de2e17bce899b58 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 793 | sce | NNID_Ex_3_8.sce | clc
//Chapter 3:Network noise and intermodulation distortion
//example 3.8 page no 83
//given
NF=4//noise figure in dB
B=3*10^3//bandwidth
Rs=50//sourse resistance
k=1.38*10^-23//Boltzmmans constant
T=290//tempreture
//For si of -125dBm the value of Ei is 0.245uV will produce a 10dB output to noise ratio. now ... |
c6dae35a0d81c47b4369b0b899464ac750e3daf2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /689/CH5/EX5.4/4.sce | a17dceaa79fe16907c77dff13a18fc1b57544217 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 4.sce | clc; funcprot(0);
//Example 5.4 Inclined Flat Plates
// Initialisation of variables
Cl = 0.73; // From Figure
Cd = 0.164; // From Figure
l = 12;
w = 2;
alpha = 12;
V = 50;
rho = 0.002378;
// Calculations
A = l*w;
L = (Cl*rho*A*V^2)/2;
D = (Cd*rho*A*V^2)/2;
R = sqrt(L^2+D^2);
//Results
... |
8a76302b46914a04321cd8a58921199ee6caf4e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH2/EX2.21.b/example221b.sce | e0660a3b5d1c52414d6bb88de815ddb059c39372 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 567 | sce | example221b.sce | //Example 2.21b
clc;
x1=[1,1,1,1]
x2=[2,2,2,2]
a=1
b=1
for t=1:length(x1)
x3(t)=a*x1(t)+b*x2(t)
end
for t=1:length(x1)
y1(t)=7*x1(t)+5
y2(t)=7*x2(t)+5
y3(t)=7*x3(t)+5
end
for t=1:length(y1)
z(t)=a*y1(t)+b*y2(t)
end
count=0
for n=1:length(y1)
if(y3(t)==z(t))
count=coun... |
363fac5ea95a5fb546e7bbe8a28e3a42c3457d8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH9/EX9.33/Ex9_33.sce | 1e393130aedc4322fd3ea58fcecfe60a2f3533c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 552 | sce | Ex9_33.sce | // Calculating the maximum armature voltage
clc;
disp('Example 9.33, Page No. = 9.92')
// Given Data
Vc = 40;// Peripheral speed of commutator (in meter per second)
Ec = 20;// Average emf between adjacent segments (in Volts)
Bc = 4;// Minimum pitch of commutator segments (in mm)
f = 40;// Frequency (in Hz)
// C... |
f3770fa9224c6f6a0937116ccc6a0acbd095e58f | d963a50c09b7380dd7b1b97cd9997e9bd17ea8f3 | /psl-1983/3-1/tests/seive.tst | 47aa4e08234e3a64c40e06e28318af1d9c3b0a23 | [
"BSD-3-Clause"
] | permissive | reduce-algebra/reduce-historical | 8220e211b116e0e01ff1a38f51917cac9db6069f | e014152729c4d62bb1ce4f5c311a027042a5495a | refs/heads/master | 2023-04-10T22:54:00.796596 | 2021-04-16T08:52:19 | 2021-04-16T08:52:19 | 343,245,204 | 7 | 1 | NOASSERTION | 2021-04-16T08:53:31 | 2021-03-01T00:15:22 | TeX | UTF-8 | Scilab | false | false | 4,634 | tst | seive.tst | 27-Mar-83 09:09:18-MST,4778;000000000001
Return-path: <GRISS@HP-HULK>
Received: from UTAH-CS by UTAH-20; Sun 27 Mar 83 09:07:41-MST
Date: 27 Mar 1983 0753-PST
From: GRISS@HP-HULK
Subject: String and vector
Message-Id: <417628520.17208.hplabs@HP-VENUS>
Received: by HP-VENUS via CHAOSNET; 27 Mar 1983 07:55:19-PST
Receive... |
ad2cae1060e892a84e4730763545714295850aec | c206e3f57b0a6f75bd1feefefecd29398746c358 | /scripts/deleta_bit.sci | e640058f191a3c99deaff6b55228be57d88751b0 | [] | no_license | danielfcollier/scilab-image-processing-scripts | e092a7c1a6a0ade906c020218a9571290245e40f | 43d78cb06dc6c27ab8663f351e4c172d038280ce | refs/heads/main | 2023-04-12T20:05:52.840157 | 2021-04-27T18:56:06 | 2021-04-27T18:56:06 | 362,219,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 284 | sci | deleta_bit.sci | function im=deleta_bit(im,bit)
if(bit==1)
[lab,n]=bwlabel(im,4);
else
[lab,n]=bwlabel(1-im,4);
end
lab=lab(:);
for i=1:n
tam(i)=length(find(lab==i));
end
escalaL=tam<=mean(tam);
for i=1:n
if(escalaL(i))
ob_i=find(lab==i);
im(ob_i)=1-im(ob_i);
end
end
endfunction
|
a681b583394c5f2be0743ebd75e93511f79c8be3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH12/EX12.5/ex5.sce | 83aabc92aee3ce72693ada82064234390e39c16e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | WINDOWS-1252 | Scilab | false | false | 556 | sce | ex5.sce | //example 5
//Evaluating the hfg of a Substance from the P-v-T Data
clear
clc
vg=0.035969 //in m^3/kg
vf=0.0008161 //in m^3/kg
vfg=vg-vf //in m^3/kg at 20°C
dT=24-16 //change in Temp. in C
Psat1=646.18 //saturation presssure at 24 C in kPa
Psat2=504.58 //saturation pressure at 16C in kPa
dP=Psat1-Psat2 //Di... |
3ed99fbf18a0d1038de174cc53a370e9e6a4a7d0 | 71ad8ef6fba3006cf2e7d8d16a3e2451b2df7459 | /3rd_party/sip_pca.sci | 0992202e5f917519f2e5c17defca2700359fa2ca | [] | no_license | carloscdias/aln_reconhecimento_faces | ec356608bba71e74bc7c275707fa03ec33522629 | 7e14c443b60fd513cc1e410c6632aaaa87c40679 | refs/heads/main | 2023-05-02T09:29:46.151745 | 2021-05-18T20:00:14 | 2021-05-18T20:00:14 | 364,701,815 | 1 | 1 | null | 2021-05-18T20:00:15 | 2021-05-05T20:46:40 | Scilab | UTF-8 | Scilab | false | false | 187 | sci | sip_pca.sci | function [data_db, mean_db] = sip_pca(data, n_compress)
mean_db = mean(data,2);
data = data - mean_db*ones(1,size(data,2))
[u,s] = sva(data, n_compress)
data_db = u*s
endfunction
|
65064523c350c25569a34418eaf254a9cdffd4e3 | e9d5f5cf984c905c31f197577d633705e835780a | /data_reconciliation/nonlinear/scilab/nonlin_ammonia/flowsheet_res_s.sci | e8ae02768391be52b5f6b9639e79f4412ed63b1b | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,977 | sci | flowsheet_res_s.sci | function res = flowsheet_residuals(x, K_coef, cp1_coef, h_hx_coef, frac)
//*********************************************************************
// Data Reconciliation Benchmark Problems From Literature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
// Skype: edson.cv
... |
63906673506c5933d857b0ccadaaef3b38c5c484 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH5/EX5.2/Example5_2.sce | a6c9a5dafe5da680e6eb1b768ecb6f644033776e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 274 | sce | Example5_2.sce | //Example 5.2
//To Find out the order of a Low Pass Butterworth Filter
clear;
clc ;
close ;
ap=3;//db
as=40;//db
fp=500;//Hz
fs=1000;//Hz
op=2*%pi*fp;
os=2*%pi*fs;
N=log(sqrt((10^(0.1*as)-1)/(10^(0.1*ap)-1)))/log(os/op);
disp(ceil(N),'Order of the filter, N ='); |
61d300dd2cb67f0a5d45e3750e8cbda0ea2b86f5 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/2dof_controller/dc/minv/scilab/recursion_ex1.sce | fec1c76658ec6205048218128d12daaae6816dbc | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sce | recursion_ex1.sce | // Updated(18-7-07)
// 11.2
C = [1 0.5]; dC = 1;
A = [1 -0.6 -0.16]; dA = 2;
j = 2;
getf recursion.sci
[Fj,dFj,Ej,dEj] = recursion(A,dA,C,dC,j)
|
b2925b753cc564cd85e56ada1068926e7d509ea8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1844/CH4/EX4.4/4Q4.sce | 16403aef8e3cd759553fb970fd6fa547f663c91a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 93 | sce | 4Q4.sce | clc
r=40
s=20
D=0.025
l= D*r*s/sqrt(2)
printf('Limiting length of offset = %f m',l)
|
1e4cf97aebc5792b5b1038ceecbbdd7e7c8bc510 | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/integers_runme.sci | 1a59578d8054ce16170f43cafdb9ba6889f77b67 | [
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only",
"Apache-2.0"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | Scilab | false | false | 1,303 | sci | integers_runme.sci | exec("swigtest.start", -1);
// Negative values
checkequal(signed_char_identity(-1), -1, "signed_char_identity(-1)");
checkequal(signed_short_identity(-1), -1, "signed_short_identity(-1)");
checkequal(signed_int_identity(-1), -1, "signed_int_identity(-1)");
checkequal(signed_long_identity(-1), -1, "signed_long_identity... |
fd60513ab3c2b781eec6ebe3894a412e0b2f4fae | 8881166f518b8c3365fd0a2c0395dbbe4b666a4c | /Examples/nodejs_webinterface_Level2/webinterface/PacketFramework.sce | b703678b6bb285dcc42a2f75157ea6135263c754 | [] | no_license | christianausb/OpenRTDynamics | e1e31e61060611a710cf870538969ba5047061f6 | df0c6946622d9a54ab63796337003fb318931b36 | refs/heads/master | 2021-01-21T06:59:51.243998 | 2018-07-13T13:17:29 | 2018-07-13T13:17:29 | 10,501,420 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15,170 | sce | PacketFramework.sce | //
//
// A packet based communication interface from ORTD using UDP datagrams to e.g.
// nodejs.
// webappUDP.js is the counterpart that provides a web-interface
//
// Current Rev: 5
//
// Versions:
//
// 27.3.14 - possibility to reservate sources
// 3.4.14 - small re-arrangements
// 4.4.13 - Bugfixes
//... |
df35145cf1fbb974e0fd819a35d1c88df9f858d9 | 5f2ca8e18735204f5995ac7e44a6e301eb23ea0b | /scripts/controls/nz/lin_vs_nonlin_comparison.sce | 243e992f8e8ea3dfa42c6ddb4fd9c7c256b08858 | [] | no_license | Jettanakorn/mcflight | 4e7d4e20976e8f3621bf13fec2a8b522ecfc49a9 | e6579a11e10c5e9ae9ee558f464a6b88e1ae7a26 | refs/heads/master | 2023-03-17T10:49:28.906700 | 2019-10-30T20:20:58 | 2019-10-30T20:20:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,215 | sce | lin_vs_nonlin_comparison.sce | /*
* Checking accelerometer postion and NMP zero in load factor response
*/
clear
exec('eqm/eqm_body.sci');
exec('eqm/params_f16.sci');
exec('eqm/stability_deriv.sci');
exec('eqm/stability_deriv_body.sci');
params = load_f16();
exec('controls/nz/trim_v502_alt0_xcg35_level.sce');
disp('Building state-space...');
con... |
55840f20c5a33d5deb9d9e0a18320708deaf9304 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH9/EX9.5/Ex9_5.sce | 327b8ced4482db86a61e1727a4cf76b7c00ae8a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,269 | sce | Ex9_5.sce | //Example 9.5
//Changing Overshoot and Saturation nonlinearity.
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
//System transfer function and its root locus
s=poly(0,'s');
num=(s+1)
den=(s^2);
Gs=syslin('c',num/den)
//Root lo... |
ff89b520e312ac055d975857765a5f73710d66b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3523/CH19/EX19.18.8/Ex19_8.sce | c7d5cdd1e1867190f6dbfc69760e620446517ab7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex19_8.sce | clear all
clc
close
mi=133*1.67*1e-27;//Mass of cesium in kg
qi=1.6*1e-19;//Charge in C
Va=3500;//Accelerating voltage in V
I=0.2;//Ion current in A
//Calculation of velocity of ejected ions in km/s
vi=sqrt(2*qi*Va/mi);
printf('Velocity of ejected ions is %f m/s',vi)
//Calculation of propulsion force in... |
ec092e83d33db30f560474d8c667aaa0991491a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH14/EX14.8/Ex14_8.sce | 7ab99ca18af7fe666376c81e8c44e7bf42e3f394 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,422 | sce | Ex14_8.sce |
Wi=1100//iron losses
Wcu=400//copper losses at 50% load
Is=100*1000/10000//secondary full load current
//calculating efficiency at 25% load, unity pf
Is1=Is/4//secondary current
Wcu1=(25/50)^2*400//copper losses
Pout=.25*100*1000//output
e=Pout/(Pout+Wcu1+Wi)*100
mprintf("Efficiency at 25 percent load, unity ... |
1bc4b27b97eb0134b76dc999e58c76eab236c350 | 9bc415d58bf063a1bca303fea640e644333dbdbd | /Scilab/bairstow_zeros2.sci | d701e7ecd8a99148d19e694c1d7e302c6cd801ad | [] | no_license | Roast-Lord/SMGcodes | 36e55be6c1cc17af91ab2e3f5117c78684f20604 | b75107be829fb4373dc1bc4b8696fe4b9cec437a | refs/heads/main | 2023-07-05T05:25:50.557705 | 2021-08-17T17:46:25 | 2021-08-17T17:46:25 | 301,012,145 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,515 | sci | bairstow_zeros2.sci | function rts=bairstow_zeros2(ps,tol)
function [u,v,b]=fatorar(a,n)
erro=1
u=0.1; // encontar fator=s^2+u*s+v
v=0.1;
b(1)=1.0;
c(1)=1.0;
while (erro > tol)
b(2)=a(2)-u;
c(2)=b(2)-u;
for k=3:n
... |
72938db611bbf5a51bb27c7739444a30108bea00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH5/EX5.22/Ch05Ex22.sci | bd4812d5dd2e87c82b7cdf75d60d2ac7946cf33e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 516 | sci | Ch05Ex22.sci | // Scilab Code Ex5.22 Determining tilt angle from dislocation spacing in the boundary of Cu: Page-188 (2010)
b = 0.4e-09; // Burger vector magnitude for fcc Cu, m
h = 3.0e-06; // The vertical spacing between two neighbouring edge dislocations, m
theta = atand(b/h)*(%pi/180); // tangent of tilt angle between tw... |
0e23766475c3d57eafe84afb5862eecd370ea22f | 3cbdc2f272df05cfe8c6636d4504e9e3d2e4fe3f | /SciLab/histogram.sce | b2f7eca59fb18c05bbd423654f7264340434c16a | [] | no_license | bozhink/Code-Chunks | 74355eb4c0d423c2f6484226e564030dff798678 | 860b7b8f53089ed96fd0ebead2e3eec16fa377cb | refs/heads/master | 2020-12-24T06:19:04.343239 | 2019-11-13T14:09:15 | 2019-11-13T14:09:15 | 42,819,484 | 0 | 1 | null | 2019-11-13T14:09:16 | 2015-09-20T16:09:09 | HTML | UTF-8 | Scilab | false | false | 1,278 | sce | histogram.sce | funcprot(0);
function [hist,boundaries]=histogram(z,nbins)
[m,n]=size(z);
Z=gsort(z,'g','i');
zmin=Z(1);
zmax=Z(n*m);
zh=(zmax-zmin)/nbins;
boundaries(1)=zmin;
for i=2:nbins+1
boundaries(i)=boundaries(i-1)+zh;
end
hist=zeros(nbins,1);
k=1;
for i=1:m*n
if Z(i)... |
e5bbc07e3ae8eaf1f4dc69f8488ef78fd25ce61b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH7/EX7.23/EX_7_23.sce | 132bf7a0056dee84df83267320dbc1365f2ec3ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 782 | sce | EX_7_23.sce | // Example 7.23:Design R-C phase shift oscillator
clc;
clear;
close;
fo=1;//resonant frequency in killo hertz
Av= 29;//voltage gain
Vcc=10;//collector voltage
Ib=0.5;//maximum base current in micro ampere
I1=100*Ib;//assume current in micro ampere
Vosat= 0.9*Vcc;//saturation voltage assume
V1=Vosat/Av;//voltage for sus... |
5efb47c88716affaece3386575a93b155ca8c054 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/FURIA-C/results/FURIA-C.thyroid-10-1tra/result4s0.tst | d96b59644df5e9688a9075d08dd0ad39ed0b8f30 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,895 | tst | result4s0.tst | @relation thyroid
@attribute Age real[0.01,0.97]
@attribute Sex integer[0,1]
@attribute On_thyroxine integer[0,1]
@attribute Query_on_thyroxine integer[0,1]
@attribute On_antithyroid_medication integer[0,1]
@attribute Sick integer[0,1]
@attribute Pregnant integer[0,1]
@attribute Thyroid_surgery integer[0,1]
@attribute... |
516fe734ee547a0cf71793dfbe85a108c37dea50 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH5/EX5.3/ex5_3.sce | 04a2064f2c79562f4999d71d3a8f76b93b9654b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,119 | sce | ex5_3.sce | //Chapter-5, Example 5.3, Page 160
//=============================================================================
clc
clear
//given i(t)=5*sin(314*t+(2*%pi/3))&& v(t)=20*sin(314*t+(5*%pi/6))
//CALCULATIONS
P1=2*(%pi/3);//phase angle of current in radians
P1=P1*(180/%pi);//phase angle of current in degrees
P2=5... |
8979a42c49781773f2fb0dcd65d686131f4104ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH8/EX8.13/8_13.sce | 304344ee9aba8fe6e0efbd3a3d64cef2da79e3bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sce | 8_13.sce | clc
//initialisation of variables
dp=1//atm
L=80000//cal
T=273//k
r=11/10
//CALCULATIONS
dv=(1-r)/1000
dt=T*dv*(13600*9.81*0.76)/(L*4.2)
//results
printf(' \n depression in melting point of ice= % 1f c',-dt)
|
773002c0a9c6c779ba505b536e0b32fb8b294fda | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH11/EX11.1/Ex11_1.sce | c6cd31d0e0be477857872c67b2030a32d8da40b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 728 | sce | Ex11_1.sce | // Ex11_1 Page:238 (2014)
clc;clear;
h = 6.626e-034; // Planck's constant, Js
k = 1.38e-023; // Boltzmann constant, J/K
// Case-I: For Cu
theta_D = 350; // Debye temperature for Cu, K
nu_D = k*theta_D/h; // The highest possible frequency for Cu, per sec
printf("\nThe highest possible frequency for Cu... |
264e9edc645154bbbb0c5df08f0a9579e74f0ff1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH3/EX3.3/ex3_3.sce | ef15658af123d7751a23fc650636de339d745623 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,405 | sce | ex3_3.sce | clc;
warning("off");
printf("\n\n example3.3 - pg69");
// given
syms t x;
hf1=-270; //[J/sec] - heat flow at face 1
hf2=-228; //[J/sec] - heat flow at face2
Qgen=1.5*10^6; //[J*m^-3*sec^-1] generation per unit volume per unit time
v=6*10^-5; //[m^3] volume
Cp=0.093; //[cal*g^-1*K^-1] heat capacity of copp... |
663c4e90679127bda34440b621fc0c9cd801af00 | b80969c9d72c732b0153d0de2b8fd28dc10d8a16 | /Biologie/Site/sauvegarde/28.07.2016/www/Documents/simulation/equationDifferentielle/chapitre4/ex3.sci | 05aa210b48fbf353de5cc18d44492cb10b2e64de | [] | 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 | 207 | sci | ex3.sci | clf
N=100000;
x=-2+(2+2)*rand(1,N);
y=-2+(2+2)*rand(1,N);
//for i=1:N-1 //avec boucle
// if (x(i)^2+y(i)^2<=1) then
// plot(x(i),y(i),'.')
//end
//end
I=find(x^2+y^2<=1);
plot(x(I),y(I),'.')
|
f25f78b40adba4ff053998823e6ab15c2c2dcfbb | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH5/EX5.01/5_01.sce | 6caaf286cd2689bd9dfd457fa0234abd73844f18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 729 | sce | 5_01.sce | //Problem 5.01: For the circuit shown in Figure 5.2, determine (a) the battery voltage V, (b) the total resistance of the circuit, and (c) the values of resistance of resistors R1, R2 and R3, given that the p.d.’s across R1, R2 and R3 are 5 V, 2 V and 6 V respectively.
//initializing the variables:
V1 = 5; // in vo... |
735840940d567f1e3513fe03d41c81e0bb29a2a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/DEPENDENCIES/simRK4.sci | d7dc4a9133eb2bfc710fba7b10a3ea41b8d36760 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 823 | sci | simRK4.sci | function [u,v,t] = simRK4(u0,v0,t0,tn,h,f1,f2)
// RK4 method solving simultanious ODE
// du/dt = f1(t,u,v), dv/dt = f2(t,u,v) with initial
//conditions u=u0,v=v0 at t=t0. The
//solution is obtained for t = [t0:h:tn]
//and returned in u,v
umaxAllowed = 1e+100;
t = [t0:h:tn]; u = zeros(t);v=zeros(t) ;n... |
ad7542eed7918176b2a4c5232268520945668908 | eb7eeb04a23a477e06f3c0e3d099889caee468b4 | /src/tools/scilab/iome_toolbox/macros/getparammmat3d.sci | 4794a82f834a47c5fb88196c7fd53236ff5334e0 | [] | no_license | mikeg64/iome | 55699b7d7b3d5c1b006d9c82efe5136b8c909dfd | cc1c94433133e32776dcf16704ec4ec337b1b4a0 | refs/heads/master | 2020-03-30T15:57:33.056341 | 2016-04-13T09:24:27 | 2016-04-13T09:24:27 | 151,387,236 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,000 | sci | getparammmat3d.sci | function [mat]=getparammmat3d(name, ni,nj,nk,nr,nc,elist)
//AddMetadata(name, property, port)
nargin=length(elist);
if nargin>0 then
server=elist(1);
if nargin>1 then
port=elist(2);
if nargin>2 then
id=elist(3);
else
id=0;
end
else
port... |
feb561a59bf6ad6b07bda8b73864eefe2645e58c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2210/CH6/EX6.4/6_4.sce | 01e9810e157362d41295aaa01a1cd523dc5f7e1f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 688 | sce | 6_4.sce | //Chapter 6, Problem 4
clc
vbe=0.7 //base to emitter voltage
ic=1e-3 //collector current
vc=6 //collector voltage
hf1=100 //dc current gain
hf2=250 //dc current gain
vcc=12... |
7b31d236f75abc08fd50f8486e95bde9c8909e2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH5/EX5.12/HFAAGC_Ex_5_12.sce | 1e436c5bef0bb12ec29d095d7619b9aa4944a12f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 325 | sce | HFAAGC_Ex_5_12.sce | clc
//Chapter 5:High Frequency Amplifiers and Automatic Gain Control
//example 5.12
//given
B=10^7//amplifier bandwidth
Bf=10*B//closed loop bandwidth
disp('The closed loop gain has been reduced by 20dB (a factor of 10) so the banwidth increased proportionally')
mprintf('the closed-loop bandwidth is %3.2e rad/s'... |
9ebfb5a15017e4846750a6fc6db7110f430ac9ef | 45b7631b1aeb7bae024c01eb23bdcfbce365da47 | /spreadingDespreadingCDMA.sce | 3a9a63c29448fe76cf6a76ea54bac4f3a85d6b04 | [] | no_license | ShubhamShirsekar/Spreading-and-despreading-in-CDMA-using-PN-sequence | 444fbb15fb50dd07cbbbccdd0c2c3d9e34c03461 | ea55bbc77e14052286f2f1d4caf00c5694d6717d | refs/heads/main | 2023-08-30T03:05:37.228938 | 2021-10-26T12:22:25 | 2021-10-26T12:22:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,282 | sce | spreadingDespreadingCDMA.sce | clc;
clear;
xdel(winsid());
// Generation of 7 bit PN sequence
// Coefficient of polynomial
a1=1;
a2=1;
a3=1;
// Initial states of flip flop
R(1)=1;
R(2)=0;
R(3)=0;
m=3;
disp('output after every clock pulse');
for i=1:((2^m)-1)//shift of bit in each register for every clock pulse
r1=R(... |
a2af43fdfa834a8ed1cb8d2bd0e0e4b049e2246c | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/islinphase/islinphase5.sce | 1f8ea8eb11cdff512836dfaa93952d998c3a7264 | [] | 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 | 251 | sce | islinphase5.sce | //no i/p args are passed to the function
b=[1.0000 -0.9999];
a=[1.0000 0.4500];
flag2=islinphase();
disp(flag2);
//output
//!--error 10000
//no. of inputs not matching
//at line 111 of function islinphase called by :
//flag2=islinphase();
|
0fcd9fd0d87d2ea5132ac41b4113275b66839c1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH9/EX9.5/Ex9_5.sce | cf29738e0decdcbfc5cf87add9bdfa459e25165a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 365 | sce | Ex9_5.sce | clc;
R2=4700; //Ohm
R1=18000; //ohm
Vcc=10; //volt
Vth=Vcc*(R2/(R1+R2)); //volt
Rth=(R1*R2)/(R1+R2); //ohm
Vbe=0.7; //volt
Hfe=30;
Re=1200; //ohm
Icq=(Vth-Vbe)/((Rth/Hfe)+Re); //Ampere
Ie=Icq; //Ampere
re=0.025/Ie; //Ohm
Rc=1500; //Ohm
RL=5100; //Ohm
rc=(Rc*RL)/(Rc+RL);//Ohm
Av=rc/re;
disp('',Av,"Av=");... |
557712986ef3f454746ea3458355da45161770ed | 862f4cb419373dad3bc4104fb54a770830b999aa | /Fig3/Feature_description.tst | 44fe53c9ddf35db1c9b360e0340a28605f5d6182 | [] | no_license | vyqrvwgf1/Study_dataset | 074427c2afe362d7830d32f92d743299e8834954 | 1f3c63367b74dc0b079c2d375d6acdefbf7ba54d | refs/heads/main | 2023-07-06T16:34:59.313396 | 2021-08-16T11:31:20 | 2021-08-16T11:31:20 | 372,930,274 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 522 | tst | Feature_description.tst | project: the project ID
pdp: If the project is labeled as a public development project, this feature is set to TRUE. Otherwise,this feature is set to FALSE.
star: the star number of this projct.
watcher: the watcher number of this project.
committer: the committer number of this project.
community: the number of u... |
6943a1818aeb13b65db4dd87fd0e73ce15f60fe3 | 6cbc9ef86318b4cfcbe32fc27dc997eea5d0ae94 | /nana/perf/log.tst | fea55a2caf3c93ae28be8ec812e662bd9dd1ed84 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | sasagawa888/eisl | c60c8307cf4ba1be20be15a4d59005f04b2b348e | 450e09dbb59139621981f1104eefcad19957de2a | refs/heads/master | 2023-09-03T17:48:38.297684 | 2023-09-02T05:42:40 | 2023-09-02T05:42:40 | 168,798,493 | 200 | 25 | NOASSERTION | 2023-06-17T21:16:28 | 2019-02-02T05:35:38 | Common Lisp | UTF-8 | Scilab | false | false | 253 | tst | log.tst | printf("helloworld\n");
L("helloworld\n");
DL("helloworld\n");
gi = 0; LG(gi & 0x10, "helloworld\n");
gi = ~0; LG(gi & 0x10, "helloworld\n");
LHP(fprintf,log,"helloworld\n");
LHP(L_buffer_printf,buf,"helloworld\n");
LHP(syslog,LOG_USER,"helloworld\n");
|
1701d6af2770dc1d330c032c2574ed38fe2ca5f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3841/CH5/EX5.5/Ex5_5.sce | b189b0e06273dd198916c256e1f954eed0756fb3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_5.sce | clear
//given
//
//find the final pressure gage and convert absloute temperature to normal temprature
a=210.
t=160.
t2=60.
//absloute temperature to convert is 460
AT=160.+460.
AT1=60.+460.
IP=210.+14.7
FP=IP*(520./620.)
printf("\n FP")
FPg=(FP-14.7)
printf("\n \n final pressue gage is %.2f ",FPg)
|
c7cdd4a1295dd8ac07d91d71d25900553b26479a | afc50254b2af7f235fea22b2288edf5c48d24300 | /Scilab/Task_2/2.sce | f1ac9123bffb5f0bb5caee9f72a6b650dfcf7293 | [] | no_license | kartofun/ITMO | 323d0b993842d6b09a5560af5e59c83298b3fa20 | c5d69c6d2c9980ab7e79b32b3f7145f83d0299c9 | refs/heads/master | 2020-12-08T10:02:24.328398 | 2016-10-30T22:54:47 | 2016-10-30T22:54:47 | 66,733,126 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | 2.sce | clear();
// initial datas
angle = input("α:")*%pi/180;
velocity = input("v:");
g = 10;
// trajectory parameters
t_max = 2 * velocity * sin(angle) / g;
y_max = velocity^2 * sin(angle)^2 / (2 * g);
x_max = velocity * cos(angle) * t_max;
t = [0:t_max/100:t_max];
x = velocity*cos(angle)*t;
y = velocity*sin(angle)*t - g... |
a5a1f0facafdf418d74e76c23573dcf157d8e0e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH2/EX2.6/example6_sce.sce | 4c9c3856ac421c424063aee0850e6ad937634964 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 195 | sce | example6_sce.sce | //chapter 2
//example 2.6
//page 43
printf("\n")
printf("given")
If=0;Vf=5;R1=100;
E=(If*R1)+Vf
disp("E")
disp("B)")
Vf=0;E=5;R1=100;
If=(E/R1)*1000;
printf("resistance is %dmA\n",If) |
1008542632ae84896a3c950db1a6ed622b685a5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3876/CH5/EX5.1/Ex5_1.sce | b74f9ef174f2ca03e510aa3c1263974afd05a9b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 253 | sce | Ex5_1.sce | //Chapter 5 Solutions Osmotic Pressure
clc;
clear;
//Initialisation of Variables
T= 20 //C
R= 0.082 //li-atm per mole per degree
V= 2 //lit
m= 6 //gms
M= 60 //gms
//CALCULATIONS
P= m*R*(273+T)/(M*V)
//RESULTS
mprintf("Osmotic pressure= %.1f atm",P)
|
4be4a32324fdaf9e18322c8b03fb52d2562ff1a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1046/CH4/EX4.2/4_2.sce | c86fc0a00f93084ff9493de73c1179a439a34053 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,097 | sce | 4_2.sce | //Example 4.2
//Determine
//(a)local heat transfer coefficient .
//(b)the average heat transfer coefficient
//the rate of heat loss from the surface.
//Given
l=2 //m, length of flat surface
T1=150 //C, surface temp.
p=1 //atm, pressure
T2=30 ... |
974a3cf52c4b862fdde58e9a9c9034a5d5d91717 | 97135f725c599527ba0fd95a5289373c755daf3b | /Examples/test-suite/scilab/abstract_access_runme.sci | c1135b20ce6555bb07d08f4606a303501d9327f0 | [] | no_license | maqalaqil/swag-c- | b8880cfc92424d5bbca1fe15ed98663a41063f27 | 6fd1ba2bf1d353f24c116a3c89a8540292b86a7d | refs/heads/master | 2020-07-06T21:02:08.949652 | 2019-09-01T07:56:55 | 2019-09-01T07:56:55 | 203,137,066 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sci | abstract_access_runme.sci | exec("alaqiltest.start", -1);
try
D = new_D();
catch
alaqiltesterror();
end
if A_do_x(D) <> 1 then alaqiltesterror(); end
try
delete_D(D);
catch
alaqiltesterror();
end
exec("alaqiltest.quit", -1);
|
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') |
41d8075654b45bf9812b3a52c27c71ab22e5e811 | cc79f7493e50b31f04732c9577175912b2ec2604 | /drawing.sci | 473315c888355497ba73d2b1d249f8e386b45e4d | [] | no_license | WhiskyDelta/ScilabOrbits | 815c596b2c3ba382b312eb95e5b58990b0501d88 | 74881418c75097fa5d86c0fcfacecbe8d93cf14b | refs/heads/master | 2016-08-06T21:00:52.285372 | 2015-07-31T18:32:38 | 2015-07-31T18:32:38 | 39,731,729 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,584 | sci | drawing.sci | function [status]=orbits_draw(figure_handle,state)
//----- Figure_data -----
//id
//m
//resolution
//aspectratio
//axis_scale
//object_scale
//offset_object
//rotation_object
//l_size
//objects_with_l_points
//tracked_objects
//axis_handle
//object... |
7a0fd936b0bf9aaa4e2153af7579169d4191c37e | 7d7b037ebe8eb590599a15a0fa24555a4b92ab31 | /solve_trisup3.sci | e86f1d06ec0f281a6a767cd13cd76e550af7684d | [] | no_license | RoiArthurB/L3-MathsAvancees-Scilab_linsolve | 8a98a6e72a272e22cb653df135bbfe703e1cd2ef | 8bbee6eb152690a98e7d75da1d68a404c921b53c | refs/heads/master | 2021-06-04T07:14:51.212459 | 2016-10-08T18:11:10 | 2016-10-08T18:11:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,355 | sci | solve_trisup3.sci | function result = solve_trisup3(A, b)
sizeMatrixL = size(A, "r");
sizeMatrixC = size(A, "c");
if(sizeMatrixL == sizeMatrixC)
//Lecture de la matrice de bas en haut
for i=(sizeMatrixL):-1:1
//Variable tampon
tempResult = 0;
//Lecture de la ligne de droite ... |
5b618e788dd3c7288e4e2b7f05eaa506a4c50939 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/DEVELOPMENT-LANGUAGES/oto-manguean/cpa.tst | 86358a34bc09b2157cc2813b0d9a7c4eeaf90e6c | [] | 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 | 36,370 | tst | cpa.tst | hngie¹² V;IPFV;PL;1;PRS
hngie¹² V;IPFV;SG;1;PST
hngie¹² V;IRR;PL;1;FUT
hngie¹² V;IRR;3;FUT
hngie¹² V;IPFV;SG;1;PRS
hngie¹² V;IPFV;3;PST
hngie¹² V;IPFV;2;PST
hngie¹² V;IRR;SG;1;FUT
hngie¹² V;IPFV;PL;1;PST
hngie¹² V;IPFV;3;PRS
hngie¹² V;IPFV;2;PRS
hngie¹² V;IRR;2;FUT
mi²+kiíngɁ² V;IPFV;3;PRS
mi²+kiíngɁ² V;IPFV;PL;1;PRS
m... |
dfe335b7a413c32c71facaf7f2a2f7ccbb45905c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH18/EX18.19/Ex18_19.sce | 9e580fc06598a7e3a743add73e352205a86cf293 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,163 | sce | Ex18_19.sce | // scilab Code Exa 18.19 blower type wind tunnel
T01=310; // in Kelvin
p01=1.013; // Initial Pressure in bar
n_n=0.96; // nozzle efficiency
n_c=0.78; // compressor efficiency
Ma(1)=0.5;
Ma(2)=0.9;
pi(1)=0.837; // from isentropic flow gas tables
pi(2)=0.575;
gamma=1.4; // Specific Heat Ratio
R=287;
cp=1.... |
37650255236f91ba5d38dac1edb7ec1e10448ad6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3515/CH1/EX1.18/Ex_1_18.sce | 62fdc32a1530e292ecb7b606aa3f01a0fb43dcb1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 368 | sce | Ex_1_18.sce | // Exa 1.18
format('v',6);
clc;
clear;
close;
// Given data
R1=12;// in kohm
Rf=360;// in kohm
V1= -0.3;// in V
Vo= (1+Rf/R1)*V1;// in V
disp(Vo,"Output voltage result in volts is : ")
// Part(b)
Vo= 2.4;// in V
// We know, Vo= (1+Rf/R1)*V1
V1= Vo/(1+Rf/R1);
V1= V1*10^3;// in mV
disp(V1,"Input voltage... |
724f8393a2f60a3065cfa5c22bdaf01b8b27123f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3826/CH2/EX2.11/Ex2_11.sce | e879d742e0fcf51e7d40e4ce0ea9a3f19b3d793e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 604 | sce | Ex2_11.sce | //Example 2_11 page no:141
clc;
//given
speed1 = 37.5;//in km/h
speed2 = 48.2;//in km/h
tractive_effort = 4670;//in N
flux_speed = 100 * speed1/speed2;
//if current is reduced by 30% then new flux will from the magnetisation curve be 64%
flux = 64;//in percentage
speed = speed2*flux_speed/flux;
disp(speed,"... |
57fbb6c06a58aadfb8ea5214c683ef3bea51dddd | 9bc415d58bf063a1bca303fea640e644333dbdbd | /Scilab/Sinais_e_Sistemas/chirp.sci | dfb67c9f9552e42b22d6687d5e56f93c0bcc38f6 | [] | no_license | Roast-Lord/SMGcodes | 36e55be6c1cc17af91ab2e3f5117c78684f20604 | b75107be829fb4373dc1bc4b8696fe4b9cec437a | refs/heads/main | 2023-07-05T05:25:50.557705 | 2021-08-17T17:46:25 | 2021-08-17T17:46:25 | 301,012,145 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sci | chirp.sci | function chirp(fs)
TS=1/fs;
t=[0:TS:10];
w=-fs/2:fs/(length(t)):fs/2-fs/(length(t));
y= sin(%pi*t^2) .* (0.5-0.5*cos(2*%pi*t/10));
// y = sin(%pi*t^2);
plot(w,abs(fftshift(fft(y))))
endfunction
|
771151f29c017991ad0a2fc7deb912f6743246ec | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Mccoy Invincible 1v1.sce | 3baa21f9bb314f8bebe473f24c223d00d89cc035 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 22,207 | sce | Mccoy Invincible 1v1.sce | Name=Mccoy Invincible 1v1
PlayerCharacters=McCoy
BotCharacters=McCoy Bot.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=McCoy
AddedBots=McCoy Bot.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=2
BotTeams=1
MapName=boxernobounds.map
MapScale=3.8125
BlockProjectilePredictors=true
BlockCheats=true
Invinci... |
5d3f024ca7bfcfa2aea4d6cecdee41dd5fbdfd93 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH7/EX7.46/46.sci | 5ebd3615f238ad9c46124adf0de35e28828ed5ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 418 | sci | 46.sci | clc;
clear all;
disp("heat transfer rate")
tw=25;//degree C
D=1.5/100;//m outer diameter of copper tube
U=2;//m/s
t=75;//degree C
rho=988;//kg/m^3
k=0.648;//W/m.K
mu=549.2*10^(-6);// kg.m/s
cp=4174;//J/kg.K
Re=rho*U*D/mu;
Pr=mu*cp/k;
Nu=0.3+0.62*(Re^0.5)*(Pr^(1/3))*(1+(Re/282000)^0.5)/(1+(0.4/Pr)^(2/3))^0.... |
191374759aaaa4f43b6433d04bf6e0d1f0f3b1f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH13/EX13.2/example_13_2.sce | 6166cd661f5118cd1df8ed9171dacc195b7a068b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,483 | sce | example_13_2.sce | clear;
clc;
disp("--------------Example 13.2---------------")
// address = 47:20:1B:2E:08:EE
address = "47:20:1B:2E:08:EE";
function[bin_str]=bin_address (address) // function to convert address in hexadecimal to binary
b=strsplit(address);
bin_str="";
for i=1:length(address)
if(modulo(i,... |
b88b799b6508c6a1c2e387229607ee9e60b389f4 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PG02.prev.tst | 008d7f472b523b15f60e632afd1e7bfa8ea8e64e | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,922 | tst | PG02.prev.tst | /* Generated at yyyy-mm-dd hh:mm by
java -cp dist/ramath.jar org.teherba.ramath.ProgramGenerator -w 3 -l 3 -v "[a^2+b^2,2*a*b,a^2-b^2]" -v "[5,3,4]" -n -p "p^2 = q^2 + r^2" m2opts
Do N O T edit this file, but ProgramGenerator.java instead!
*/
#include <stdio.h>
#include <stdlib.h>
int main(int argc,... |
22d14552964fe00ae7ba502d982359c49e1b993a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH3/EX3.8/Ex3_8.sce | cb4ad52f44d86f915dd86c9735a90d5380a3d948 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | Ex3_8.sce | clear
//
//
//
//Variable declaration
d=0.842*10^-10; //lattice spacing(m)
theta1=8+(35/60); //glancing angle(degree)
n1=1; //order
n2=3; //order
//Calculation
theta1=theta1*%pi/180; //angle(radian)
theta3=asin(n2*sin(theta1)); //glancing angle(radian)
theta3=theta3*180/%pi ; //gl... |
4df0fd1d98d375d73bba4f5a08817418b430836d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH6/EX6.8/Exmp6_8.sce | 76c8076283b21eeef1bf120b656f41304fc97c4a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 953 | sce | Exmp6_8.sce | //Example 6.8
clc
disp("R_L = 12 ohm, n = N2/N1 = 1/3 = 0.333, eta_trans = 78.5%")
rl=12/(0.333^2)
format(4)
disp(rl,"Therefore, R''_L = R_L / n^2 =")
pac=(0.5*20^2)/108
format(7)
disp("(i) For P_max, V_m = V_CC")
disp(pac,"Threfore, (P_ac)_max(in W) = 1/2 * V_CC^2/R''_L =")
disp("But eta_trans = 78.5%")
... |
9e6e0e9207c3ace8ad1011f1c33d3eafcc8a0f22 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /prog_assembly/libs/scilab_code/characterization/char_gateDAC.sce | bf1b0bde0d726c3efb51118bb1503b8e159cbea5 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 7,938 | sce | char_gateDAC.sce | gate_dac_ivdd25V_m=csvRead("~/rasp30/prog_assembly/libs/scilab_code/characterization/char_gateDAC/data_gateDAC_chip"+chip_num+brdtype+"_ivdd25V");
gate_dac_ivdd60V_m_0=csvRead("~/rasp30/prog_assembly/libs/scilab_code/characterization/char_gateDAC/data_gateDAC_chip"+chip_num+brdtype+"_ivdd60V_0");
gate_dac_ivdd60V_m_1=c... |
b217af7d4fde66246d3f560505a777c9c1cd2741 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH5/EX5.17/example17_sce.sce | 68244258097e7a147ef8291daf4a125930af6895 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 336 | sce | example17_sce.sce | //chapter 5
//example 5.17
//page 220
printf("\n")
printf("given")
hFE=100;
Rc=2.2*10^3;Rb=270*10^3;Re=1*10^3;R1=33*10^3;R2=12*10^3;
S=1+hFE
disp("for collector to base bias")
S=(1+hFE)/(1+(hFE*Rc)/(Rc+Rb))
disp(" for voltage divider bias")
disp("S=(1+hFE)/(1+hFE*Re(Re+R1||R2))")
S=(1+hFE)/(1+(hFE*Re)/(Re+(... |
288279068ed12151d3244fbc60de1a7d783af392 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH7/EX7.17/7_18.sce | a4d9c604fa85f6f210adfee4d68899facb8d1ea3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 308 | sce | 7_18.sce | clc
//initialisation of variables
v= 0.11834 //volt
F= 96493.1 //coloumb
n= 1 //electron
R= 8.3144 //J/mol K
T= 25 //C
m= 0.1
m1= 0.9862
//CALCULATIONS
G= -n*F*v
G1= 2*R*(273.16+T)*log(m/m1)
//RESULTS
printf (' Gibs free energy = %.f joules',G)
printf (' \n Gibs free energy = %.f joules',G1)
|
c78df22db7c68e311b4e53cc507f281309cede0a | 60acf54211c534dae12601541518c7f3692c9899 | /Linux/scripts/hs.search.mon.sce | 9fd44b2cd0a3b25e24f04af5c591f14ece624a88 | [
"MIT"
] | permissive | webappcreations/dotLinux | 67159a42510e60d18f059f7c9ac955eee1c3e4f2 | aac20d0ed2ff28b2701febbe49a0152cb94f50da | refs/heads/master | 2021-05-09T10:35:02.938723 | 2018-03-19T16:14:37 | 2018-03-19T16:14:37 | 118,967,881 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | hs.search.mon.sce | /home/goalador/backup/sav_history.txt: 405 xmonad
/home/goalador/backup/sav_history.txt: 406 xmonad --recompile
/home/goalador/backup/sav_history.txt: 530 grep VGA backup/* | grep 40 > skripte/mon
/home/goalador/backup/sav_history.txt: 211 grep VGA backup/* | grep 40 > skripte/mon
|
be612ba38addb5998cfff335a223ca94d51396da | 8627886261b3eddf8440c0b470cd9ee25c762d97 | /22.sce | 0836fa1bf014ad44e3d13d0647293703185bf5df | [] | no_license | timurzotov/pvis | ba75cf86fae91b6adc8dd3fe9cd2672eea561cca | d60e8e241d6ce0ad3a9b2a75c8771f92a9b039ba | refs/heads/master | 2020-09-08T07:59:31.719500 | 2019-11-11T21:14:13 | 2019-11-11T21:14:13 | 221,070,925 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,044 | sce | 22.sce | //Задание 22
clc
d = figure();
set(d, 'position', [10 100 700 500]);
set(d, 'figure_name', 'Лабораторная работа №22');
set(d,'BackgroundColor',[1,0.9,0.9]);
button1 = uicontrol(d, 'style', 'pushbutton', 'string', 'Построить график 1', 'position', [20 5 200 20], 'background', [1 1 1], 'callback', 'grafik1');
button2 = ... |
7abede8bbc973b444379942ecc684f516e09ad8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH2/EX2.3/Ex2_3.sce | cae6bfd5d6b6d30c8169722ca9176085999abe61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 540 | sce | Ex2_3.sce | //Ex2_3 Pg-2-22
clc
clear;
disp(" Refer to the figure-2.24 shown ")
disp(" since Rf=0 The circuit becomes as shown in figure-2.24(a)")
V=10;//supply voltage
Rf=0;//forward resistance
Rl=1;//load resistance in k ohm
Vin=0.7;//cut in voltage
Il=(V-Vin)/Rl;//applying KVL to the loop
If=Il;
printf("\n \n current... |
eb99f22fa8f042c3df225352e082a90087b661fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH10/EX10.2/Ex10_2.sce | 996cb1de9ae5a742fc7b05c304a19e0029b73072 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,334 | sce | Ex10_2.sce | //CHAPTER 10- THREE-PHASE INDUCTION MACHINES
//Example 2
clc;
disp("CHAPTER 10");
disp("EXAMPLE 2");
//VARIABLE INITIALIZATION
P=6; //number of poles
f1=60; //stator frequency in Hertz
N_r1=1140; //in rpm
//SOLUTION
N_s=(120*f1)/P; ... |
9d9b8ab66af4164715a0ba961efc4f31ce4c8c6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH6/EX6.8/Ex6_8.sce | de3b0140bf29883267fbc9df155252e4de03c2d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,535 | sce | Ex6_8.sce | clc();
clear;
//Given:
//Gamma-rays,X-rays
lambda1 = 0.01;//Wavelength in A
c = 3*10^8; //Speed of light in m/s
E1 = 12422/lambda1; // Energy in A
p1 = (E1*1.6*10^-19)/c ; //Momentum in kg m/s
//UV
lambda2 = 100;//Wavelength in A
c = 3*10^8; //Speed of light in m/s
E2 = 12422/lambda2; // Energy in A
p2 = ... |
f709b6ee8d0eadf0a5402f1d433a9b7ac81caa96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH5/EX5.2/2.sce | c6616f4b50938e606c9ca318a4a92faf6128bc0a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 2.sce | clc
r=[0 0.05 0.10 0.15 0.20 0.225 0.25];
v=[19 18.6 17.7 16.3 14.2 12.9 0];
// We define a new variable dQ=v*2*%pi*r. According to the given values of r, v, we get dQ as follows
dQ=[0 5.8 11.1 15.4 17.8 18.2 0];
plot(r,dQ)
xtitle("", "Radius", "v*2*%pi*r")
// From the graph area under the curve comes out to b... |
ec12d668129ed6d86dcdbc8d68caee5a9d20f626 | 8154aad4ec93590d702564f920c85f382d15476d | /spoj/prime1.tst | e7f03f0629b693e0c06b7af19cc92bea47284cb7 | [] | no_license | en1r0py/testfield-dumpinggrounds | 1e9004c1041be2a72cea80af2aa3c467a16d5090 | c1353962a13157b5c79c988abd36ac5d9213eb59 | refs/heads/master | 2020-06-04T03:48:16.860222 | 2013-01-09T17:11:23 | 2013-01-09T17:11:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 14 | tst | prime1.tst | 2
1 10
59 139
|
dfd5917fed9cb6b4c50e283365ba377d53064c9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH6/EX6.20/Ex6_20.sce | 9f519e2309991ab186045d721210ec6fcb8d73d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 902 | sce | Ex6_20.sce | clc
Io1=10*10^-7
disp("Io1 = "+string(Io1)+" A") //initializing value of reverse saturation current of silicon SBD.
Io2=10*10^-7
disp("Io2 = "+string(Io2)+"A") //initializing value of reverse saturation current of a PN junction.
Vt=0.0259
disp("Vt = "+string(Vt)+" eV") //initializing value of thermal voltage.
I=... |
77f2a041f4fd25e82c4462d475e7d40ccd003295 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH2/EX2.10/ex_10.sce | 7913a2d8ee4670090371c6c749617ffc9229ec44 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 385 | sce | ex_10.sce | // EXAMPLE (PG 85)
// x(n+1) = 6.28 + sin(x(n))
// True root is alpha = 6.01550307297
deff ('[y]=f(x)','f(x)=6.28+sin(x(n))')
// k=6.01550307297
//x=6.01550307297
deff('[y]=g(x)','y=cos(x)')
// we call a user-defined function 'aitken' so as to find the approximate
// root of the e... |
9cc902d1c0a3c3d4c4c48b934fcc08d759e58c27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH6/EX6.1/Ex6_1.sce | e326be5df6fe0852ba2271a3ef851c30f5b45ce7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 657 | sce | Ex6_1.sce | // scilab Code Exa 6.1 inward flow radial turbine 32000rpm
P=150; // Power Output in kW
N=32e3; // Speed in RPM
d1=20/100; // outer diameter of the impeller in m
d2=8/100; // inner diameter of the impeller in m
V1=387; // Absolute Velocity of gas at entry in m/s
V2=193; // Absolute Velocity of gas at exit in m/s
... |
21c46e311d2638405bba2f31415335aff6ee127c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH8/EX8.9.b/8_9_b.sce | 7635b23a0c6314783160cbd6f5fc54215da2f204 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | 8_9_b.sce | //Example 8_9 <b>
//Determine minimum sampling frequency
clc;
clear all;
Fl=18000;
Fh=22000;
Bandwidth_1=Fh-Fl;
a=modulo(Fh,Bandwidth_1);
Fh_1=Fh-a;
div_12=Fh_1./Bandwidth_1;
if(a==0) then
Fs=2*Bandwidth_1;
else
Fs=(2*Fh)/div_12;
end
disp('Minimum Sampling Frequency=');
disp(Fs);
|
fba006ab637b7039302c81cea0e47f8f24be1bb4 | 3fd92f4c674f895d1d671c355f8c82d06831e89e | /EP1/EP1.sce | 880c9883f9caeff9cb9a7a0c3d72396b18d190c3 | [
"MIT"
] | permissive | vitoramr/Pendulum_Dynamics_simulation | b1c98373c49aa978700575fba479740810dee9ed | 364e34b18a72e603f525ef48978661f44ee982dd | refs/heads/main | 2023-01-23T07:21:19.830047 | 2020-11-20T15:29:41 | 2020-11-20T15:29:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,856 | sce | EP1.sce | /*
Escola Politécnica da USP
Disciplina - PME3200 - Mecânica Geral II (2018)
Exercício de Simulação Numérica
Atividade 1 - Estudo do movimento de um pêndulo com massa fixa acoplada
Casos:
- Pêndulo sem amortecimento
- Pêndulo com amortecimento viscoso
- Pêndulo com amortecimento viscoso e momento oscilatór... |
4a208538b6921b3bd96cf6d08c3c8b823a2cc497 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1/Unix/scilab-2.1/macros/metanet/g_aweig.sci | 07566a68ccf9eb8c730c23f0ff722a692abf9dc1 | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 76 | sci | g_aweig.sci | function a=g_aweig(g)
[lhs,rhs]=argn(0), if rhs=0 then g=the_g, end
a=g(27)
|
42fa2b5607c3319e14021eeca30d8a6bca8338ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH8/EX8.7/Ex8_7.sce | 01198756e54bc8e119dfed66f1948865ea4a248b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,467 | sce | Ex8_7.sce | clc
Nd = 5*10^16;
e = 1.6*10^-19;
disp("Nd = "+string(Nd)+"cm^-3") //initializing value of channel doping
L = 2*10^-4
disp("L = "+string(L)+"cm") //initializing value of channel length
apsilen = 13.2*8.85*10^-14
disp("apsilen = "+string(apsilen)) //initializing value of relative permitivity
VDS1 = 1.0
disp("VDS1 = "+st... |
f5c6398e6440074a4d6521185783b78dbd142db9 | 3ce792f7690822183802ad8d56e9e15e620aac2f | /L2q2.sce | 5e39c25685fa6d2dda83a7aa71e42eb946091533 | [] | no_license | ruhi2001/Problem_sheet2_EE324_codes | 2da2b07ac2cf64f012d2f5a01bb448471fa45e4d | 0c678d0ac115d3bbd556ad6b1fd5fc5f4f2767d1 | refs/heads/main | 2023-02-27T15:39:49.122724 | 2021-01-24T13:29:23 | 2021-01-24T13:29:23 | 332,431,794 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | L2q2.sce | s = poly(0,"s")
G2 = 9/(s^2 + 2*s + 9)//underdamped system with damping ratio =1/3
sys2 = syslin("c",G2)
t=0:0.01:10
y = csim("step",t,sys2)
plot2d(t,y)
//second part where damping ratio d is varied
for d = 0:0.25:2
G2 = 9/(s^2 + (2*3*d*s) + 9)
sys2 = syslin("c",G2)
t=0:0.01:10
y = csim("st... |
8625fa577b41b056983c48261583c212ea9682a8 | 5c99f90e816244fbea65c73357432fb54ac25d09 | /spread_spectrum.sce | d4df4c4d42d2efee99730c0bfed556bf684b7037 | [] | no_license | varunkamble/story_book | 6301153ce6898a4275f99017facd814ea1df1633 | 0bc1f9d059b9cc718e36ea0b8da4a53dd24812d3 | refs/heads/master | 2020-03-26T05:27:21.794874 | 2018-10-21T17:15:34 | 2018-10-21T17:15:34 | 144,558,147 | 0 | 1 | null | 2018-09-18T13:33:23 | 2018-08-13T09:31:05 | Python | UTF-8 | Scilab | false | false | 1,488 | sce | spread_spectrum.sce | clc;
clear;
data_bits = input("Enter the input sequence: ");
//data_bits = [1,0,1,1]
ln=length(data_bits);
// Converting bits to 1 and -1
for i=1:ln
if data_bits(i)==0
data_bits(i)=-1;
end
end
// Generating the bit sequence with each bit 8 samples long
k=1;
for i=1:ln
for j=1:8
data_level... |
5885dba4505e29cb8c19b3eb79816fd8c7d973ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /3828/CH9/EX9.1/Ex9_1.sce | 98df923035bde0802785fe41a31facd929d5ab17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 294 | sce | Ex9_1.sce | //Chapter 9 : Electromagnetic Theory
clear;
//Variable declaration
P=60 //Power
r=2 //distance from source
epsilon0=8.85*10**-12
C=3*10**2
//Calculations
E0=sqrt((P*2)/(4*%pi*r**2*C*epsilon0))/1000
//Result
mprintf("Amplitude of field E= %.0f V/m",E0)
|
a2889707935cf37f4c233b2f7d2f890170f87496 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH7/EX7.7/7.sce | 6bfea75ae4720bdfc914ff7521c011d8872df63f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 812 | sce | 7.sce | clc
clear
//input data
A1=18*10^-4 //throat area in m^2
P0=25*10^5 //combustion chamber pressure in Pa
Is=127.42 //specific impulse in sec
wp=44.145 //weight flow rate of propellent in N/s
g=9.81 //acceleration due to kravity in m/s^2
//calculation
F=Is*wp //thrust in N
mp=wp/g //propellant mass flow in k... |
a64cffbde0a03e2cff095246ee20b9830ca2a7b5 | b24d354cfcd174c92760535d8b71e22ced005d81 | /DSP functions/allpasslp2xn/test_9.sce | 3c78b631e5a904ea6ac065076d3582bfb0f8f46c | [] | no_license | shreniknambiar/FOSSEE-Signal-Processing-Toolbox | 57ad8e2a71d64f95c4ccfd131e00095cf2b9c6f8 | 143cf61eff31240870dc0c4f61e32818a4482365 | refs/heads/master | 2021-01-01T18:25:34.435606 | 2017-07-25T18:23:47 | 2017-07-25T18:23:47 | 98,334,322 | 0 | 0 | null | 2017-07-25T17:48:00 | 2017-07-25T17:47:59 | null | UTF-8 | Scilab | false | false | 388 | sce | test_9.sce | // Test #9 : For valid input case #2
exec('./allpasslp2xn.sci',-1);
[n,d]=allpasslp2xn([0.12 0.65 0.7],[0.4,0.9 0.97],'stop');
disp(d);
disp(n);
//
//Scilab Output
//d=1. 2.5769939 2.1642515 0.5838982
//n=0.5838982 2.1642515 2.5769939 1.
//
//Matlab Output
//n= 0.5839 2.1643 ... |
62cc10b0de8ab1909f091780746134d8d780568c | 449d555969bfd7befe906877abab098c6e63a0e8 | /269/CH10/EX10.19/ex19.sce | 8eda7a4b6b479b0160a95c7fb77bca13c1d12560 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | ex19.sce | s=%s
p=s^6+5*s^5+11*s^4+25*s^3+36*s^2+30*s+36
h=routh_t(p)
disp(h)
disp("the polynomial obtained is")
disp("6s^4+30s^2+36")
disp("applyin RH on this polynomial")
q=s^2+5*s+6
r=routh_t(q)
disp(r) |
a7d8b60ead280a02c73e03c896436e3c8814ecf3 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/AdaBoost/results/AdaBoost.NC-C.abalone-10-1tra/result0s0.tst | 0df82c460206c0a2097a3fb6b2e56094118a9def | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,407 | tst | result0s0.tst | @relation abalone
@attribute Sex{M,F,I}
@attribute Length real[0.075,0.815]
@attribute Diameter real[0.055,0.65]
@attribute Height real[0.0,1.13]
@attribute Whole_weight real[0.002,2.8255]
@attribute Shucked_weight real[0.001,1.488]
@attribute Viscera_weight real[5.0E-4,0.76]
@attribute Shell_weight real[0.0015,1.005]... |
d725634a7991628a4425ffd432c494766a4aab5c | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/scripts/volumebalance.tst | 36cdb64e26146f325ec89abdb442fba3839cab38 | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,672 | tst | volumebalance.tst | $thermo = VirtualMaterials.Advanced_Peng-Robinson
. -> $thermo
cd thermo
cd $
cd /thermo
/thermo + METHANE ETHANE PROPANE n-HEXANE n-HEPTANE n-OCTANE n-NONANE
cd /
mixer1 = Mixer.Mixer()
cd mixer1
NumberStreamsIn = 3
/mixer1.In0.P = 100
/mixer1.In1.P = 110
/mixer1.In2.P = 105
cd /mixer1.In0.Fraction
/mixer1.In0.Fracti... |
41d79ae218c9fca5f9575d5b55ae3fc014f8d9bf | 1485852dd59aafc286600126cf832a32e10f117f | /tests/localMaximaFinder/test3.sce | 1373dbf1c0ab5424f846eedb5fc0dc0487eb0f8b | [] | no_license | rg77/Scilab-Image-Processing-And-Computer-Vision-Toolbox | dec9fbbce32cfd1eab3c45ccb29c89aaa1384758 | 8adb116da3a9c29a32e5e0727105aff571e5b374 | refs/heads/master | 2020-12-02T16:14:45.282650 | 2017-07-07T10:12:04 | 2017-07-07T10:12:04 | 96,524,257 | 0 | 0 | null | 2017-07-07T09:43:50 | 2017-07-07T09:43:50 | null | UTF-8 | Scilab | false | false | 126 | sce | test3.sce | src= imread("../images/color2.jpeg");//input is grayscale image
gray = rgb2gray(src);
loc=localMaximaFinder(gray,[1 3],4,1);
|
e1361540a759d378ef99f43a6f2800f8b7e067ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH9/EX9.2/Ex9_2.sce | a0683c08ea93b444d6e414764639f6b761ae6277 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 898 | sce | Ex9_2.sce | clc
kbT = 0.026
disp("kbT = "+string(kbT)+"V/K") //initializing value of kbT at 300K
Eg = 1.11
disp("Eg = "+string(Eg)+"eV") //initializing value of forbidden energy gap
e = 1.6*10^-19
disp("e= "+string(e)+"C")//initializing value of charge of electron
Na=10^14
disp("Na = "+string(Na)+"cm^-3") //initializing va... |
ade4767552beda36d032e4fa3c77d71d044fe866 | 5bc3a272ac3972765259062ed2c4abd8ac31eb84 | /EE 324 controls lab/lab3/q4.sce | 0f7d1b72ecd9a2b1e49b80c60a6327984bc13c7f | [] | no_license | ishan-2404/Duaon-mei-yaad-rakhna-XD | 51a268cb15695d78a1bd086d958f402fe6ee093d | bf702ac84c18f7d677a35f9f850e3bfb63a32625 | refs/heads/main | 2023-07-13T17:10:57.650902 | 2021-08-14T07:06:22 | 2021-08-14T07:06:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,806 | sce | q4.sce | s = poly(0,'s');
t = 0:.001:30;
// PART a
G1 = 1/(s^2+1); // undamped
G2 = 1/(s^2+.4*s+1); // underdamped (zeta = 1/5)
G3 = 1/(s^2+3*s+1); // overdamped (zeta = 1.5)
G1 = syslin('c',G1);
G2 = syslin('c',G2);
G3 = syslin('c',G3);
y1 = csim('step',t,G1);
y2 = csim('step',t,G2)... |
fdb84907bb42232bcdae1df94830ad3cbc846113 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH3/EX3.4.3/Example3_11.sce | 3e4176c038645f6257c453a15ff25811c7d07e03 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,197 | sce | Example3_11.sce | //Chapter-3,Example3_4_3,pg 3-11
wavelength=1*10^-6 //wavelength of light
r=50*10^-6 //radius of core
delta=0.055 //relative refractive index of fibre
... |
40f7ccb70235905cb3f3988424ee0ec644e610e6 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/SCHI/NF65WHQ/ATWM1_Working_Memory_MRI_NF65WHQ/ATWM1_Working_Memory_MRI_Nonsalient_Cued_Run1.sce | f8564d88e76e23dfc45c733ddff890c9a43911f0 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 12,492 | sce | ATWM1_Working_Memory_MRI_Nonsalient_Cued_Run1.sce | # ATWM1 MRI Experiment
scenario = "ATWM1_Working_Memory_MRI_nonsalient_cued_run1";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
scan_period = 2000; # TR
pulses_per_scan = 1;
pulse_code = 1;
#pulse_width=6;
default_monitor_sounds =... |
269fc2fef0b433b63ec9068f8dbc3eae48349ffc | ceef50b760b74e789250868ad377d5f5c5e390b1 | /tp2/gaetan/tiTesteProjection.sce | afd89082dc95d07bd17574f1ad49a79ffcfd5085 | [] | no_license | agoryu/TI | c01c9666e0d06b243e2e5450d168976a7e41091a | 5acedfe65ce7122045d59a4b7d3f213e40c0a8b2 | refs/heads/master | 2021-01-22T23:20:17.395990 | 2015-04-17T10:15:21 | 2015-04-17T10:15:21 | 29,386,147 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 944 | sce | tiTesteProjection.sce | // Effacer la memoire de travail de Scilab
clear;
// Chargement des fonctions externes
exec ('tiProjection.sci');
// Definition d'un cube de cote unite, sommets et aretes
[pCube, sCube] = tiCube (1);
// Matrice de projection 3D -> 2D
// Matrice intrinsèques
//M = [ -360 0 80 400;
// 0 -3... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.