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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3211cc3172155942cffddc73e793f26f92e05288 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH15/EX15.2/example2_sce.sce | e458dbc1e0e11787b2a6966152e65123bb748032 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 248 | sce | example2_sce.sce | //chapter 15
//example 15.2
//page 648
printf("\n")
printf("given")
R2=1*10^6;Acl=4.5;
R1=R2/Acl
R1=220*10^3;//use standard value
R3=(R1*R2)/(R1+R2)
Cf=((R1*30*10^-12)/(R1+R2))*10^12;
printf(" suitable value of capacitor is %3.2fpF\n",Cf) |
c96b1fd76f5adbcee37f002a02dcc4629ec35982 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rssq/rssq2.sce | 72d859988044b59372ef067939e497f6b7871949 | [] | 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 | 130 | sce | rssq2.sce | //check the o/p when i/p is a matrix
x=[1 2 3;2 7 4;4 2 5];
r=rssq(x);
disp(r);
//output
// 4.5825757 7.5498344 7.0710678
|
84094c9265daa70c9912715e309c5b8e074a623a | 6b85d1958ff11075634ed9e0f6dbef2de9548f1b | /ANN_Toolbox/demos/enc838_m.sci | 6213c12a4d750b5272c6f6a877684ddb3856882b | [
"Unlicense"
] | permissive | ademarazn/REDES_NEURAIS | 8a048c13aab33daa4068f52e18b263cc8325884f | a9a35744476d1f7e8405df04d5e4a9f8e4ed4595 | refs/heads/master | 2021-05-06T13:09:56.514632 | 2018-04-25T18:49:30 | 2018-04-25T18:49:30 | 113,248,743 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 829 | sci | enc838_m.sci | // Tight 8-3-8 encoder
// on a backpropagation ANN with biases and momentum
rand('seed',0);
// network def.
// - neurons per layer, including input
N = [8,3,8];
// inputs
x = [1,0,0,0,0,0,0,0;
0,1,0,0,0,0,0,0;
0,0,1,0,0,0,0,0;
0,0,0,1,0,0,0,0;
0,0,0,0,1,0,0,0;
0,0,0,0,0,1,0,0;
0,0,0,0... |
7eea4552c0d1427f3d99d8d0f7f2d1dcb64f6a8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /716/CH6/EX6.12.d/Solved_Ex_6_12d.sce | b8a6a906e95d40da05c7e415593ef44ca54470fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 342 | sce | Solved_Ex_6_12d.sce | //Test the Given systems for linearity,y(n)=Ax(n)+B
clc;
clear;
function x=f1(n),x=n; ,endfunction//x function of t
function y=f(n,x), y=2*x+5; ,endfunction//y function of y and t
n=-5:1:5;
x1=f1(n);
x2=f1(n);
x3=x1+x2;
if f(n,x3)==(f(n,x1)+f(n,x2));
disp('system is linear');
else
disp('system i... |
41acc604b1fdd867c9402ec040ce8a82b34e5df9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH3/EX3.9/Ch03Ex9.sce | d36ca9f48f5073d5b5d199cbc3d0dc8faf81eab8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | Ch03Ex9.sce | // Scilab code Ex3.9: Pg 96 (2005)
clc; clear;
M = 1.99e+30; // Mass of sun, kg
R_s = 6.37e+06; // Radius of earth, m
G = 6.67e-11; // Gravitational constant, Nm^2/kg^2
lamda = 300e-09; // Wavelength, m
c = 3e+08; // Velocity of light, m/s
delta_lamda = lamda*((G*M)/(R_s*c^2)); // Gravitational re... |
6531c697bee7df1f28827531380b2c5b52789a68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH2/EX2.4/ex2_4.sce | a2316f600c9fe36d5c0c0c3888dcc1b96a4e7860 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | ex2_4.sce | clc;
disp(270/4.5,"Velocity in min/hr = "); //using v=s/t
disp(60*7,"Distance in mile = "); //using v=s/t
disp(300/60,"Time in hr = "); //using t=s/v |
b15f3d07b3412f2a91ed97bebd22a5ebe80bf97e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH6/EX6.6/ex6_6.sce | 5f44f82ea47208156d79e405083545f8c63188b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 409 | sce | ex6_6.sce | // Example 6.6, Page No-276
clear
clc
N=2
fh=2000
C=0.1*10^-6
R=1/(2*%pi*fh*C)
Rkohm=R/1000
printf('R= %.1f kohm', Rkohm)
alpha1=0.765
alpha2=1.848
A1=3-alpha1
A2=3-alpha2
Rf1byRi1=A1-1
Rf2byRi2=A2-1
printf('\nRf1/Ri1= %.3f', Rf1byRi1)
printf('\nHence, take Rf1=12.35 kohm and Ri1=10 kohm')
prin... |
b33e2d192076d5455c6299c242013e71910225a0 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/scicos/do_xsetech.sci | ad32768c49c5d32826736241ee3a231cbbc128e6 | [
"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 | 174 | sci | do_xsetech.sci | function do_xsetech(wdm)
// Copyright INRIA
xset('alufunction',3);xbasc();xselect();
xsetech([-1 -1 8 8]/6,[wdm(3),wdm(4),wdm(3)+wdm(5),wdm(4)+wdm(6)])
xset('alufunction',6)
|
efaf4d2a9494e0f819b1db569469d064186ea617 | b28d322423f92a98c5f668a83528993b114fd3f3 | /macros/intfmincon.sci | cd234de957758a769117bdc7b6b2d171c1ace201 | [] | no_license | FOSSEE/FOSSEE-Optim-toolbox-development | 6757ca00f521032feb7177531a5143b021ea2fad | c43f04d302bfe9c4b7d11f6af1712dda1c8b38c2 | refs/heads/master | 2020-08-05T13:24:20.604620 | 2016-10-07T11:51:01 | 2016-10-07T11:51:01 | 67,248,229 | 0 | 2 | null | 2016-10-07T11:51:02 | 2016-09-02T19:09:26 | HTML | UTF-8 | Scilab | false | false | 21,065 | sci | intfmincon.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_... |
6897b763a9b853e9d310bd0daaf034fbaf6a5dd0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH4/EX4.9/Ex4_9.sce | 0a48c093465d18e7e55bb0f2b7758ca393ba0b54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_9.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 4 Example 9")
T1=1100;//temperature of high temperature reservoir in K
T4=300;//temperature of low temperature reservoir in K
disp("here W1:W2:W3=3:2:1")
disp("... |
5c63916a3fd23f999a6a5f3ceaf054c8d695fd2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH2/EX2.9/2_9.sce | 3b1fee06224e39ebc9cd705c08f5d709e4bb3ddd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 816 | sce | 2_9.sce | clc,clear
printf('Example 2.9\n\n')
V=250
R_a=0.3,R_sh=200 //resistance of armature and shunt field winding
R_x=150 //additional resistance added in series to field winding
I_L1=22
I_sh1=V/R_sh //initial shunt current before adding 150 ohms resistance
I_a1 = I_L1 - I_sh1 //initial armature current before addi... |
8543493e66001f391316e845b93ba82f68c276d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH3/EX3.4/Example_3_4.sce | 3670fd9646e032d712508fcd4c6b929950a3d627 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,667 | sce | Example_3_4.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 3
//P-V-T Behaviour and Heat Effects
//Example 4
clear;
clc;
//Given:
R = 8.314; //ideal gas constant
Cp = 30; //specific heat at constant pressure(J/mol K)
//To calculate change in internal energy change in enthalpy work done and heat sup... |
445724e66fa588e28c0e7bd7122105f7d26bf35d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH4/EX4.5/Exa_4_5.sce | c66d557148b1c1b78582ea24757133b2be1ea9b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 531 | sce | Exa_4_5.sce | //Example No. 4.5
clc;
clear;
close;
format('v',6);
//Given Data :
theta1=20;//degreeC
theta2=28;//degreeC
dthetaBYdt1=0.08;//degreeC/min
dthetaBYdt2=0.06;//degreeC/min
//theta=theta_f-(theta_f-theta1)*exp(-t/T)
//dtheta/dt=(theta_f-theta)/T
//dthetaBYdt1/dthetaBYdt2=(theta_f-theta1)/(theta_f-theta2)
th... |
3c9453edb220227c246a620b94b4a30b5fdaf635 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3785/CH5/EX5.4/Ex5_4.sce | 3683741714e703dd228ccc55b1821b12b03dc243 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_4.sce | // Example 5_4
clc;funcprot(0);
// Given data
Q=150;// The water stream volume flow rate in gal/min
D=1;// The nozzle exit diameter in inch
rho=1*10^3;// The density of water in kg/m^3
// Calculation
Q=(Q*3.785*10^-3)/60;// The water stream volume flow rate in m^3/s
V_out=(4*Q)/(%pi*(D*2.54*10^-2)^2);// The v... |
e89e1cc3e8ad4f1d6d532c07716c3c27b0408724 | 2f7b1fa044c246ffe96b7e6e7b96aa95f9031cdf | /Anul 2/Anul_2/Metode_Numerice/Laborator/MN rezolvari/MN_Lab/lab3_spline.sce | f4c552266bb6d5a16d0f65063d8fc2b9ab2ffda6 | [] | no_license | stickyrst/automatica | 1f902091376c0f65c08a66721de3185a70f88d26 | 2ac48ae78f45b787724fa90c0e7acd8052e6725c | refs/heads/master | 2020-06-11T18:39:23.768638 | 2018-05-30T19:55:38 | 2018-05-30T19:55:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 907 | sce | lab3_spline.sce |
n=10;
m=50;
x=[1 2 3 4 5 6 7 8 9 10];
y=[9 8 5 8 4 6 2 3 5 1];
k=2;
for i=1:n
if(i>1)
p1(i)=(y(i)-y(i-1))/(x(i)-x(i-1))
else
p1(i)=(y(i+1)-y(i))/(x(i+1)-x(i))
end
if(i<n)
p2(i)=(y(i+1)-y(i))/(x(i+1)-x(i))
else
p2(i)=(y(i)-y(i-1))/(x(i)-x(i-1))
... |
7258700d875b1f01f4fb22586e804cf2c5b57781 | 449d555969bfd7befe906877abab098c6e63a0e8 | /374/CH5/EX5.4.a/54a.sci | 85612bfc9fd3215416a2cd22895a351a10b8005c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | sci | 54a.sci | //chapter 5 exmaple 4a//
clc
clear
//number of longitudnal modes=K,refractive index=n1,length of the cavity in the laser=L,wavelength of the device=l,seperation wavelength between two modes=dl//
K=1700;
n1=3.6;
l=0.85*(10^-6);//in mts//
L=((K*l)/(2*n1))*(10^6);
printf("\n length of the cavity in the laser=%f mi... |
b0d1258123fce2650dbe4d3ac8aeb4fc2c5506d7 | a8592d34f144b71794ebf30f1c2a1b5faf0b053c | /AkarPersamaan/scilab/test_secant_01.sce | 67adac5aeda679693fd244a4a37aa6a5a45a5693 | [] | no_license | f-fathurrahman/ffr-MetodeNumerik | ee9a6a7153b174b1ba3d714fe61ccbd1cb1dd327 | e3a9da224c0fd5b32e671708e890018a3c4104c4 | refs/heads/master | 2023-07-19T22:29:38.810143 | 2023-07-07T10:02:34 | 2023-07-07T10:02:34 | 107,272,110 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 148 | sce | test_secant_01.sce | exec("secant.sce", 0)
function f = fun1(x)
f = x^3 - 10*x^2 + 5
endfunction
root = secant( fun1, 0.7 )
if getscilabmode() ~= "STD"
quit()
end |
e5504cc396c1cc496a908f791aa7acc60acd889c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH13/EX13.3/Ex13_3.sce | f4a931791865d5b9c098b2505ce4fce72011c672 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 509 | sce | Ex13_3.sce |
//Variable Declaration
CIR1=27.53 //Carrier to interference ratio from Example 13.1(dB)
CIR2=23.53 //Carrier to interference ratio from Example 13.2(dB)
//Calculation
ICRu=10**(-CIR1/10) //Interferece to carrier ratio for uplink
ICRd=10**(-CIR2/10) //Interferece to carrier ratio for downlink
ICRant=ICRu+ICRd ... |
ca8273ccf62d26fe1e5bcb59e134379e5b7cc257 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH13/EX13.1/ex_13_1.sce | 5f0e6447e3d17119b895cc89f726933dc2efc907 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 190 | sce | ex_13_1.sce | ////Ex 13.1
clc;
clear;
close;
format('v',6);
deltaVin=4;//V
deltaVout=0.4;//V
Vout=20;//V
LR=(deltaVout/Vout)*100/deltaVin;//%/V(Line Regulation)
disp(LR,"Line Regulation(%/V)");
|
9956a086af49e9d1f9be47a251d5c3fa1f43d471 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH3/EX3.5/3_5.sce | 7bf5e0c071511461c885aedb0c83ca6f6bdee2ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,537 | sce | 3_5.sce | clear;
clc;
//Example - 3.5
//Page number - 86
printf("Example - 3.5 and Page number - 86\n\n");
//Given
T = 300;//[K] - Temperature
P1 = 1;//[bar] - Initial pressure
P1 = P1*10^(5);//[N/m^(2)]
P2 = 8;//[bar] - Final pressure
P2 = P2*10^(5);//[N/m^(2)]
R = 8.314;//[J/mol*K] - Universal gas constant
y1... |
06ee8bb5c325dd29d69d2af246c7f88af98cb14e | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH7/EX7.5/exa7_5.sce | 307f1d35612f4f8417c4589f8a67d4aa0a272a51 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 650 | sce | exa7_5.sce | // Example 7-5
// Bode Plot in rad/s
clear; clc;
xdel(winsid()); //close all windows
s = %s;
num = 25;
den = s^2 + 4*s + 25;
G = syslin('c',num,den);
bode(G);
xtitle('Bode plot of G(s) = 25 / s^2 + 4*s + 25');
// Note, bode plots in Sci-Lab use the frequency in Hz and not in
// rad/s . If we wish to get the plot w... |
c71f17488ae330be36e8e8b8d59ab7bebb0c00e5 | bb44d6eb6adf8f21077f2a49f2eb44d2424b2a5b | /spiral_sum.sci | f1dbe90ad77759f22d3d4da037127e4e46c831c9 | [] | no_license | prasadovhal/Scilab-Codes | c8ccc49feba4243d092d8a1eba7a708eb95dc89e | 3af5566d62b1f1b6cf080ec20391c39b9d61897d | refs/heads/master | 2020-03-29T16:50:45.738023 | 2018-09-24T16:05:50 | 2018-09-24T16:05:50 | 150,130,310 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sci | spiral_sum.sci | function [summ]=spiral_diag_sum(n)
N = (2*n+1)
A = ceil(rand(N,N)*10)
disp(A)
sdiag = trace(A)
rdiag = sum(A(N:(N-1):((N*N)-1)))
C = A((N*N+1)/2)
summ = sdiag +rdiag - C
endfunction
|
1560bcc31b49fad31714c35366fcb1b3cb08a6ac | 04227b0d1bb094503d6c9ca0b21de26102c7572c | /lbp.sci | 153eb42d5e0c5c8bf402020ae0742ca49cb075d3 | [] | no_license | C-ELAzouzi/Reconnaissance-facial-matlab | be48b496aab193ec07f7aaa95cae2915ea5badfa | ee8073c77bd5fd3f9647ddd18b0115b4a9d27ae3 | refs/heads/master | 2023-06-05T16:25:23.844539 | 2021-06-16T12:46:06 | 2021-06-16T12:46:06 | 377,476,453 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,138 | sci | lbp.sci | // LBP returns the local binary pattern image or LBP histogram of an image.
// J = LBP(I,R,N,MAPPING,MODE) returns either a local binary pattern
// coded image or the local binary pattern histogram of an intensity
// image I. The LBP codes are computed using N sampling points on a
// circle of radius R and using ... |
382be74b0cc9f16b274345842b657a9013048143 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1598/CH2/EX2.6/ex2_6.sce | e2d7c52afcb1ae72cdd81b152537e9949212fee5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 326 | sce | ex2_6.sce | clc;
disp("Example 2.7");
t=0.1; //thickness in centimetre.
Y=8.75*10^11; //Young's Modulus in dyne/cm square.
R=2.654; //Density in gram/cm square.
n=(1/(2*t))*sqrt(Y/R); //calculating frequency using Young's modulus.
disp(n,"Frequency of Vibration in Hz = "); //Displaying R... |
3f79593a93191783d0852ab5b0826244ef1a1df2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /37/CH1/EX1.3/Solved3.sci | 99b393813d53c3adfeb16fc4c5836fce41810cc9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 725 | sci | Solved3.sci | //Solved Example 5:
//Writing a name from the given structure and
//counting the number of alphabets printed
function[l]=strlen(str)
i=1;
l=0;
[j,k]=size(str)
for i=1:k
l=l+length(str(i));
end
endfunction
function[count]=writename(name)
printf("\n");
printf("%s",name.first);
printf("... |
ac08b7604fc97b6661f96f6a73dc9884d3b8acd6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH9/EX9.6/Ex9_6.sce | 0121e314918536abcc03fb4624ba6af36d5c75be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 572 | sce | Ex9_6.sce | clc
P2=4 //pressure in MPa
P1=0.1 //pressure in MPa
gama=1.4
T1=323
ro=(P2/P1)^(1/gama)
mprintf("ro=%f\n",ro)//ans vary due to roundoff error
T2=(P2*T1*(1/ro))/P1
mprintf("T2=%fK\n",T2)//ans vary due to roundoff error
q1=600
CP=1.0047
T3=(q1/CP)+T2
mprintf("T3=%fK\n",T3)//ans vary due to roundoff error
P3=... |
d09b2461b790091a5808a598d6006af537f5322a | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/WM87HKL/ATWM1_Working_Memory_MEG_WM87HKL_Session2/ATWM1_Working_Memory_MEG_Salient_Cued_Run2.sce | 75f741d43f9b6d8fe74ef67d8720eaeb2c8cf7b0 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,383 | sce | ATWM1_Working_Memory_MEG_Salient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor... |
508a2c965cb404a5c4d682e488ef05f1465b1f8c | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_e_bfa_mt_d/~BivLCM-SR-bfi_e_bfa_mt_d-PLin-VLin.tst | fbccf4eea2178fa7e630899f842d582691601a1d | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,909 | tst | ~BivLCM-SR-bfi_e_bfa_mt_d-PLin-VLin.tst |
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.519491D+00
2 -0.729398D-02 0.420253D-02
3 0.261779D-01 0.16965... |
9fe26cc1e3c6fa59a66defe2f583a6f0b549a0a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH8/EX8.25/Ex8_25.sce | b858b22a0b691f59c34d6abce2377af8d74ffb75 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 716 | sce | Ex8_25.sce | //Ex:8.25
clc;
clear;
close;
tr=25;// rediative life time in ns
tnr=90;// nonrediative life time in ns
i=3.5*10^-3;// drive current in amp
y=1.31*10^-6;// wavelength in m
h=6.625*10^-34;// plank constant
c=3*10^8;// the speed of light in m/s
e=1.6*10^-19;// charge
t=tr*tnr/(tr+tnr);// total carrier recombina... |
8de5c68f41e958ac66e4a61dc2e0af4a9b0a21cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH3/EX3.4/example_3_4.sce | 53a44d5c58733db62cb4f92a04281a51581b43a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 133 | sce | example_3_4.sce | //laplace transform of unit impulse response is transfer function
syms s t
y=laplace(%e^(-4*t),t,s)
disp(y,"transfer function=") |
8e8c4ba5b6257108d107eda2770b876542a0ce7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH3/EX3.7/exa_3_7.sce | 3b64cef2c90bde47c32f1aa5ec83bda16bb4e645 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sce | exa_3_7.sce | // Exa 3.7
clc;
clear;
close;
//given data
R_in= 2;// in M ohm
R_in=R_in*10^6;// in ohm
R_out=75;// in ohm
A=2*10^5;
f_o=5;// in Hz
R1=330;// in ohm (assuming)
R_f=R1;
B= R1/(R1+R_f);
A_f = -1;
disp(A_f,"Voltage gain")
R_inf= R1;
disp(R_inf,"Input Resistance in ohm")
R_outf= R_out/(A/2);// in ohm
di... |
42a66d62802c4c844703fd0fa69267c9252ee650 | c77ddbcdda7058406e026ed02c9f84af895dbfbc | /xtract.tst | 4f258216a90ee21eae36ac000d5abe9d426e7647 | [] | no_license | yesco/jml | b34940c44b9d6fe841742b95a9e29c9c0f54ecf4 | 64b0ba587448af0d9a06c7a2296827a9fb4656aa | refs/heads/master | 2021-10-04T08:42:39.788614 | 2021-09-25T16:09:08 | 2021-09-25T16:09:08 | 55,430,096 | 11 | 2 | null | 2018-09-15T18:53:21 | 2016-04-04T17:16:18 | C | UTF-8 | Scilab | false | false | 975 | tst | xtract.tst | === foo: FOO\n bar:BAR fie:FIE\nfum:FUM
foo => FOO
bar => BAR
foo: => FOO
foo:bar => BAR
foo:bar: => BAR
foo:fie: => FIE
fie => FIE
fum => FUM
foo:fum =>
fie:fum =>
### XPATH
=== <foo>FOO</foo>
foo => FOO
/foo => FOO
//foo => FOO
=== <foo>FOO<bar>BAR</bar>FIE</foo>
//bar => BAR
bar => BAR
=== <foo>F<fie/>OO<bar>BA... |
a47e5d786337849d044b7bf434ad298811acfc04 | a29cde11dd7c5ad8b8e1237f61c7cd379b163cbe | /unitTesting/Fforward.sci | c53c1a170486d792c5d1f9ee31d5dd8775ca2c7f | [
"ISC"
] | permissive | jrl-umi3218/jrl-dynamics | 0cab2f8fd7a7e6c8d72db0d2d91e76c85cd0c685 | acaddd0fcb6d3b3ef73e520269af242c0f861232 | refs/heads/master | 2020-05-19T08:13:43.364161 | 2015-03-17T21:56:38 | 2015-03-17T21:56:38 | 944,193 | 1 | 2 | null | 2015-03-17T21:56:38 | 2010-09-28T00:57:11 | C++ | UTF-8 | Scilab | false | false | 2,933 | sci | Fforward.sci | // Forward iteration to compute dynamics.
// Input Variables:
// ================
// i : number of the body.
// mq : articular values of the robot.
// mdq: velocities of the robot joints.
// mddq: acceleration of the robot joints.
// mw : angular velocities (local reference frame).
// mdv : linear velocities (local ref... |
c426905439515f3a4974bf935dc1b1620e70cdd6 | 7f8a82b193633b744689e1f194923592e656b470 | /rltoolSci/macros/old/rltool_r1.sci | 22871c99e6ee006fae1a897f0928c08166e47648 | [] | no_license | josuemoraisgh/rltoolSci | 3b5a5e8fc6a27b60bca3354af5222350cd8e8b3b | a76ad9fbfe988bb2674adfeb466847a32719474a | refs/heads/main | 2023-07-14T10:40:12.549424 | 2021-08-26T17:52:16 | 2021-08-26T17:52:16 | 385,216,740 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,932 | sci | rltool_r1.sci | function rltool(sys)
// Construção Gráfica
dimensaoTela = get(0, "screensize_px");
main_fig = figure('layout', 'gridbag',...//plotGraph = createWindow();
'toolbar', 'figure',...
'menubar', 'figure',...
'axes_size',[800,600],...
'backgroundcolor', [1 1 1],...
... |
0534899e2cd453d021b3a83f241d863510e1d83a | 0aacc4aca603f61e9ac05bdb6de5b3b783f797fe | /Mission-B3/B3_Seuillage.sci | 5f8d62c92cf532c77bc8a7a5ecde1f96c99a427f | [] | no_license | ZHamsiou/EXOLIFE-A2 | cf6001f744bf26109af2b552ecc2fe055ab8efd7 | 675a20670231c2a0a6c73333c988b1e651cab264 | refs/heads/master | 2021-04-29T19:18:23.002372 | 2018-02-16T03:22:18 | 2018-02-16T03:22:18 | 121,710,650 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 925 | sci | B3_Seuillage.sci | // Lecture de l'image
img = readpbm('B3.pbm');
// Déclaration & initialisation de 4 variables pour déterminer l'effectif
// d'un nombre de valeurs comprises dans un intervalles.
seuil1=65
seuil2=129
seuil3=193
// Affichage de texte.
disp("Les coordonnées optimal pour atterrissage robot ou fusée sont : ")
... |
9dd40427eb29729e47565e289842cea18c5a28d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH10/EX10.24/ex10_24.sce | f8123a6392923be777d6b138ffb74a0ed936e630 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sce | ex10_24.sce | // Example 10.24, page no-284
clear
clc
rho=1.54*10^-8//Ohm-m
ni=5.8*10^28//per m^3
m=9.1*10^-31//kg
e=1.6*10^-19//C
tau=m/(rho*ni*(e^2))
printf("The relaxation time of electrons in metal is %.2f*10^-14 s",tau*10^14)
|
b0798416e2196fcb0ee5672f922d6e072c1ac2ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3129/CH3/EX3.1/Ex3_1.sce | 85f279dc46aef8d21ab12ae9c4f9ed67dfe6e15b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,028 | sce | Ex3_1.sce | //Finding the Performance Parameters of a Half-Wave Rectifier
//Example 3.1 (Page No- 71)
clc
clear
Vm = 1; // Assume value of Vm
R = 1; // Assume R is 1
Vdc = (0.318*Vm)/R;
Idc = (0.318*Vm)/R;
Pdc = (0.318*Vm)^2/R;
Pac = (0.5*Vm)^2/R;
Vrms = 0.5*Vm;
Irms = (0.5*Vm)/R;
// part(a)
eta = (Pdc/Pac)*100; // e... |
f7491f43130ef4712e7aa3d5499aafc0d882a30f | f782561b1f8fe3d916355f7823306c0ddfcd4e1c | /Assignment 1/Encoder4To2/Encoder4To2.tst | c8548a4b0e3245a86ed8aab73de6d6007d5dc4dc | [] | no_license | rohit01010/Computer-System-Design | 17866493199ecea3e65c15558d6e598b552fd537 | 24609e7712e0f996ebc468c7d45d5cfafad0da87 | refs/heads/main | 2023-06-21T21:28:29.274768 | 2021-07-19T16:23:52 | 2021-07-19T16:23:52 | 387,509,305 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 278 | tst | Encoder4To2.tst | load Encoder4To2.hdl;
output-file Encoder4To2.out;
output-list x0 x1 x2 x3 y1 y0;
set x0 1,set x1 0,set x2 0,set x3 0,eval,output;
set x0 0,set x1 1,set x2 0,set x3 0,eval,output;
set x0 0,set x1 0,set x2 1,set x3 0,eval,output;
set x0 0,set x1 0,set x2 0,set x3 1,eval,output;
|
b85c65d23bb6ce74636ff09f560de3bb245efd2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH7/EX7.22/example_7_22.sce | d52d322355e07940ae4f018523a08d1bdeb41281 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 144 | sce | example_7_22.sce | syms t s
p=poly([1 2],'s','coeff');
q=poly([0 1 2 1],'s','coeff');
T=p/q //gain FACTOR=40
R=1/s;
C=R*T;
c=ilaplace(C,s,t)
disp(c," c = ") |
c26c0831216335467d7d6a8ec83308486e290aa5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH8/EX8.7/Chapter8_example7.sce | 6f422ceeb8c5174f2e03080c3d27c95e9ec2af84 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,921 | sce | Chapter8_example7.sce | clc
clear
//Input data
C=90//Percentage composition of C
H2=3.3//Percentage composition of H2
O2=3//Percentage composition of O2
N2=0.8//Percentage composition of N2
S=0.9//Percentage composition of S
Ash=2//Percentage composition of Ash
eO2=50//Percentage of excess air
mC=12//Molecular weight of carbon
mS=... |
64b222c74e9b407b292056affa054f2d72856848 | ded79447177b1df4db9bd1ad7582cd9e2ccc85b3 | /Display_n_odd_numbers.sce | ec72d920460dd2bd133f6705b8085a18ed453941 | [] | no_license | Anugya-Gogoi/Scilab-programs | 7ab352bde16c0d7c9b598af62113f12ab83fc6c6 | 40bd41b540dd5b6948e4efa4a22fc1d9f7e725f0 | refs/heads/main | 2023-02-27T09:43:40.263267 | 2021-02-10T05:19:10 | 2021-02-10T05:19:10 | 320,753,016 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 57 | sce | Display_n_odd_numbers.sce | x=input("Enter limit")
for i=1:2:10
disp(i);
end
|
53f047bf60298943de51781018ee68134f7582a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH9/EX9.a.24/Example_a_9_24.sce | 73ea8f1a7bd4aae4fc0ee84a0e92ba0ef61e37b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,431 | sce | Example_a_9_24.sce | //Example_a_9_24 page no:423
clc;
Zamag=10;
Zaang=0;
Zbmag=8;
Zbang=30;
Zcmag=5;
Zcang=45;
Vabmag=415;
Vabang=0;
Vabreal=Vabmag*cosd(Vabang);
Vabimag=Vabmag*sind(Vabang);
Vab=Vabreal+(%i*Vabimag);
Vbcmag=415;
Vbcang=-120;
Vbcreal=Vbcmag*cosd(Vbcang);
Vbcimag=Vbcmag*sind(Vbcang);
Vbc=Vbcreal+(%i*Vbcimag... |
8a97a581a5db9c85e749f2464157767c3a40f9c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH10/EX10.07/10_07.sci | 3cbe40aba43f9a152865c2542e67f839d0f6d494 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sci | 10_07.sci | //equation//
s=%s;
m=s^5+2*s^4+2*s^3+4*s^2+4*s+8
routh=routh_t(m) //This Function generates the Routh table
c=0;
for i=1:n
if (routh(i,1)<0)
c=c+1;
end
end
if(c>=1)
printf("system is unstable")
else ("system is stable")
end
|
c43b3b8948070cb03d3e40026618e6fbab0a021e | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/sci2blif_added_blocks/vdd_o.sce | 55473b98b972b4b4c946f224dbdbe8c90b1de3a3 | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 486 | sce | vdd_o.sce | //************************** VDD Out (Macro block) *****************************
if(blk_name.entries(bl)=='vdd_o') then
for ss=1:scs_m.objs(bl).model.ipar(1)
mputl("#VDD_OUT "+string(bl),fd_w);
mputl(".subckt vdd_out in[0]=fb_vddout_net"+string(blk(blk_objs(bl),2))+"_"+string(ss)+" in[1]=net"+strin... |
70a80b590b1fa737b95893a4341b7e7c73185f5a | 623a9dd972dc78dbde5d5b8dc187acd6a1eb5910 | /TP2/crout.sci | 0238161f35db3ec8f3c95c8d881aa0f68ef42699 | [] | no_license | gtessi/CN2012-FICH | 0daad054ceb6c36636ee5e8b174a676b9e0acb9b | 4024384653b61b5af9e1c11ffb575e154025ee47 | refs/heads/master | 2020-03-27T05:53:04.684505 | 2018-08-25T03:03:15 | 2018-08-25T03:03:15 | 146,059,800 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 575 | sci | crout.sci | function [L, U] = crout(A)
n=size(A,1);
U=eye(n,n);
L=zeros(n,n);
// recorro cada fila de la matriz
for (k=1:n)
// armo la matriz L
for (i=k:n)
suma=0;
for (p=1:k-1)
suma=suma+L(i,p)*U(p,k);
end
L(i,k)=A(i,k)... |
c96d140896bba8987c4923d8affb885587c820a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH4/EX4.19/ex_4_19.sce | 00f5f044e063f671707ab406027c09eea2375e13 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 633 | sce | ex_4_19.sce | z = %z;
syms n z1;//To find out Inverse z transform z must be linear z = z1
X =z*.5/((z-(1/2))*(z-1))
X1 = denom(X);
zp = roots(X1);
X1 = z1*.5/((z1-(1/2))*(z1-1))
F1 = X1*(z1^(n-1))*(z1-zp(1));
F2 = X1*(z1^(n-1))*(z1-zp(2));
x1 = limit(F1,z1,zp(1));
disp(x1,'x1[n]=')
x2 = limit(F2,z1,zp(2));
disp(x2,'x2[n]... |
f5398b8d217988c2f4dab65ee4af25492aeb4c0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3841/CH8/EX8.1/Ex8_1.sce | 5986bfc1e63a81a509b7befa32532fb76e71b484 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | sce | Ex8_1.sce | clear
//given
//find brake mean effective pressure
bhp=150.
D=8.
L=10**0.5
M=5.
N=600.
//substutting bmep
Bmep=1008000*(150./(8.*8.*5.*600.*10**0.5))
printf("\n \n brake mean effective power %.2f psi",Bmep/3.32)
|
356c136fa69ff116a4b166724c9b47f422234731 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH3/EX3.7/example_3_7.sce | d04966cf0a1c1aaf29d6ec57b4d00f0bfca95674 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 75 | sce | example_3_7.sce | syms s t
T=laplace(%e^(-t)*(1-cos(2*t)))
disp(T,"transfer function=") |
8dafcd871a5b1120c0044455c80cd2b9990623c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH8/EX8.2/exa8_2.sce | db1afbde981e5020fa28d926c2cee75ad7373c50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,200 | sce | exa8_2.sce | // Example 8-2
// Computation of Optimal solution 1
clear; clc;
xdel(winsid()); //close all windows
// please edit the path
// cd "";
// exec("plotresp.sci");
s = %s;
G = 1.2 / ( 0.36*s^3+ 1.86*s^2 + 2.5*s + 1);
K = 2.0 : 0.2 : 3.0;
a = 0.5 : 0.2 : 1.5;
t = 0:0.1:5; u = ones(1,length(t));
// lesser points for a r... |
f0a04250cea26ea0f869d7edca50fe8acf86dbf4 | 38b89b84da9fe235f5b3a099bff16349b503cb87 | /filtragem.sce | 64c2be1c62d403164b4ed84c01d564ea8cfff587 | [
"MIT"
] | permissive | matheussfarias/preditoracoes | 744c7d422786a7dc9c52ffee58030b480d9f4e1f | 101b917f5193dcd91037f332eb8dce40d867e739 | refs/heads/master | 2020-08-31T06:37:13.684274 | 2019-10-30T21:15:12 | 2019-10-30T21:15:12 | 218,625,603 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,371 | sce | filtragem.sce | // dados obtidos da ABEV3
x = [1655 1648 1615 1638 1685 1729 1754 1770 1780 1785 1800 1800 1754 1718 1716 1795 1787 1797 1751 1811 1845 1864 1809 1875 1822 1871 1867 1839 1859 1849 1819 1832 1815 1832 1832 1839 1849 1836 1723 1683 1637 1669 1659 1711 1700 1690 1666 1676 1731 1719 1700 1698 1672 1652 1699 1654 1675 1683... |
2dbaf5cf14ac8b716885ffb94312ea8d999fc2d7 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3913/CH12/EX12.23/Ex12_23.sce | a895a3b0da15bbf08a381fcdf9a8d7ab9e5a1b51 | [] | 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 | 276 | sce | Ex12_23.sce | //Chapter 12 : Solutions to the Exercises
//Scilab 6.0.1
//Windows 10
clear;
clc;
//Solution for 5.21
A=[1 -1 1 0;1 -1 1 1;0 1 1 -1;0 2 3 -3]
ainv=inv(A)
disp(ainv,'A^-1')
mprintf('(a,b,c,d)=\n')
mprintf(' l1(1,1,0,0)+l2(-1,-1,1,2)+l3(1,-1,1,3)+l4(0,1,-1,-3)')
|
9b68e4d7b69e04e886f3120041c187c00cdeb460 | fce47a4c482ae622563fc72d7643d824cc572edc | /_scilabTP/tp7/statFrance.sce | c5935d11eaac8bb27d6c18e9d7c83b0642fb94ae | [] | no_license | ece2lr/ece2lr.github.io | a57ff8852ef06b7cef1c734106f1badd668ebcb1 | 13479dc224e39521c6c387401b889e62a90a8d0b | refs/heads/master | 2021-01-12T12:07:37.196408 | 2017-12-16T19:25:16 | 2017-12-16T19:25:16 | 72,310,248 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,895 | sce | statFrance.sce | PIB = [2014 , 2013 , 2012 , 2011 , 2010 , 2009 , 2008 , 2007 , 2006 , 2005 , 2004 , 2003 , 2002 , 2001 , 2000 , 1999 , 1998 , 1997 , 1996 , 1995 , 1994 , 1993 , 1992 , 1991 , 1990 , 1989 , 1988 , 1987 , 1986 , 1985 , 1984 , 1983 , 1982 , 1981 , 1980 , 1979 , 1978 , 1977 , 1976 , 1975 , 1974 , 1973 , 1972 , 1971 , 1970 ... |
bf2a9bf41c350c523e56d6ed22395cac33031296 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2216/CH4/EX4.2/ex_4_2.sce | 8bc34fc204ce5a18fcff5713b96ca01fb80bcdca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | ex_4_2.sce | //Example 4.2;//frational power
clc;
clear;
close;
format('v',4)
p01=0.11;//from the graph
p11=0.347;//from the graph
disp(p01*100,"power for LP01 mode is (%) ")
disp(p11*100,"power for LP11 mode is (%)" )
|
b0eb82214b6b832ff2809199fe0586bb546e2220 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH3/EX3.1/3_1.sce | 70e15357c77bb041e6cf96e46e6eab75f2576364 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 3_1.sce |
clc
//initialisation of variables
ws= 62.4 //lbf/ft^3
V= 300 //gal
P= 20 //lb/in^2
ww= 10 //Lb
w= 62.4 //lb/ft^3
//CALCULATIONS
Ws= (V*ww)/60
Vws= Ws/w
hp= P*144*Vws/550
//RESULTS
printf (' horse power required= %.1f hp ',hp)
|
f49fdd5dd69bb4e1b8e1c09e2db7a8864fda8e57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH2/EX2.9/Ex2_9.sce | b945c092edcb8cc19169051ecfc238ce5cf9b443 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,051 | sce | Ex2_9.sce | clc;
clear all;
//page no 54
//problem 2.9
f0=0;
f1=500; //fundamental freq.
f2=1000; f3=1500; //harmonics
//Values from ex 2.4
C=[5 8 6 3]// Values in Volts
//Values from ex 2.5
P=[5 6.4 3.6 .9]; //poweer in watts
clf;
// plot two sided linear amplitude spectrum
fHz=-1510:10^-2:1510; //x-axis m... |
2988ddfb3da100fafc876589a2bbe20aab832bb6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH10/EX10.2/10_2.sce | b914462983ca7fd4682bbef734417696484bf4bb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 10_2.sce | clc
//initialisation of variables
s= 13.6
h= 12 //in
u= 0.04
k= 1
d= 6 //in
g= 32.2 //ft/sec^2
w= 62.4 //lbs/ft^3
//CALCULATIONS
h1= h*(s-1)/12
hf= u*h1
hn= h1-hf
Q= k*(%pi*(d/12)^2)*sqrt(2*g)*sqrt(hn)*w*60/(10*4*sqrt(15))
//RESULTS
printf ('discharge through flow= %.f ft G.P.M',Q)
|
ae9ffddbed251cd56f3aef8ca3a2c6a7e4ed9ae7 | b0ad6d728d3820b03751eab240331dd6ca86ae7e | /RestEyesClosed.sce | 7b976b5105a54c5f4564a5cd519669af7faa94c5 | [
"MIT"
] | permissive | br-bieegl/szAMPexperiment | e354cb59cea9a794725618b0a6aefa3a9c681cca | 02ceb4a50286342c3fa8d449b30c6678cadbfa85 | refs/heads/main | 2023-04-07T17:36:08.091116 | 2021-04-15T20:46:29 | 2021-04-15T20:46:29 | 358,362,424 | 1 | 0 | null | 2021-04-15T19:02:18 | 2021-04-15T18:55:30 | null | UTF-8 | Scilab | false | false | 1,089 | sce | RestEyesClosed.sce | scenario = "szAMP_resting_eyes_closed";
no_logfile = false;
default_background_color = 0,0,0;
pulse_width = 10;
write_codes = true;
default_trial_type = fixed;
begin;
picture { text { caption = "+";
font_size = 36;
font_color = 255,255,255;
... |
fe8151af3f25faeea7404fac0445dc124eb62872 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/BCK/Scripts/topoview.SCI | 7c36bdc13d8b6d98add143038ca7d52c49454e00 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 1,448 | sci | topoview.SCI | codeblock readtextfile(ScriptDir+"\TOOLS.sci");
sf=T_scene_create;
sss=T_getscene;
myviewport=T_getviewport;
sss.ambientlightcolor=color(0.05,0.05,0.05);
rootframe=sss.Universe;
rootframe.add("sphere","radius":0.1);
rootframe.add("sphere","radius":0.1,"position":point(1,0,0),"color":color(1,0,0));
rootframe.add("sp... |
16601c9a37db7f3742f9d12d31dd0eaf306ab1ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH1/EX1.25/Ex1_25.sce | a4872165cf4f9e24751e2c94186fb39d513f5078 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 178 | sce | Ex1_25.sce | // Exa 1.25
clc;
clear;
close;
// given :
A_1=%i*6 // complex number A_1
A_2=1-%i*2 // complex number A_2
A=A_1-A_2
disp(A,"difference of complex numbers A_1 and A_2:")
|
614fbc90ac7bc2005e1924c6df464e9461af0c20 | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH13/EX13.5/example13_5.sce | 7c30bc4ca35081221ee893c3120df17050fe9e45 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sce | example13_5.sce | clear;
clc;
//Example13.5[The Crossed-Strings Method for View Factors]
a=12,b=5;//With od long parallel plates[cm]
c=6;//Distance between the plates
L1=a,L2=b,L3=c;
L4=sqrt((7^2)+(6^2));
L5=sqrt((5^2)+(6^2));
L6=sqrt((12^2)+(6^2));
F12_1=((L5+L6)-(L3+L4))/(2*L1);
F13=(L1+L3-L6)/(2*L1);
F14=(L1+L4+L5)/(2*L1... |
deeb65c414c0304bccd309fac496e1870d48c4db | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH14/EX14.22/example14_22.sce | 82afafa462bb965458b08b797e212e4d3cba3d7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 433 | sce | example14_22.sce |
//example14.22
//calculate bed width and floor depth
clc;funcprot(0);
//given
Q=30; //discharge
V=1; //velocity of flow
A=Q/V;
//perimeter of section=30/D-D/2
//taking its derivative w.r.t to D
D=1/((1.914/30)^0.5);
//from equation of area
B=30/D-D/2;
B=round(B*10)/10;
D=ro... |
9d848fb8d35493ba570ee96d8c4994f443bdcf05 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/CT29HRN/ATWM1_Working_Memory_MEG_CT29HRN_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run1.sce | 0d8020653392c72955895049e882a2bd09b3ee03 | [] | 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_monito... |
d604eea62f8acd6ed0e87a6f03c876e0b5ab4621 | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH7/EX7.5/Example7_5.sce | a3e7534fdd4db6515655a867262afe1e80d85ba4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,542 | sce | Example7_5.sce | //clear//
//Example7.5:Multirate Signal Processing:Sampling Rate Conversion
//(1)Downsampling by 4
//(2)Upsampling by 2
//(3)Upsampling by 2 and followed by downsampling by 9
clear;
close;
clc;
Wm = 2*%pi/9;//Maximum frequency of signal
Ws = 2*Wm; //Sampling frequency
N = floor(2*%pi/Ws);//period of discret... |
dad7ac6f6f313985143a61fc2ca537515c5b7f99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH7/EX7.7/Ex7_7.sce | e1cdc7cf3595db56ccc674e6a51aecfd4ad88c7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 165 | sce | Ex7_7.sce | //pagenumber 7 example 7
clear
idss=1*10^-3;//ampere
pinvol=-5;//volt
tracon=(2*idss)/abs(pinvol);
disp("max transconductance = "+string((tracon))+"mho");
|
2e6e6c31b4a94f88c2c95a27bf12d03ce7527df4 | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_cache_3_c.tst | 4cefc7c957ec5f1673b53a29e59cfb864f5860a8 | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 532 | tst | test_cache_3_c.tst | total_physical_store_count = 0
total_physical_fetch_count = 65536
<cache info>
items cached: 65536/65536
regions in use: 1/1
items per region: 65536
counter: 32768
temp_read_num: 65535
temp_write_num: -1
item_req_count = 65536
item_hit_count = 0
item hit ratio = 0%
<cache region: 0-65535>
item_cost: 6553... |
65af7c0955aa5ae9dcd1e1c469802a11b881e0e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH7/EX7.26.2/exa7_26_2.sce | 64f5f41766bcd5981d4622f4d582d0d3e3058397 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 767 | sce | exa7_26_2.sce | // Example 7-26-2
// Evaluating Lead compensated system
clear; clc;
xdel(winsid()); //close all windows
// please edit the path
// cd "/<your code directory>/";
// exec("plotresp.sci");
s = %s;
G = 4 / (s * (s + 2));
Kc = 42.104125;
z = 4.3861167;
p = 18.467361;
Gc = Kc * (s + z)/(s + p);
GGc = G*Gc;
H = syslin(... |
d9c53b969af84f34cc6514e349a6798f46b86262 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH9/EX9.10/Ex9_10.sce | d61b5d7bc177ce3a3498eec40714dceefb78053a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 494 | sce | Ex9_10.sce | clc
// initialization of variables
clear
P=11.2 //kN
E=200 //GPa
v=0.3
Ix=181.7e+03 //mm^4
k1=0.643
b1=34.7 //mm
h1=10 //mm
b2=40 //mm
h2=10 //mm
t=10 //mm
h=50 //mm
E=E*10^3
A=b1*h1+b2*h2
R=(b1*h1*35+b2*h2*60)/A
Am=b1*log(40/30)+h1*log(80/40)
G=E/(2*(1+v))
Aw=t*h
P=P*10^3
delta_P=2*P*100/(Aw*G) + ... |
84d832761b060dfa54dc6f7b03efdad93bf7f8f2 | c565d26060d56f516d954d4b378b8699c31a71ef | /Step-test_manual/ser_init.sce | ba6305faf550addf14bdfd6e9234a2cba5186089 | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 389 | sce | ser_init.sce | // To load the serial toolbox and open the serial port
exec loader.sce
handl = openserial(4,"9600,n,8")
//the order is : port number,"baud,parity,databits,stopbits"
// here 9 is the port number
// In the case of SBHS, stop bits = 0, so it is not specified in the function here
// Linux users should give this as ("/","... |
55ac87ac3c833edaa52f54bcfb5df050a693686a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH10/EX10.16/10Ex16.sce | 9b6a988d01b2dfe83ea1d2bd6b0ce384bb14fbaa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 319 | sce | 10Ex16.sce | //chapter 10 Ex 16
clc;
clear;
close;
JtoW=40/100; JtoS=20/100; amtRemain=12000; amtRemainPercent=1-JtoW;
//let initial amount be x
amtJtoS=3*JtoS*amtRemainPercent;
bal=amtRemainPercent-amtJtoS;
amtBank=(1/2)*bal;
initialAmt=amtRemain/amtBank;
mprintf("Mr. Jones initially had Rs.%d with him",initialAmt);
|
76e95438add0368afd2eefd6a4e166167ecf366a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH12/EX6.12.15/Ex6_12_15.sce | 0013ce673da94577c12f6b628b148bd08e1fa0c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 343 | sce | Ex6_12_15.sce | //Section-6,Example-7,Page no.-P.49
//To calculate the freezing point of the given aqueous solution.
clc;
T_bbar=373
T_fbar=273
T_b=373.1
dl_H=1 //(let) dl_H=(dl_Hvap./dl_Hfus.)
dl_Tb=(T_b-T_bbar)
dl_Tf=dl_Tb*((T_fbar)^2/(T_bbar)^2)*dl_H
disp(dl_Tf,' Freezing point of the given aqueous solution')
//dl_Tf=dl_... |
a1164263f08e214295a0f57a502c51fea3ece852 | 658c828385a16a316f887bded6ae3cbc95459d94 | /MAS_Project/project.sce | fceaa91e61696ceb996476ee5adfa6f67400683e | [] | no_license | jacobottalam/COMP575_F2017 | 69033fda2319d75c5b93613722719544a7861686 | aef9507569f13c2912a6098655566baa6842239e | refs/heads/master | 2021-08-30T04:14:48.036193 | 2017-12-16T00:27:30 | 2017-12-16T00:27:30 | 104,828,273 | 0 | 0 | null | 2017-09-26T02:53:26 | 2017-09-26T02:53:26 | null | UTF-8 | Scilab | false | false | 689 | sce | project.sce | clear;
vel3=[174.19,269.04,341.3,398.84,927.48,931.78,1259.05,1375.94,1644.78,1832.39,2693.58,2788.35,2804.88,3268.98];
vel2=[64.15,327.2,510.33,1017.39,1597.37,1702,1714.08,1972.12,2298.67,2407.49,2892.19,3084.13];
vel1=[1140.71,1470.21,1755.45,1863.03,2689.2];
figure(1);
bar(vel1,.1,"yellow");
xtitle("Graph of ... |
5aeffa78e65152249b9521b65b39db50faeb97f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH11/EX11.11/11_11.sce | 15a092da254c319602a9e81228a5f2358dbc850b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 478 | sce | 11_11.sce | clc
//ex11.11
A_d=1000; //differential gain
V_d_peak=1*10^-3; //peak value of differential input signal
V_o_peak=A_d*V_d_peak; //peak output signal
V_cm=100;
V_o_cm=0.01*V_o_peak; //common mode contribution is 1% or less
A_cm=V_o_cm/V_cm; //common mode gain
CMRR=20*log(A_d/A_cm)/2.30258... |
6badc2a41d907dfc79306269007993f1de756b1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3885/CH3/EX3.9/Ex3_9.sci | 6b421b145c76d36eb0b6ed9d9455c45ced01d792 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,238 | sci | Ex3_9.sci | //control systems by Nagoor Kani A
//Edition 3
//Year of publication 2015
//Scilab version 6.0.0
//operating systems windows 10
// Example 3.9
clc;
clear;
s=poly(0,'s')
// the input is 12 unit step signal
h=syslin('c',10/(s^2+2*s+10))
disp(h,'the closed loop transfer function')
//standard form od second ... |
3835f0b8ad0c636ec0ba82c15ac77f7ccd2a826b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH7/EX7.15/Ex7_15.sce | a2560054012db0ddbc1c8673ed22a52cc046f61f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | sce | Ex7_15.sce | // Exa 7.15
clc;
clear;
close;
Lm=poly(0,'Lm')// defining Lm as lambda
D_a=8*Lm // where D_a is mouth diameter in m and Lm is wavelength in m
// formula : G_p=6.4*(D/lambda)^2
G_p=6.4*(D_a/Lm)^2 //power gain
G_p=horner(G_p,1)
G_p=10*log10(G_p) // power gain in dB
disp(G_p,"power gain in dB:")
|
67d179b0388dcfb78a5ee6197c44bd6520341d07 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ac_vrt_ind/~BivLCM-SR-bfas_ac_vrt_ind-PLin-VLin.tst | 62847c0ac16f94efce482bdd562d2ebd074b88d5 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,909 | tst | ~BivLCM-SR-bfas_ac_vrt_ind-PLin-VLin.tst |
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.264114D+00
2 -0.435990D-02 0.228841D-02
3 -0.106957D+00 0.16210... |
87dcb463622833004309e4465dd21445fc854489 | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH6/EX6.0/Chapter_6.sce | 18c0234ecf61ad3e57c5cf36fcfb78383b2281c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | Chapter_6.sce | //Chemical Engineering Thermodynamics
//Chapter 6
//Thermodynamic Relations
clear;
clc;
//Given
//The chapter does not contain any example which involve numerical computation
//end |
780bec9a2badaedb601b15e037f0a852092aa582 | a716b1a783311ba8f8caeb1aaaa71fed9e8895dd | /SciLab/computation_figures.sce | b4dedf038766a36ee5590a4da45bb4149f0f1c83 | [] | no_license | AvrilWeinbach/MutualismDecline | c669bd8cf30d9183d3c609549f75693aac854d48 | ce5efa064ebcd01634f35db395445a41462bbb4a | refs/heads/main | 2023-04-14T03:47:01.000489 | 2021-10-06T10:42:49 | 2021-10-06T10:42:49 | 412,018,063 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | computation_figures.sce | clear()
close()
clearglobal()
getd('./functions')
alphaN = 1;
alphaP = 1;
gammaN = 1;
gammaP = 1;
e_r = 0.8;
delta = 2.5;
f_name = "test"
tic;
find_ess(alphaN,alphaP,gammaN,gammaP,delta,e_r,f_name)
compute_surface(alphaN,alphaP,gammaN,gammaP,delta,e_r,f_name)
toc
|
7bbb9106657358077ef9424c10c5e420d6631d44 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.9_20.tst | 6236c1c8e35aadb5174ef6403796bacc2621a565 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 797,911 | tst | 5.9_20.tst | 9 166:1 177:1 283:2 328:1 420:2 435:1 594:1 637:1 829:1 872:3 883:1 1096:2 1388:1 1403:1 1471:1 1493:1 1557:1 1601:1 1621:1 1797:2 1883:1 1893:1 2104:1 2105:1 2360:2 2600:1 2683:1 2702:1 2733:1 2761:1 3028:1 3032:1 3109:1 3214:1 3230:1 3322:1 3348:1 3435:1 3486:1 3532:1 3571:1 3648:2 3724:1 3819:1 3959:1 4260:1 4290:1 ... |
a7519405c9e015d061b29f64caca2f8b2636c9e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH21/EX21.1/Example21_1.sce | 6d8bdefe104f5d8d746be868833352ef3a2bbcd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,019 | sce | Example21_1.sce | clear ;
clc;
// Example 21.1
printf('Example 21.1\n\n');
//page no. 616
// Solution Fig. E21.1a and E21.1b
//Given
V1 = 0.1 ;// Volume of gas initially -[cubic metres]
V2 = 0.2 ;// Volume of gas finally -[cubic metres]
T1 = 300 ;// Temperature of gas initially -[K]
P1 = 200 ;// Pressure of gas finally -[kPa]
R = 8.314... |
9fc905cdfc7285d7a540c8469bc5b17fd4b65a02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH3/EX3.3/ex_3_3.sce | 4cba6184c5e5d8b701ab4a2475f3fe020ee480a8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 270 | sce | ex_3_3.sce | //Example 3.3 // resistance
clc;
clear;
close;
//given data :
L=1000; // length of wire in cm
d=0.14; // diameter of wire in cm
R1=2.5*10^6; // resistance in micro-ohm
a=(%pi*d^2)/4; // cross section area
p=(R1*a)/L;
disp(p,"the specific resistance,p(micro-ohm-cm) = ")
|
8d8201256c2463a284559e4e0cde58255fae6310 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH1/EX1.2/Ex1_2.sce | f3bbaffe361392ca3a811da9ad9fcba8f8e5d076 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 318 | sce | Ex1_2.sce | //Example 1.2
A=5;//Expected value of bag's weight (lb)
delta_A=0.4;//Uncertainty in A (lb)
percent_unc=delta_A/A*100;//Percent uncertainty of the weight
printf('Percent uncertainty of the weight = %0.1f%%',percent_unc)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|
5ac29cc693440372ff4c99266459af0a8a1e5107 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH6/EX6.11/ex6_11.sce | 37368b224e864438e4847371ed8e8c00dd44698a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 601 | sce | ex6_11.sce | //Page Number: 336
//Example 6.11
clc;
//Given
I0=30D-3; //A
V0=3D+3; //V
Z0=10; //ohm
l=0.1624; //m
f=10D+9; //Hz
C=((I0*Z0)/(4*V0))^(1/3);
N=(l*f)/(0.593D+6*sqrt(V0));
//Gain
Ap=-9.54+(47.3*C*N);
disp('dB',Ap,'Gain:');
ve=0.593D+6*sqrt(V0);
be=(2*%pi*f)/ve;
//Four propogation constants
gam1=((-... |
37cd623dde746af2995f4fef3d3643e06f0b7622 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH9/EX9.21/Ex_9_21.sce | 796f49670a720a50e1c3b6b29c037f0529b86005 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 422 | sce | Ex_9_21.sce | // Example 9.21;//dark current
clc;
clear;
close;
C=2.998*10^8;//SPEED of light in meter per second
e=1.6*10^-19;//elecronic charge
ht=6.62*10^-34;//plank constt.
h=0.85;//wavelength in micro meters
n=0.64;//efficiency
B=1;//bandwidth in hertz
D=7*10^10;//SPECIFIC DETECTIVITY
a=10;//active dimension in micro... |
73b0c8fd27984ed11e60036043b29c74332762f4 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/statelevels/statelevels13.sce | 91ec37d66e5c0252c267e2d6bbbbce10e0897b57 | [] | 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 | 110 | sce | statelevels13.sce | //check o/p when i/p vector contains only zeros
x=[0 0 0 0];
y=statelevels(x);
disp(y);
//output
//0. 0.
|
6d6a80e7464ca8b91e24ecb973b425ae52660b6a | 573df9bfca39973c9bf2fa36f6e5af2643d7771e | /scilab/lib/fibonacci_rec.sci | 4b59a7c1b2634b60f0d81e07c958fb3bd7f45e62 | [] | no_license | DCC-CN/152cn | ef92c691edabe211b1a552dbb963f9fd9ceec94a | 4fe0b02f961f37935a1335b5eac22d81400fa609 | refs/heads/master | 2016-08-13T01:34:17.966430 | 2015-04-07T07:31:58 | 2015-04-07T07:31:58 | 44,502,526 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 160 | sci | fibonacci_rec.sci | function resp = fibonacci_rec(n)
if(n <= 1) then
resp = n;
else
resp = fibonacci_rec(n - 1) + fibonacci_rec(n - 2);
end
endfunction
|
9fad231f7ec4ea0f9d779bab5dc4156bd81c385f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH1/EX1.5/Example1_5.sce | b167d047515fc38daf20871d3239d14b2f5dff4b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,478 | sce | Example1_5.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 1: Electromechanical Fundamentals
// Example 1-5
clear; clc; close; // Clear the work space and console.
// Given data
no_of_conductors = 40;
A = 2; // A = Parallel paths
path = A;
flux_per_pol... |
97fed1ca15f16e9984f6abbc624a580febccf781 | 37ae73a0d143e6fc539c6ff34ace9e46e0982654 | /Tutorial/TestEnv/Tutorial_C++/environment/MANAGER_DATABASE/MANAGER_DATABASE.tst | 5cf49632914aa2d64387c8b9446d2dca912b3bf2 | [] | no_license | vjtkmg/vcast-workarea | 7441ca0ac1eb05ab41c388b5c6fd502277fc4ac9 | 6ecfc99f4b1b68707e4debb8c5b213a467326c2c | refs/heads/main | 2023-08-23T13:26:38.279532 | 2021-11-04T09:12:34 | 2021-11-04T09:12:34 | 422,165,203 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 13,140 | tst | MANAGER_DATABASE.tst | -- VectorCAST 21.sp3 (08/04/21)
-- Test Case Script
--
-- Environment : MANAGER_DATABASE
-- Unit(s) Under Test: database manager
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:REMOVED_CL_PREF... |
2a63fb055a606e06b01661079821069506fca309 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3785/CH4/EX4.5/Ex4_5.sce | 4d1a14b44c015aa20afe08e647b6a85ebc404c99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | Ex4_5.sce | // Example 4_5
clc;funcprot(0);
// Given data
rho=1.225;// The density of air in kg/m^3
A_0=1.0;// Area of orifice in cm^2
A_pV=2.5*10^-4;// The volumetric flow rate in m^3/s
// Calculation
P=(rho*(A_pV)^3)/(2*(A_0*10^-4)^2);// The power expended in inhaling in W
printf("\nThe power P expended in inhaling (or... |
2a008fe5be21520a848f9bfb834c795c4a1e9e23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH5/EX5.8/Example5_8.sce | 12fd97fe1f3dc163e9c7c4fca9f8b0856c5dce32 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 745 | sce | Example5_8.sce | //Example 5.8
//Program to determine the total loss incurred by the star coupler
//and average insertion loss
clear;
clc ;
close ;
//Given data
Pi=1*10^(-3); //Watts - INPUT POWER AT PORT 1
Po=14*10^(-6); //Watts - OUTPUT POWER AT OTHER PORTS
N=32; //Ports
//Calculation of Spli... |
188e883e15e988ada4eac14a7852b8c2e8a4da8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH6/EX6.3/ex3.sce | 8c193fc60853e85e7f4dc9e096d8ef3e5ed5e2ff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 492 | sce | ex3.sce | //example 3
//rate of flow of water
clear
clc
hir=441.89 //in kJ/kg for refrigerant using steam table
her=249.10 //in kJ/kg for refrigerant using steam table
hiw=42 //in kJ/kg for water using steam table
hew=83.95 //in kJ/kg for water using steam table
mr=0.2 //the rate at which refrigerant enters the condense... |
c8c25999038e1760bb7d6b95202d5bc1f51ffaf5 | 899cecef18712265c22e100bf72286df1ec5fb65 | /Asgn4/Q3.sce | e5038f5ac5fa66fb951d2678573c8deabe8b6c8a | [] | 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 | 1,781 | sce | Q3.sce | // This script calculates the value of the LPC coefficients using the Levinson-
// Durbin (LD) method. The LD method calculates the nth order coefficients using
// the (n-1)th order coefficients. The calculation is done frame-wise
// Nms = input("Enter the frame size in milliseconds: ");
// Nfs = input("Enter frame s... |
7b2ca6f5d249f1d378795e411ce228e73aa50a8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH1/EX1.1/Ex1_1.sce | 7b8afb02a12bd3b0bb2e24f77af7890715c3b0a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 806 | sce | Ex1_1.sce | clear all; clc;
disp("Scilab Code Ex 1.1 :")
w_varying = 270;
l_crossection = 9;
l_cb = 6;
l_ac = 2;
w_c = (w_varying/l_crossection) * l_cb //By proportion, load at C is found.
f_resultant_c = 0.5* w_c *l_cb
// Equations of Equilibrium
//Balancing forces in the x direction:
n_c = 0
//Balncing forces... |
59121c09e2e2c758a75a88a51f50e6073a59ac06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH3/EX3.9/Example_9.sce | 1a02f11825a51c7e7fe8259f0d97f6158d94e613 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sce | Example_9.sce | //Chapter-3,Example 9,Page 59
clc;
close;
mole_U =11.9/238 //mole of Uranium
mole_Pb =10.3/206 //mole of lead
t_half= 4.5*10^9 //half life of Uranium
// U(238)=(U(238) + Pb(206)) * exp(-lamda*t)
// 1 = (1 + Pb(206)/U(238)) * exp(-lamda*t)
// 1 = (1 + 0.5) * exp(-lamda*t)
lamda = 0.693/t_half... |
fc15967d4af2f127cf7c83f8ead88217d0f489e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH12/EX12.7/Ex12_7.sce | 632e24f6aa53be8d553c92b0ec30073d5554cc47 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,425 | sce | Ex12_7.sce | // Example 12_7
clc;clear;funcprot(0);
//Given values
P_0=1000;// kPa;
T_0=800;// K
k=1.4;//The specific heat ratio of air
Ma_2=2;// Exit Mach number
a=20;// Throat area in cm^2
//Properties
R=0.287;// kJ/kg.k
// Calculation
rho_0=P_0/(R*T_0);// kg/m^3
P_0=1;// MPa
//(a)At the throat of the nozzle Ma=1,... |
65d604e2ca41e49fcbec79a1fcc8d7a06ba95fcf | 226851ab7bb8a3e1137e72fd154d4aa6939229f1 | /60002190048_SS SCILAB_4A(IZT).sce | 200ab389004812c30030f2ee5ba1392bb12d9d16 | [] | no_license | Ishitaa48/SS-Practicals-EXTC-1-E13-60002190048 | 637a855701ef0a07675e519cf002fa4742a571e7 | 183baae9ad66d093ba13d41a01f1d61751ef8036 | refs/heads/main | 2023-01-18T22:39:05.696201 | 2020-11-25T11:52:15 | 2020-11-25T11:52:15 | 315,921,545 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sce | 60002190048_SS SCILAB_4A(IZT).sce | //Program to find the Inverse Z transform using the Long Division Method
clear;
clc;
z=%z;
num=2*z*(2*z-1)
den=(z-1)*(z-2)^2
h=ldiv(num,den,10)
disp(h,"Displaying the first ten terms of the inverse z transform")
|
7ffbfe0168b9a974e813d1dc80a4290af0415181 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH1/EX1.1/Chapter1_Example1.sce | fc984c7eecb683b86449c12cc1c0bcf452c0d1c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 594 | sce | Chapter1_Example1.sce | //Chapter-1, Example 1.1, Page 9
//=============================================================================
clc
clear
//INPUT DATA
L=0.02;//Thicness of stainless steel plate in m
T=[550,50];//Temperatures at both the faces in degree C
k=19.1;//Thermal Conductivity of stainless steel at 300 degree C in W/m... |
5d4d4a9a3994a6d6d008eb46a030d279ca017395 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/1.1/macros/util/strcat.sci | 387aa0aab486781491a296828ed1a63bf87a1c29 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 509 | sci | strcat.sci | function [txt]=strcat(strs,opt)
//txt=strcat(strs) catenates character strings: txt=strs(1)+...+strs(n)
//
//txt= strcat(strs,opt) returns txt=strs(1)+opt+...+opt+strs(n)
//Example: strcat(string(1:10),',')
//!
if type(strs)<>10 then error(55,1),end
n=prod(size(strs))
if n==0 then txt=' ',return,end
txt=strs(1)
[lhs,rh... |
96b79d5b44071aabd3b5942555de0164695e505b | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testfigure.sce | bcb2b91cd8e2c0939d50c6ca54bd33b46461e9cf | [] | 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 | 160 | sce | testfigure.sce | hfig = figure(...
'Tag', 'myfigure', ...
'BackgroundColor', name2rgb("lightblue")/255, ...
'Figure_name', 'My Figure', ...
'Position', [20 20 300 200])
|
a911dadac008e5b6296979aca3a9fdb0ff09fad9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH2/EX2.44.a/EX_2_44_a.SCE | 3f1dc904b68560a01a1e475af8feb5560c8b909a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 860 | sce | EX_2_44_a.SCE | // Example 2.44.a:R1,R2 ,Re
clc;
clear;
close;
Vbe=0.2;//
Vcc=16;//collector voltage in volts
Rc=1.5;//clollector resistance in killo ohms
S=12;//stability factor
Vce=8;// Collector to emitter voltage
Ic=4; //in milli amperes
Beta=50;//gain
Ib=(Ic*10^-3)/Beta;// Base current in micro ampere
Re=(Vcc-Vce-(Rc... |
0841040ce029be58c47b7b2369645328efc9e02a | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/percent/%s_l_r.sci | 120cbd9e91c9c832e631bca8b3550aed825b94b7 | [
"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 | 524 | sci | %s_l_r.sci | function b=%s_l_r(a,b)
// a\b a scalar matrix, b rational matrix
//!
// Copyright INRIA
if size(a,'*')==0 then b=[],return,end
if size(a,1)==-1 then a=a+0,end
[ma,na]=size(a);
if ma==1&na==1 then
b('num')=a\b('num'),
elseif size(b('num'),1)==1 then
b=rlist(a\b('num'),ones(na,ma)*b('den'),b('dt'))
else
[num,de... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.