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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
70f62b2460b75e3fdcbd7b8e36779f699bfcfee5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3872/CH6/EX6.7/Ex6_7.sce | 53060d05edbeb5e1ea52238cde825d5ef244b06f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 972 | sce | Ex6_7.sce | //Book - Power System: Analysis & Design 5th Edition
//Authors - J. Duncan Glover, Mulukutla S. Sarma, and Thomas J. Overbye
//Chapter - 6 ; Example 6.7
//Scilab Version - 6.0.0 ; OS - Windows
clc;
clear;
c=[15;50]; //Constant coefficients in the equations
x=[4;9]; //Initial values for x1 and x2
err=1; //Initialization of error value
tol=1e-4; //Tolerance value for Newton Raphson method
iter=0; //Initialization of iteration value
while err>tol
temp=x;
f=[x(1)+x(2);x(1)*x(2)] //Function Value
J=[1 1;x(2) x(1)]; //Jacobian Matrix
x=x+inv(J)*(c-f)
err=max(abs((x(1)-temp(1))/temp(1)),abs((x(2)-temp(2))/temp(2)));
iter=iter+1;
end
printf('The convergence criterion is satisfied at the %dth iteration\n',iter)
printf('The solution is x1=%.4f and x2=%.4f',x(1),x(2))
|
3ba9ccff386862a5a2e62104580091c65316905b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH6/EX6.11/Ex6_11.sce | 4a782342db60210fdd0c1ff3ecfad5020ef649a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex6_11.sce | //Example 6.11
// Stability properties for a conditionally stable system.
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
//System transfer function
s=poly(0,'s');
Gs=(s+10)^2/(s^3);
evans(Gs,100)
exec .\fig_settings.sci; //custom script for setting figure properties
zoom_rect([-40 -20 5 20])
title(["Root locus for","$G(s)=(s+10)^2/s^3$"],'fontsize',3)
h=legend('');
h.visible = "off"
Gs1=syslin('c',(s+10)^2/(s^3));
//------------------------------------------------------------------
//The nyquist plot of the system
figure;
nyquist(7*Gs1,8/2/%pi,100/2/%pi,0.005)
exec .\fig_settings.sci; //custom script for setting figure properties
title(["Nyquist plot for","$G(s)=(s+10)^2/s^3$"],'fontsize',3)
f=gca();
f.x_location = "origin";
f.y_location = "origin";
xset("color",2);
//------------------------------------------------------------------
|
a61b5ec2465f96337cf640965fbe284870a8a92d | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH3/EX3.10/ex_10.sce | f98feb21c034907336e4dfa41617f6972f06877b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 362 | sce | ex_10.sce | // Chapter 3_The Semiconductor in Equilibrium
//Caption_Charge Neutrality
//Ex_10//page 114
T=300 //temperature in kelvin
Nd=5*(10^13)
Na=0
ni=2.4*(10^13)
no=((Nd-Na)/2)+(((Nd-Na)/2)^2+ni^2)^0.5
po=ni^2/no;
printf('The majority carrier electron concentration is %fd per cm cube while the minority carrier hole concentration is %fd per cm cube',no,po) |
ed30a1873f0b28f3cfd49e4567c6e7e85c945b4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH25/EX25.10/Ex25_10.sce | fa0b77cfb706478937810a2590b96fc5bf512590 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | Ex25_10.sce | clear
//Given
a=1.66*10**-27 //Kg
c=3*10**8
mp=1.00727
mn=1.00866
mo=15.99053
//Calculation
E=(a*c**2)/1.6*10**-19
m1=8*mp+8*mn-mo
a1=m1*E
//Result
printf("\n Energy equivalent of one atomic mass unit is %0.1f Mev/c**2",a1*10**32)
|
e43512f527920a12fe37351c09127d33546f7c84 | 42fdf741bf64ea2e63d1546bb08356286f994505 | /test_20160217_DCin_graph/DC_fgota.sce | 61001ef2a36c5c101344415b6a856ee46c694b65 | [] | no_license | skim819/RASP_Workspace_sihwan | 7e3cd403dc3965b8306ec203007490e3ea911e3b | 0799e146586595577c8efa05c647b8cb92b962f4 | refs/heads/master | 2020-12-24T05:22:25.775823 | 2017-04-01T22:15:18 | 2017-04-01T22:15:18 | 41,511,563 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,080 | sce | DC_fgota.sce | DC_in_char = [
3.0e-06 2.4462;
2.5e-06 2.4163;
2.0e-06 2.2968;
1.5e-06 2.0720;
1.0e-06 1.7760;
0.9e-06 1.7016;
0.8e-06 1.6102;
0.7e-06 1.5330;
0.6e-06 1.4284;
0.5e-06 1.3176;
0.4e-06 1.1920;
0.3e-06 1.0064;
0.2e-06 0.7770;
0.15e-06 0.6270;
0.10e-06 0.4000;
0.08e-06 0.3044;
0.05e-06 0.1250];
[p_DC_in,S_DC_in]=polyfit(DC_in_char(:,2),log(DC_in_char(:,1)),1);
size_DC_in_char=size(DC_in_char)
Input_range=(DC_in_char(size_DC_in_char(1),2):0.01:DC_in_char(1,2))
scf(1);clf(1);
plot2d("nl", DC_in_char(:,2), DC_in_char(:,1), style=1);p = get("hdl"); p.children.mark_style = 9; p.children.thickness = 1; p.children.line_mode="off";
plot2d("nl", Input_range, exp(polyval(p_DC_in,Input_range,S_DC_in)), style=1);p = get("hdl"); p.children.line_style = 1; p.children.thickness = 3; p.children.thickness = 3;p.children.line_mode="on";
legend("Data","linefit","in_lower_right");
a=gca();a.data_bounds=[0 1e-8; 2.5 1e-5];
xtitle("","DC(V)","I(-) target(A)");
title('DC to I(-) target (I(+):2uA, Ibias:2uA, V(+):Vdd )');
// I target
//(+):2uA
//(-):Variable
//Bias:2uA
//Input Cap: Small
|
8d01899af3870e8194e0e04305db4f0497ae82af | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH12/EX12.6/Ex12_6.sce | ca2bd1e3c611f8d13ff5d8f87614f4790788d15e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | Ex12_6.sce | //Example 12.6
P1=1.62*10^6;//Pressure at the hose inlet, see Example 12.5 (N/m^2)
P_h=0.7*10^6;//Pressure at hydrant outlet (N/m^2)
P=P1-P_h;//Pressure increase due to the pump (N/m^2)
Q=40;//Flow rate, See Example 12.5 (L/s)
Q=Q/10^3;//Flow rate (m^3/s)
power=P*Q;//Power (W)
printf('Power supplied by the pump = %0.1f kW',power/1000)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|
b5569f3f56dee23d3ed4b3e74bdb2958386748d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH5/EX5.1/5_1.sci | d35e33b6e044f748e00adb66c7649a6b47ecf3ca | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sci | 5_1.sci | clc();
clear;
//To determine the width of the slit
n=1;
lambda=600*10^-9; //wavelength
teta=35; //angle at which first minimum falls
d=((n*lambda)/sind(35))*10^6 //width of the slit
printf("The width of the slit is %f micro m",d); |
90eb4df875ea17a656cccf37b85b59cf9496b1ed | 9d51752f8238cddfc424f702c2c74c7ca7d9ed5f | /07/test/StackArithmetic/SimpleEq/SimpleEq.tst | 116df40ef1ffd04c3a5cbf728a9d939e6f56f443 | [] | no_license | nirasan/go-nand2tetris | afd26e3520ebc37bdf7edbbcd5b2116f0320ef84 | 4d61fd62aab220d1e721506f98c50ebd6adbe09c | refs/heads/master | 2020-03-19T09:58:00.195206 | 2018-06-11T22:26:17 | 2018-06-11T22:26:17 | 136,331,312 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 736 | tst | SimpleEq.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/07/StackArithmetic/SimpleAdd/SimpleAdd.tst
load SimpleEq.asm,
output-file SimpleEq.out,
compare-to SimpleEq.cmp,
output-list RAM[0]%D2.6.2 RAM[256]%D2.6.2 RAM[257]%D2.6.2 RAM[258]%D2.6.2 RAM[259]%D2.6.2 RAM[260]%D2.6.2 RAM[261]%D2.6.2;
set RAM[0] 256, // initializes the stack pointer
repeat 300 { // enough cycles to complete the execution
ticktock;
}
output; // the stack pointer and the stack base
output-list RAM[262]%D2.6.2 RAM[263]%D2.6.2 RAM[264]%D2.6.2 RAM[265]%D2.6.2;
output; // the stack pointer and the stack base
|
ec6e1b3d33e04fb3227cd26a5945c77026c6c315 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH8/EX8.15/Chapter8_Example15.sce | 9abb0e9af609e36899aaf342533f03eb54c09e1d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | Chapter8_Example15.sce | clc
clear
//INPUT
t=303;//temperature of the one mole of the argon in K
v1=1;//intial volume in litres
v2=10;//final volume in litres
r=8.31*10^7;//universal gas constant in ergs/K.mol
//CALCULATIONS
w=r*t*log(v2/v1);//work done in isothermal expansion in ergs
//OUTPUT
mprintf('the work done in isothermal expansion is %3.2f ergs',w)
|
1ea40623f00928246784b04faf35ecc6dd4e77d0 | 1bc06fa90b5425d41347c90d0c73bb82eb4cbbfe | /filtres/gradienty.sci | 2b85437497025f4f369cc3b2e988435fb97531f3 | [] | no_license | madox35/Filtre-Canny | a0a527ad6be5a1dc5984b2533008f95b1c9663ee | 3a54da9b0ce917c995ea5fbd48e0ed5c3f36748d | refs/heads/master | 2020-03-08T08:57:27.702111 | 2018-04-21T19:39:39 | 2018-04-21T19:39:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 107 | sci | gradienty.sci | function [filtre, nom] = creerFiltreGradientY()
filtre = [1;0;-1];
nom = 'Gradient Y';
endfunction
|
03be53d48788a27aadc430dc31b136e131649be1 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/HG63QMJ/ATWM1_Working_Memory_MEG_HG63QMJ_Session1/ATWM1_Working_Memory_MEG_Salient_Uncued_Run1.sce | 802db2ad64d26ee5ce5fe16af57d70fd0c155bb3 | [] | 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,405 | sce | ATWM1_Working_Memory_MEG_Salient_Uncued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_uncued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor_sounds = false;
active_buttons = 2;
response_matching = simple_matching;
button_codes = 10, 20;
default_font_size = 36;
default_font = "Arial";
default_background_color = 0 ,0 ,0 ;
write_codes=true; # for MEG only
begin;
#Picture definitions
box { height = 382; width = 382; color = 0, 0, 0;} frame1;
box { height = 369; width = 369; color = 255, 255, 255;} frame2;
box { height = 30; width = 4; color = 0, 0, 0;} fix1;
box { height = 4; width = 30; color = 0, 0, 0;} fix2;
box { height = 30; width = 4; color = 255, 0, 0;} fix3;
box { height = 4; width = 30; color = 255, 0, 0;} fix4;
box { height = 369; width = 369; color = 42, 42, 42;} background;
TEMPLATE "StimuliDeclaration.tem" {};
trial {
sound sound_incorrect;
time = 0;
duration = 1;
} wrong;
trial {
sound sound_correct;
time = 0;
duration = 1;
} right;
trial {
sound sound_no_response;
time = 0;
duration = 1;
} miss;
# Start of experiment (MEG only) - sync with CTF software
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
} expStart;
time = 0;
duration = 1000;
code = "ExpStart";
port_code = 80;
};
# baselinePre (at the beginning of the session)
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
}default;
time = 0;
duration = 10000;
#mri_pulse = 1;
code = "BaselinePre";
port_code = 91;
};
TEMPLATE "ATWM1_Working_Memory_MEG.tem" {
trigger_encoding trigger_retrieval cue_time preparation_time encoding_time single_stimulus_presentation_time delay_time retrieval_time intertrial_interval alerting_cross stim_enc1 stim_enc2 stim_enc3 stim_enc4 stim_enc_alt1 stim_enc_alt2 stim_enc_alt3 stim_enc_alt4 trial_code stim_retr1 stim_retr2 stim_retr3 stim_retr4 stim_cue1 stim_cue2 stim_cue3 stim_cue4 fixationcross_cued retr_code the_target_button posX1 posY1 posX2 posY2 posX3 posY3 posX4 posY4;
42 62 292 292 399 125 1892 2992 1892 fixation_cross gabor_018 gabor_035 gabor_058 gabor_102 gabor_018 gabor_035_alt gabor_058_alt gabor_102 "1_1_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_1900_gabor_patch_orientation_018_035_058_102_target_position_2_3_retrieval_position_2" gabor_circ gabor_035_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_1_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_035_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 2192 2992 2292 fixation_cross gabor_175 gabor_019 gabor_109 gabor_129 gabor_175_alt gabor_019 gabor_109_alt gabor_129 "1_2_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_2200_3000_2300_gabor_patch_orientation_175_019_109_129_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_109_framed gabor_circ blank blank blank blank fixation_cross_white "1_2_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_109_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 1742 2992 2492 fixation_cross gabor_075 gabor_117 gabor_003 gabor_051 gabor_075 gabor_117_alt gabor_003 gabor_051_alt "1_3_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_1750_3000_2500_gabor_patch_orientation_075_117_003_051_target_position_2_4_retrieval_position_2" gabor_circ gabor_117_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_3_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_117_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 2092 2992 2292 fixation_cross gabor_174 gabor_134 gabor_007 gabor_048 gabor_174_alt gabor_134_alt gabor_007 gabor_048 "1_4_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_2100_3000_2300_gabor_patch_orientation_174_134_007_048_target_position_1_2_retrieval_position_2" gabor_circ gabor_085_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_4_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_085_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 1992 2992 2192 fixation_cross gabor_090 gabor_049 gabor_113 gabor_004 gabor_090_alt gabor_049 gabor_113_alt gabor_004 "1_5_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_2000_3000_2200_gabor_patch_orientation_090_049_113_004_target_position_1_3_retrieval_position_1" gabor_139_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_5_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_139_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 2242 2992 2392 fixation_cross gabor_027 gabor_115 gabor_002 gabor_092 gabor_027 gabor_115_alt gabor_002_alt gabor_092 "1_6_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_2250_3000_2400_gabor_patch_orientation_027_115_002_092_target_position_2_3_retrieval_position_2" gabor_circ gabor_115_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_6_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_115_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 1892 2992 1892 fixation_cross gabor_073 gabor_111 gabor_041 gabor_096 gabor_073 gabor_111_alt gabor_041_alt gabor_096 "1_7_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_1900_gabor_patch_orientation_073_111_041_096_target_position_2_3_retrieval_position_2" gabor_circ gabor_157_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_7_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_157_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 63 292 292 399 125 2092 2992 2142 fixation_cross gabor_109 gabor_151 gabor_071 gabor_040 gabor_109 gabor_151_alt gabor_071_alt gabor_040 "1_8_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_UncuedRetriev_300_300_399_2100_3000_2150_gabor_patch_orientation_109_151_071_040_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_090_framed blank blank blank blank fixation_cross_white "1_8_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_090_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 2042 2992 2142 fixation_cross gabor_078 gabor_155 gabor_099 gabor_042 gabor_078 gabor_155_alt gabor_099_alt gabor_042 "1_9_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_2050_3000_2150_gabor_patch_orientation_078_155_099_042_target_position_2_3_retrieval_position_2" gabor_circ gabor_020_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_9_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_020_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 1792 2992 2242 fixation_cross gabor_022 gabor_167 gabor_096 gabor_079 gabor_022 gabor_167 gabor_096_alt gabor_079_alt "1_10_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_1800_3000_2250_gabor_patch_orientation_022_167_096_079_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_096_framed gabor_circ blank blank blank blank fixation_cross_white "1_10_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_096_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 64 292 292 399 125 1942 2992 1942 fixation_cross gabor_041 gabor_056 gabor_179 gabor_026 gabor_041_alt gabor_056 gabor_179 gabor_026_alt "1_11_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_UncuedRetriev_300_300_399_1950_3000_1950_gabor_patch_orientation_041_056_179_026_target_position_1_4_retrieval_position_2" gabor_circ gabor_056_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_11_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_056_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 2142 2992 2042 fixation_cross gabor_133 gabor_164 gabor_009 gabor_027 gabor_133 gabor_164 gabor_009_alt gabor_027_alt "1_12_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_2150_3000_2050_gabor_patch_orientation_133_164_009_027_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_055_framed gabor_circ blank blank blank blank fixation_cross_white "1_12_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_055_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 1842 2992 2542 fixation_cross gabor_168 gabor_062 gabor_027 gabor_046 gabor_168_alt gabor_062_alt gabor_027 gabor_046 "1_13_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_1850_3000_2550_gabor_patch_orientation_168_062_027_046_target_position_1_2_retrieval_position_2" gabor_circ gabor_062_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_13_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_062_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 1892 2992 1992 fixation_cross gabor_128 gabor_162 gabor_084 gabor_056 gabor_128 gabor_162_alt gabor_084 gabor_056_alt "1_14_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_2000_gabor_patch_orientation_128_162_084_056_target_position_2_4_retrieval_position_2" gabor_circ gabor_022_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_14_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_022_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 1942 2992 2092 fixation_cross gabor_089 gabor_006 gabor_170 gabor_040 gabor_089 gabor_006_alt gabor_170_alt gabor_040 "1_15_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_1950_3000_2100_gabor_patch_orientation_089_006_170_040_target_position_2_3_retrieval_position_2" gabor_circ gabor_146_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_15_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_146_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 1992 2992 2142 fixation_cross gabor_097 gabor_072 gabor_126 gabor_054 gabor_097 gabor_072 gabor_126_alt gabor_054_alt "1_16_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_2000_3000_2150_gabor_patch_orientation_097_072_126_054_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_054_framed blank blank blank blank fixation_cross_white "1_16_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_054_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 2042 2992 2192 fixation_cross gabor_007 gabor_049 gabor_087 gabor_164 gabor_007 gabor_049 gabor_087_alt gabor_164_alt "1_17_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_2050_3000_2200_gabor_patch_orientation_007_049_087_164_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_087_framed gabor_circ blank blank blank blank fixation_cross_white "1_17_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_087_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 64 292 292 399 125 2142 2992 2142 fixation_cross gabor_005 gabor_021 gabor_131 gabor_047 gabor_005_alt gabor_021_alt gabor_131 gabor_047 "1_18_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_UncuedRetriev_300_300_399_2150_3000_2150_gabor_patch_orientation_005_021_131_047_target_position_1_2_retrieval_position_3" gabor_circ gabor_circ gabor_131_framed gabor_circ blank blank blank blank fixation_cross_white "1_18_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_131_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 1942 2992 1892 fixation_cross gabor_134 gabor_047 gabor_021 gabor_154 gabor_134_alt gabor_047 gabor_021_alt gabor_154 "1_19_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_1950_3000_1900_gabor_patch_orientation_134_047_021_154_target_position_1_3_retrieval_position_1" gabor_134_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_19_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_134_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 2142 2992 2592 fixation_cross gabor_002 gabor_122 gabor_180 gabor_057 gabor_002_alt gabor_122_alt gabor_180 gabor_057 "1_20_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_2150_3000_2600_gabor_patch_orientation_002_122_180_057_target_position_1_2_retrieval_position_2" gabor_circ gabor_074_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_20_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_074_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 1892 2992 2042 fixation_cross gabor_095 gabor_172 gabor_156 gabor_035 gabor_095_alt gabor_172 gabor_156_alt gabor_035 "1_21_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_2050_gabor_patch_orientation_095_172_156_035_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_156_framed gabor_circ blank blank blank blank fixation_cross_white "1_21_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_156_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 1842 2992 1892 fixation_cross gabor_025 gabor_047 gabor_171 gabor_111 gabor_025 gabor_047_alt gabor_171_alt gabor_111 "1_22_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_1900_gabor_patch_orientation_025_047_171_111_target_position_2_3_retrieval_position_2" gabor_circ gabor_001_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_22_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_001_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 63 292 292 399 125 1842 2992 1992 fixation_cross gabor_140 gabor_064 gabor_025 gabor_092 gabor_140 gabor_064 gabor_025_alt gabor_092_alt "1_23_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_UncuedRetriev_300_300_399_1850_3000_2000_gabor_patch_orientation_140_064_025_092_target_position_3_4_retrieval_position_1" gabor_005_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_23_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_005_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 2042 2992 2342 fixation_cross gabor_039 gabor_161 gabor_178 gabor_023 gabor_039 gabor_161 gabor_178_alt gabor_023_alt "1_24_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_2050_3000_2350_gabor_patch_orientation_039_161_178_023_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_129_framed gabor_circ blank blank blank blank fixation_cross_white "1_24_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_129_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 1992 2992 2192 fixation_cross gabor_054 gabor_023 gabor_087 gabor_038 gabor_054 gabor_023_alt gabor_087 gabor_038_alt "1_25_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_2000_3000_2200_gabor_patch_orientation_054_023_087_038_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_038_framed blank blank blank blank fixation_cross_white "1_25_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_038_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 1742 2992 2092 fixation_cross gabor_054 gabor_006 gabor_113 gabor_035 gabor_054 gabor_006_alt gabor_113_alt gabor_035 "1_26_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_1750_3000_2100_gabor_patch_orientation_054_006_113_035_target_position_2_3_retrieval_position_2" gabor_circ gabor_144_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_26_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_144_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 63 292 292 399 125 2192 2992 1992 fixation_cross gabor_030 gabor_088 gabor_172 gabor_066 gabor_030_alt gabor_088 gabor_172_alt gabor_066 "1_27_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_UncuedRetriev_300_300_399_2200_3000_2000_gabor_patch_orientation_030_088_172_066_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_115_framed blank blank blank blank fixation_cross_white "1_27_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_115_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 1792 2992 2392 fixation_cross gabor_083 gabor_063 gabor_100 gabor_023 gabor_083 gabor_063 gabor_100_alt gabor_023_alt "1_28_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_1800_3000_2400_gabor_patch_orientation_083_063_100_023_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_145_framed gabor_circ blank blank blank blank fixation_cross_white "1_28_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_145_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 1792 2992 2492 fixation_cross gabor_095 gabor_154 gabor_122 gabor_074 gabor_095_alt gabor_154_alt gabor_122 gabor_074 "1_29_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_1800_3000_2500_gabor_patch_orientation_095_154_122_074_target_position_1_2_retrieval_position_1" gabor_047_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_29_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_047_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 2042 2992 1892 fixation_cross gabor_032 gabor_138 gabor_108 gabor_051 gabor_032 gabor_138 gabor_108_alt gabor_051_alt "1_30_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_2050_3000_1900_gabor_patch_orientation_032_138_108_051_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_002_framed blank blank blank blank fixation_cross_white "1_30_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_002_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 1842 2992 2242 fixation_cross gabor_175 gabor_039 gabor_012 gabor_102 gabor_175_alt gabor_039 gabor_012_alt gabor_102 "1_31_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_2250_gabor_patch_orientation_175_039_012_102_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_057_framed gabor_circ blank blank blank blank fixation_cross_white "1_31_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_057_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 1992 2992 2542 fixation_cross gabor_061 gabor_011 gabor_045 gabor_119 gabor_061_alt gabor_011 gabor_045_alt gabor_119 "1_32_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_2000_3000_2550_gabor_patch_orientation_061_011_045_119_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_045_framed gabor_circ blank blank blank blank fixation_cross_white "1_32_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_045_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 64 292 292 399 125 1942 2992 2492 fixation_cross gabor_094 gabor_158 gabor_077 gabor_010 gabor_094 gabor_158_alt gabor_077 gabor_010_alt "1_33_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_UncuedRetriev_300_300_399_1950_3000_2500_gabor_patch_orientation_094_158_077_010_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_077_framed gabor_circ blank blank blank blank fixation_cross_white "1_33_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_077_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 2142 2992 2342 fixation_cross gabor_152 gabor_002 gabor_071 gabor_130 gabor_152_alt gabor_002 gabor_071_alt gabor_130 "1_34_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_2150_3000_2350_gabor_patch_orientation_152_002_071_130_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_071_framed gabor_circ blank blank blank blank fixation_cross_white "1_34_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_071_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 1842 2992 2042 fixation_cross gabor_019 gabor_105 gabor_146 gabor_039 gabor_019_alt gabor_105 gabor_146_alt gabor_039 "1_35_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_1850_3000_2050_gabor_patch_orientation_019_105_146_039_target_position_1_3_retrieval_position_1" gabor_019_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_35_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_019_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 63 292 292 399 125 1992 2992 2092 fixation_cross gabor_002 gabor_088 gabor_128 gabor_055 gabor_002 gabor_088_alt gabor_128 gabor_055_alt "1_36_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_UncuedRetriev_300_300_399_2000_3000_2100_gabor_patch_orientation_002_088_128_055_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_177_framed gabor_circ blank blank blank blank fixation_cross_white "1_36_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_177_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 1742 2992 1992 fixation_cross gabor_177 gabor_131 gabor_072 gabor_003 gabor_177 gabor_131 gabor_072_alt gabor_003_alt "1_37_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_1750_3000_2000_gabor_patch_orientation_177_131_072_003_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_003_framed blank blank blank blank fixation_cross_white "1_37_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_003_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 2192 2992 2542 fixation_cross gabor_113 gabor_180 gabor_005 gabor_146 gabor_113 gabor_180_alt gabor_005_alt gabor_146 "1_38_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_2200_3000_2550_gabor_patch_orientation_113_180_005_146_target_position_2_3_retrieval_position_2" gabor_circ gabor_040_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_38_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_040_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 63 292 292 399 125 1792 2992 1942 fixation_cross gabor_178 gabor_091 gabor_065 gabor_127 gabor_178 gabor_091_alt gabor_065 gabor_127_alt "1_39_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_UncuedRetriev_300_300_399_1800_3000_1950_gabor_patch_orientation_178_091_065_127_target_position_2_4_retrieval_position_1" gabor_038_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_39_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_038_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 1842 2992 2592 fixation_cross gabor_167 gabor_013 gabor_142 gabor_054 gabor_167_alt gabor_013 gabor_142_alt gabor_054 "1_40_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_1850_3000_2600_gabor_patch_orientation_167_013_142_054_target_position_1_3_retrieval_position_1" gabor_167_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_40_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_167_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 2142 2992 2092 fixation_cross gabor_005 gabor_072 gabor_110 gabor_090 gabor_005_alt gabor_072 gabor_110 gabor_090_alt "1_41_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_2150_3000_2100_gabor_patch_orientation_005_072_110_090_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_139_framed blank blank blank blank fixation_cross_white "1_41_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_139_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 1892 2992 2242 fixation_cross gabor_139 gabor_058 gabor_168 gabor_014 gabor_139 gabor_058 gabor_168_alt gabor_014_alt "1_42_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_2250_gabor_patch_orientation_139_058_168_014_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_032_framed gabor_circ blank blank blank blank fixation_cross_white "1_42_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_032_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 1742 2992 2592 fixation_cross gabor_141 gabor_122 gabor_173 gabor_061 gabor_141_alt gabor_122 gabor_173_alt gabor_061 "1_43_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_1750_3000_2600_gabor_patch_orientation_141_122_173_061_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_173_framed gabor_circ blank blank blank blank fixation_cross_white "1_43_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_173_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 2092 2992 2292 fixation_cross gabor_065 gabor_047 gabor_031 gabor_112 gabor_065 gabor_047_alt gabor_031_alt gabor_112 "1_44_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_2100_3000_2300_gabor_patch_orientation_065_047_031_112_target_position_2_3_retrieval_position_2" gabor_circ gabor_047_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_44_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_047_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 64 292 292 399 125 1742 2992 2192 fixation_cross gabor_106 gabor_054 gabor_023 gabor_071 gabor_106_alt gabor_054_alt gabor_023 gabor_071 "1_45_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_UncuedRetriev_300_300_399_1750_3000_2200_gabor_patch_orientation_106_054_023_071_target_position_1_2_retrieval_position_3" gabor_circ gabor_circ gabor_023_framed gabor_circ blank blank blank blank fixation_cross_white "1_45_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_023_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 2242 2992 2192 fixation_cross gabor_168 gabor_079 gabor_113 gabor_098 gabor_168_alt gabor_079 gabor_113 gabor_098_alt "1_46_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_2250_3000_2200_gabor_patch_orientation_168_079_113_098_target_position_1_4_retrieval_position_1" gabor_168_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_46_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_168_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 1842 2992 2242 fixation_cross gabor_015 gabor_105 gabor_175 gabor_133 gabor_015_alt gabor_105_alt gabor_175 gabor_133 "1_47_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_2250_gabor_patch_orientation_015_105_175_133_target_position_1_2_retrieval_position_2" gabor_circ gabor_055_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_47_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_055_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 2242 2992 2092 fixation_cross gabor_019 gabor_046 gabor_133 gabor_165 gabor_019 gabor_046_alt gabor_133 gabor_165_alt "1_48_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_2250_3000_2100_gabor_patch_orientation_019_046_133_165_target_position_2_4_retrieval_position_2" gabor_circ gabor_093_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_48_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_093_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 2092 2992 2242 fixation_cross gabor_004 gabor_082 gabor_136 gabor_160 gabor_004_alt gabor_082 gabor_136_alt gabor_160 "1_49_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_2100_3000_2250_gabor_patch_orientation_004_082_136_160_target_position_1_3_retrieval_position_1" gabor_004_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_49_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_004_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 64 292 292 399 125 2042 2992 1942 fixation_cross gabor_138 gabor_176 gabor_157 gabor_091 gabor_138_alt gabor_176 gabor_157 gabor_091_alt "1_50_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_UncuedRetriev_300_300_399_2050_3000_1950_gabor_patch_orientation_138_176_157_091_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_157_framed gabor_circ blank blank blank blank fixation_cross_white "1_50_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_157_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 2192 2992 2292 fixation_cross gabor_003 gabor_161 gabor_071 gabor_049 gabor_003_alt gabor_161_alt gabor_071 gabor_049 "1_51_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_2200_3000_2300_gabor_patch_orientation_003_161_071_049_target_position_1_2_retrieval_position_2" gabor_circ gabor_161_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_51_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_161_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 2092 2992 1942 fixation_cross gabor_169 gabor_003 gabor_116 gabor_031 gabor_169_alt gabor_003_alt gabor_116 gabor_031 "1_52_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_2100_3000_1950_gabor_patch_orientation_169_003_116_031_target_position_1_2_retrieval_position_2" gabor_circ gabor_003_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_52_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_003_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 1992 2992 2342 fixation_cross gabor_066 gabor_138 gabor_101 gabor_154 gabor_066_alt gabor_138 gabor_101_alt gabor_154 "1_53_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_2000_3000_2350_gabor_patch_orientation_066_138_101_154_target_position_1_3_retrieval_position_1" gabor_018_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_53_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_018_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 2242 2992 2542 fixation_cross gabor_132 gabor_024 gabor_042 gabor_069 gabor_132 gabor_024 gabor_042_alt gabor_069_alt "1_54_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_2250_3000_2550_gabor_patch_orientation_132_024_042_069_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_042_framed gabor_circ blank blank blank blank fixation_cross_white "1_54_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_042_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 2192 2992 2442 fixation_cross gabor_038 gabor_083 gabor_018 gabor_098 gabor_038_alt gabor_083_alt gabor_018 gabor_098 "1_55_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_2200_3000_2450_gabor_patch_orientation_038_083_018_098_target_position_1_2_retrieval_position_1" gabor_173_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_55_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_173_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 63 292 292 399 125 1942 2992 2042 fixation_cross gabor_130 gabor_157 gabor_016 gabor_101 gabor_130_alt gabor_157 gabor_016_alt gabor_101 "1_56_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_UncuedRetriev_300_300_399_1950_3000_2050_gabor_patch_orientation_130_157_016_101_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_051_framed blank blank blank blank fixation_cross_white "1_56_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_051_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 1742 2992 2442 fixation_cross gabor_107 gabor_089 gabor_024 gabor_147 gabor_107_alt gabor_089 gabor_024 gabor_147_alt "1_57_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_1750_3000_2450_gabor_patch_orientation_107_089_024_147_target_position_1_4_retrieval_position_1" gabor_061_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_57_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_061_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 1892 2992 2442 fixation_cross gabor_133 gabor_111 gabor_178 gabor_026 gabor_133_alt gabor_111_alt gabor_178 gabor_026 "1_58_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_2450_gabor_patch_orientation_133_111_178_026_target_position_1_2_retrieval_position_2" gabor_circ gabor_064_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_58_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_064_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 64 292 292 399 125 1942 2992 2292 fixation_cross gabor_177 gabor_115 gabor_137 gabor_008 gabor_177 gabor_115 gabor_137_alt gabor_008_alt "1_59_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_UncuedRetriev_300_300_399_1950_3000_2300_gabor_patch_orientation_177_115_137_008_target_position_3_4_retrieval_position_2" gabor_circ gabor_115_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_59_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_115_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 2092 2992 2592 fixation_cross gabor_080 gabor_143 gabor_122 gabor_057 gabor_080 gabor_143 gabor_122_alt gabor_057_alt "1_60_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_2100_3000_2600_gabor_patch_orientation_080_143_122_057_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_122_framed gabor_circ blank blank blank blank fixation_cross_white "1_60_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_122_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 2142 2992 2392 fixation_cross gabor_076 gabor_024 gabor_107 gabor_056 gabor_076_alt gabor_024_alt gabor_107 gabor_056 "1_61_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_2150_3000_2400_gabor_patch_orientation_076_024_107_056_target_position_1_2_retrieval_position_2" gabor_circ gabor_163_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_61_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_163_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 2242 2992 2342 fixation_cross gabor_022 gabor_039 gabor_162 gabor_110 gabor_022 gabor_039_alt gabor_162 gabor_110_alt "1_62_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_2250_3000_2350_gabor_patch_orientation_022_039_162_110_target_position_2_4_retrieval_position_2" gabor_circ gabor_039_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_62_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_039_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 1792 2992 1942 fixation_cross gabor_031 gabor_005 gabor_090 gabor_071 gabor_031_alt gabor_005 gabor_090_alt gabor_071 "1_63_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_1800_3000_1950_gabor_patch_orientation_031_005_090_071_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_090_framed gabor_circ blank blank blank blank fixation_cross_white "1_63_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_090_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 1742 2992 2342 fixation_cross gabor_147 gabor_103 gabor_020 gabor_129 gabor_147 gabor_103_alt gabor_020_alt gabor_129 "1_64_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_1750_3000_2350_gabor_patch_orientation_147_103_020_129_target_position_2_3_retrieval_position_2" gabor_circ gabor_057_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_64_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_057_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 1792 2992 1992 fixation_cross gabor_013 gabor_045 gabor_153 gabor_133 gabor_013 gabor_045_alt gabor_153_alt gabor_133 "1_65_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_1800_3000_2000_gabor_patch_orientation_013_045_153_133_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_103_framed gabor_circ blank blank blank blank fixation_cross_white "1_65_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_103_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 2192 2992 2392 fixation_cross gabor_171 gabor_127 gabor_083 gabor_143 gabor_171 gabor_127 gabor_083_alt gabor_143_alt "1_66_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_2200_3000_2400_gabor_patch_orientation_171_127_083_143_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_083_framed gabor_circ blank blank blank blank fixation_cross_white "1_66_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_083_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 64 292 292 399 125 2042 2992 2042 fixation_cross gabor_048 gabor_090 gabor_112 gabor_170 gabor_048 gabor_090 gabor_112_alt gabor_170_alt "1_67_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_UncuedRetriev_300_300_399_2050_3000_2050_gabor_patch_orientation_048_090_112_170_target_position_3_4_retrieval_position_1" gabor_048_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_67_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_048_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 62 292 292 399 125 1792 2992 2142 fixation_cross gabor_162 gabor_004 gabor_036 gabor_090 gabor_162_alt gabor_004 gabor_036 gabor_090_alt "1_68_Encoding_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_300_300_399_1800_3000_2150_gabor_patch_orientation_162_004_036_090_target_position_1_4_retrieval_position_1" gabor_162_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_68_Retrieval_Working_Memory_MEG_P6_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_162_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 63 292 292 399 125 1892 2992 2442 fixation_cross gabor_029 gabor_115 gabor_084 gabor_140 gabor_029 gabor_115 gabor_084_alt gabor_140_alt "1_69_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_UncuedRetriev_300_300_399_1900_3000_2450_gabor_patch_orientation_029_115_084_140_target_position_3_4_retrieval_position_2" gabor_circ gabor_165_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_69_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_165_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
42 61 292 292 399 125 2242 2992 2492 fixation_cross gabor_171 gabor_015 gabor_053 gabor_034 gabor_171_alt gabor_015 gabor_053 gabor_034_alt "1_70_Encoding_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_300_300_399_2250_3000_2500_gabor_patch_orientation_171_015_053_034_target_position_1_4_retrieval_position_1" gabor_123_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "1_70_Retrieval_Working_Memory_MEG_P6_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_123_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
};
# baselinePost (at the end of the session)
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
};
time = 0;
duration = 5000;
code = "BaselinePost";
port_code = 92;
}; |
0d3c0be0a12dfdd347bce45583932ddecf821c63 | 726961a3412b6d2fda7c781172773be5e27ac97a | /jflap-grades/tests/q01c.tst | 664e3fe00519c3f511ed5a277e56a437d5d8a344 | [] | no_license | ailton07/jflap-grades-19-2 | 0546deb482e7f8e003591351191fa649d62fd405 | ff58118d31aa30a0f56cae8e5f0186d44c1b72a8 | refs/heads/master | 2020-09-16T12:49:31.560841 | 2019-11-25T01:03:19 | 2019-11-25T01:03:19 | 223,774,968 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 83 | tst | q01c.tst | 0
0.20
2212343322 1
1322022 1
13332000 1
2333311332 1
13031 0
1233 0
111 0
00022 0
|
c77daad46965b889c6ecb4f5e1d53abc31049fcd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH6/EX6.8/ex6_8.sce | cc1ade3139dd969d50cd1f01b3c49343284f492d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 679 | sce | ex6_8.sce | clc;
p1=6; // Initial pressure of steam in MPa
T1=500; // Initial temperature of steam in degree celcius
p2=10; // Final pressure of steam in bar
// From steam tables
s1=6.8803; sf2=1.3026; sfg2=6.0568; // specific entropy in kJ/kg K
u1=3082.2; uf2=761.68; ufg2=1822; // specific internal energy in kJ/kg
v1=0.05665; vf2=0.001043; vg2=1.694; // specific volume in m^3/kg
x2=(v1-vf2)/(vg2-vf2);// Quality of steam
u2=uf2+x2*ufg2; // specific internal energy in kJ/kg
s2=sf2+x2*sfg2; // specific entropy in kJ/kg K
s21=s2-s1; // Entropy change
q=u2-u1; // Heat transfer
disp ("kJ",q,"Heat transfer for the process =","kJ/kg",s21,"Entropy change of the process = ");
|
3b9b5a4ae2698c44e536f6031dae486142ee8f90 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH13/EX13.6/13_6.sce | a7bd5829ef4f99a36c159693a24c3cc26a50e427 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 471 | sce | 13_6.sce | //Projectile aimed at target
//refer fig. 13.9
//let s be the distance of the target from the point of projection
//u be the velocity of projection
//range
//R=((u^2)*sind(2*alpha))/(g)
//applying it to first case
//s-12=(u^2)/(2*g)
//from second case
//s+24=(u^2)/(g)
//solving we get
s=24+24 //m
//let the correct angle of projection be alpha, then
//sind(2*alpha)=48/72
alpha=41.81/2 //degree
printf("Angle of projection=%.3f degree",alpha)
|
f6fdf02c12493133a501897b1a65b76be28a9054 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronics_Fundamentals_And_Applications_D._Chattopadhyay_And_P._C._Rakshit_2300.zip/Electronics_Fundamentals_And_Applications_D._Chattopadhyay_And_P._C._Rakshit_2300/CH23/EX23.31.2/Ex23_2.sce | 60477f17afb151344dc4d4ca593b3f8870bf5e4a | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | sce | Ex23_2.sce | errcatch(-1,"stop");mode(2);//scilab 5.4.1
//Windows 7 operating system
//chapter 23 Lasers,Fibre Optics,and Holography
V=500//V=bandwidth of a He-Ne laser in Hz
t=1/V//t=coherence time
disp("ms",(t*(10^3)),"The coherence time is =")
c=3*10^8//c=velocity of light in m/s
Lc=c/V//Lc=longitudinal coherence length
disp("km",(Lc/1000),"The longitudinal coherence length is=")
exit();
|
713599594a5801ada86c8c0f20e8ff1bfed21587 | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH4/EX4.4/example4_4.sce | 2feeece3d3d2f477d8aee8be3308d39f8802ea64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sce | example4_4.sce | clear
clc
//Example 4.4 SURFACE PROFILE OF ROTATING LIQUID
g=9.81; //[m/s^2]
d=0.5; //[m]
w=4; //(rad/s)
//(p1/gamma)+z1-(w^2*r1^2/(2*g))=(p2/gamma)+z2-(w^2*r2^2/(2*g))
//p1=p2
r1=0; //[m]
r2=d/2; //[m]
delz=(w^2*(r2^2-r1^2)/(2*g)) //delz=(z2-z1),[m]
printf("\nThe elevation difference between the liquid at the center and the wall, during rotation = %.3f m.\n",delz) |
cf2ecbd47ce840ff7fc7a0159ba11d2d1b282710 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH6/EX6.3/C6P3.sce | 148b26cd90abc211af06b7ed69d981b927102732 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,468 | sce | C6P3.sce |
clear
clc
//to find direction in which Fred is skating after breaking in contact
// GIVEN::
//we consider +ve x direction for initial motion
//refer to figure 6-11 on page no. 125
//mass of Fred
mF = 75//in kg
//mass of Ginger cart
mG = 55//in kg
//common velocity of Fred ang Ginger
vG = 3.2//in m/s
vF = 3.2//in m/s
//after breaking contact angle of Ginger skating
theta1 = 32//in degrees
// SOLUTION:
//refer to figure 6-11(a) on page no. 125
//using consevation of momentum
//x component of Ginger orignal momentum
PGx = mG*vG //in kgm/s
//x component of Fred orignal momentum
PFx = mF*vF //in kgm/s
//after they push off y component of Ginger momentum
PGy = PGx*tand(theta1)//in kgm/s
//after they push off y component of Fred momentum will be opposite that of Ginger
//using consevation of momentum
PFy = -(PGy)//in kgm/s
tan_theta = (PFy/PFx)
//direction in which Fred is skating after breaking in contact
theta = atand(PFy/PFx)//in degrees
PGy = round(PGy)
theta = round(theta)
printf ("\n\n X component of Ginger orignal momentum PGx = \n\n %3i Kg.m/s",PGx);
printf ("\n\n X component of Fred orignal momentum PFx = \n\n %3i Kg.m/s",PFx);
printf ("\n\n After they push off y component of Ginger momentum PGy = \n\n %3i Kg.m/s",PGy);
printf ("\n\n Value of tan_theta = \n\n %.3f degrees",tan_theta);
printf ("\n\n Direction in which Fred is skating after breaking in contact theta = \n\n %2i degrees",theta);
|
0e7c027851428b63c99f08701558c139547bcf6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3776/CH1/EX1.8/Ex1_8.sce | 3673b9dd12ab5c7f9ad8760441c54d8a68ba3dcc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 701 | sce | Ex1_8.sce | clear
//Given
A_angle = 2 //sq.in
stress_allow = 20 //ksi, The maximum alowable stress
F = stress_allow*A_angle //K, The maximum force
AD = 3 //in, from the figure
DC = 1.06 //in, from the figure
strength_AWS = 5.56 // kips/in,Allowable strength according to AWS
//calculations
//momentum at point "d" is equal to 0
R_1 = (F*DC)/AD //k,Resultant force developed by the weld
R_2 = (F*(AD-DC))/AD //k,Resultant force developed by the weld
l_1 = R_1/strength_AWS //in,Length of the Weld 1
l_2 = R_2/strength_AWS //in,Length of the Weld 2
printf("\n Length of the Weld 1: %0.2f in",l_1)
printf("\n Length of the Weld 2: %0.2f in",l_2)
|
5f5e6644881577adc30db22d72e012a617c1b25e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH5/EX5.1/Ex5_1.sce | e55735bba2b498038c6d612fa53adc69aa9df3f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 526 | sce | Ex5_1.sce | //chapter 5 example 1 pg no-226
//=============================================================================
clc;
clear;
//Given Data
F = 100*10^9;//reflex klystron operating frequency
n = 3;//integer corresponding to mode
//Calculations
T_c = (n+(3/4))//transit time in cycles
T = T_c/F//transit time in seconds
//Output
mprintf('Transit Time of the electron in the repeller space is %3.1f ps',T/10^-12);
//=============================================================================
|
458e8f26d76bd686951555cbfa4dd5999aac4329 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1.1/Unix/scilab-2.1.1/demos/bike/macros/constr.sci | 6f91703ff0a6fbfd9c3f1f5c06406c6508d0d47e | [
"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 | 110 | sci | constr.sci | function [var]=constr(q,qd,param)
var=fort('constr',...
q,1,'d',qd,2,'d',param,3,'d',...
'sort',[36,1],4,'d')
|
947f048e40451dba4708a1079c70914b711ee67d | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/tf2sos.sci | 7570707c3968dafdfdc2cf13731435af97e76e5f | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,138 | sci | tf2sos.sci | function [sos,varargout] = tf2sos (b, a)
//This function converts direct-form filter coefficients to series second-order sections.
//Calling Sequence
//[sos] = tf2sos (b, a)
//[sos, g] = tf2sos (b, a)
//Parameters
//b: matrix of real numbers
//a: matrix of real numbers
//Description
//This is an Octave function.
//This function converts direct-form filter coefficients to series second-order sections.
//The input parameters b and a are vectors specifying the digital filter H(z) = B(z)/A(z).
//The output is the sos matrix and the overall gain.
//If there is only one output argument, the overall filter gain is applied to the first second-order section in the sos matrix.
//Examples
//tf2sos([1,2,3,4,5,6],2)
//ans =
// 0.50000 0.80579 1.07239 1.00000 0.00000 0.00000
// 1.00000 -1.10337 1.87524 1.00000 0.00000 0.00000
// 1.00000 1.49180 -0.00000 1.00000 0.00000 0.00000
funcprot(0);
rhs = argn(2)
lhs = argn(1)
if(rhs~=2)
error("Wrong number of input arguments.")
end
select(lhs)
case 1 then
sos = callOctave("tf2sos",b,a)
case 2 then
[sos,g] = callOctave("tf2sos",b,a)
end
endfunction
|
2bb992f8972012da9eb1e5180d4c816d7cf87df4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH4/EX4.27/ch4_27.sce | 1d1b4e777115a70ad78e584b2f29b08ef2e0215b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 743 | sce | ch4_27.sce | clear;
clc;
R1=1000;
C=.5*10^-6;
f=50;
w=2*%pi*f;
V_s=230;
X_c=1/(w*C);
v_c=30;
R=0;
Z=sqrt((R+R1)^2+X_c^2);
phi=atand(X_c/(R+R1));
I1=V_s/(Z*complex(cosd(-phi),sind(-phi)));
V_c=I1*X_c*complex(cosd(-90),sind(-90));
a=abs(V_c); //magnitude of V_c
b=-atand(imag(V_c)/real(V_c)); //argument of V_c
//v_c=sqrt(2)*a*sind(a1-b)
a1=asind(v_c/(sqrt(2)*a))+b; printf("min angle=%.1f deg",a1);
R=25000;
Z=sqrt((R+R1)^2+X_c^2);
phi=atand(X_c/(R+R1));
I1=V_s/(Z*complex(cosd(-phi),sind(-phi)));
V_c=I1*X_c*complex(cosd(-90),sind(-90));
a=abs(V_c); //magnitude of V_c
b=-atand(imag(V_c)/real(V_c)); //argument of V_c
//v_c=sqrt(2)*a*sind(a2-b)
a2=asind(v_c/(sqrt(2)*a))+b; printf("\nmax angle=%.2f deg",a2);
|
7a40ac046e0b2ceeb1c61b64ac7b2fba9d370907 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH24/EX24.4/Ex24_4.sce | eb49afda891bbb4ce540edac027e04e8dd07c102 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,083 | sce | Ex24_4.sce | //Variable declaration:
fm = 30/100 //Mole fraction of methane
fe = 50/100 //Mole fraction of ethane
fp = 20/100 //Mole fraction of pentane
LFLm = 0.046 //Lower flammability limit for methane
LFLe = 0.035 //Lower flammability limit for ethane
LFLp = 0.014 //Lower flammability limit for propane
UFLm = 0.142 //Upper flammability limit for methane
UFLe = 0.151 //Upper flammability limit for ethane
UFLp = 0.078 //Upper flammability limit for propane
//Calculation:
LFLmix = 1/((fm/LFLm)+(fe/LFLe)+(fp/LFLp)) //Lower flammability limit of gas mixture
UFLmix = 1/((fm/UFLm)+(fe/UFLe)+(fp/UFLp)) //Upper flammability limit of gas mixture
//Result:
printf("The upper flammability limit (UFL) of the gas mixture is : %.2f %%",UFLmix*100)
printf("The lower flammability limit (LFL) of the gas mixture is : %.2f %%",LFLmix*100)
printf("There is a printing mistake in book.")
|
6e0108ac0e9b99962a2838aca39787e7cb50caf7 | 3cbdc2f272df05cfe8c6636d4504e9e3d2e4fe3f | /CompPhys/variations/infwall.sce | 8c0aa8fe249772706d92ec1e78ae83f997d5fe35 | [] | 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 | 533 | sce | infwall.sce | LIB="c:\Documents and Settings\Owner\tmp\libinfwall.so";
deff("z=basis(n,x)","z=x^n*(x*x-1)");
function z=Basis(N,x)
for i=1:N
z(i)=basis(i,x);
end;
endfunction;
function z = psi(C,x)
n=max(size(C));
z=sum(C.*Basis(n,x));
endfunction;
ulink();
link(LIB,['infwalls','infwallh'],'f');
N=10;
S=call("infwalls",N,1,'i','out',[N,N],2,'d');
H=call("infwallh",N,1,'i','out',[N,N],2,'d');
//iS=inv(S);
//nH=iS*H;
[ab,ba,zz]=spec(H,S);
x=linspace(-1,1,100);
for i=1:max(size(x))
y(i)=psi(zz(:,10),x(i));
end;
|
2357b6d9c2c20b49f4db6972a653e66fba86505e | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/percent/%lssnp.sci | 7388e1deda0557971294e79a92d17a7b845330dc | [
"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 | 149 | sci | %lssnp.sci | //[r]=%lssnp(s1,s2)
//%lssnp(s1,s2) effectue le test d'inegalite entre systeme d'etat et polynome
//correspond a l'operation s1<>s2
//!
r=%t
//end
|
897643377dde818c0e2f776cd6ae4f048bd6c5f1 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Pack/Área 1/P1/q10.sce | 39d1cc64e3df04191f6db2a7847c0c554f37435f | [
"MIT"
] | permissive | JPedroSilveira/numerical-calculus-with-scilab | 32e04e9b1234a0a82275f86aa2d6416198fa6c81 | 190bc816dfaa73ec2efe289c34baf21191944a53 | refs/heads/master | 2023-05-10T22:39:02.550321 | 2021-05-11T17:17:09 | 2021-05-11T17:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | q10.sce | function y = f(x)
y = (x^2 + (sqrt(3)/3 - sqrt(2)/2) * x - sqrt(6)/6)/(x-1/2) //aqui vai a função do problema
endfunction
function y = fl(x)
y = numderivative(f,x) //faz a derivada sozinho :)
endfunction
x = 0.9 //aqui tu bota o X próximo da raiz que tu quer encontrar. Salve geogebra.
for i = 1:100
x = x - f(x)/fl(x)
disp(x)
end
|
a75e2162c629663489ad4f7235fbaf9124526e11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /162/CH1/EX1.19.b/example119b.sce | 7a534f0d7ce833a707c6a4b9c723405b5ae101be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 177 | sce | example119b.sce | //Example 1.19b
//Check whether the given signal is periodic or not
clc;
n=-20:20;
x=exp(%i*(%pi/5)*n);
plot2d3(n,x);
disp('Plot shows that the given signal is periodic'); |
deafea52ea303fbe7860d014dd1cc5449e2580cd | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/BIPO/ZD83MJV/ATWM1_Working_Memory_MEG_ZD83MJV_Session2/ATWM1_Working_Memory_MEG_Salient_Cued_Run2.sce | 5be0482a076b435fbcc3e778e54baf2aca6f5642 | [] | 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_sounds = false;
active_buttons = 2;
response_matching = simple_matching;
button_codes = 10, 20;
default_font_size = 36;
default_font = "Arial";
default_background_color = 0 ,0 ,0 ;
write_codes=true; # for MEG only
begin;
#Picture definitions
box { height = 382; width = 382; color = 0, 0, 0;} frame1;
box { height = 369; width = 369; color = 255, 255, 255;} frame2;
box { height = 30; width = 4; color = 0, 0, 0;} fix1;
box { height = 4; width = 30; color = 0, 0, 0;} fix2;
box { height = 30; width = 4; color = 255, 0, 0;} fix3;
box { height = 4; width = 30; color = 255, 0, 0;} fix4;
box { height = 369; width = 369; color = 42, 42, 42;} background;
TEMPLATE "StimuliDeclaration.tem" {};
trial {
sound sound_incorrect;
time = 0;
duration = 1;
} wrong;
trial {
sound sound_correct;
time = 0;
duration = 1;
} right;
trial {
sound sound_no_response;
time = 0;
duration = 1;
} miss;
# Start of experiment (MEG only) - sync with CTF software
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
} expStart;
time = 0;
duration = 1000;
code = "ExpStart";
port_code = 80;
};
# baselinePre (at the beginning of the session)
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
}default;
time = 0;
duration = 10000;
#mri_pulse = 1;
code = "BaselinePre";
port_code = 91;
};
TEMPLATE "ATWM1_Working_Memory_MEG.tem" {
trigger_encoding trigger_retrieval cue_time preparation_time encoding_time single_stimulus_presentation_time delay_time retrieval_time intertrial_interval alerting_cross stim_enc1 stim_enc2 stim_enc3 stim_enc4 stim_enc_alt1 stim_enc_alt2 stim_enc_alt3 stim_enc_alt4 trial_code stim_retr1 stim_retr2 stim_retr3 stim_retr4 stim_cue1 stim_cue2 stim_cue3 stim_cue4 fixationcross_cued retr_code the_target_button posX1 posY1 posX2 posY2 posX3 posY3 posX4 posY4;
41 62 292 292 399 125 1742 2992 2192 fixation_cross gabor_124 gabor_006 gabor_085 gabor_175 gabor_124 gabor_006 gabor_085_alt gabor_175_alt "2_1_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_1750_3000_2200_gabor_patch_orientation_124_006_085_175_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_085_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "2_1_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_085_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 1992 2992 2192 fixation_cross gabor_090 gabor_052 gabor_067 gabor_129 gabor_090 gabor_052 gabor_067_alt gabor_129_alt "2_2_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_2000_3000_2200_gabor_patch_orientation_090_052_067_129_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_174_framed blank blank blank blank fixation_cross_target_position_3_4 "2_2_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_174_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 1742 2992 1942 fixation_cross gabor_060 gabor_172 gabor_035 gabor_094 gabor_060_alt gabor_172 gabor_035 gabor_094_alt "2_3_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_1750_3000_1950_gabor_patch_orientation_060_172_035_094_target_position_1_4_retrieval_position_1" gabor_060_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "2_3_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_060_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 1942 2992 2542 fixation_cross gabor_103 gabor_180 gabor_073 gabor_015 gabor_103 gabor_180_alt gabor_073 gabor_015_alt "2_4_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_1950_3000_2550_gabor_patch_orientation_103_180_073_015_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_151_framed blank blank blank blank fixation_cross_target_position_2_4 "2_4_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_151_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 63 292 292 399 125 2042 2992 2442 fixation_cross gabor_101 gabor_012 gabor_065 gabor_081 gabor_101_alt gabor_012 gabor_065_alt gabor_081 "2_5_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_UncuedRetriev_300_300_399_2050_3000_2450_gabor_patch_orientation_101_012_065_081_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_127_framed blank blank blank blank fixation_cross_target_position_1_3 "2_5_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_127_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 1942 2992 2292 fixation_cross gabor_107 gabor_047 gabor_136 gabor_161 gabor_107_alt gabor_047 gabor_136_alt gabor_161 "2_6_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_1950_3000_2300_gabor_patch_orientation_107_047_136_161_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_087_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "2_6_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_087_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 2242 2992 2142 fixation_cross gabor_009 gabor_133 gabor_163 gabor_024 gabor_009_alt gabor_133 gabor_163 gabor_024_alt "2_7_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_2250_3000_2150_gabor_patch_orientation_009_133_163_024_target_position_1_4_retrieval_position_1" gabor_056_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "2_7_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_056_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 2042 2992 2242 fixation_cross gabor_060 gabor_121 gabor_035 gabor_004 gabor_060_alt gabor_121 gabor_035_alt gabor_004 "2_8_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_2050_3000_2250_gabor_patch_orientation_060_121_035_004_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_170_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "2_8_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_170_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 1742 2992 2042 fixation_cross gabor_151 gabor_082 gabor_036 gabor_067 gabor_151_alt gabor_082 gabor_036 gabor_067_alt "2_9_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_1750_3000_2050_gabor_patch_orientation_151_082_036_067_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_067_framed blank blank blank blank fixation_cross_target_position_1_4 "2_9_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_067_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 63 292 292 399 125 1842 2992 1992 fixation_cross gabor_041 gabor_178 gabor_155 gabor_007 gabor_041 gabor_178_alt gabor_155_alt gabor_007 "2_10_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_UncuedRetriev_300_300_399_1850_3000_2000_gabor_patch_orientation_041_178_155_007_target_position_2_3_retrieval_position_1" gabor_088_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "2_10_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_088_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 1792 2992 2592 fixation_cross gabor_101 gabor_062 gabor_174 gabor_041 gabor_101 gabor_062 gabor_174_alt gabor_041_alt "2_11_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_1800_3000_2600_gabor_patch_orientation_101_062_174_041_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_174_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "2_11_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_174_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 1892 2992 2142 fixation_cross gabor_074 gabor_129 gabor_056 gabor_099 gabor_074 gabor_129 gabor_056_alt gabor_099_alt "2_12_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_2150_gabor_patch_orientation_074_129_056_099_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_145_framed blank blank blank blank fixation_cross_target_position_3_4 "2_12_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_145_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 1742 2992 2442 fixation_cross gabor_026 gabor_081 gabor_009 gabor_149 gabor_026_alt gabor_081_alt gabor_009 gabor_149 "2_13_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_1750_3000_2450_gabor_patch_orientation_026_081_009_149_target_position_1_2_retrieval_position_1" gabor_026_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "2_13_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_026_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 2142 2992 2492 fixation_cross gabor_028 gabor_013 gabor_093 gabor_133 gabor_028_alt gabor_013 gabor_093_alt gabor_133 "2_14_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_2150_3000_2500_gabor_patch_orientation_028_013_093_133_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_046_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "2_14_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_046_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 64 292 292 399 125 1842 2992 2342 fixation_cross gabor_174 gabor_115 gabor_059 gabor_100 gabor_174 gabor_115_alt gabor_059 gabor_100_alt "2_15_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_UncuedRetriev_300_300_399_1850_3000_2350_gabor_patch_orientation_174_115_059_100_target_position_2_4_retrieval_position_1" gabor_174_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "2_15_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_174_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 2192 2992 2092 fixation_cross gabor_114 gabor_009 gabor_175 gabor_062 gabor_114 gabor_009_alt gabor_175 gabor_062_alt "2_16_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_2200_3000_2100_gabor_patch_orientation_114_009_175_062_target_position_2_4_retrieval_position_2" gabor_circ gabor_009_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "2_16_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_009_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 1792 2992 2092 fixation_cross gabor_061 gabor_045 gabor_179 gabor_113 gabor_061 gabor_045 gabor_179_alt gabor_113_alt "2_17_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_1800_3000_2100_gabor_patch_orientation_061_045_179_113_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_179_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "2_17_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_179_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 1892 2992 2442 fixation_cross gabor_051 gabor_141 gabor_030 gabor_075 gabor_051_alt gabor_141 gabor_030 gabor_075_alt "2_18_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_2450_gabor_patch_orientation_051_141_030_075_target_position_1_4_retrieval_position_1" gabor_051_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "2_18_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_051_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 64 292 292 399 125 1892 2992 2342 fixation_cross gabor_131 gabor_098 gabor_152 gabor_017 gabor_131 gabor_098_alt gabor_152_alt gabor_017 "2_19_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_UncuedRetriev_300_300_399_1900_3000_2350_gabor_patch_orientation_131_098_152_017_target_position_2_3_retrieval_position_1" gabor_131_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "2_19_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_131_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 1892 2992 1892 fixation_cross gabor_007 gabor_118 gabor_055 gabor_165 gabor_007 gabor_118 gabor_055_alt gabor_165_alt "2_20_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_1900_gabor_patch_orientation_007_118_055_165_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_165_framed blank blank blank blank fixation_cross_target_position_3_4 "2_20_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_165_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 2092 2992 2392 fixation_cross gabor_064 gabor_041 gabor_131 gabor_004 gabor_064 gabor_041_alt gabor_131 gabor_004_alt "2_21_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_2100_3000_2400_gabor_patch_orientation_064_041_131_004_target_position_2_4_retrieval_position_2" gabor_circ gabor_091_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "2_21_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_091_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 2192 2992 2392 fixation_cross gabor_105 gabor_173 gabor_045 gabor_153 gabor_105 gabor_173_alt gabor_045 gabor_153_alt "2_22_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_2200_3000_2400_gabor_patch_orientation_105_173_045_153_target_position_2_4_retrieval_position_2" gabor_circ gabor_124_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "2_22_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_124_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 1892 2992 2242 fixation_cross gabor_018 gabor_146 gabor_058 gabor_174 gabor_018 gabor_146_alt gabor_058_alt gabor_174 "2_23_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_2250_gabor_patch_orientation_018_146_058_174_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_103_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "2_23_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_103_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 1892 2992 2592 fixation_cross gabor_049 gabor_019 gabor_158 gabor_003 gabor_049 gabor_019_alt gabor_158_alt gabor_003 "2_24_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_2600_gabor_patch_orientation_049_019_158_003_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_158_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "2_24_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_158_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 1942 2992 1892 fixation_cross gabor_128 gabor_094 gabor_004 gabor_071 gabor_128 gabor_094 gabor_004_alt gabor_071_alt "2_25_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_1950_3000_1900_gabor_patch_orientation_128_094_004_071_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_071_framed blank blank blank blank fixation_cross_target_position_3_4 "2_25_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_071_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 63 292 292 399 125 2142 2992 2042 fixation_cross gabor_078 gabor_165 gabor_002 gabor_035 gabor_078 gabor_165 gabor_002_alt gabor_035_alt "2_26_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_UncuedRetriev_300_300_399_2150_3000_2050_gabor_patch_orientation_078_165_002_035_target_position_3_4_retrieval_position_1" gabor_124_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "2_26_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_124_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 1942 2992 2492 fixation_cross gabor_168 gabor_141 gabor_032 gabor_097 gabor_168_alt gabor_141 gabor_032 gabor_097_alt "2_27_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_1950_3000_2500_gabor_patch_orientation_168_141_032_097_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_097_framed blank blank blank blank fixation_cross_target_position_1_4 "2_27_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_097_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 2142 2992 2392 fixation_cross gabor_105 gabor_034 gabor_171 gabor_056 gabor_105_alt gabor_034 gabor_171_alt gabor_056 "2_28_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_2150_3000_2400_gabor_patch_orientation_105_034_171_056_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_171_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "2_28_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_171_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 1842 2992 2492 fixation_cross gabor_083 gabor_044 gabor_065 gabor_014 gabor_083 gabor_044_alt gabor_065 gabor_014_alt "2_29_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_2500_gabor_patch_orientation_083_044_065_014_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_150_framed blank blank blank blank fixation_cross_target_position_2_4 "2_29_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_150_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 1842 2992 2142 fixation_cross gabor_157 gabor_112 gabor_068 gabor_131 gabor_157 gabor_112 gabor_068_alt gabor_131_alt "2_30_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_2150_gabor_patch_orientation_157_112_068_131_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_084_framed blank blank blank blank fixation_cross_target_position_3_4 "2_30_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_084_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 1792 2992 1942 fixation_cross gabor_066 gabor_086 gabor_033 gabor_051 gabor_066 gabor_086 gabor_033_alt gabor_051_alt "2_31_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_1800_3000_1950_gabor_patch_orientation_066_086_033_051_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_004_framed blank blank blank blank fixation_cross_target_position_3_4 "2_31_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_004_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 64 292 292 399 125 2242 2992 1992 fixation_cross gabor_058 gabor_137 gabor_179 gabor_018 gabor_058 gabor_137_alt gabor_179 gabor_018_alt "2_32_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_UncuedRetriev_300_300_399_2250_3000_2000_gabor_patch_orientation_058_137_179_018_target_position_2_4_retrieval_position_1" gabor_058_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "2_32_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_058_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 1842 2992 2042 fixation_cross gabor_014 gabor_035 gabor_087 gabor_125 gabor_014_alt gabor_035 gabor_087_alt gabor_125 "2_33_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_2050_gabor_patch_orientation_014_035_087_125_target_position_1_3_retrieval_position_1" gabor_063_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "2_33_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_063_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 1992 2992 1992 fixation_cross gabor_125 gabor_152 gabor_174 gabor_013 gabor_125_alt gabor_152 gabor_174_alt gabor_013 "2_34_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_2000_3000_2000_gabor_patch_orientation_125_152_174_013_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_174_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "2_34_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_174_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 2192 2992 2092 fixation_cross gabor_062 gabor_133 gabor_023 gabor_007 gabor_062_alt gabor_133_alt gabor_023 gabor_007 "2_35_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_2200_3000_2100_gabor_patch_orientation_062_133_023_007_target_position_1_2_retrieval_position_2" gabor_circ gabor_083_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "2_35_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_083_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 2092 2992 2242 fixation_cross gabor_069 gabor_023 gabor_129 gabor_085 gabor_069 gabor_023_alt gabor_129_alt gabor_085 "2_36_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_2100_3000_2250_gabor_patch_orientation_069_023_129_085_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_175_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "2_36_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_175_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 2042 2992 1942 fixation_cross gabor_180 gabor_014 gabor_147 gabor_162 gabor_180_alt gabor_014 gabor_147 gabor_162_alt "2_37_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_2050_3000_1950_gabor_patch_orientation_180_014_147_162_target_position_1_4_retrieval_position_1" gabor_040_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "2_37_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_040_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 63 292 292 399 125 2092 2992 1992 fixation_cross gabor_088 gabor_155 gabor_019 gabor_069 gabor_088 gabor_155_alt gabor_019 gabor_069_alt "2_38_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_UncuedRetriev_300_300_399_2100_3000_2000_gabor_patch_orientation_088_155_019_069_target_position_2_4_retrieval_position_1" gabor_040_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "2_38_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_040_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 1842 2992 2592 fixation_cross gabor_105 gabor_131 gabor_167 gabor_058 gabor_105_alt gabor_131_alt gabor_167 gabor_058 "2_39_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_2600_gabor_patch_orientation_105_131_167_058_target_position_1_2_retrieval_position_2" gabor_circ gabor_082_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "2_39_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_082_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 63 292 292 399 125 1842 2992 2242 fixation_cross gabor_048 gabor_102 gabor_013 gabor_130 gabor_048 gabor_102_alt gabor_013_alt gabor_130 "2_40_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_UncuedRetriev_300_300_399_1850_3000_2250_gabor_patch_orientation_048_102_013_130_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_084_framed blank blank blank blank fixation_cross_target_position_2_3 "2_40_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_084_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 1942 2992 2192 fixation_cross gabor_098 gabor_019 gabor_079 gabor_164 gabor_098_alt gabor_019_alt gabor_079 gabor_164 "2_41_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_1950_3000_2200_gabor_patch_orientation_098_019_079_164_target_position_1_2_retrieval_position_1" gabor_048_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "2_41_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_048_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 2042 2992 2442 fixation_cross gabor_028 gabor_157 gabor_043 gabor_172 gabor_028 gabor_157_alt gabor_043_alt gabor_172 "2_42_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_2050_3000_2450_gabor_patch_orientation_028_157_043_172_target_position_2_3_retrieval_position_2" gabor_circ gabor_111_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "2_42_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_111_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 1992 2992 2542 fixation_cross gabor_161 gabor_032 gabor_113 gabor_094 gabor_161 gabor_032_alt gabor_113_alt gabor_094 "2_43_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_2000_3000_2550_gabor_patch_orientation_161_032_113_094_target_position_2_3_retrieval_position_2" gabor_circ gabor_032_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "2_43_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_032_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 1792 2992 2342 fixation_cross gabor_084 gabor_165 gabor_014 gabor_032 gabor_084 gabor_165 gabor_014_alt gabor_032_alt "2_44_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_1800_3000_2350_gabor_patch_orientation_084_165_014_032_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_149_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "2_44_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_149_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 2192 2992 1892 fixation_cross gabor_081 gabor_148 gabor_118 gabor_170 gabor_081_alt gabor_148 gabor_118 gabor_170_alt "2_45_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_2200_3000_1900_gabor_patch_orientation_081_148_118_170_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_170_framed blank blank blank blank fixation_cross_target_position_1_4 "2_45_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_170_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 63 292 292 399 125 2092 2992 2192 fixation_cross gabor_022 gabor_104 gabor_043 gabor_083 gabor_022 gabor_104_alt gabor_043_alt gabor_083 "2_46_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_UncuedRetriev_300_300_399_2100_3000_2200_gabor_patch_orientation_022_104_043_083_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_131_framed blank blank blank blank fixation_cross_target_position_2_3 "2_46_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_131_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 2142 2992 2542 fixation_cross gabor_126 gabor_141 gabor_080 gabor_021 gabor_126 gabor_141 gabor_080_alt gabor_021_alt "2_47_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_2150_3000_2550_gabor_patch_orientation_126_141_080_021_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_021_framed blank blank blank blank fixation_cross_target_position_3_4 "2_47_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_021_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 2042 2992 2542 fixation_cross gabor_168 gabor_009 gabor_042 gabor_125 gabor_168 gabor_009_alt gabor_042_alt gabor_125 "2_48_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_2050_3000_2550_gabor_patch_orientation_168_009_042_125_target_position_2_3_retrieval_position_2" gabor_circ gabor_009_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "2_48_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_009_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 1792 2992 2292 fixation_cross gabor_006 gabor_021 gabor_138 gabor_050 gabor_006 gabor_021 gabor_138_alt gabor_050_alt "2_49_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_1800_3000_2300_gabor_patch_orientation_006_021_138_050_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_050_framed blank blank blank blank fixation_cross_target_position_3_4 "2_49_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_050_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 1992 2992 2192 fixation_cross gabor_085 gabor_131 gabor_023 gabor_041 gabor_085 gabor_131 gabor_023_alt gabor_041_alt "2_50_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_2000_3000_2200_gabor_patch_orientation_085_131_023_041_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_161_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "2_50_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_161_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 2192 2992 2492 fixation_cross gabor_031 gabor_079 gabor_152 gabor_096 gabor_031_alt gabor_079_alt gabor_152 gabor_096 "2_51_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_2200_3000_2500_gabor_patch_orientation_031_079_152_096_target_position_1_2_retrieval_position_1" gabor_031_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "2_51_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_031_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 1742 2992 2092 fixation_cross gabor_077 gabor_058 gabor_129 gabor_013 gabor_077 gabor_058_alt gabor_129 gabor_013_alt "2_52_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_1750_3000_2100_gabor_patch_orientation_077_058_129_013_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_013_framed blank blank blank blank fixation_cross_target_position_2_4 "2_52_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_013_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 64 292 292 399 125 1792 2992 2392 fixation_cross gabor_075 gabor_165 gabor_012 gabor_056 gabor_075_alt gabor_165 gabor_012_alt gabor_056 "2_53_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_UncuedRetriev_300_300_399_1800_3000_2400_gabor_patch_orientation_075_165_012_056_target_position_1_3_retrieval_position_2" gabor_circ gabor_165_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "2_53_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_165_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 2042 2992 2292 fixation_cross gabor_075 gabor_043 gabor_090 gabor_120 gabor_075 gabor_043 gabor_090_alt gabor_120_alt "2_54_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_2050_3000_2300_gabor_patch_orientation_075_043_090_120_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_165_framed blank blank blank blank fixation_cross_target_position_3_4 "2_54_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_165_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 1992 2992 2342 fixation_cross gabor_141 gabor_103 gabor_175 gabor_014 gabor_141 gabor_103_alt gabor_175 gabor_014_alt "2_55_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_2000_3000_2350_gabor_patch_orientation_141_103_175_014_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_014_framed blank blank blank blank fixation_cross_target_position_2_4 "2_55_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_014_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 2242 2992 1942 fixation_cross gabor_103 gabor_171 gabor_081 gabor_143 gabor_103 gabor_171_alt gabor_081_alt gabor_143 "2_56_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_2250_3000_1950_gabor_patch_orientation_103_171_081_143_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_031_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "2_56_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_031_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 2242 2992 2292 fixation_cross gabor_045 gabor_067 gabor_102 gabor_176 gabor_045_alt gabor_067 gabor_102_alt gabor_176 "2_57_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_2250_3000_2300_gabor_patch_orientation_045_067_102_176_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_102_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "2_57_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_102_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 63 292 292 399 125 1742 2992 1892 fixation_cross gabor_031 gabor_002 gabor_151 gabor_071 gabor_031_alt gabor_002 gabor_151_alt gabor_071 "2_58_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_UncuedRetriev_300_300_399_1750_3000_1900_gabor_patch_orientation_031_002_151_071_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_121_framed blank blank blank blank fixation_cross_target_position_1_3 "2_58_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_121_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 2192 2992 2042 fixation_cross gabor_170 gabor_018 gabor_155 gabor_126 gabor_170 gabor_018 gabor_155_alt gabor_126_alt "2_59_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_2200_3000_2050_gabor_patch_orientation_170_018_155_126_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_080_framed blank blank blank blank fixation_cross_target_position_3_4 "2_59_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_080_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 2142 2992 2042 fixation_cross gabor_035 gabor_059 gabor_020 gabor_147 gabor_035_alt gabor_059 gabor_020 gabor_147_alt "2_60_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_2150_3000_2050_gabor_patch_orientation_035_059_020_147_target_position_1_4_retrieval_position_1" gabor_174_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "2_60_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_174_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 64 292 292 399 125 2242 2992 2142 fixation_cross gabor_087 gabor_055 gabor_035 gabor_168 gabor_087_alt gabor_055 gabor_035_alt gabor_168 "2_61_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_UncuedRetriev_300_300_399_2250_3000_2150_gabor_patch_orientation_087_055_035_168_target_position_1_3_retrieval_position_2" gabor_circ gabor_055_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "2_61_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_055_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 1892 2992 2142 fixation_cross gabor_120 gabor_040 gabor_099 gabor_015 gabor_120_alt gabor_040_alt gabor_099 gabor_015 "2_62_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_2150_gabor_patch_orientation_120_040_099_015_target_position_1_2_retrieval_position_2" gabor_circ gabor_179_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "2_62_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_179_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 2142 2992 2292 fixation_cross gabor_037 gabor_147 gabor_060 gabor_165 gabor_037 gabor_147_alt gabor_060_alt gabor_165 "2_63_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_2150_3000_2300_gabor_patch_orientation_037_147_060_165_target_position_2_3_retrieval_position_2" gabor_circ gabor_147_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "2_63_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_147_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 2242 2992 2342 fixation_cross gabor_047 gabor_161 gabor_134 gabor_004 gabor_047_alt gabor_161_alt gabor_134 gabor_004 "2_64_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_2250_3000_2350_gabor_patch_orientation_047_161_134_004_target_position_1_2_retrieval_position_2" gabor_circ gabor_161_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "2_64_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_161_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 61 292 292 399 125 1792 2992 1992 fixation_cross gabor_146 gabor_178 gabor_131 gabor_017 gabor_146 gabor_178 gabor_131_alt gabor_017_alt "2_65_Encoding_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_300_300_399_1800_3000_2000_gabor_patch_orientation_146_178_131_017_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_062_framed blank blank blank blank fixation_cross_target_position_3_4 "2_65_Retrieval_Working_Memory_MEG_P6_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_062_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 1942 2992 1942 fixation_cross gabor_171 gabor_109 gabor_093 gabor_023 gabor_171 gabor_109_alt gabor_093 gabor_023_alt "2_66_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_1950_3000_1950_gabor_patch_orientation_171_109_093_023_target_position_2_4_retrieval_position_2" gabor_circ gabor_109_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "2_66_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_109_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 64 292 292 399 125 2092 2992 1892 fixation_cross gabor_010 gabor_145 gabor_078 gabor_123 gabor_010_alt gabor_145 gabor_078_alt gabor_123 "2_67_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_UncuedRetriev_300_300_399_2100_3000_1900_gabor_patch_orientation_010_145_078_123_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_123_framed blank blank blank blank fixation_cross_target_position_1_3 "2_67_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_123_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 2092 2992 2592 fixation_cross gabor_012 gabor_092 gabor_057 gabor_172 gabor_012_alt gabor_092 gabor_057_alt gabor_172 "2_68_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_2100_3000_2600_gabor_patch_orientation_012_092_057_172_target_position_1_3_retrieval_position_1" gabor_012_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "2_68_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_012_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 62 292 292 399 125 1992 2992 2242 fixation_cross gabor_164 gabor_124 gabor_093 gabor_051 gabor_164 gabor_124_alt gabor_093_alt gabor_051 "2_69_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_300_300_399_2000_3000_2250_gabor_patch_orientation_164_124_093_051_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_093_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "2_69_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_093_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
41 64 292 292 399 125 1742 2992 2092 fixation_cross gabor_146 gabor_169 gabor_116 gabor_040 gabor_146 gabor_169_alt gabor_116_alt gabor_040 "2_70_Encoding_Working_Memory_MEG_P6_RL_Salient_NoChange_UncuedRetriev_300_300_399_1750_3000_2100_gabor_patch_orientation_146_169_116_040_target_position_2_3_retrieval_position_1" gabor_146_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "2_70_Retrieval_Working_Memory_MEG_P6_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_146_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
};
# baselinePost (at the end of the session)
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
};
time = 0;
duration = 5000;
code = "BaselinePost";
port_code = 92;
}; |
16138ca3f31a9bb2968de97adeeaa62d2db3f8c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH1/EX1.7/Ex1_7.sce | 12e98edfa18bb9351b1e664336ee42be07f1567c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex1_7.sce | clear
//
//
//
//Variable declaration
d=0.2*10**-3 //distance between slits(m)
lamda=550*10**-9 //wavelength(m)
D=1 //distance of screen from slits(m)
//Calculation
beta1=lamda*D/d //fringe width(m)
//Result
printf("\n fringe width is %0.3f mm",beta1*10**3)
|
f1ad8285685259bedead39202edc30de5d5d7608 | 39c201c777151f939341e8f8150242bcde5a111b | /CH4/EX4.1/example1.sce | 6e82792c546e19edf8ebbfd05c3077d779cf8d14 | [] | no_license | nidhimj22/Scilab_Project- | 925a5883384736e79f1e600535461c6c9f06de40 | 4a9d1db96787ba0ea4e996349523a0b84bdacae3 | refs/heads/master | 2021-01-20T05:49:48.811688 | 2014-02-06T10:03:52 | 2014-02-06T10:03:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 944 | sce | example1.sce | // calculating of peak load voltage and dc load voltage
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 4-1, page 92
clear;clc; close;
// Given data
Vrms=10;// voltage of source in volts
Vd=0.7;// diode drop in volts
// Calculations
Vp(1)=Vrms/0.707;// peak source voltage in volts
// with an ideal diode peak load voltage = peak source voltage
Vp(2)=Vp(1);// Vp(2) is peak load voltage in volts
Vdc=Vp(2)/%pi;// dc voltage in volts
disp("Volts",Vp(2),"Peak voltage =")
disp("Volts",Vdc,"dc load voltage=")
// with second approximation
Vp(2)=Vp(1)-Vd;// peak load voltage in volts
Vdc=Vp(2)/%pi;
disp("Volts",Vp(2),"Peak voltage =")
disp("Volts",Vdc,"dc load voltage=")
// Result
// for an ideal diode
// peak load voltage is 14.1 volts
// dc load voltage is 4.49 volts
// with second approximation
// peak load voltage is 13.4 volts
// dc load voltage is 4.27 volts
|
87f2374b4a0dd687ad3081ebdc6a7cecf225094d | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH8/EX8.6/8_6.sce | 685fa4a227a64ee74aa4eb4de7fe4dd5acbf5b1f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 548 | sce | 8_6.sce | clear;
clc;
//Example - 8.6
//Page number - 292
printf("Example - 8.6 and Page number - 292\n\n");
//Given
COP = 4;//Coefficient of performance
P = 10;//[kW] - Work done on the cycle
//For reversed carnot cycle, COP = T_low/(T_high - T_low)
//ratio = (T_high/T_low),therefore
ratio = -1/(COP + 1);
// Refrigerating effect = (COP)*Work input, therefore refrigeration is given by
H = COP*P;//[kW]
//Maximum refrigearation in tons is given by
H_max = (H/3.517);
printf("The maximum refrigeration value is %f ton",H_max);
|
88f025334377771de7cb137d63255f07b9ee0201 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH12/EX12.7/Ex12_7.sce | 7549c79cdcd8d3ccdd6d87b387caba017d6971c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,394 | sce | Ex12_7.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex12_7.sce
clc;
clear;
z1=complex(8,6);
z2=complex(6,8);
z3=complex(4,-3);
R_YR=z1;
R_BY=z2;
R_RB=z3;
Vl=440;
printf("\n(a)Delta connected load of phase sequence RYB:")
theta1=0;
theta2=-120;
theta3=120;
V_YR=complex(Vl*cosd(theta1),Vl*sind(theta1));
V_BY=complex(Vl*cosd(theta2),Vl*sind(theta2));
V_RB=complex(Vl*cosd(theta3),Vl*sind(theta3));
I_YR=V_YR/z1;
I_BY=V_BY/z2;
I_RB=V_RB/z3;
I_YR_mag=sqrt(real(I_YR)^2+imag(I_YR)^2);
I_BY_mag=sqrt(real(I_BY)^2+imag(I_BY)^2);
I_RB_mag=sqrt(real(I_RB)^2+imag(I_RB)^2);
I_YR_angle=atand(imag(I_YR)/real(I_YR));
I_BY_angle=atand(imag(I_BY)/real(I_BY))-180;
I_RB_angle=atand(imag(I_RB)/real(I_RB))+180;
printf("\nPhase current= \tMagnitude\tAngle(deg) \n")
printf("\n\t Iyr in A \t %d \t %2.2f",I_YR_mag,I_YR_angle)
printf("\n\t Iby in A \t %d \t %2.2f",I_BY_mag,I_BY_angle)
printf("\n\t Irb in A \t %d \t %2.2f",I_RB_mag,I_RB_angle)
I_R=I_YR-I_RB;
I_Y=I_BY-I_YR;
I_B=I_RB-I_BY;
I_R_mag=sqrt(real(I_R)^2+imag(I_R)^2);
I_Y_mag=sqrt(real(I_Y)^2+imag(I_Y)^2);
I_B_mag=sqrt(real(I_B)^2+imag(I_B)^2);
I_R_angle=atand(imag(I_R)/real(I_R));
I_Y_angle=atand(imag(I_Y)/real(I_Y))+180;
I_B_angle=atand(imag(I_B)/real(I_B))+180;
printf("\nLine current= \tMagnitude\tAngle(deg) ")
printf("\n\t Ir in A \t %2.2f %2.2f",I_R_mag,I_R_angle)
printf("\n\t Iy in A \t %2.2f \t %2.2f",I_Y_mag,I_Y_angle)
printf("\n\t Ib in A \t %2.2f \t %2.2f",I_B_mag,I_B_angle)
W_YR=(I_YR_mag)^2*real(z1);
W_BY=(I_BY_mag)^2*real(z2);
W_RB=(I_RB_mag)^2*real(z3);
printf("\n Toatal power dissipated:\n")
printf("\n\t W_YR=%d W",W_YR)
printf("\n\t W_BY=%d W",W_BY)
printf("\n\t W_RB=%d W",W_RB)
printf("\n\n(b)Delta connected load of phase sequence RBY:")
theta1=0;
theta2=120;
theta3=-120;
V_YR=complex(Vl*cosd(theta1),Vl*sind(theta1));
V_BY=complex(Vl*cosd(theta2),Vl*sind(theta2));
V_RB=complex(Vl*cosd(theta3),Vl*sind(theta3));
I_YR=V_YR/z1;
I_BY=V_BY/z2;
I_RB=V_RB/z3;
I_YR_mag=sqrt(real(I_YR)^2+imag(I_YR)^2);
I_BY_mag=sqrt(real(I_BY)^2+imag(I_BY)^2);
I_RB_mag=sqrt(real(I_RB)^2+imag(I_RB)^2);
I_YR_angle=atand(imag(I_YR)/real(I_YR));
I_BY_angle=atand(imag(I_BY)/real(I_BY));
I_RB_angle=atand(imag(I_RB)/real(I_RB));
printf("\nPhase current= \tMagnitude\tAngle(deg) \n")
printf("\n\t Iyr in A \t %d \t %2.2f",I_YR_mag,I_YR_angle)
printf("\n\t Iby in A \t %d \t %2.2f",I_BY_mag,I_BY_angle)
printf("\n\t Irb in A \t %d \t %2.2f",I_RB_mag,I_RB_angle)
I_R=I_YR-I_RB;
I_Y=I_BY-I_YR;
I_B=I_RB-I_BY;
I_R_mag=sqrt(real(I_R)^2+imag(I_R)^2);
I_Y_mag=sqrt(real(I_Y)^2+imag(I_Y)^2);
I_B_mag=sqrt(real(I_B)^2+imag(I_B)^2);
I_R_angle=atand(imag(I_R)/real(I_R));
I_Y_angle=atand(imag(I_Y)/real(I_Y))+180;
I_B_angle=atand(imag(I_B)/real(I_B))-180;
printf("\nLine current= \tMagnitude\tAngle(deg) ")
printf("\n\t Ir in A \t %2.2f %2.2f",I_R_mag,I_R_angle)
printf("\n\t Iy in A \t %2.2f \t %2.2f",I_Y_mag,I_Y_angle)
printf("\n\t Ib in A \t %2.2f %2.2f",I_B_mag,I_B_angle)
W_YR=(I_YR_mag)^2*real(z1);
W_BY=(I_BY_mag)^2*real(z2);
W_RB=(I_RB_mag)^2*real(z3);
printf("\n Toatal power dissipated:\n")
printf("\n\t W_YR=%d W",W_YR)
printf("\n\t W_BY=%d W",W_BY)
printf("\n\t W_RB=%d W",W_RB)
|
b22fcb7fd51b432bca81e5a90cc7e8a58dc211ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH5/EX5.2/5_2.sce | 860ed67335a202fa23c5d1a4a7ed9aea4d3843ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 193 | sce | 5_2.sce | clc
//initialisations
t1=327//c
t2=47.6//c
c=30//cal/kg
l=6000//cal/kg
j=4.2//j/cal
//CALCULATIONS
h=c*(t1-t2)+l
v=sqrt(2*j*h)
//results
printf(' velocity of bullet= % 1f m/sec',v)
|
9bfc6f772563d05c735d2aed943804670d141375 | 449d555969bfd7befe906877abab098c6e63a0e8 | /866/CH16/EX16.13/16_13.sce | ff1341d6022f54475bc658c50904854361f2b7fd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 16_13.sce | clc
//initialisation of variables
W= -10 //KN/m
r= 5 //m
//CALCULATIONS
Rav= -W*2*r/2
Rbv= Rav
function[y]=conv(x)
y=125*(sin(x))^2*5*(sin(x))*5
endfunction
v=intg(0,%pi,conv)
function[y]=conk(x)
y=25*(sin(x))^2*5
endfunction
k=intg(0,%pi,conk)
Rbh= v/k
Rah= Rbh
//RESULTS
printf ('Rav= %.2f KN',Rav)
printf (' \n Rbv=%.2f KN',Rbv)
printf (' \n Rah=%.2f KN',Rah)
printf (' \n Rbh=%.2f KN',Rbh)
|
67a1b51681abafe831c71ddbeb501063ba048060 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH6/EX6.1/Exa6_1.sce | d7bb4307d0b341e7fd150fe97efa0cd01fa9995c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,225 | sce | Exa6_1.sce | //Exa 6.1
clc;
clear;
close;
//GIVEN DATA :
disp("Average No. of Km run/year = 20000 Km");
disp("No. of Km/litre of petrol = 9 Km");
disp("Therefore,");
disp("Petrol consumption/year = 20000/9 = 2222.2 litre");
disp("Cost/litre of petrol for the 1st year = Rs. 21 ");
disp("Cost/litre of petrol for the 2nd year = Rs. 21 + Re. 1 = Rs. 22 ");
disp("Cost/litre of petrol for the 3rd year = Rs. 22 + Re. 1 = Rs. 23 ");
disp("Cost/litre of petrol for the 4th year = Rs. 23 + Re. 1 = Rs. 24 ");
disp("Fuel expenditure for 1st year = 2222.2 * 21 = Rs. 46666.20");
disp("Fuel expenditure for 2nd year = 2222.2 * 22 = Rs. 48888.40");
disp("Fuel expenditure for 3rd year = 2222.2 * 23 = Rs. 51110.60");
disp("Fuel expenditure for 4th year = 2222.2 * 24 = Rs. 53332.80");
disp("The annual equal increment of the above expendiyure is Rs. 2222.20(G)");
A1=46666.20;//in Rs.
G=2222.20;//in Rs.
i=18;//in % per annum
n=4;//in years
A=A1+G*(((1+i/100)^n)-i*n/100-1)/(((i/100)*(1+i/100)^n)-i/100) ;
disp(A,"Annual equal amount spending for petrol in Rs. : ");
disp("This amoount is less than the annual rental value of Rs. 60000. Therefore, the company should continue to provide its own car to its executive. "); |
dfbb4c357a6144642c3f07d813cc6f62ed167e5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH15/EX15.23/example15_23.sce | 81e5fcd9d2276a4f9cfa6a084a4cd4dfd77e4935 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,056 | sce | example15_23.sce | clc
// Given that
l = 10e-10 // width of box containing electron in m
E = 9.664e-17 // energy of electron in J
M = 0.001 // mass of glass marble in kg
l_ = 0.2 // width of box containing marble in m
e = 1.6e-19 // charge on an electron in C
m = 9.1e-31 // mass of electron in kg
c = 3e8 // speed of light in m/sec
h = 6.62e-34 // Planck constant in J-sec
// Sample Problem 23 on page no. 15.33
printf("\n # PROBLEM 23 # \n")
printf("Standard formula used \n")
printf(" E = (n^2 * h^2) / (8 * m * L^2)) \n p_n = n*h/(2*pi) \n")
// For electron
n = 1 // for n=1
E1 = (n^2 * h^2) / (8 * m * l^2)
E2 = 2^2* E1
E3 = 3^2 * E1
// For glass marble
E1_ = h^2/(8*M*l_^2)
E2_ = 2^2 * E1_
E3_ = 3^2 *E1_
printf("\n Energy levels of electron \n For (n=1) is %e J.\n For (n=2) is %e J.\n For (n=3) is %e J.\n Energy levels of marble \n For (n=1) is %e J.\n For (n=2) is %e J.\n For (n=3) is %e J.",E1,E2,E3,E1_,E2_,E3_)
printf("\n It is clear that the levels in case of marble are very small and are nearly zero. So it is not possible to measure them experimentally.")
|
787a3a12d4065c1f0cb9de6fa86eda1b460fe542 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH12/EX12.9.b/solution12_9.sce | f219618a50cc8ccc46556183a89388f50abad604 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | solution12_9.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution12_9.sce')
//Obtain path of data file
datapath = path + filesep() + 'data12_9.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//For RIGHT SHOE
//Calculate the moment of the frictional force about the pivot Mf (N-mm)
Mf = mu * pmax * R * w * (4 * R * (cosd(theta1) - cosd(theta2)) - h * (cosd(2 * theta1) - cosd(2 * theta2)))/(4 * sind(fi))
//Calculate the moment of the normal force about the pivot Mn (N-mm)
Mn = pmax * R * w * h * (2 * (theta2 - theta1) * (%pi/180) - (sind(2 * theta2) - sind(2 * theta1)))/(4 * sind(fi))
//Calculate the actuating force P (N)
P = (Mn - Mf)/d1
//Calculate the torque absorbing capacity Mtr
Mtr = mu * R^2 * pmax * w * (cosd(theta1) - cosd(theta2))/sind(fi)
//For LEFT SHOE
//Assume the maximum intensity of pressure for LEFT SHOE to be 1 N/mm2 plmax
plmax = 1
//Calculate the moment of the frictional force about the pivot Mfl (N-mm)
Mlf = Mf * plmax/pmax
//Calculate the moment of the normal force about the pivot Mnl (N-mm)
Mln = Mn * plmax/pmax
//Calculate the actual maximum intensity of pressure plmax (N/mm2)
plmax = P * d1/(Mlf + Mln)
//Calculate the torque absorbing capacity Mtl (N-mm)
Mtl = Mtr * (plmax/pmax)
//Calculate the total torque absorbing capacity of the brake Mt (N-mm)
Mt = Mtr + Mtl
//Print results
printf("\nActuating force(P) = %f N\n",P)
printf("\nTorque absorbing capacity of the brake with 4 shoes(Mt) = %f N-mm\n",2*Mt)
|
519b8fad141b745ec4268587ba8a88caee84656c | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH4/EX4.9/4_9.sce | bf6cac0d8fb525974f3853514add936add42971c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | 4_9.sce | clear; clc; close;
R1 = 39*10^(3);
R2 = 3.9*10^(3);
Re = 1.5*10^(3);
Rc = 4*10^(3);
Vcc = 18;
Vbe = 0.7;
Beta = 70;
Rth = R1*R2/(R1+R2);
Eth = R2*Vcc/(R1+R2);
Ib = (Eth - Vbe)/(Rth + (Beta+1)*Re);
Icq = Beta*Ib;
Vceq = Vcc - Icq*(Rc+Re);
disp(Icq,'Collector current(Amperes) in :');
disp(Vceq,'Vce(Volts) is : ');
|
3cd817067747fbad72c1e82fb1f60a9f6c0f6c36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2504/CH9/EX9.3/9_3.sce | 78a1dc27840e8a32aa63225fe8d472a22f60eb9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 9_3.sce | clc
//initialisation of variables
clear
Re= 5
g= 32.2 //ft/sec^2
u= 2.34*10^-5 //lbf/ft sec
w= 62.4 //lbf/ft^3
v= 0.283 //ft/sec
Re1= 70
v1= 0.0374 //ft/sec
//CALCULATIONS
y= Re*u*g/(w*v)
y1= Re1*u*g/(w*v)
y2= Re*u*g/(w*v1)
y3= Re1*u*g/(w*v1)
//RESULTS
printf ('y = %.6f ft',y)
printf ('\n y = %.5f ft',y1)
printf ('\n y = %.5f ft',y2)
printf ('\n y = %.4f ft',y3)
|
a3cb597689614448fd506230ae220ac5f9aa109e | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH2/EX2.1cs/Casestudy2_1.sce | b3b9fbbfc86f0d4821378a2573bfc42b3cf9498e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | Casestudy2_1.sce | // Case Study:-Chapter 2 Page No.-47
// 1.Calculation of Average of numbers
N=10;sum1=0;count=0; //Initialization of variables
printf(" Enter ten numbers");
while(count<N)
number=scanf("%f"); //Reading number(using scanf() function)
sum1=sum1+number;
count=count+1;
end
average=sum1/N; //Avarage is calculated
printf(" N = %d Sum1 = %f",N,sum1 );
printf(" Average = %f",average );
|
f428c37935f8f686b95f61dd5c1e4ed6b93b42b3 | 9d0ab5efb08cc05ae362e8a981bdf5fa2debd7f6 | /02/Add32.tst | 5c84da6a6a528d68dbf4af657539e54f195f7c99 | [] | no_license | nandha1nks/Nand2Tetris | bca96e324a1ff7ed425e33a37e3b7579d38fd29f | 82769b7a4e69b11c0bacd100991dfdf2b36a5f1d | refs/heads/master | 2023-01-02T11:57:25.843133 | 2020-10-29T10:10:27 | 2020-10-29T10:10:27 | 295,441,600 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,054 | tst | Add32.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/02/Add16.tst
load Add32.hdl,
output-file Add32.out,
//compare-to Add32.cmp,
output-list a1%B1.16.1 a0%B1.16.1 b1%B1.16.1 b0%B1.16.1 out1%B1.16.1 out0%B1.16.1;
set a0 %B0000000000000000,
set b0 %B0000000000000000,
set a1 %B0000000000000000,
set b1 %B0000000000000000,
eval,
output;
set a0 %B0000000000000000,
set b0 %B1111111111111111,
set b1 %B0000000000000000,
set a1 %B1111111111111111,
eval,
output;
set a0 %B1111111111111111,
set b0 %B1111111111111111,
set a1 %B0000000000000000,
set b1 %B1111111111111111,
eval,
output;
set a0 %B1010101010101010,
set b0 %B0101010101010101,
set b1 %B1010101010101010,
set a1 %B0101010101010101,
eval,
output;
set a0 %B0011110011000011,
set b0 %B0000111111110000,
set a1 %B1010101010101010,
set b1 %B0101010101010101,
eval,
output;
set a0 %B0001001000110100,
set b0 %B1001100001110110,
set a1 %B1010101010101010,
set b1 %B0101010101010101,
eval,
output;
|
5f5dc60f728cb9e813ca0ca2fb7ecde60811fb53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH11/EX11.16/Ex11_16.sce | 08892dcc2c4458653e97963797a399f1bcf55991 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 779 | sce | Ex11_16.sce | clear;
clc;
//Example 11.16
Iq=0.2;
Ic1=Iq;
Icb=1;
R4=10;
R3=0.2;
b=100;
Va=100;
Vt=0.026;
Ri=2*(1+b)*b*Vt/Iq;
Ri=Ri*0.001;//MOhm
printf('\ninput resistance=%.2f MOhm\n',Ri)
R11=b*Vt/Iq;
printf('\nresistance R11=%.2f KOhm\n',R11)
Re=R11*R3/(R11+R3);
printf('\nRe=%.2f KOhm\n',Re)
gm11=Iq/Vt;
printf('\ngm11=%.3f mA/V\n',gm11)
ro11=Va/Iq;
printf('\nro11 =%.2fKOhm\n',ro11)
Rc11=ro11*(1+gm11*Re);
Rc11=Rc11*0.001;//MOhm
printf('\nRc11=%.2f MOhm\n',Rc11)
r8=b*Vt/Icb;
printf('\nresistance=%.2fKOhm\n',r8)
//answer of following given in the book is wrong
Rb8=r8+(1+b)*R4;
Rb8=Rb8*0.001;//MOhm
printf('\nRb8 =%.2fMOhm\n',Rb8)
Rl7=Rc11*Rb8/(Rc11+Rb8);
printf('\nRl7=%.2f MOhm\n',Rl7)
Av=Iq*Rl7/(2*Vt);
printf('\nsmall signal voltage gain=%.2f\n',Av)
|
f8b8a31e0accabef084c56870b315db72dfec565 | 449d555969bfd7befe906877abab098c6e63a0e8 | /527/CH6/EX6.14/6_14exam.sce | 24e6cf8020812f1412192c4c03ba767d49589f8b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 313 | sce | 6_14exam.sce | //Engineering and Chemical Thermodynamics
//Example 6.14:
//Page 291
clear ; clc ;
disp(" Example: 6.14 Page no : 291") ;
disp(" The problem contains only theory and different substitutions.There is no numerical part involved. Users can go through the book to obtain the required expression.") |
a7e22e20e2d72a99b8bf7b836c9b5a96229dc6db | 449d555969bfd7befe906877abab098c6e63a0e8 | /992/CH1/EX1.4/Ex1_4.sce | 257fde00e5c58dac0c302e8c79d1338562508df6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 249 | sce | Ex1_4.sce |
//Exa:1.4
clc;
clear;
close;
//Given:
b_w=200000;//bandwidth in hertz
T=302;//temperature in kelvin
k=1.36*10^-23;//constant
R=1000//ohms
g=1000//Voltage gain
V_n=sqrt(4*k*T*b_w*R) * 10^6;
printf("\n\n\t noise voltage = %f uV ",V_n);
|
79c1a1daf074dc886260d3f0fa17051ed2df2ea9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH9/EX9.5/Ex9_5.sce | 8f4de96bc4c94e490d23ef1f9bf27f3b7256075e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sce | Ex9_5.sce | //=========================================================================
// chapter 9 example 5
clc;
clear;
// Variable declaration
dr = 12.8 // original diameter of steel wire in mm
df = 10.7; // diameter at fracture in mm
// Calculations
percent_red = (((%pi*dr*dr) - (%pi*df*df))/(%pi*dr*dr))*100;
// Result
mprintf('Percent reduction in area = %3.2f percent',percent_red);
//========================================================================
|
a3b0bb3b18265f28e8fbad412d213f29fd168a52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH28/EX28.11/Ex28_11.sce | 03ccc64a308f318c2ee9c6bcff75859f336122ed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,389 | sce | Ex28_11.sce | //chapter28
//example28.11
//page608
printf("1) Y = ( A + B + C ) . ( A + B ) \n")
printf(" Y = A . A + A . B + B . A + B . B + C . A + C . B \n")
printf(" Using A . A = A we get \n")
printf(" Y = A + A . B + A . B + B + A . C + B . C \n")
printf(" Using A . B + A . B = A . B we get \n")
printf(" Y = A + A . B + B + A . C + B . C \n")
printf(" Using A + A . B = A we get \n")
printf(" Y = A + B + A . C + B . C \n")
printf(" = A . ( 1 + C ) + B . ( 1 + C ) \n")
printf(" Using 1 + C = 1 we get \n")
printf(" Y = A . 1 + B . 1 \n")
printf(" Y = A + B \n \n")
printf("2) Y = A . B + A . B . C + A . B . C` \n")
printf(" = A . B + A . B ( C + C` ) \n")
printf(" Since C + C` = 1 we get \n")
printf(" Y = A . B + A . B \n")
printf(" = A . B \n \n")
printf("3) Y = 1 + A . ( B . C` + B . C + B` . C`) + A . B` . C + A . C \n")
printf(" Using 1 + A = 1 and 1 + A . ( B . C` + B . C + ( B . C )` ) = 1 we get \n")
printf(" Y = 1 + A . B` . C + A . C \n")
printf(" Y = 1 + A . C \n")
printf(" Y = 1 \n \n")
printf("4) Y = ( ( A + B` + C ) + ( B + C` ))` \n")
printf(" By De Morgan theorem \n")
printf(" Y = ( A + B` + C )` . ( B + C` )` \n")
printf(" By De Morgan theorem \n")
printf(" Y = ( A` . B . C` ) . ( B` . C ) \n")
printf(" Since B . B` = 0 and C . C` = 0 we get \n")
printf(" Y = 0 \n")
|
56cf0c3bf42e8a2532aea72bdf810176145b2f00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH4/EX4.6/25.sce | 3de31da00a2e40fa2c10cc1342f9fd1679e71f80 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 25.sce | clc
p=1.1; //bar
x=0.95;
c_pw=4.18;
m1=90; //kg
m2=5.25; //kg
T1=25; //0C
T2=40; //0C
m=m1+m2;
h_f=428.8; //kJ/kg
h_fg= 2250.8; //kJ/kg
m_s= [m*c_pw*(T2-T1)]/[(h_f + x*h_fg) - c_pw*T2];
disp("Mass of steam condensed=")
disp(m_s)
disp("kg") |
a8550b3294c8da7c9ea78a8cc8e395f52bcffdf7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH3/EX3.5/Ex3_5.sce | 16089b0daf41699f80a66a0a1dd5d1f3b2aebe07 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 397 | sce | Ex3_5.sce | clc
// Variable Initiallization
Vm=400 //Supply Voltage In Volt
Ea1= 220// Voltage Of Motor In Volt
Ia=200 //Line Current In Ampere
Ra=0.05 //Armature Resistance In Ohm
N1=750 //Speed Of Motor In rpm
N2=600 //Speed Of Motor In rpm
//solution
Eb1=Ea1-(Ia*Ra)
Eb2=(N2/N1)*Eb1
Ea2=Eb2+(Ia*Ra)
A=acosd((Ea2*%pi)/(Vm*3*sqrt(2)))
printf('\n\n The Firing Angle of Rectifier=%0.1f\n\n',A)
|
93e6bd7f1c3ad4086b04c3080c392039a795a82e | e00d793a546a9e3deb32b7ca5e23bb1f99f29b0a | /Livre_ECE_ecrits/2018/sigma.sci | d3b04ab268d74349fc77d4b35441197c90a7dd4e | [] | no_license | RoxaneDuroux/ECE2 | 295459a2f2d26fdecd4df25027e6f2abf96b869a | e2ca87258179cde20cd104835d2f04e7377eed3c | refs/heads/Roxane-branch | 2020-07-07T20:18:17.558174 | 2019-08-20T22:44:11 | 2019-08-20T22:44:11 | 203,446,061 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sci | sigma.sci | function s = sigma(x,n,alpha,lambda)
N = 10000;
Y = zeros(1,N);
for k=1:N
X = simulX(n-1,alpha,lambda);
Y(k) = max(X);
end
E = sum(Y(Y<=x))/N;
P = sum(Y<=x)/N;
s = E/P
endfunction
|
946421c702b57d9d6b152fd8630ccdf433da368a | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-TimeSeries/FLGARCHpqUdt-NZ-01.tst | 8a8b06f8de0b92d455e37adfa800f0f8ac6eae6d | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,873 | tst | FLGARCHpqUdt-NZ-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Teradata
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-- and may be covered by U.S. and Foreign Patents, patents in process, and are protected by trade
-- secret or copyright law. Dissemination of this information or reproduction of this material is
-- strictly forbidden unless prior written permission is obtained from Fuzzy Logix, LLC.
--
--
-- Functional Test Specifications:
--
-- Test Category: Time Series Functions
--
-- Test Unit Number: FLGARCHpqUdt-NZ-01
--
-- Name(s): FLGARCHpqUdt
--
-- Description: Calculates the coefficients of the generalized autoregressive conditional heteroskedasticity (GARCH) model.
--
-- Applications:
--
-- Signature: FLGARCHpqUdt (pGroupID INTEGER,
-- pQ INTEGER,
-- pp INTEGER,
-- pValueType VARCHAR(1),
-- pValue DOUBLE PRECISION)
--
-- Parameters: See Documentation
--
-- Return value: Table
--
-- Last Updated: 08-02-2016
--
-- Author: <Ankit.Mahato@fuzzyl.com>
--
-- BEGIN: TEST SCRIPT
---- Table used for GARCHpqUdt
DROP TABLE tblGARCHTest;
CREATE TABLE tblGARCHTest(
GroupID BIGINT,
ObsID BIGINT,
NumVal DOUBLE PRECISION,
P INTEGER,
Q INTEGER)
DISTRIBUTE ON (GroupID);
---- BEGIN: NEGATIVE TEST(s)
-- Case 1 Invalid parameters
---- Case 1a Arg#2 <= 0
SELECT a.*
FROM(SELECT 1 AS GroupID,
a.id,
a.stockreturn,
0 AS q,
1 AS p,
'R' AS value_type,
NVL(LAG(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS end_flag
FROM tblbac_return a
) AS z,
TABLE (FLGARCHpqUdt(z.GroupID,
z.q,
z.p,
z.value_type,
z.stockreturn,
z.begin_flag,
z.end_flag)) AS a
ORDER BY 1;
-- Case 1b Arg#3 < 0
SELECT a.*
FROM(SELECT 1 AS GroupID,
a.id,
a.stockreturn,
1 AS q,
-1 AS p,
'R' AS value_type,
NVL(LAG(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS end_flag
FROM tblbac_return a
) AS z,
TABLE (FLGARCHpqUdt(z.GroupID,
z.q,
z.p,
z.value_type,
z.stockreturn,
z.begin_flag,
z.end_flag)) AS a
ORDER BY 1;
---- Case 1c Arg#4 != 'R' or 'P'
SELECT a.*
FROM(SELECT 1 AS GroupID,
a.id,
a.stockreturn,
1 AS q,
1 AS p,
'S' AS value_type,
NVL(LAG(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS end_flag
FROM tblbac_return a
) AS z,
TABLE (FLGARCHpqUdt(z.GroupID,
z.q,
z.p,
z.value_type,
z.stockreturn,
z.begin_flag,
z.end_flag)) AS a
ORDER BY 1;
-- Case 2 Extreme parameters
---- Case 2a Arg#2 >= Num Of Observations
SELECT a.*
FROM(SELECT 1 AS GroupID,
a.id,
a.stockreturn,
COUNT(id) OVER (PARTITION BY groupid) AS q,
0 AS p,
'R' AS value_type,
NVL(LAG(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS end_flag
FROM tblbac_return a
) AS z,
TABLE (FLGARCHpqUdt(z.GroupID,
z.q,
z.p,
z.value_type,
z.stockreturn,
z.begin_flag,
z.end_flag)) AS a
ORDER BY 1;
---- Case 2b Arg#3 >= Num Of Observations
SELECT a.*
FROM(SELECT 1 AS GroupID,
a.id,
a.stockreturn,
1 AS q,
COUNT(id) OVER (PARTITION BY groupid) AS p,
'R' AS value_type,
NVL(LAG(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS end_flag
FROM tblbac_return a
) AS z,
TABLE (FLGARCHpqUdt(z.GroupID,
z.q,
z.p,
z.value_type,
z.stockreturn,
z.begin_flag,
z.end_flag)) AS a
ORDER BY 1;
---- Case 2c Arg#2 + Arg#3 >= Num Of Observations
SELECT a.*
FROM(SELECT 1 AS GroupID,
a.id,
a.stockreturn,
COUNT(id) OVER (PARTITION BY groupid)/2 + 1 AS q,
COUNT(id) OVER (PARTITION BY groupid)/2 AS p,
'R' AS value_type,
NVL(LAG(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS end_flag
FROM tblbac_return a
) AS z,
TABLE (FLGARCHpqUdt(z.GroupID,
z.q,
z.p,
z.value_type,
z.stockreturn,
z.begin_flag,
z.end_flag)) AS a
ORDER BY 1;
-- Case 3 NULL check
---- Case 3a Mixed NULL Arg#5
SELECT a.*
FROM(SELECT 1 AS GroupID,
a.id,
CASE WHEN id % 2 = 0 THEN NULL ELSE a.stockreturn END AS stockreturn,
1 AS q,
1 AS p,
'R' AS value_type,
NVL(LAG(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS end_flag
FROM tblbac_return a
) AS z,
TABLE (FLGARCHpqUdt(z.GroupID,
z.q,
z.p,
z.value_type,
z.stockreturn,
z.begin_flag,
z.end_flag)) AS a;
---- Case 3b NULL Arg#5
SELECT a.*
FROM(SELECT 1 AS GroupID,
a.id,
NULL AS stockreturn,
1 AS q,
1 AS p,
'R' AS value_type,
NVL(LAG(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS end_flag
FROM tblbac_return a
) AS z,
TABLE (FLGARCHpqUdt(z.GroupID,
z.q,
z.p,
z.value_type,
z.stockreturn,
z.begin_flag,
z.end_flag)) AS a;
---- Case 3c NULL Arg#1
SELECT a.*
FROM(SELECT NULL AS GroupID,
a.id,
a.stockreturn,
1 AS q,
1 AS p,
'R' AS value_type,
NVL(LAG(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS end_flag
FROM tblbac_return a
) AS z,
TABLE (FLGARCHpqUdt(z.GroupID,
z.q,
z.p,
z.value_type,
z.stockreturn,
z.begin_flag,
z.end_flag)) AS a;
---- Case 3d NULL Arg#2
SELECT a.*
FROM(SELECT 1 AS GroupID,
a.id,
a.stockreturn,
NULL AS q,
1 AS p,
'R' AS value_type,
NVL(LAG(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS end_flag
FROM tblbac_return a
) AS z,
TABLE (FLGARCHpqUdt(z.GroupID,
z.q,
z.p,
z.value_type,
z.stockreturn,
z.begin_flag,
z.end_flag)) AS a;
---- Case 3e NULL Arg#3
SELECT a.*
FROM(SELECT 1 AS GroupID,
a.id,
a.stockreturn,
1 AS q,
NULL AS p,
'R' AS value_type,
NVL(LAG(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS end_flag
FROM tblbac_return a
) AS z,
TABLE (FLGARCHpqUdt(z.GroupID,
z.q,
z.p,
z.value_type,
z.stockreturn,
z.begin_flag,
z.end_flag)) AS a;
-- Case 4 Constant Arg#5
SELECT a.*
FROM(SELECT 1 AS GroupID,
a.id,
1.0 AS stockreturn,
1 AS q,
1 AS p,
'R' AS value_type,
NVL(LAG(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS end_flag
FROM tblbac_return a
) AS z,
TABLE (FLGARCHpqUdt(z.GroupID,
z.q,
z.p,
z.value_type,
z.stockreturn,
z.begin_flag,
z.end_flag)) AS a;
---- END: NEGATIVE TEST(s)
---- BEGIN: POSITIVE TEST(s)
-- Test with normal and extreme values
-- Case 1 Query example in user manual
SELECT a.*
FROM(SELECT 1 AS GroupID,
a.id,
a.stockreturn,
1 AS q,
1 AS p,
'R' AS value_type,
NVL(LAG(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS end_flag
FROM tblbac_return a
) AS z,
TABLE (FLGARCHpqUdt(z.GroupID,
z.q,
z.p,
z.value_type,
z.stockreturn,
z.begin_flag,
z.end_flag)) AS a;
-- Case 2 Different Arg#4
SELECT a.*
FROM(SELECT 1 AS GroupID,
a.id,
a.stockprice,
1 AS q,
1 AS p,
'P' AS value_type,
NVL(LAG(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, id), 1) AS end_flag
FROM tblbac a
) AS z,
TABLE (FLGARCHpqUdt(z.GroupID,
z.q,
z.p,
z.value_type,
z.stockprice,
z.begin_flag,
z.end_flag)) AS a;
-- Case 3 Empty table
TRUNCATE TABLE tblGARCHTest;
SELECT a.*
FROM(SELECT a.GroupID,
a.obsid,
a.numval,
a.q,
a.p,
'R' AS value_type,
NVL(LAG(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, obsid), 1) AS begin_flag,
NVL(LEAD(0) OVER (PARTITION BY GroupID ORDER BY
GroupID, obsid), 1) AS end_flag
FROM tblGARCHTest a
) AS z,
TABLE (FLGARCHpqUdt(z.GroupID,
z.q,
z.p,
z.value_type,
z.numval,
z.begin_flag,
z.end_flag)) AS a;
---DROP the test table
DROP TABLE tblGARCHTest;
-- END: POSITIIVE TEST(s)
-- END: TEST SCRIPT
|
47e18364921e99a087492ce37daa34d627c18cda | 449d555969bfd7befe906877abab098c6e63a0e8 | /527/CH3/EX3.8/3_8exam.sce | 21cc0435abdf2bf0a7c6bcf1812ac2333045fd5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 498 | sce | 3_8exam.sce | //Engineering and Chemical Thermodynamics
//Example 3.8
//Page no :129
clear ; clc ;
//Given
A = 3.355 ; // from table
B = 0.575 * 10^-3 ; // from table
D = -0.016 * 10^5 ; // from table
R = 8.314 ;
P1 = 1 ; //[bar]
P2 = 0.5 ; //[bar]
function y=f(T),y = R * (A * log(T) + B * T + D / (2 * T^2)) ;
endfunction ;
S1 = f(373) - f(298) ;
S2 = R * log(P1 / P2) ;
del_S = S1 - S2 ;
disp(" Example: 3.8 Page no : 129") ;
printf('\n Entropy change = %.2f J/(mol K )',del_S); |
d58ed02130a32d3c199a171e7cacefc5c17db07d | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH11/EX11.1/Example11_1.sce | 3eee34e751eee5484ba7490c9601cd6e73407c6d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 609 | sce | Example11_1.sce | //Given that
t = poly(0, 't')
A = -1.00-0.600*t+0.250*t^2
//Sample Problem 11-1a
printf("**Sample Problem 11-1a**\n")
Ts = [-3:0.5:6]
As = horner(A, Ts)
xset('window', 1)
xtitle( 'angular variable for the disk v/s time', 'time(sec)', 'Y-axis')
plot(Ts, As, 'm-o')
//Sample Problem 11-1b
printf("\n**Sample Problem 11-1b**\n")
To = roots(derivat(A))
printf("At t=%fsec, theta approaches its minimum value equal to %f\n", To, horner(A, To))
//Sample Problem 11-1c
printf("\n**Sample Problem 11-1c**\n")
Os = horner(derivat(A), Ts)
plot(Ts, Os, 'r-+')
legend('theta(rad)', 'omega(rad/s)') |
e0ef6fa0ab0820d06ecdec91f1d236a1e7367b7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH7/EX7.1/7_01.sce | 3b1f6317fe5d4ffec6024b95e6de8a94942d8c1d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 391 | sce | 7_01.sce | //Example No. 7_01
//Elimination Process
//Pg No. 211
clear ; close ; clc ;
A = [3 2 1 10; 2 3 2 14 ; 1 2 3 14];
A(2,:) = A(2,:) - A(1,:)*A(2,1)/A(1,1)
A(3,:) = A(3,:) - A(1,:)*A(3,1)/A(1,1)
disp(A)
A(3,:) = A(3,:) - A(2,:)*A(3,2)/A(2,2)
disp(A)
z = A(3,4)/A(3,3)
y = (A(2,4) - A(2,3)*z)/A(2,2)
x = (A(1,4) - A(1,2)*y - A(1,3)*z)/A(1,1)
disp(x,'x = ',y,'y = ',z,'z = ') |
e9508a5614f731c3db027f38172294ef13533c83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH10/EX10.2/Ex10_2.sce | 92b033d02db55961a778ee42f6b993ad5ace0713 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex10_2.sce | clear;
clc;
//Example 10.2
V1=5;
V2=-5;
R1=9.3;
b=50;
Vbe=0.7;
Va=80;
Iref=(V1-Vbe-V2)/R1;
printf('\nreference current =%.3fmA\n',Iref)
Io=Iref/(1+2/b);
printf('\noutput current=%.2fmA\n',Io)
ro=Va/Io;
printf('\nsmall signal output resistance=%.2f KOhm\n',ro)
//dIo=dVce2/ro
Vce2=0.7;
dIo=(V1-Vce2)/ro;
printf('\nchange in load current=%.3f mA\n',dIo)
x=dIo/Io;
x=x*100;
printf('\npercent change in output current=%.2f \n',x)
|
3dd2d6579c1a8974184d1c48b392a5a7bb3592e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3731/CH6/EX6.3/Ex6_3.sce | c7b9ab5382756ed226b0228a9ab3e9ebf1942439 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,171 | sce | Ex6_3.sce | //Chapter 6:Induction Motor Drives
//Example 3
clc;
//Variable Initialization
//Ratings of the star connected Induction motor
f=50 // frequency in HZ
Vl=400 // line voltage in V
P=6 // number of poles
//Parameters referred to the stator
Xr_=2 // rotor winding reactance in ohm
Xs=Xr_ // stator winding reactance in ohm
Rr_=1 // resistance of the rotor windings in ohm
Rs=Rr_ // resistance of the stator windings in ohm
//Solution
Ns=120*f/P //synchronous speed in rpm
Wms=2*%pi*Ns/60
//(i)
Sm=-Rr_/sqrt(Rs**2+(Xs+Xr_)**2) //slip at maximum torque
x=sqrt((Rs+Rr_/Sm)**2+(Xs+Xr_)**2)
Ir_=(Vl/sqrt(3))/x //current at maximum torque
Tmax=(1/Wms)*3*Ir_**2*Rr_/Sm //maximum torque
N=(1-Sm)*Ns //range of speed
//(ii)an overhauling torque of 100Nm
Tl=100 //overhauling torque in Nm
// Tl=(3/Wms)*(Vl**2*Rr_/s)/y
// where y=(Rs+Rr_/s)**2+(Xs+Xr_)**2
a=(1/Wms)*(Vl**2*Rr_)/(-Tl) //a=s*(Rs+Rr_/s)**2+(Xs+Xr_)**2
a = 17
b = 17.3
c = 1
//Discriminant
d = (b**2) - (4*a*c)
// find two solutions
s1 = (-b-sqrt(d))/(2*a)
s2 = (-b+sqrt(d))/(2*a)
N2=(1-s2)*Ns //motor speed and we neglect s1
//slight difference in the answer due to accuracy
//(iii)when a capacitive reactance of 2 ohm is inserted in each phase stator
Xc=2 //reactance of the capacitor in ohms
Sm=-Rr_/sqrt(Rs**2+(Xs+Xr_-Xc)**2) //slip at maximum torque
x=sqrt((Rs+Rr_/Sm)**2+(Xs+Xr_-Xc)**2)
Ir_=(Vl/sqrt(3))/x //current at maximum torque
Tmax_=(1/Wms)*3*Ir_**2*Rr_/Sm //maximum overhauling torque with capacitor
ratio=Tmax_/Tmax
//Results
mprintf("(i)Maximum overhauling torque that the motor can hold is:%.1f N-m",abs(Tmax))
mprintf(" \nRange of speed is from %d to %d rpm\n",Ns,abs(N))
mprintf("\n(ii)Now s*(1+1/s)**2+16s=%d",a)
mprintf("\n Or 17s**s+17.3s+1=0")
mprintf("\nThe solutions for s are %.3f and %.3f\n",s1,s2)
mprintf("\nTherefore Motor speed is:%d rpm\n",N2)
//Note :There is a slight difference in the answer due to the decimal place"
mprintf("\n(iii) Ratio of maximum torque with capacitor and to maximum torque without capacitor is:%.2f",ratio)
|
78d190e3c379857ba7759567608da702edb887d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3422/CH6/EX6.7/Ex6_7.sce | b702292420dce05c086fe2787c25eb05c10a053f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | Ex6_7.sce | //Example 6.7, page 138
clc;
v1=400/sqrt(3)//in v
ws=(2*%pi*1000)/60//angular f
x=1//resistance in ohm
T_max=(3*v1^2)/(ws*2*x)
//disp(T_max)
j=10//in kg-m2
s1=.05
s_maxT=0.2
a=(1.95^2-1)/(2*s_maxT)
temp=a+(.2*log(1.95))
r=((10*ws)/(2*T_max))*(temp)
//disp(r)
Extra_R=r-(.2)
a=(1.95^2-1)/(2*1.45)
temp=a+(1.45*log(1.95))
t=((10*ws)/(2*T_max))*(temp)
//disp(t)
printf("Minimum time to bring rotor to rest is %f s",t) |
1ddcf91f7cba7239d182bbee42e36d2632d7503e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH32/EX32.28/Ex32_28.sce | c7302529720f1c3b6859d32f0450623f4dbff49a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,357 | sce | Ex32_28.sce | // Example 32_28
clc;funcprot(0);
//Given data
T=[0 6 10 12 16 20 22 24];// Time in hours
L=[30 100 110 60 120 100 60];// Load in MW
// Calculation
t=[0 6 6 10 10 12 12 16 16 20 20 22 22 24];// Time in hours for load curve
l=[30 30 100 100 110 110 60 60 120 120 100 100 60 60];// Load in MW for load curve
subplot(2,1,1);
xlabel('Time in hrs');
ylabel('Load(MW)');
plot(t',l','b');
xtitle('(a)Load curve');
L_a=((L(1)*(T(2)-T(1)))+(L(2)*(T(3)-T(2)))+(L(3)*(T(4)-T(3)))+(L(4)*(T(5)-T(4)))+(L(5)*(T(6)-T(5)))+(L(6)*(T(7)-T(6)))+(L(7)*(T(8)-T(7))))/24;// Averge load in MW
L_max=L(5);// Maximum load in MW
LF=L_a/L_max;// Load factor
T_p1=((T(6)-T(5))/24)*100;// % Time
T_p2=T_p1+((T(4)-T(3))/24)*100;// % Time
T_p3=T_p2+(((T(3)-T(2))+(T(7)-T(6)))/24)*100;// % Time
T_p4=T_p3+(((T(8)-T(7))+(T(5)-T(4)))/24)*100;// % Time
T_p5=T_p4+((T(2)-T(1))/24)*100;// % Time
T_p=[0 0 T_p1 T_p1 T_p2 T_p2 T_p3 T_p3 T_p4 T_p4 T_p5];// % Time for load duration curve
L=[0 120 120 110 110 100 100 60 60 30 30];// Load in MW for load duration curve
L_avg=[L_a L_a L_a L_a L_a L_a L_a L_a L_a L_a L_a];// Averge load in MW for plot
subplot(2,1,2);
xlabel('% Time');
ylabel('Load(MW)');
plot(T_p',L','b',T_p',L_avg','r');
xtitle('(b)Load duration curve');
legend('Load curve','AL');
printf('\nAverage load=%0.2f MW \nLoad factor=%0.3f',L_a,LF);
|
5095b5563d5bac23f27b6932079e588242dbe6aa | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/scicos/do_copy.sci | bddaf5aa2c53ad101036e9edcd126f4e3a71ac07 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 1,021 | sci | do_copy.sci | function [x,needcompile]=do_copy(x,needcompile)
while %t
[btn,xc,yc,win]=xclick();
if win==curwin then
[n,pt]=getmenu(datam,[xc,yc])
if n>0 then n=resume(n),end
end
kc=find(win==windows(:,2))
if kc==[] then
x_message('This window is not an active palette')
k=[];break
elseif windows(kc,1)<0 then //click dans une palette
kpal=-windows(kc,1)
palette=objs(kpal)
k=getblock(palette,[xc;yc])
if k<>[] then o=palette(k),break,end
elseif win==curwin then //click dans la fenetre courante
k=getblock(x,[xc;yc])
if k<>[] then
o=x(k);graphics=o(2)
for kk=5:8
// mark port disconnected
graphics(kk)=0*graphics(kk)
end
o(2)=graphics
break,
end
else
x_message('This window is not an active palette')
k=[];break
end
end
if k<>[] then
xset('window',curwin);
[btn,xc,yc]=xclick()
xy=gridpoint([xc,yc]);
geom=o(2);geom(1)=xy;o(2)=geom;
drawobj(o)
if pixmap then xset('wshow'),end
x(size(x)+1)=o
needcompile=%t
end
|
3180c3386557f0b99a29c857dab5d7ea62ecfca6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/DEPENDENCIES/degree_rad.sci | 66d25534c33914ba1b17d37102fb226113a560b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sci | degree_rad.sci | //degrees to radian conversion
function [radians] = dtor(degrees)
radians = degrees*(%pi/180);
endfunction
//radian to degrees conversion
function [degrees] = rtod(radian)
degrees = radian*(180/%pi);
endfunction |
b6763c0ce2a45705ad8cc9b4909d657c62e56f23 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Engineering_Thermodynamics_S._S._Khandare_2144.zip/Engineering_Thermodynamics_S._S._Khandare_2144/CH1/EX1.1/ex1_1.sce | 07c271abbaaa5d04b0ff50f7e813db41cd55d07d | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | ex1_1.sce | errcatch(-1,"stop");mode(2);// Exa 1.1
;
;
// Given data
P_m = 760;// pressure of mercury in mm
P_m_bar = P_m/750;// in bar
P_W = 0.006867;// pressure of water in bar
P = P_m_bar+P_W;// in bar
disp(P,"The absolute pressure of gas in bar is");
exit();
|
dc9e6df47aa235c22003ef226469f2cbaf2037d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH7/EX7.10.6/Example_7_10_6.sce | 5885a405302953baacf8147c4c8edd17a3227084 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 621 | sce | Example_7_10_6.sce | // Example 7.10.6 page 7.55
clc;
clear;
h=6.626d-34; //plank's constant
c=3d8; //speed of light
q=1.602d-19; //charge of electron
P0=0.5d-6; //incident optical power(assumption)
lamda=1.5d-6; //wavelength
M=20; //Multiplication factor
R=0.6; //Responsivity
eta=(R*h*c)/(q*lamda); //computing quantum efficiency
Ip=P0*R; //computing photocurrent
I=M*Ip*10^6; //computing output current
printf("\nQuantum efficiency is %.3f micrometer.\nOutput current %d microAmpere.",eta,I);
//answer of quantum efficiency in the book is given as 0.495, deviation of 0.001.
|
ed9132b78165aaf5e5062d0c83305807ee3eda83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH1/EX1.30/Example1_30.sce | 00ed3306d46d06a56e16bb9083711c5bbacf8ddc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | Example1_30.sce | //Example 1.30
clc
disp("(i) Voltage gain with feedback A_f = A_v/D")
d=1+(0.02*100)
format(2)
disp(d,"Where, D = 1 + beta*A_v =")
avf=100/3
format(6)
disp(avf,"Therefore, A_vf =")
vf=0.02*33.33*40
disp(vf,"(ii) Feedback voltage V_f(in mV) = beta*Vo = beta*A_vf*V_i =")
vo=33.33*40*10^-3
disp(vo,"(iii) Output voltage Vo(in V) = A_vi*V_i =")
|
51d1bee30e2e6121759eeb75ef8d2af9261ddd6d | e9d5f5cf984c905c31f197577d633705e835780a | /GED/nonlinear/scilab/nonlin_rn96_1/nonlin_rn96_1.sce | 4fc53670e2e4aec7b3bb66990c89e8af15371853 | [] | 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 | 7,566 | sce | nonlin_rn96_1.sce | // Data Reconciliation Benchmark Problems From Lietrature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
// Skype: edson.cv
//Rao, R Ramesh, and Shankar Narasimhan. 1996.
//“Comparison of Techniques for Data Reconciliation of Multicomponent Processes.”
//Industrial & Engineering Chemistry Research 35:1362-1368.
//http://dx.doi.org/10.1021/ie940538b.
//Bibtex Citation
//@article{Rao1996,
//author = {Rao, R Ramesh and Narasimhan, Shankar},
//isbn = {0888-5885},
//journal = {Industrial \& Engineering Chemistry Research},
//month = apr,
//number = {4},
//pages = {1362--1368},
//publisher = {American Chemical Society},
//title = {{Comparison of Techniques for Data Reconciliation of Multicomponent Processes}},
//url = {http://dx.doi.org/10.1021/ie940538b},
//volume = {35},
//year = {1996}
//}
// 11 Streams
// 4 Equipments
// 7 Compounds
getd('.');
getd('../functions');
clear flow_full_rn96_1 flow_rn96_1 comp_full_rn96_1 comp_rn96_1 At_rn96_1 umeas_rn96_1 fixed_rn96_1 red_rn96_1 lower_rn96_1 upper_rn96_1 var_lin_type_rn96_1 constr_lin_type_rn96_1 constr_lhs_rn96_1 constr_rhs_rn96_1 just_measured_rn96_1 observ_rn96_1 non_obs_rn96_1 spec_cand_rn96_1 x_sol f_sol lower_rn96_1 upper_rn96_1 extra xmfull ncomp var jac nc nv nnzjac nnz_hess sparse_dg sparse_dh lower upper var_lin_type constr_lin_type constr_lhs constr_rhs
// In the original paper, streams 2,3 and 9 are unmeasured
// in these streams (2,3 and 9), values are estimates givem by the paper's original author.
// 1 2 3 4 5 6 7 8 9 10 11
flow_full_rn96_1 =[3567.2573 1961.9937 1605.2637 2832.9149 715.5544 13.739003 5.0490039 105.01089 2727.904 55.904904 659.64949];
//information of measured/unmeasured(-1)/fixed(-5)
flow_rn96_1 = [3600 -1 -1 2836.4 730 26 7.6 105 -1 57 -1];
// 1 2 3 4 5 6 7 8 9 10 11
comp_full_rn96_1 = [1.74311 1.69954 1.79636 0.34051 7.29291 1.00117 4.21013 0.38987 0.33861 89.63081 0.31507
18.23989 18.20923 18.27737 0.32437 88.47788 44.92421 43.48957 0.47360 0.31862 0.63543 95.92221
0.64090 0.59376 0.69852 0.50307 0.57290 29.93229 7.90183 0.39511 0.50723 0.61756 0.56912
3.33081 3.26804 3.40752 3.83246 1.15872 10.93507 8.99940 97.95141 0.20935 3.72621 0.94113
60.90894 60.82690 61.00922 76.45582 0.65070 4.94790 29.99257 0.39515 79.38378 1.58240 0.57175
14.47437 14.79000 14.08859 18.07731 0.59000 0.01000 0.00000 0.00000 18.77320 0.00000 0.64000
0.66198 0.61253 0.72243 0.46646 1.25689 8.24936 5.40650 0.39486 0.46922 3.80759 1.04073]/100;
//information of measured/unmeasured(-1)/fixed(-5)
// 1 2 3 4 5 6 7 8 9 10 11
comp_rn96_1 = [ 1.6 -1 -1 0.212 7.42 0.68 4.19 0.11 -1 90. 0.006
17.0 -1 -1 0.000 90.6 53.67 43.65 0.08 -1 0.12 98.75
0.4 -1 -1 0.212 0.001 30.05 7.91 0.12 -1 -1 -1
3.5 -1 -1 3.93 1.17 11.05 9.05 99.54 0.25 -1 0.88
61.5 -1 -1 -1 0.79 4.4 30.3 -1 -1. -1 0.7
15.4 -5 -1 19.546 -5 -5 -5 -5 -1. -5 -5
-1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 ];
//The jacobian of the constraints
// 1 2 3 4 5 6 7 8 9 10 11
jac = [ 1 -1 -1 0 0 0 0 0 0 0 0
0 1 1 -1 -1 -1 -1 0 0 0 0
0 0 0 0 1 0 0 0 0 -1 -1
0 0 0 1 0 0 0 -1 -1 0 0 ];
// 1 2 3 4 5 6 7 8 9 10 11
// organizing the vector for the constraints residuals
xmfull=[flow_full_rn96_1(:);matrix(comp_full_rn96_1',-1)];
xm=xmfull;
//the variance proposed by the original author
sd = (0.01*xmfull);
//recalculate sd
for i=1: length(sd)
if sd(i) <= 0.0001
sd(i) = 0.0001;
end
end
// to run with equaly weighted standard deviation, uncomment the line below
//sd = ones(size(xmfull,1),size(xmfull,2));
var = sd.^2;
ncomp = 7 ;
//observability/redundancy tests
[At_rn96_1,umeas_rn96_1, fixed_rn96_1] = jac_compound_residuals(jac,ncomp,flow_full_rn96_1,comp_full_rn96_1, flow_rn96_1, comp_rn96_1);
[red_rn96_1, just_measured_rn96_1, observ_rn96_1, non_obs_rn96_1, spec_cand_rn96_1] = qrlinclass(At_rn96_1,umeas_rn96_1)
// reconcile with all measured. To reconcile with only redundant variables, uncomment the "red" assignments
measured_rn96_1 = setdiff([1:length(xmfull)], umeas_rn96_1);
red = measured_rn96_1;//
// to reconcile with all variables, comment the line above and uncomment bellow
//red = [1:length(xmfull)];
// to run robust reconciliation,, one must choose between the folowing objective functions to set up the functions path and function parameters:
//WLS = 0
// Absolute sum of squares = 1
//Cauchy = 2
//Contamined Normal = 3
//Fair = 4
//Hampel = 5
//Logistic = 6
//Lorenztian = 7
//Quasi Weighted = 8
// run the configuration functions with the desired objective function type
obj_function_type = 0;
exec ../functions/setup_DR.sce;
// to run robust reconciliation, it is also necessary to choose the function to return the problem structure
// ipopt needs some information about the problem, such as jacobian and hessian structure,
[nc, nv, nnzjac, nnz_hess, sparse_dg, sparse_dh, lower_rn96_1, upper_rn96_1, var_lin_type_rn96_1, constr_lin_type_rn96_1, constr_lhs_rn96_1, constr_rhs_rn96_1] = structure_compound(jac,ncomp, flow_full_rn96_1,comp_full_rn96_1);
//pause
params = init_param();
// We use the given Hessian
//params = add_param(params,"hessian_constant","yes");
params = add_param(params,"hessian_approximation","exact");
//params = add_param(params,"hessian_approximation","limited-memory");
//params = add_param(params,"derivative_test","first-order");
//params = add_param(params,"derivative_test_print_all","yes");
//params = add_param(params,"derivative_test","second-order");
params = add_param(params,"tol",1e-2);
params = add_param(params,"acceptable_tol",1e-2);
//params = add_param(params,"mu_strategy","adaptive");
params = add_param(params,"mu_strategy","monotone");
params = add_param(params,"journal_level",5);
params = add_param(params,"fixed_variable_treatment", "relax_bounds");
disp('begore start ipopt')
//according to the original paper, we fix some variables
if length(fixed_rn96_1) > 0 then
lower_rn96_1(fixed_rn96_1) = xmfull(fixed_rn96_1);
upper_rn96_1(fixed_rn96_1) = xmfull(fixed_rn96_1);
end
xm_init = xmfull./var;
tic
[x_sol, f_sol, extra] = ipopt(xmfull, objfun, gradf, confun, dg1, sparse_dg, dh, sparse_dh, var_lin_type_rn96_1, constr_lin_type_rn96_1, constr_rhs_rn96_1, constr_lhs_rn96_1, lower_rn96_1, upper_rn96_1, params);
toc
mprintf("\n\nSolution: , x\n");
for i = 1 : nv
mprintf("x[%d] = %e\n", i, x_sol(i));
end
mprintf("\n\nObjective value at optimal point\n");
mprintf("f(x*) = %e\n", f_sol);
[Aeqp, Astreams] =size(jac)
xx=matrix(x_sol,Astreams,ncomp+1)
TotalFlowMeasured = xx(:,1)'
compoundMeasured = 100*xx(:, 2:$)
matrix([1:88],11,8)';
|
665d5809bcac750bc6a4c5c22cf9f0f94d46c9eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3763/CH10/EX10.5/Ex10_5.sce | 0328449e63a713d4db380a32105f15998e10c1d2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex10_5.sce | clear
//
//
//
//Variable declaration
eta=0.7 //quantum efficiency
q=1.6*10**-19 //charge(coulomb)
lamda=863*10**-9 //lamda(m)
P0=0.5*10**-6 //optical power(W)
h=6.625*10**-34 //plancks constant(J s)
c=3*10**8 //velocity of light(m/s)
IT=10*10**-6 //current(A)
//Calculation
IP=eta*q*lamda*P0/(h*c)
M=IT/IP //multiplication factor
//Result
printf("\n multiplication factor is %0.3f ",M)
|
5efd6fb46d7fa8aeb7cfa2c504c03d77d479006f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH8/EX8.8/Ch08Ex8.sce | 5647bce35c370985a87faddcfdd8fdf15eb7e411 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sce | Ch08Ex8.sce | // Scilab Code Ex8.8: Page-432 (2011)
clc;clear;
v = 3700;....// Velocity of ultrasonic beam in copper, m/s
t = 1e-006;....// Delay time for ultrasonic beam, s
L = v*t; // // Length of a copper wire required for a delay, m
printf("\nThe length of a copper wire required for a delay = %6.4f m", L);
// Result
// The length of a copper wire required for a delay = 0.0037 m |
bcb114e440ed7e6b23182c1f063cf6e217e7c0f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH18/EX18.5/EX18_5.sce | fffb8f5f246b18fc0086fe5bd96d03b7b0d9a43e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 361 | sce | EX18_5.sce | //Finding of Power Developed ,Force Exerted
//Given
d=0.13;
a=15;
H=400;
Cv=0.97;
b=0.45;
g=9.81;
rho=1000;
//To Find
A=(%pi/4)*d^2;
u=b*sqrt(2*g*H);
V=0.97*sqrt(2*g*H);
Vr1=0.8*(V-u);
Vw1=u-(Vr1*cos(%pi/15));
Fx=rho*A*V*(V-Vw1);
P=(Fx*u)/1000;
disp("Force Exerted ="+string(Fx)+" Newton");
disp("Power developed ="+string(P)+" Kilo Watts");
|
f12aa126752ae74ca7d8db51579be50dc8c5287a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH8/EX8.11/example8_11.sce | eb7f4d99b1bf260d6c9609d0c12345e9de5510cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,202 | sce | example8_11.sce |
//example 8.11
//calculate width of base if no tension is to develop
//check the stability if uplift is neglected
clc;funcprot(0);
//given
c=1;
hw=6; //heigth of water in reservior
Bt=1.5; //width of top of dam
H=6; //heigth of the dam
gamma_m=20; //unit weigth of masonary
gamma_w=9.81; //weigth density of water
f=1800; //compressive strength
miu=0.6; //coefficient of friction
//to develop no tension e=b/6;x=b/3.
//hence on solving the relations we get
P=poly([-19.908 1.5 1],'b','c')
wb=roots(P);
//roots are 3.774 and -5.27
//since negative value cannot be taken
wb=3.77;
mprintf("Neglecting the negative value.\nWidth of base is=3.77 m.");
W1=Bt*gamma_m*H;
W2=gamma_m*H*(wb-Bt)/2;
L1=(wb-Bt)+(Bt/2);
L2=(2*(wb-Bt))/3;
M1=W1*L1,
M2=W2*L2;
W3=gamma_w*H^2/2;
L3=hw/3;
M3=W3*L3;
SumW=W1+W2;
SumM=M1+M2-M3;
pn=2*SumW/wb;
pn=round(pn*10)/10;
mprintf("\nMaximum stress=%f kN/square.m.",pn);
mprintf("\nDam is safe against compression");
FOS=miu*SumW/W3;
FOS=round(FOS*1000)/1000;
mprintf("\nFactor of safety against sliding=%f. > 1",FOS);
mprintf("\nDam is safe against sliding.");
|
45ff858e0371bb73cbef074390592aba7192df5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH1/EX1.6/exa_1_6.sce | 9a706e8ba0701cca4f5ffa0d9818c7bc2c51aec4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | exa_1_6.sce | //Exa 1.6
clc;
clear;
close
// given data
T1=50;// in degree C
T1=T1+273;// in K
T2=20;// in degree C
T2=T2+273;// in K
d=5*10^-2;//in m
h=6.5;// in W/m^2K
l=1;//in meter
epsilon=0.8;
sigma=5.67*10^-8;
A=%pi*d*l;// in Square meter
q_conv = h*A*(T1-T2);// in W/m
disp(q_conv,"The heat loss by convection in W/m")
// formula q= sigma*A*F_g12*(T1^4-T2^4) = sigma*A*epsilon*(T1^4-T2^4) (since A1<<A2, so F_g12=epsilon)
q_rad = sigma*A*epsilon*(T1^4-T2^4);// in W/m
disp(q_rad," Heat loss by radiation in W/m")
q_total= q_conv+q_rad;
disp(q_total,"Total heat loss in W/m is :")
|
7c554dd22842998078aaefd8c70f5846aceb37f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1046/CH6/EX6.4/6_4.sce | dfb7f92ef835c24069d132f23d2258e8d2a875cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,290 | sce | 6_4.sce | //Example 6.4
//Calculate the physical properties of the liquid.
//Given
W1=200 //kg/h, rate of entering toluene
muv=10^-5 //kg/m s, viscosity of toluene vapour
mul=2.31*10^-4 //kg/m s, viscosity of benzene
rhol=753 //kg/m^3, density of benzene
rhov=3.7 //kg/m^3, density of toluene vapour
Cpl=1968 //j/kg C, specific heat of benzene
kl=0.112 //W/m C, thermal conductivity of benzene
T1=160 //C tube wall temp.
T2=120 //C , saturated temp.
Te=T1-T2 //C, excess temp.
Lv=3.63*10^5 //j/kg, enthalpy of vaporization
s=1.66*10^-2 //N/m, surface tension
//Calculation of hc & hb
w=0.125 //m, mean step size
d=0.0211 //, internal diameter of tube
G=W1/(3600*%pi/4*(d^2)) //kg/m^2 s, mass flow rate
Re1=G*(1-w)*d/mul //Reynold no.
Prl=Cpl*mul/kl //Prandtl no.
//from eq. 6.23
x=(w/(1-w))^(0.9)*(rhol/rhov)^(0.5)*(muv/mul)^0.1 //let x=1/succepsibility
//from eq. 6.22
F=2.35*(x+0.231)^0.736 //factor signifies 'liquid only reynold no.' to a two phase reynold no.
//from eq. 7.21
Re2=10^-4*Re1*F^1.25 //Reynold no.
//from eq. 6.18
S=(1+0.12*Re2^1.14)^-1 //boiling supression factor
//from eq. 6.15
hc=0.023*Re1^(0.8)*Prl^(0.4)*(kl/d)*F //W/m^2 C, forced convection boiling part
//from eq. 6.16
mulv=(1/rhov)-(1/rhol) //m^3/kg, kinetic viscosity of liquid vpaour
dpsat=Te*Lv/((T2+273)*mulv) //N/m^2, change in saturated presssure
//nucleate boiling part hb
hb=1.218*10^-3*(kl^0.79*Cpl^0.45*rhol^0.49*Te^0.24*dpsat^0.75*S/(s^0.5*mul^0.29*Lv^0.24*rhov^0.24))
h=hc+hb //W/m^2 C, total heat transfer coefficient
//calculation of required heat transfer area
a=5 //%, persentage change in rate of vaporization
W2=W1*a/100 //kg/h, rate of vaporization
W2_=W2/3600 //kg/s
Q=W2_*Lv //W,heat load
A=Q/(h*Te) //m^2, area of heat transfer
l=A/(%pi*d) //m, required length of tube
//from table 6.2
Tl=0.393
printf("The total tube length is %f m",Tl)
|
a0dd1f67301eca226084b0f91b33f4dcc7f4df87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2627/CH13/EX4.8/Ex_B_4_8.sce | 1ab0b011efb4caf2c900f91cab6e5be4b4afba33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 593 | sce | Ex_B_4_8.sce | //Ex 4.8
clc;clear;close;
format('v',5);
delta_f=10;//kHz
fm=10;//kHz
Vc=10;//V
fc=500;//kHz
m=delta_f/fm;//modulation index
//For m=1 we have 3 sidebands
B=2*(3*fm);//kHz
disp(B,"(a) Actual minimum bandwidh(kHz)");
B=2*(fm+delta_f);//kHz
disp(B,"(b) Approximate minimum bandwidh(kHz)");
A0=0.77*fm;//V
A1=0.44*fm;//V
A2=0.11*fm;//V
A3=0.02*fm;//V
//For frequency spectrum
A=[A3 A2 A1 A0 A1 A2 A3];//V(Amplitudes)
f=[fc+3*fm fc+2*fm fc+fm fc fc+fm fc+2*fm fc+3*fm];//kHz
plot(f,A);
title('Output frequency spectrum');
xlabel('Frequency(kHz)');
ylabel('Amplitudes(V)');
|
d5eb4c1151970c9f195cbdd70071cc62b3085312 | 449d555969bfd7befe906877abab098c6e63a0e8 | /273/CH25/EX25.28/ex25_28sce.sce | 21afe816f5b32f53c0580828f1fdcec8821919a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 682 | sce | ex25_28sce.sce | clc;
clear;
//example25.28
//finiding two's complement
//a=input(" Enter the number (binary) :");
a=1010;
for i=1:4
a1(i)=modulo(a,10);
a=a/10;
a=round(a);
end
for i=1:4//making one's complement of number
a1(i)=bitcmp(a1(i),1);
end
for i=1:4
car(1)=1;
re(i)=a1(i)+car(i);//addition of one to one's complement to contain two's complement
if re(i)== 2 then
car(i+1)= 1;
re(i)=0;
elseif re(i)==3 then
car(i+1)= 1;
re(i)=1;
else
car(i+1)=0;
end;
end;
re2=0;
format('v',18);
for i=1:4
re2=re2+(re(i)*(10^(i-1)))
end;
disp(re2,'two s complement is'); |
a05348ef6754c182948e284f2a5a18837132d641 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3775/CH3/EX3.3/Ex3_3.sce | 82ba6d8951299e7b7dc7113be276a26f4b861281 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,059 | sce | Ex3_3.sce | //Ex 3.3 page 119
clc;
clear;
close;
//v2t = 325*sin(w*t)
R=20;// ohm
alfa=45;// degree
vm=325;// V
V=230;// V
printf('part (a)\n')
Vo=vm/2/%pi*(1+cosd(alfa)) ;// V
Io=Vo/R;// A
printf(' dc voltage Vo = %.1f V',Vo)
printf('\n & Current Io = %.3f A',Io)
printf('\n\n part (b)\n')
Vor=vm/2/sqrt(%pi)*sqrt((%pi-%pi/180*alfa)+1/2*sind(2*alfa));// V
Ior=Vor/R;// A
printf(' rms voltage Vor = %.3f V',Vor)
printf('\n & Current Ior = %.3f A',Ior)
printf('\n\n part (c)')
Pdc=Vo*Io;// W
Pac=Vor*Ior;// W
eta=Pdc/Pac;// rectification efficiency
printf("\n dc Power = %.2f W", Pdc)
printf("\n ac Power = %.2f W", Pac)
printf("\n Rectification efficiency = %.4f", eta)
printf('\n\n part (d)')
FF=Vor/Vo;// form factor
RF=sqrt(FF**2-1)
printf('\n Form factor = %.3f ',FF)
printf('\n Ripple factor = %.3f ',RF)
printf('\n\n part (e)')
VA=V*Ior;// VA
TUF=Pdc/V/Ior;// Transformer Utilization factor
printf("\n VA rating = %.1f VA", VA)
printf("\n Transformer Utilization factor = %.4f", TUF)
printf('\n\n part (f)')
Vp=vm;// V
printf("\n Peak inverse voltage = %d V",Vp)
|
c38ee71625fbeb47ab9df79551ceb00ace0463a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH11/EX11.9/Ex11_9.sce | 5c95b8227e5ceb773a127bb1008d53547348e40f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,507 | sce | Ex11_9.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 11 Example 9")
disp("properties of NH3,")
disp("at 15 degree celcius,h9=-54.51 KJ/kg,hg=1303.74 KJ/kg,s9=-0.2132 KJ/kg K,sg=5.0536 KJ/kg K")
T1=(-15+273);
h9=-54.51;
hg=1303.74;
s9=-0.2132;
sg=5.0536;
disp("and at 25 degree celcius,h3=99.94 KJ/kg,h2=1317.95 KJ/kg,s3=0.3386 KJ/kg K,s2=4.4809 KJ/kg K")
T2=(25+273);
h3=99.94;
h2=1317.95;
s3=0.3386;
s2=4.4809;
disp("here work done,W=Area 1-2-3-9-1")
disp("refrigeration effect=Area 1-5-6-4-1")
disp("Area 3-8-9 =(Area 3-11-7)-(Area 9-11-10)-(Area 9-8-7-10)")
disp("so Area 3-8-9=h3-h9-T1*(s3-s9)in KJ/kg")
h3-h9-T1*(s3-s9)
disp("during throttling process between 3 and 4,h3=h4")
disp("(Area=3-11-7-3)=(Area 4-9-11-6-4)")
disp("(Area 3-8-9)+(Area 8-9-11-7-8)=(Area 4-6-7-8-4)+(Area 8-9-11-7-8)")
disp("(Area 3-8-9)=(Area 4-6-7-8-4)")
disp("so (Area 4-6-7-8-4)=12.09 KJ/kg")
disp("also,(Area 4-6-7-8-4)=T1*(s4-s8)")
disp("so (s4-s8)in KJ/kg K=")
12.09/T1
disp("also s3=s8=0.3386 KJ/kg K")
s8=s3;
disp("so s4 in KJ/kg K=")
s4=s8+12.09/T1
disp("also s1=s2=4.4809 KJ/kg K")
s1=s2;
disp("refrigeration effect(Q)=Area (1-5-6-4-1)=T1*(s1-s4)in KJ/kg")
Q=T1*(s1-s4)
disp("work done(W)=Area (1-2-3-9-1)=(Area 3-8-9)+((T2-T1)*(s1-s8))in KJ/kg")
W=12.09+((T2-T1)*(s1-s8))
disp("so COP=refrigeration effect/work done=Q/W")
COP=Q/W
disp("so COP=5.94")
|
e325240aabe48797abbfc5d798f38f92c4d373e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH18/EX18.7/Ex18_7.sce | 66d04f71e0d65d9be6063af4628aa19733a8d429 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 722 | sce | Ex18_7.sce |
//Let V be bus-bar voltage and I1, I2 be the currents supplied by generators 1 and 2 respectively
Il=3000//total load current
//I1+I2=Il
//for generator 1
Rsh1=30//field resistance
Ra1=.05//armature resistance
Eg1=400//induced emf
//for generator 2
Rsh2=25//field resistance
Ra2=.03//armature resistance
Eg2=380//induced emf
//Ish1=V/Rsh1
//Ish2=V/Rsh2
//Ia1=I1+Ish1
//Ia2=I2+Ish2
//Eg1=V+Ia1*Ra1;Eg2=V+Ia2*Ra2
//solving for I1,I2 and V
a=[1 1 0;Ra1 0 1+Ra1/Rsh1;0 Ra2 1+Ra2/Rsh2]
b=[Il;Eg1;Eg2]
x=inv(a)*b
I1=x(1,1)
I2=x(2,1)
V=x(3,1)
P1=V*I1
P2=V*I2
mprintf("Output of generator 1=%f kW\nOutput of generator 2=%f kW", P1/1000,P2/1000)
//answers vary from the textbook due to round off error
|
21eea30fe695beeb1ccd48042ec808848bd7a8a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH7/EX7.1/ex1.sce | 55e4d2eef0a7660b99ef09741593d9ae7a71413e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | ex1.sce | //ques1
//Entropy Change during an Isothermal Process
clear
clc
//The system undergoes an internally reversible, isothermal process, and thus its entropy change can be determined directly from Eqns
Q=750//heat in kJ
Tsys=300//temperature of system in K
dS=Q/Tsys;//entropy change of process in kJ/K
printf('Change in entropy = %.2f kJ/K',dS);
|
7870668a98954a0f849b1830d6cf5912639fa3be | d4c23070214bd90ec83c3449e2c8925580391110 | /shader/menus.tst | 4664f8e56c9f66abf7a892a48876e0a63eb98021 | [] | no_license | juvenal/render-tools | f42eac43c4e914bf561e462acb5b03fa1bd149f4 | 125b8e2910123aa28be9aa74eca854e1da66f4e7 | refs/heads/master | 2021-01-20T10:37:27.178635 | 2013-04-15T01:50:52 | 2013-04-15T01:50:52 | 9,438,682 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | tst | menus.tst | /* ====================================================================
* Create menu function.
*/
int
CreateMenuFromArray ( menuName, menuItems, menuMnemo, menuAcc, menuKeys);
char *menuMane,
*menuItems,
*menuMnemo,
*menuAcc,
*menuKeys;
{
} |
93167a5f869fc9f0e715220788f1c9a03e37f0a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /530/CH5/EX5.3.i/example_5_3i.sce | e45eeb24836ab5f6032a589435054e2544ade220 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 951 | sce | example_5_3i.sce | clear;
clc;
// A Textbook on HEAT TRANSFER by S P SUKHATME
// Chapter 5
// Heat Transfer by Forced Convection
// Example 5.3(i)
// Page 215
printf("Example 5.3(i), Page 215 \n\n")
D = 0.015 ; // [m]
V = 1 ; // [m/s]
Tw = 90 ; // [degree C]
Tmi = 50 ; // [degree C]
Tmo = 65 ; // [degree C]
// (i)
// From Table A.1
k = 0.656 ; // [W/m K]
rho = 984.4 ; // [kg/m^3]
v = 0.497 * 10^-6 ; // [m^2/s]
Cp = 4178 ; // [J/kg K]
Pr = 3.12 ;
rho_in = 988.1 ; // [kg/m^3]
m_dot = %pi*(D^2)*rho_in*V/4 ; // [kg/s]
Re = 4*m_dot/(%pi*D*rho*v) ;
// Using eqn 5.3.2 and 4.6.4a
f = 0.079*(Re)^-0.25 ;
Nu = (f/2)*(Re-1000)*Pr/[1+12.7*(f/2)^(1/2)*((Pr^(2/3))-1)];
h = Nu*k/D; // [W/m^2 K]
// From the energy equation, extracting the value of L
L = m_dot*Cp*(Tmo-Tmi)*[log((Tw-Tmi)/(Tw-Tmo))]/[((Tw-Tmi)-(Tw-Tmo))*h*D*%pi]; // [m]
printf("The length of tube if the exit water temperature is 65 degree C = %f m\n",L);
|
9dbd078bdc8999a68dac1aa10f749d7c26cb008d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH3/EX3.6/Example3_6.sce | 0f6211a15314fdf864251cb257d4aa0fc2936623 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 556 | sce | Example3_6.sce | clc
//Given that
theta = %pi/2 // scattering angle of photon
h = 6.624e-34 // plank's constant
c = 3e8 // speed of light
e = 1.6e-19 // charge on electron in coloumb
m_e = 9.1e-31 // mass of electron in kg
//Sample Problem 6 Page No. 137
printf("\n\n\n # Problem 6 # \n")
printf("\n Standard formula Used \n delta_lambda = h * (1 - cos (theta )) / ( m_e * c)")
delta_lambda = h * (1 - cos (theta )) /( m_e * c) //calculation of Change in wavelength of electron
printf("\n Change in wavelength of electron is %f Angstrom. ", delta_lambda*1e10)
|
d442116deb3ef884dbb24ad783e0866d122cac81 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/percent/%pxr.sci | 48bc46eb6546ecbdfa981bbdc790f34c386a0f32 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 92 | sci | %pxr.sci | function r=%pxr(p,r)
// r=%pxr(p,r) <=> r=p.*r polynomial.* rational
//!
r(2)=p.*r(2)
|
256a029e56104627d9ed5ae0854df3b480025c17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /462/CH2/EX2.11.b/ex_2_11_b.sce | 6f126683dea4e8c2ed8cda9c06196b6f2171174d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 421 | sce | ex_2_11_b.sce | //example 2.11(b)//
//find 2's complement of binary number//
clc
//clears the window//
clear
//clears all the existing variables//
x=10010010
//the number//
xd=bin2dec('10010010')
//binary to decimal conversion//
xc=bitcmp(xd,8)
//one's complement of the number//
xp=xc+1
xc1=dec2bin(xp)
//2's complement of the number//
disp('2s complement of 10010010 is : ')
disp(xc1)
//answer in 2's complement form// |
775793c4b49dff6c7d03de5a7ee71dafb0e54fa4 | 05d972abeab11d213913aa6124e6a2104d859132 | /etc/CasShutdown.tst | 43bec88c35a01e3e5a5f969bc972b2da66d3bd9f | [] | no_license | LivTel/sdb_puller | 50ac8289d57c4927245ca70c4809cf2b9c807e82 | 9e573ee4d20035f846cb010a02099b9a25dc4e76 | refs/heads/master | 2022-06-24T04:59:10.771334 | 2019-12-18T19:10:47 | 2019-12-18T19:10:47 | 179,494,067 | 0 | 0 | null | 2020-07-01T23:30:44 | 2019-04-04T12:34:54 | C | UTF-8 | Scilab | false | false | 84 | tst | CasShutdown.tst | echo, Shutdown for Cassegrain and Nasmyth
shutdown, CSC
shutdown, NDC
shutdown, NWC
|
be487778a6edbfd1d571baae93c0bad293adf514 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH3/EX3.13/Ex3_13.sce | 8558f8c8674482bf0cf68f758e824b0466da2127 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 543 | sce | Ex3_13.sce | // Scilab Code Ex3.13: Page-110 (2013)
clc; clear
lambda = 350; // Wavelength of incident light, nm
e = 1.6e-019; // Energy equivalent of 1 eV, J
E = 1.250e+003/lambda; // Total energy of the incident light, eV
I = 1e-008; // Intensity of incident light, W/Sq.m
// As Intensity, I = N*E, solving for N
N = I/(E*e); // The number of photons in the light beam
printf("\nThe number of photons in the light beam = %3.1e photons/Sq.m/s", N);
// Result
// The number of photons in the light beam = 1.8e+010 photons/Sq.m/s |
67e399ed05016f3d534009a9098d99f301e31411 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH1/EX1.21/Chapter1_Example21.sce | e8d31591b58a878a727a077643fb41ea5930dac2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 777 | sce | Chapter1_Example21.sce | //Chapter-1, Example 1.21, Page 1.49
//=============================================================================
clc
clear
//INPUT DATA
V=220;//Terminal voltage in V
P=(10*746);//Rating of the motor in W
Iao=5;//No load armature current in A
No=1200;//No load speed in rpm
Ra=0.3;//Armature resistance in ohm
Ial=35;//Armature load current in A
//CALCULATIONS
Nl=(No*((V-(Ial*Ra))/(V-(Iao*Ra))));//Speed at load in rpm
Ebo=218.5;//Back emf at no load in V
EbL=209.5;//Back emf at full load in V
Tao=(9.55*Ebo*Iao)/No;//No load torque in N.m
TaL=(9.55*EbL*Ial)/Nl;//Load torque in N.m
//OUTPUT
mprintf('Load speed is %3.0f rpm \n Load torque is %3.2f N.m',Nl,TaL)
//=================================END OF PROGRAM==============================
|
3c72f4278c0069c37505cc6d82252b20ecd65b7d | 31c6b1437c7dc52b977bf6790b1b24eff7f7b5f5 | /read_sql_data.sci | 6cf488d973716a9483bacae953be7361bd771211 | [] | no_license | RobinEccleston/Scilab-Snippets | 4744c071ef891cc4905cbecc000a1f5bf667a8f7 | 7886058a25ec4821cfeba6d8e148a0a2aced330c | refs/heads/master | 2021-01-26T00:48:02.042794 | 2020-02-26T11:35:49 | 2020-02-26T11:35:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,461 | sci | read_sql_data.sci | ModuleName="read_sql_data.sci";
Version="0.02";
DateModified="19-May-2015";
DateOfCreation="07-May-2015";
Author="Rob Eccleston";
Description="Read sql data in a file from :metabolon PC";
function [time_cut, date_cut, time_date_cut, timestamps, co2_cut, methane_cut, h2s_cut, h2_cut]=read_sql_file(file_path)
printf("Reading SQL CSV File...")
//file_path="C:\Users\re\Dropbox\Cologne University\Software\S20 - Scilab read SQL data\opcdb300.csv"
csv_file=read_csv(file_path)
time_date=csv_file(:,1);
co2_str=csv_file(:,7);
methane_str=csv_file(:,12);
h2s_str=csv_file(:,22);
h2_str=csv_file(:,27);
co2=strtod(co2_str)
methane=strtod(methane_str);
h2s=strtod(h2s_str);
h2=strtod(h2_str);
time_date_short=time_date(1:10);
num_samples=size(time_date,1);
str_date=[];
str_time=[];
for i=2:num_samples
time_date_split=strsplit(time_date(i)," ");
str_date(i)=time_date_split(1);
str_time(i)=time_date_split(2);
end
changes_list=[];
for i=3:num_samples
co2_change=co2(i)-co2(i-1);
methane_change=methane(i)-methane(i-1);
h2s_change=h2s(i)-h2s(i-1);
h2_change=h2(i)-h2(i-1);
change_here=co2_change | methane_change | h2s_change | h2_change;
if(change_here)
changes_list=[changes_list i];
end
end
time_cut=str_time(changes_list);
date_cut=str_date(changes_list);
time_date_cut=time_date(changes_list);
co2_cut=co2(changes_list);
methane_cut=methane(changes_list);
h2s_cut=h2s(changes_list);
h2_cut=h2(changes_list);
shorter_numsamples=size(time_cut,1)
timestamps=[]
for i=1:shorter_numsamples
date_split=strsplit(date_cut(i),"-")
time_split=strsplit(time_cut(i),":")
year_str=date_split(1)
month_str=date_split(2)
day_str=date_split(3)
hour_str=time_split(1)
minute_str=time_split(2)
second_str=time_split(3)
this_timestamp = time_since_epoch_str(year_str,month_str,day_str,hour_str,minute_str,second_str)
timestamps(i)=this_timestamp
end
printf("File reading completed.")
endfunction
|
f360c1f39f45c26c4eb8593378d7fa004da0a11e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH4/EX4.6/EX4_6.sce | ca4a27b8cf9086af29e21d4d94b47f149103da64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,568 | sce | EX4_6.sce | // Example 4.6
// Determine (a) Power input (b) Total losses (c) Air gap power (d) Shaft speed
// (e) Power factor (f) Combined windage, friction and stray load loss
// (g) Shaft torque
// Page No. 159
clc;
clear;
close;
// Given data
Pshaft=74600; // Shaft power
eeta=0.910; // Rated efficiency
ns=1200; // Speed of stator
Pcore=1697; // Power in core
Pscl=2803; // Stator copper loss
Prcl=1549; // Rotor copper loss
fs=60; // Synchronous frequency
p=6; // Number of poles
Vline=230; // Line voltage
Iline=248; // Line current
// (a) Power input
Pin=Pshaft/eeta; // Parallel resistance
// (b) Total losses
Ploss=Pin-Pshaft;
//(c) Air gap power
Pgap=Pin-Pcore-Pscl;
// (d) Shaft speed
s=Prcl/Pgap; // Parallel resistance
ns=120*fs/p;
nr=ns*(1-s);
// (e) Power factor
Sin=sqrt(3)*Vline*Iline;
FP=Pin/Sin;
//(f) Combined windage, friction and stray load loss
Closs=Ploss-Pcore-Pscl-Prcl;
//(g) Shaft torque
Tshaft=5252*100/nr;
// Display result on command window
printf("\n Power input = %0.0f W",Pin);
printf("\n Total losses = %0.0f W",Ploss);
printf("\n Air gap power = %0.0f W ",Pgap);
printf("\n Shaft speed = %0.0f r/min ",nr);
printf("\n Power factor = %0.2f ",FP);
printf("\n Combined windage, friction and stray load loss = %0.0f W ",Closs);
printf("\n Shaft torque = %0.1f lb-ft ",Tshaft);
|
468ea7102941b9da6574f72520dc5dac965c8706 | c4c3bc86b278ed2ae8e7dad1351e3242b322bc88 | /applyFilter.sce | 3338703c8fa81b638ad57f2352b9917ae3432789 | [] | no_license | VLbest/SPConvolution | f45928d16b32f2f23643eef80164c3258b6ddda5 | ece185b1dcfb18c24bc39824f5e95a801c6dfdef | refs/heads/master | 2016-09-06T18:24:18.011167 | 2015-03-09T12:56:50 | 2015-03-09T12:56:50 | 31,422,183 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,332 | sce | applyFilter.sce | // *********************
// disp("x: "+string(x));
// disp("y: "+string(y));
// ********************
function [fiteredImg] = applyFilter(img, mx, normCoeff)
dsp = getDisplacement(mx);
largeImg = setUpBorders(img,dsp);
vals = 0,
for x=1+dsp:size(largeImg,"c")-dsp
for y=1+dsp:size(largeImg,"r")-dsp
sumVals = getSum(dsp,mx, largeImg,x, y );
// disp("sum: " + string(sumVals));
if(normCoeff > 0) then
sumVals = sumVals * (1 / normCoeff);
end
largeImg(y,x) = sumVals;
end
end
fiteredImg = deleteFalseBorders(largeImg, dsp);
endfunction
function [smFilteredImg] = deleteFalseBorders (img, dsp)
smFilteredImg = 0;
for x = 1 + dsp: size(img,"c") - dsp
for y = 1 + dsp: size(img,"r") - dsp
smFilteredImg(y,x) = img(y,x);
end
end
endfunction
function [sumVals] = getSum(dsp, mx, img, centerX, centerY)
vals = list();
for x = centerY - dsp: centerY + dsp
for y = centerX - dsp: centerX + dsp
// disp("x: "+string(x));
// disp("y: "+string(y));
// disp("iVal: "+string(img(x,y)));
vals($+1) = img(x,y);
end
end
i = 0;
valsMx = 0;
sumVals = 0;
for x=1:size(mx,"c")
for y=1:size(mx,"r")
i = i + 1;
sumVals = sumVals + vals(i) * mx(x,y);
// disp("img: " + string(mx(x,y)));
// disp("vals: " + string(vals(i)));
// pause;
end
end
endfunction
function [dsp] = getDisplacement(filter)
if(validateMatrix(filter) == 1) then
disp('Matrix verification: DONE');
end
dsp = modulo(size(filter,"r"),2);
endfunction
function [mStat] = validateMatrix(filter)
msH = size(filter,"r");
msW = size(filter,"c")
if(msH > 3 | msW > 3) then
halt(" Matrix is too small. ");
mStat = 0;
elseif ((modulo(msH, 2) == 0) |(modulo(msW ,2) == 0)) then
halt(" Size of matrix cannot be an odd number ");
mStat = 0;
elseif (msH <> msW) then
halt(" Height of matrix must be equals to it width ");
mStat = 0;
else
mStat = 1;
end
endfunction
function [largeImg] = setUpBorders(smImg, dsp)
oldHeight = size(smImg,"r");
oldWidth = size(smImg,"c");
newHeight = oldHeight + dsp * 2;
newWidth = oldWidth + dsp * 2;
largeImg = zeros(newHeight,newWidth);
// Center
for y=1+dsp:newHeight - dsp
for x=1+dsp:newWidth - dsp
largeImg(y,x) = smImg(y-dsp, x-dsp);
end
end
// write X think Y
// want Width write Height
// Top
for x=1:dsp
for y=1+dsp:oldHeight+dsp
largeImg(y,x) = smImg(y-dsp,1);
end
end
// Bottom
for x=dsp+oldWidth:newWidth
for y=1+dsp:oldHeight+dsp
largeImg(y,x) = smImg(y-dsp,oldWidth);
end
end
//Left
for x=1:newWidth
for y=1:dsp
largeImg(y,x) = largeImg(dsp+1,x);
end
end
//Right
for x=1:newWidth
for y=oldHeight+dsp:newHeight
largeImg(y,x) = largeImg(oldHeight+dsp,x);
end
end
disp('Setup false borders: DONE');
endfunction
|
176ff4c248a39c13fef8489eacd711c85751fe2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH3/EX3.3.1/Ch03Exa3_3_1.sci | 345acc83a4d2d1c64a583f2185f69af1185e05ab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,790 | sci | Ch03Exa3_3_1.sci | // Scilab code Exa 3.3.1 : Finding particles in the given reactions : page no. 131 (2011)
// Declare three cells (for three reactions)
R1 = cell(4,3);
R2 = cell(4,3);
R3 = cell(3,3);
// Enter data for first cell (Reaction)
R1(1,1).entries = "Pb";
R1(1,2).entries = 82;
R1(1,3).entries = 211;
R1(2,1).entries = 'Bi';
R1(2,2).entries = 83;
R1(2,3).entries = 211;
R1(3,1).entries = 'Tl';
R1(3,2).entries = 81;
R1(3,3).entries = 207;
R1(4,1).entries = 'Pb';
R1(4,2).entries = 82;
R1(4,3).entries = 207;
// Enter data for second cell (Reaction)
R2(1,1).entries = "U";
R2(1,2).entries = 92;
R2(1,3).entries = 238;
R2(2,1).entries = 'Th';
R2(2,2).entries = 90;
R2(2,3).entries = 234;
R2(3,1).entries = 'Pa';
R2(3,2).entries = 91;
R2(3,3).entries = 234;
R2(4,1).entries = 'U';
R2(4,2).entries = 92;
R2(4,3).entries = 234;
// Enter data for third cell (Reaction)
R3(1,1).entries = "Bi";
R3(1,2).entries = 83;
R3(1,3).entries = 211;
R3(2,1).entries = 'Pa';
R3(2,2).entries = 84;
R3(2,3).entries = 211;
R3(3,1).entries = 'Pb';
R3(3,2).entries = 82;
R3(3,3).entries = 207;
// Declare a function returning the type of particle emitted
function particle = identify_particle(d_Z, d_A)
if d_Z == 2 & d_A == 4 then
particle = "Alpha";
elseif d_Z == -1 & d_A == 0 then
particle = "Beta minus";
elseif d_Z == 1 & d_A == 0 then
particle = "Beta plus";
end
endfunction
// Display emitted particles for first reaction
printf("\n\n\nReaction-I:");
for i = 1:1:3
dZ = R1(i,2).entries-R1(i+1,2).entries;
dA = R1(i,3).entries-R1(i+1,3).entries;
p = identify_particle(dZ,dA);
printf("\n%s(%d) - (%s) --> %s(%d)", R1(i,1).entries, R1(i,2).entries, p, R1(i+1,1).entries, R1(i+1,2).entries);
end
// Display emitted particles for second reaction
printf("\n\n\nReaction-II:");
for i = 1:1:3
dZ = R2(i,2).entries-R2(i+1,2).entries;
dA = R2(i,3).entries-R2(i+1,3).entries;
p = identify_particle(dZ,dA);
printf("\n%s(%d) - (%s) --> %s(%d)", R2(i,1).entries, R2(i,2).entries, p, R2(i+1,1).entries, R2(i+1,2).entries);
end
// Display emitted particles for third reaction
printf("\n\n\nReaction-III:");
for i = 1:1:2
dZ = R3(i,2).entries-R3(i+1,2).entries;
dA = R3(i,3).entries-R3(i+1,3).entries;
p = identify_particle(dZ,dA);
printf("\n%s(%d) - (%s) --> %s(%d)", R3(i,1).entries, R3(i,2).entries, p, R3(i+1,1).entries, R3(i+1,2).entries);
end
// Result
//
// Reaction-I:
// Pb(82) - (Beta minus) --> Bi(83)
// Bi(83) - (Alpha) --> Tl(81)
// Tl(81) - (Beta minus) --> Pb(82)
// Reaction-II:
// U(92) - (Alpha) --> Th(90)
// Th(90) - (Beta minus) --> Pa(91)
// Pa(91) - (Beta minus) --> U(92)
// Reaction-III:
// Bi(83) - (Beta minus) --> Pa(84)
// Pa(84) - (Alpha) --> Pb(82)
|
3f66e9086bcd3bcc61bcc7ebe6044e0bb2adf095 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2789/CH1/EX1.5/Ex1_5.sce | 857a3e26260a9eac8d2c47c38fce486fbed9898c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | sce | Ex1_5.sce | clear;
clc;
//page no. 20
l = 12;// length of the cylinder
T = 150;//temperature of water in degreeF
p1 = 14.52;//atmospheric pressure in psia
p2 = 3.72;//the pressure on the inside of the piston in psia
F = 0.25*(p1-p2)*%pi*l^2;//Force on the piston in lb
printf('Minimum force on the piston to be applied is, F = %d lb.',F);
//there is an error in the answer given in textbook
|
ae15d19eba36660aac6f30f7cc724cbcc9f3e99d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1085/CH6/EX6.6/ex6_6.sce | d31109bca2ceabdfa3f501fcc2fad7f4f6c2ea32 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 337 | sce | ex6_6.sce | //Exam:6.6
clc;
clear;
close;
h=6.625*(10^(-34));//Planck's constant(in m2*kg/s)
c=3*10^8;//speed of light (in m/s)
P_o=10*10^3;//Power of radio receiver (in Watt)
v=440*10^3;//Operating frequency
E=h*v;//Energy of each electron
N=P_o/E;//Number of photons emitted/sec
disp(N,'Number of photons emitted/sec by radio receiver=') |
e79d6b8a02f881e9a82346afcfdba71787cd5817 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH5/EX5.7/5_7.sce | 75c7ed1047b38a7f2eee760210b390cd0eb01385 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 521 | sce | 5_7.sce | //Find Planar Density
//Ex:5.7
clc;
clear;
close;
r_po=1.7*10^-10;//radius of polonium in m
r_rh=1.34*10^-10;//radius of rhodium in m
r_cr=1.25*10^-10;//radius of chromium in m
a_po=2*r_po;//in m
a_rh=2*sqrt(2)*r_rh;//in m
a_cr=4*r_cr/sqrt(3);
p_po=1/a_po^2;// /sqm
disp(p_po,"Planar Density on [100] in Polonium (per sqm) = ");
p_rh=1.414/a_rh^2;// /sqm
disp(p_rh,"Planar Density on [110] in Rhodium (per sqm) = ");
p_cr=1.732/a_cr^2;// /sqm
disp(p_cr,"Planar Density on [111] in Chromium (per sqm) = "); |
9324172570ab18708489e2a442ec5f7ccd1f080f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2342/CH6/EX6.15/EX6_15.sce | eb3e8eb730dc385911f62343bfb9335738f9fa55 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 652 | sce | EX6_15.sce | // Exa 6.15
format('v',6)
clc;
clear;
close;
// Given data
R_B= 50*10^3;// in Ω
R_C= 1*10^3;// in Ω
R_E= 5*10^3;// in Ω
V_CC= 10;// in V
V_EE= 10;// in V
V_BE= 0.7;// in V
V_E= -V_BE;// in V
// The value of emitter current
I_E= (V_EE-V_BE)/R_E;// in A
// The collector current will be equal to emitter current
I_C= I_E;// in A
// The collector to emitter voltage
V_CE= V_CC-I_C*R_C;// in V
V_CE= V_CE-V_E;// in V
I_C=I_C*10^3;// in mA
I_E=I_E*10^3;// in mA
disp(I_E,"The value of emitter current in mA is : ")
disp(I_C,"The value of collector current in mA is : ")
disp(V_CE,"The collector to emitter voltage in V is : ")
|
a040b2f71701c4f10031b6f9f3134ca971e6500b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH15/EX15.10/15_10.sce | e4d377b6eff7b84606e9c7ab18b27a4e83918ae2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sce | 15_10.sce | clc
//initialisation
t1=301//k
t2=300//k
f=5*(10^30)
fa=f/2
//CALCULATIONS
r=t1/t2
i=r^fa
//results
printf(' \sigma(E) increases by a factor r^fa ')
printf(' \n r= % 1f ',r)
printf(' \n fa= % 1f ',fa)
|
4b82bfe2ddcca2619b2365b42a4f9e7b5be86bcd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH10/EX10.5/Ex10_5.sce | 125860ba25051bac98d0bc024a13d50b05041ec8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | sce | Ex10_5.sce | //Ex10_5
clc
x='110';
disp("Octal number="+string(x))//octal value
y=oct2dec(x)// octal to decimal
str=dec2bin(y)//decimal to binary
disp("Eqivalent Binary number="+string(str))
|
f15a6ea022073757debb791d50933bbc713bf68d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH4/EX4.11/exa_4_11.sce | a25e248ead30faa4e699a51e5adb2ea40e153473 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 663 | sce | exa_4_11.sce | //Exa 4.11
clc;
clear;
close;
//given data
k=40;// in W/m degree C
d =12*10^-3;// in meter
t=127;// in degree C
t_i=877;// in degree C
t_infinite=52;// in degree C
h= 20;// in W/m^2 degree C
rho=7800;// in W/m^2K
C=600;// in J/kg K
r=d/2;// in meter
//l_s = V/A = r/3
l_s = r/3;
Bi= h*l_s/k;
// since Bi < 0.1 , hence lumped heat capacity analysis can be applied
// (t-t_infinite)/(t_i-t_infinite) = %e^(-h*A*toh /(rho*V*C)) = %e^(-h*toh/(rho*l_s*C)) = %e^(-h*toh/(rho*C*l_s))
toh = -log((t-t_infinite)/(t_i-t_infinite))*rho*C*l_s/h;// in sec
disp("Time required for cooling process : "+string(toh)+" seconds or "+string(toh/60)+" minutes") |
19a00e5bb46e861d8f09ec77fc0b61427558b430 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH8/EX8.2/Ex8_2.sce | c1c11b226de188a7afaa71b8beb794cdccf29090 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 560 | sce | Ex8_2.sce | //Ex:8.2
clc;
clear;
close;
tr=30;// rediative life time in ns
tnr=50;// nonrediative life time in ns
i=40*10^-3;// drive current in amp
pi=28.4*10^-3;// internal power in watt
h=6.626*10^-34;// plank constant
c=3*10^8;// the speed of light in m/s
e=1.602*10^-19;// charge
t=tr*tnr/(tr+tnr);// total carrier recombination lifetime ns
ni=t/tr;// internal quantam efficiency
y=(ni*h*c*i)/(e*pi);// peak emission wavelength in m
printf("The total carrier recombination lifetime =%f ns", t);
printf("\n The peak emission wavelength =%f um", y*10^6); |
9fce9319deb5319571b5691f1d8b0addcbbd708c | d86b018eb7bf61fd63158c13ffe7cea53c558c9d | /src/bruteforce_recognizer.sci | 0ddf08aa51b56ff45d27816273aa9d840e78b704 | [] | no_license | ingoncalves/face-recognition | 710a67a4ab659333d679ab83576a35c9fef78976 | ed9bb1122bd0cbb544ede993b58e378766eae281 | refs/heads/master | 2021-01-22T08:59:17.237554 | 2015-07-29T17:23:19 | 2015-07-29T17:23:19 | 38,324,975 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,486 | sci | bruteforce_recognizer.sci | function [acepted, rejected] = bruteforce_recognizer(trainSamples, testSamples)
brain = bruteforce_train(trainSamples);
acepted = list();
rejected = list();
for i=1: size(testSamples)
sampl = testSamples(i);
c = bruteforce_test(imread(sampl.path), brain);
if c == sampl.class then
acepted($+1) = sampl;
else
rejected($+1) = sampl;
end
end
endfunction
function out = bruteforce_train(samples)
brain = tlist(["brain", "class", "samples"], [], list());
for i=1:Nc
brain.class(i) = iClass(i);
brain.samples(i) = list();
end
for i=1:size(samples)
sampl = samples(i);
index = find(brain.class==sampl.class);
class = brain.samples(index);
class($+1) = imread(sampl.path);
brain.samples(index) = class;
end
out = brain;
endfunction
function [class, sampl] = bruteforce_test(imagem, brain)
nc = size(brain.class, 1);
for i=1:nc
nSamples = brain.samples(i);
ni = size(nSamples);
for j=1:ni
sampl = nSamples(j);
diffs(i,j) = bruteforce_diffImagem(imagem, sampl);
end
end
[j,k] = min(diffs);
cIndex = k(1);//indice da classe
sIndex = k(2);//indice da imagem
class = brain.class(cIndex);
samples = brain.samples(cIndex);
sampl = samples(sIndex);
endfunction
function out = bruteforce_diffImagem(A,B)
out = norm(A(:) - B(:));
endfunction
|
0ec4ef6ead92b49eebe753822eb5f56e4a7d6b4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /668/CH2/EX2.7.1/eg2_7_1.sce | 3d3f7cab6fdd357d5713d2b185a31841c8d154e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 322 | sce | eg2_7_1.sce | n = 10^22; // electrons per cm cube
h = 1.05457*10^-34; //in J.s
m0 = 0.91 * 10^-30; //in kg
q = 1.6*10^-19;
E= 0.5*h^2*(3*%pi*%pi*n)^(2/3)/(m0*q);
disp(E*10^4,"The Fermi energy (in eV) is the highest occupied energy state at 0 K is")
vel = h*(3*%pi*%pi*n*10^6)^(1/3)/m0;
disp(vel, "The fermi velocity (in m/s) is") |
6cff7f95d94a08f4525b04f0e1baa723345ee1c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH5/EX5.4/Ex5_4.sce | ff49238f3cb70fda131286bdbc1ff9dc59cd632e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sce | Ex5_4.sce | clear;
clc;
d = 20;// inches
I = 1673;// inch units
W = 3/4;// ton per foot run
f = 8;// tons/in^2
Z = I/(d/2);// inch-units
M_r = f*Z;// ton-inches
l = sqrt(M_r*32/(3*12));//feet
printf('The maximum permissible span for this beam is l = %.2f feet',l);
|
7ddd69ace54233efc407dca7fef2a419d7892deb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3776/CH8/EX8.8/Ex8_8.sce | 57bd7191808dcdf59cbd30b8d6e205e1e837975c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,012 | sce | Ex8_8.sce | clear
//Given
e_0 = -500 //10-6 m/m
e_45 = 200 //10-6 m/m
e_90 = 300 //10-6 m/m
E = 200 //GPa - youngs modulus of steel
v = 0.3 // Poissons ratio
//calculations
e_xy = 2*e_45 - (e_0 +e_90 ) //10-6 m/m from equation 8-40 in text
// from example 8.7
e_x = -500 //10-6 m/m The contraction in X direction
e_y = 300 //10-6 m/m The contraction in Y direction
e_xy = -600 //10-6 m/m discorted angle
centre = (e_x + e_y)/2 //10-6 m/m
point_x = -500 //The x coordinate of a point on mohr circle
point_y = 300 //The y coordinate of a point on mohr circle
Radius = 500 //10-6 m/m - from mohr circle
e_1 = Radius +centre //MPa The principle strain
e_2 = -Radius +centre //MPa The principle strain
stress_1 = E*(10**-3)*(e_1+v*e_2)/(1-v**2) //MPa the stress in this direction
stress_2 = E*(10**-3)*(e_2+v*e_1)/(1-v**2) //MPa the stress in this direction
printf("\n The principle stresses are %0.2f MPa %0.2f MPa",stress_1,stress_2)
// answer in textbook is wrong
|
1654d111a2655ee84a85d91aa7ee643033d85f73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH1/EX1.3/1_3.sce | 30384d9da2e44d9cbb12561920117f593d5a9cb3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | 1_3.sce | //All the quantities are expressed in SI units
alpha = 4; //angle of attack in degrees
c_l = 0.85; //lift coefficient
c_m_c4 = -0.09; //coefficient of moment about the quarter chord
x_cp = 1/4 - (c_m_c4/c_l); //the location centre of pressure with respect to chord
printf("\n\nRESULTS\n--------\nXcp/C = %1.3f\n\n",x_cp) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.