blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
6
214
content_id
stringlengths
40
40
detected_licenses
listlengths
0
50
license_type
stringclasses
2 values
repo_name
stringlengths
6
87
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
15 values
visit_date
timestamp[us]date
2016-08-04 09:00:04
2023-09-05 17:18:33
revision_date
timestamp[us]date
1998-12-11 00:15:10
2023-09-02 05:42:40
committer_date
timestamp[us]date
2005-04-26 09:58:02
2023-09-02 05:42:40
github_id
int64
436k
586M
star_events_count
int64
0
12.3k
fork_events_count
int64
0
6.3k
gha_license_id
stringclasses
7 values
gha_event_created_at
timestamp[us]date
2012-11-16 11:45:07
2023-09-14 20:45:37
gha_created_at
timestamp[us]date
2010-03-22 23:34:58
2023-01-07 03:47:44
gha_language
stringclasses
36 values
src_encoding
stringclasses
17 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
1 class
length_bytes
int64
5
10.4M
extension
stringclasses
15 values
filename
stringlengths
2
96
content
stringlengths
5
10.4M
27a652bf350e36a913219679cd34b004c0165f94
449d555969bfd7befe906877abab098c6e63a0e8
/172/CH5/EX5.11/ex11.sce
0648afff60ab729e749cdf785ab4e321a3199869
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
702
sce
ex11.sce
//example 11 //rate of change of temperature clear clc Q=1500 //power produced by burning wood in J/s mair=1 //mass of air in kg mwood=5 //mass of soft pine wood in kg miron=25 //mass of cast iron in kg Cvair=0.717 //constant volume specific heat for air in kJ/kg Cwood=1.38 //constant volume specific heat for wood in kJ/kg Ciron=0.42 //constant volume specific heat for iron in kJ/kg dT=75-20 //increase in temperature in Celsius T=(Q/1000)/(mair*Cvair+mwood*Cwood+miron*Ciron) //rate of change of temperature in K/s dt=(dT/T)/60 //in minutes printf(" hence,the rate of change of temperature is dt=%.4f K/s.\n", T) printf(" and time taken to reach a temperature of T=%.0f min.\n", dt)
d1cbdb28075ec69fe968449818607b2eb15ccb90
449d555969bfd7befe906877abab098c6e63a0e8
/2223/CH18/EX18.30/Ex18_30.sce
ead21177c9008ef28c3290d8c39ce2feaee84df5
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,254
sce
Ex18_30.sce
// scilab Code Exa 18.30 Inward Flow Radial Gas turbine T1=873; // the gas entry temperature at nozzle in Kelvin p1=4; // the gas entry pressure at nozzle in bar n_T=0.85; // isentropic efficiency d2=0.4; // rotor blade ring diameter at entry in m d3=0.2; // rotor blade ring diameter at exit in m pr_t=4; // static Pressure Ratio across the turbine(p3/p1) pr_n=2; // static Pressure Ratio across the nozzles(p3/p1) phi=0.3; // flow coefficient at impeller entry gamma=1.4; N=18e3; // rotor Speed in RPM m=5; // mass flow rate of gas in kg/s cp=1005; // Specific Heat at Constant Pressure in J/(kgK) R=287; u2=%pi*d2*N/60; u3=%pi*d3*N/60; cr2=phi*u2; // part(a) T3ss=T1/(pr_t^((gamma-1)/gamma)); T3=T1-n_T*(T1-T3ss); T2s=T1/(pr_n^((gamma-1)/gamma)); T2=T2s+(0.5*(T3-T3ss)); // half of the losses(T3-T3ss) occur in the nozzles p2=p1/pr_n; rho2=(p2*1e5)/(R*T2); b2=m/(rho2*cr2*%pi*d2); disp("cm",b2*1e2,"(a)axial width of the impeller blade passage at entry is") alpha2=atand(cr2/u2); disp("degree",alpha2,"(b)nozzle exit air angle is") cx3=cr2; beta3=atand(cx3/u3); disp("degree",beta3,"(c)impeller exit air angle is") c_theta3=0; c_theta2=u2; P=m*(u2*c_theta2-u3*c_theta3); disp("kW",P*1e-3,"(d)power developed is")
77279fe0d671fd9892e9f4032846ab6f217bb0b9
449d555969bfd7befe906877abab098c6e63a0e8
/3877/CH1/EX1.6/Ex1_6.sce
ca5ec79f0336828afa9bb2dc9128300ea6c84c63
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
343
sce
Ex1_6.sce
//Given N = 160 //Speed of driving shaft in rpm d = 18//distance between parallel shafts in mm //calculation Omega = (2*%pi*N)/60//angular velocity in rad/s v = (Omega*d)/1000//sliding velocity in m/s //Result clc printf('Angular Velocity is %f rad/s \n',Omega) printf(' The maximum velocity of sliding is %f m/s \n',v)
06976211cb29ec874c89886fe633e6a41905872f
449d555969bfd7befe906877abab098c6e63a0e8
/1853/CH3/EX3.8/Ex3_8.sce
743a25c4d330c5fd02e2d8ca2407b2b9c450a384
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
293
sce
Ex3_8.sce
////calculate the mutual inductance between the two coil N1=50 N2=400 A=150e-4 l=200e-2 u=2500 s=l/(4*3.14*10^-7*A*u) M=(N1*N2)/s dI1=24 dt=0.03 eM2=M*dI1/dt disp('induced emf= '+string(eM2)+' volts' , 'Mutual inductance= '+string(M)+' henry' , 's='+string(s)+' AT/Wb')
6b434365d61b2871dc6cec778988a6b94558d4e9
b29e9715ab76b6f89609c32edd36f81a0dcf6a39
/ketpic2escifiles6/Cancoordpara.sci
1574d812ccc41b3887e3b6db626ba866956ffac4
[]
no_license
ketpic/ketcindy-scilab-support
e1646488aa840f86c198818ea518c24a66b71f81
3df21192d25809ce980cd036a5ef9f97b53aa918
refs/heads/master
2021-05-11T11:40:49.725978
2018-01-16T14:02:21
2018-01-16T14:02:21
117,643,554
1
0
null
null
null
null
UTF-8
Scilab
false
false
279
sci
Cancoordpara.sci
// 13.08.13 function Out=Cancoordpara(P) global PHI THETA; Xz=P(1); Yz=P(2); Zz=P(3); X=-Xz*sin(PHI)-Yz*cos(PHI)*cos(THETA)+Zz*cos(PHI)*sin(THETA); Y=Xz*cos(PHI)-Yz*sin(PHI)*cos(THETA)+Zz*sin(PHI)*sin(THETA); Z=Yz*sin(THETA)+Zz*cos(THETA); Out=[X,Y,Z]; endfunction
0706dcb94f067e43973220ed5ad88f8613f347da
98074d67753fcd91680ba7e447cba54e710d6410
/topologias pruebas/EstiNet/topo1/topo1.results/topo1.sce
522390d73d3cfcae0996c702090bec893755e798
[]
no_license
elchobo5/licenciaturaSDN
82fd88740f131234fde2e3d965d8e69cc85a22d2
9868bbb16c26389eac7353f873aac08654a085d1
refs/heads/master
2020-04-06T07:00:01.266197
2016-09-03T15:13:12
2016-09-03T15:13:12
63,431,538
0
0
null
null
null
null
UTF-8
Scilab
false
false
221
sce
topo1.sce
#estinet scenario file $node_(1) set 415.000000 155.000000 0 0.0 0.0 0.0 $node_(2) set 414.000000 56.000000 0 0.0 0.0 0.0 $node_(3) set 325.000000 62.000000 0 0.0 0.0 0.0 $node_(4) set 332.000000 131.000000 0 0.0 0.0 0.0
1154ff63e2060b248ce8a494e4b28149a0c0bd71
449d555969bfd7befe906877abab098c6e63a0e8
/3673/CH3/EX3.1/Ex3_1.sce
e0cae4a6b0d740ea5757799e7bf215d134b26256
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
287
sce
Ex3_1.sce
//Example 3_1 page no:112 clc r1=13//resistance in ohm r2=12//resistance in ohm r3=14//resistance in ohm R1=r1*r2/(r1+r2+r3) disp(R1,"resistance R1 is (in ohm)") R2=r3*r1/(r1+r2+r3) disp(R2,"resistance R2 is (in ohm)") R3=r2*r3/(r1+r2+r3) disp(R3,"resistance R3 is (in ohm)")
e2734b40e3a2507237717eff1510f1cfcc488a09
449d555969bfd7befe906877abab098c6e63a0e8
/2150/CH1/EX1.3/ex1_3.sce
d1ef8c27bb4e6f82baa6659d839e289f87f962c3
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
220
sce
ex1_3.sce
// Exa 1.3 clc; clear; close; // Given data V_L = 10;// in V R_L = 1*10^3;// in Ω I_L = V_L/R_L;// in A I_L = I_L*10^3;// mA disp(V_L,"The load voltage in volts is : ") disp(I_L,"The load current in mA is");
d1a8f523193693da0c9ba33517f8fa6e563b3ccc
f542bc49c4d04b47d19c88e7c89d5db60922e34e
/PresentationFiles_Subjects/CONT/CT29HRN/ATWM1_Working_Memory_MEG_CT29HRN_Session2/ATWM1_Working_Memory_MEG_Salient_Uncued_Run2.sce
60e385e3969367c15da1ff8112a33fb517886da9
[]
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_Run2.sce
# ATWM1 MEG Experiment scenario = "ATWM1_Working_Memory_MEG_salient_uncued_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; 42 62 292 292 399 125 1792 2992 2242 fixation_cross gabor_176 gabor_048 gabor_135 gabor_070 gabor_176 gabor_048_alt gabor_135 gabor_070_alt "2_1_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_1800_3000_2250_gabor_patch_orientation_176_048_135_070_target_position_2_4_retrieval_position_2" gabor_circ gabor_048_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_1_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_048_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 2192 2992 2492 fixation_cross gabor_111 gabor_052 gabor_141 gabor_180 gabor_111_alt gabor_052 gabor_141 gabor_180_alt "2_2_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_2200_3000_2500_gabor_patch_orientation_111_052_141_180_target_position_1_4_retrieval_position_1" gabor_111_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_2_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_111_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 2242 fixation_cross gabor_169 gabor_109 gabor_081 gabor_144 gabor_169 gabor_109_alt gabor_081 gabor_144_alt "2_3_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_1850_3000_2250_gabor_patch_orientation_169_109_081_144_target_position_2_4_retrieval_position_2" gabor_circ gabor_109_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_3_Retrieval_Working_Memory_MEG_P8_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; 42 61 292 292 399 125 2142 2992 2342 fixation_cross gabor_111 gabor_049 gabor_066 gabor_031 gabor_111_alt gabor_049 gabor_066 gabor_031_alt "2_4_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_2150_3000_2350_gabor_patch_orientation_111_049_066_031_target_position_1_4_retrieval_position_1" gabor_156_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_4_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_156_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 1792 2992 2142 fixation_cross gabor_068 gabor_156 gabor_138 gabor_175 gabor_068 gabor_156_alt gabor_138 gabor_175_alt "2_5_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_UncuedRetriev_300_300_399_1800_3000_2150_gabor_patch_orientation_068_156_138_175_target_position_2_4_retrieval_position_1" gabor_068_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_5_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_068_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 1942 2992 2342 fixation_cross gabor_068 gabor_048 gabor_127 gabor_086 gabor_068 gabor_048_alt gabor_127_alt gabor_086 "2_6_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_1950_3000_2350_gabor_patch_orientation_068_048_127_086_target_position_2_3_retrieval_position_2" gabor_circ gabor_002_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_6_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_002_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 2192 2992 2442 fixation_cross gabor_159 gabor_003 gabor_113 gabor_041 gabor_159 gabor_003 gabor_113_alt gabor_041_alt "2_7_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_2200_3000_2450_gabor_patch_orientation_159_003_113_041_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_086_framed blank blank blank blank fixation_cross_white "2_7_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_086_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 1942 2992 1942 fixation_cross gabor_054 gabor_031 gabor_142 gabor_164 gabor_054 gabor_031 gabor_142_alt gabor_164_alt "2_8_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_1950_3000_1950_gabor_patch_orientation_054_031_142_164_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_118_framed blank blank blank blank fixation_cross_white "2_8_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_118_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 42 64 292 292 399 125 2092 2992 2492 fixation_cross gabor_174 gabor_119 gabor_035 gabor_052 gabor_174_alt gabor_119 gabor_035_alt gabor_052 "2_9_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_UncuedRetriev_300_300_399_2100_3000_2500_gabor_patch_orientation_174_119_035_052_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_052_framed blank blank blank blank fixation_cross_white "2_9_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_052_retrieval_position_4" 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 2342 fixation_cross gabor_169 gabor_113 gabor_058 gabor_005 gabor_169_alt gabor_113 gabor_058 gabor_005_alt "2_10_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_2350_gabor_patch_orientation_169_113_058_005_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_005_framed blank blank blank blank fixation_cross_white "2_10_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_005_retrieval_position_4" 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 2192 fixation_cross gabor_163 gabor_147 gabor_096 gabor_123 gabor_163_alt gabor_147_alt gabor_096 gabor_123 "2_11_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_1750_3000_2200_gabor_patch_orientation_163_147_096_123_target_position_1_2_retrieval_position_2" gabor_circ gabor_147_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_11_Retrieval_Working_Memory_MEG_P8_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; 42 61 292 292 399 125 1842 2992 2242 fixation_cross gabor_096 gabor_019 gabor_147 gabor_178 gabor_096 gabor_019_alt gabor_147_alt gabor_178 "2_12_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_2250_gabor_patch_orientation_096_019_147_178_target_position_2_3_retrieval_position_2" gabor_circ gabor_069_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_12_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_069_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 1842 2992 2292 fixation_cross gabor_074 gabor_159 gabor_095 gabor_013 gabor_074 gabor_159_alt gabor_095_alt gabor_013 "2_13_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_1850_3000_2300_gabor_patch_orientation_074_159_095_013_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_095_framed gabor_circ blank blank blank blank fixation_cross_white "2_13_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_095_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 1792 2992 2142 fixation_cross gabor_135 gabor_048 gabor_066 gabor_027 gabor_135 gabor_048_alt gabor_066_alt gabor_027 "2_14_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_1800_3000_2150_gabor_patch_orientation_135_048_066_027_target_position_2_3_retrieval_position_2" gabor_circ gabor_048_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_14_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_048_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 2142 2992 1992 fixation_cross gabor_042 gabor_023 gabor_112 gabor_156 gabor_042_alt gabor_023_alt gabor_112 gabor_156 "2_15_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_UncuedRetriev_300_300_399_2150_3000_2000_gabor_patch_orientation_042_023_112_156_target_position_1_2_retrieval_position_3" gabor_circ gabor_circ gabor_067_framed gabor_circ blank blank blank blank fixation_cross_white "2_15_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_067_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 2042 fixation_cross gabor_140 gabor_172 gabor_056 gabor_116 gabor_140_alt gabor_172 gabor_056_alt gabor_116 "2_16_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_2050_gabor_patch_orientation_140_172_056_116_target_position_1_3_retrieval_position_1" gabor_001_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_16_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_001_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 1742 2992 2292 fixation_cross gabor_102 gabor_164 gabor_044 gabor_018 gabor_102 gabor_164_alt gabor_044_alt gabor_018 "2_17_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_1750_3000_2300_gabor_patch_orientation_102_164_044_018_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_180_framed gabor_circ blank blank blank blank fixation_cross_white "2_17_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_180_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 1892 fixation_cross gabor_164 gabor_130 gabor_101 gabor_017 gabor_164 gabor_130_alt gabor_101_alt gabor_017 "2_18_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_2150_3000_1900_gabor_patch_orientation_164_130_101_017_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_101_framed gabor_circ blank blank blank blank fixation_cross_white "2_18_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_101_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 2042 2992 2292 fixation_cross gabor_022 gabor_174 gabor_157 gabor_046 gabor_022 gabor_174 gabor_157_alt gabor_046_alt "2_19_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_2050_3000_2300_gabor_patch_orientation_022_174_157_046_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_109_framed gabor_circ blank blank blank blank fixation_cross_white "2_19_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_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 64 292 292 399 125 1742 2992 2242 fixation_cross gabor_064 gabor_179 gabor_094 gabor_154 gabor_064_alt gabor_179 gabor_094 gabor_154_alt "2_20_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_UncuedRetriev_300_300_399_1750_3000_2250_gabor_patch_orientation_064_179_094_154_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_094_framed gabor_circ blank blank blank blank fixation_cross_white "2_20_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_094_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 2242 2992 2142 fixation_cross gabor_049 gabor_169 gabor_139 gabor_106 gabor_049 gabor_169_alt gabor_139_alt gabor_106 "2_21_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_2250_3000_2150_gabor_patch_orientation_049_169_139_106_target_position_2_3_retrieval_position_2" gabor_circ gabor_029_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_21_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_029_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 1742 2992 2442 fixation_cross gabor_131 gabor_101 gabor_158 gabor_077 gabor_131_alt gabor_101_alt gabor_158 gabor_077 "2_22_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_1750_3000_2450_gabor_patch_orientation_131_101_158_077_target_position_1_2_retrieval_position_2" gabor_circ gabor_052_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_22_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_052_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 1942 2992 2592 fixation_cross gabor_175 gabor_140 gabor_009 gabor_117 gabor_175_alt gabor_140 gabor_009_alt gabor_117 "2_23_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_1950_3000_2600_gabor_patch_orientation_175_140_009_117_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_009_framed gabor_circ blank blank blank blank fixation_cross_white "2_23_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_009_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 42 63 292 292 399 125 2042 2992 1942 fixation_cross gabor_039 gabor_091 gabor_054 gabor_075 gabor_039_alt gabor_091 gabor_054_alt gabor_075 "2_24_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_UncuedRetriev_300_300_399_2050_3000_1950_gabor_patch_orientation_039_091_054_075_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_121_framed blank blank blank blank fixation_cross_white "2_24_Retrieval_Working_Memory_MEG_P8_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; 42 62 292 292 399 125 1892 2992 1892 fixation_cross gabor_069 gabor_125 gabor_144 gabor_007 gabor_069_alt gabor_125 gabor_144_alt gabor_007 "2_25_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_1900_gabor_patch_orientation_069_125_144_007_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_144_framed gabor_circ blank blank blank blank fixation_cross_white "2_25_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_144_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 2042 2992 2142 fixation_cross gabor_172 gabor_063 gabor_023 gabor_043 gabor_172 gabor_063 gabor_023_alt gabor_043_alt "2_26_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_2050_3000_2150_gabor_patch_orientation_172_063_023_043_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_092_framed blank blank blank blank fixation_cross_white "2_26_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_092_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 2192 2992 2592 fixation_cross gabor_033 gabor_152 gabor_120 gabor_169 gabor_033 gabor_152_alt gabor_120 gabor_169_alt "2_27_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_2200_3000_2600_gabor_patch_orientation_033_152_120_169_target_position_2_4_retrieval_position_2" gabor_circ gabor_152_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_27_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_152_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 2192 2992 1992 fixation_cross gabor_109 gabor_179 gabor_134 gabor_065 gabor_109_alt gabor_179 gabor_134 gabor_065_alt "2_28_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_2200_3000_2000_gabor_patch_orientation_109_179_134_065_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_019_framed blank blank blank blank fixation_cross_white "2_28_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_019_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 1992 2992 2092 fixation_cross gabor_176 gabor_038 gabor_150 gabor_127 gabor_176_alt gabor_038_alt gabor_150 gabor_127 "2_29_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_2000_3000_2100_gabor_patch_orientation_176_038_150_127_target_position_1_2_retrieval_position_2" gabor_circ gabor_086_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_29_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_086_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 1992 fixation_cross gabor_133 gabor_003 gabor_023 gabor_179 gabor_133_alt gabor_003_alt gabor_023 gabor_179 "2_30_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_2100_3000_2000_gabor_patch_orientation_133_003_023_179_target_position_1_2_retrieval_position_2" gabor_circ gabor_003_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_30_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_003_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 1892 fixation_cross gabor_174 gabor_065 gabor_041 gabor_010 gabor_174_alt gabor_065 gabor_041_alt gabor_010 "2_31_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_2250_3000_1900_gabor_patch_orientation_174_065_041_010_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_041_framed gabor_circ blank blank blank blank fixation_cross_white "2_31_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_041_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 1892 2992 2342 fixation_cross gabor_098 gabor_052 gabor_076 gabor_157 gabor_098 gabor_052_alt gabor_076 gabor_157_alt "2_32_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_2350_gabor_patch_orientation_098_052_076_157_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_018_framed blank blank blank blank fixation_cross_white "2_32_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_018_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 42 63 292 292 399 125 2042 2992 2392 fixation_cross gabor_166 gabor_011 gabor_082 gabor_143 gabor_166_alt gabor_011 gabor_082 gabor_143_alt "2_33_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_UncuedRetriev_300_300_399_2050_3000_2400_gabor_patch_orientation_166_011_082_143_target_position_1_4_retrieval_position_2" gabor_circ gabor_057_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_33_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_057_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 2242 2992 1892 fixation_cross gabor_040 gabor_061 gabor_121 gabor_168 gabor_040_alt gabor_061_alt gabor_121 gabor_168 "2_34_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_2250_3000_1900_gabor_patch_orientation_040_061_121_168_target_position_1_2_retrieval_position_1" gabor_040_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_34_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_040_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 2142 2992 2242 fixation_cross gabor_046 gabor_133 gabor_161 gabor_028 gabor_046 gabor_133_alt gabor_161 gabor_028_alt "2_35_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_2150_3000_2250_gabor_patch_orientation_046_133_161_028_target_position_2_4_retrieval_position_2" gabor_circ gabor_133_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_35_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_133_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 2492 fixation_cross gabor_067 gabor_025 gabor_049 gabor_180 gabor_067 gabor_025_alt gabor_049_alt gabor_180 "2_36_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_2100_3000_2500_gabor_patch_orientation_067_025_049_180_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_049_framed gabor_circ blank blank blank blank fixation_cross_white "2_36_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_049_retrieval_position_3" 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 2192 fixation_cross gabor_013 gabor_124 gabor_159 gabor_049 gabor_013_alt gabor_124_alt gabor_159 gabor_049 "2_37_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_UncuedRetriev_300_300_399_2200_3000_2200_gabor_patch_orientation_013_124_159_049_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_096_framed blank blank blank blank fixation_cross_white "2_37_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_096_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 1892 2992 2192 fixation_cross gabor_074 gabor_095 gabor_053 gabor_027 gabor_074 gabor_095_alt gabor_053_alt gabor_027 "2_38_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_2200_gabor_patch_orientation_074_095_053_027_target_position_2_3_retrieval_position_2" gabor_circ gabor_141_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_38_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_141_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 1792 2992 2542 fixation_cross gabor_169 gabor_086 gabor_111 gabor_043 gabor_169 gabor_086 gabor_111_alt gabor_043_alt "2_39_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_UncuedRetriev_300_300_399_1800_3000_2550_gabor_patch_orientation_169_086_111_043_target_position_3_4_retrieval_position_2" gabor_circ gabor_086_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_39_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_086_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 2042 2992 2392 fixation_cross gabor_135 gabor_165 gabor_026 gabor_005 gabor_135 gabor_165_alt gabor_026 gabor_005_alt "2_40_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_2050_3000_2400_gabor_patch_orientation_135_165_026_005_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_050_framed blank blank blank blank fixation_cross_white "2_40_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_050_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 1992 2992 2092 fixation_cross gabor_052 gabor_157 gabor_080 gabor_120 gabor_052 gabor_157 gabor_080_alt gabor_120_alt "2_41_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_2000_3000_2100_gabor_patch_orientation_052_157_080_120_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_032_framed gabor_circ blank blank blank blank fixation_cross_white "2_41_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_032_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 1792 2992 2092 fixation_cross gabor_012 gabor_063 gabor_093 gabor_130 gabor_012_alt gabor_063 gabor_093 gabor_130_alt "2_42_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_1800_3000_2100_gabor_patch_orientation_012_063_093_130_target_position_1_4_retrieval_position_1" gabor_012_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_42_Retrieval_Working_Memory_MEG_P8_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; 42 61 292 292 399 125 1942 2992 2292 fixation_cross gabor_062 gabor_172 gabor_105 gabor_024 gabor_062 gabor_172_alt gabor_105_alt gabor_024 "2_43_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_1950_3000_2300_gabor_patch_orientation_062_172_105_024_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_150_framed gabor_circ blank blank blank blank fixation_cross_white "2_43_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_150_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 2392 fixation_cross gabor_043 gabor_073 gabor_151 gabor_027 gabor_043 gabor_073 gabor_151_alt gabor_027_alt "2_44_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_2250_3000_2400_gabor_patch_orientation_043_073_151_027_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_151_framed gabor_circ blank blank blank blank fixation_cross_white "2_44_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_151_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 42 64 292 292 399 125 1742 2992 2442 fixation_cross gabor_110 gabor_026 gabor_046 gabor_079 gabor_110_alt gabor_026 gabor_046 gabor_079_alt "2_45_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_UncuedRetriev_300_300_399_1750_3000_2450_gabor_patch_orientation_110_026_046_079_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_046_framed gabor_circ blank blank blank blank fixation_cross_white "2_45_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_046_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 1892 2992 1892 fixation_cross gabor_007 gabor_135 gabor_112 gabor_051 gabor_007_alt gabor_135 gabor_112_alt gabor_051 "2_46_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_1900_gabor_patch_orientation_007_135_112_051_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_112_framed gabor_circ blank blank blank blank fixation_cross_white "2_46_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_112_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 1892 2992 2192 fixation_cross gabor_013 gabor_169 gabor_099 gabor_039 gabor_013 gabor_169_alt gabor_099_alt gabor_039 "2_47_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_2200_gabor_patch_orientation_013_169_099_039_target_position_2_3_retrieval_position_2" gabor_circ gabor_169_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_47_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_169_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 2042 fixation_cross gabor_072 gabor_134 gabor_001 gabor_161 gabor_072 gabor_134_alt gabor_001_alt gabor_161 "2_48_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_2100_3000_2050_gabor_patch_orientation_072_134_001_161_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_001_framed gabor_circ blank blank blank blank fixation_cross_white "2_48_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_001_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 1892 2992 2192 fixation_cross gabor_122 gabor_143 gabor_009 gabor_170 gabor_122 gabor_143_alt gabor_009 gabor_170_alt "2_49_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_2200_gabor_patch_orientation_122_143_009_170_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_032_framed blank blank blank blank fixation_cross_white "2_49_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_032_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 1942 2992 2492 fixation_cross gabor_001 gabor_173 gabor_035 gabor_148 gabor_001 gabor_173_alt gabor_035_alt gabor_148 "2_50_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_1950_3000_2500_gabor_patch_orientation_001_173_035_148_target_position_2_3_retrieval_position_2" gabor_circ gabor_125_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_50_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_125_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_042 gabor_170 gabor_100 gabor_151 gabor_042 gabor_170 gabor_100_alt gabor_151_alt "2_51_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_2100_3000_2300_gabor_patch_orientation_042_170_100_151_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_015_framed blank blank blank blank fixation_cross_white "2_51_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_015_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 2592 fixation_cross gabor_144 gabor_099 gabor_125 gabor_084 gabor_144 gabor_099 gabor_125_alt gabor_084_alt "2_52_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_1750_3000_2600_gabor_patch_orientation_144_099_125_084_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_174_framed gabor_circ blank blank blank blank fixation_cross_white "2_52_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_174_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 1742 2992 2092 fixation_cross gabor_061 gabor_177 gabor_014 gabor_124 gabor_061 gabor_177 gabor_014_alt gabor_124_alt "2_53_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_UncuedRetriev_300_300_399_1750_3000_2100_gabor_patch_orientation_061_177_014_124_target_position_3_4_retrieval_position_2" gabor_circ gabor_177_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_53_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_177_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 2542 fixation_cross gabor_044 gabor_095 gabor_158 gabor_125 gabor_044_alt gabor_095 gabor_158 gabor_125_alt "2_54_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_2100_3000_2550_gabor_patch_orientation_044_095_158_125_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_125_framed blank blank blank blank fixation_cross_white "2_54_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_125_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 2592 fixation_cross gabor_100 gabor_040 gabor_022 gabor_062 gabor_100_alt gabor_040_alt gabor_022 gabor_062 "2_55_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_1800_3000_2600_gabor_patch_orientation_100_040_022_062_target_position_1_2_retrieval_position_2" gabor_circ gabor_179_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_55_Retrieval_Working_Memory_MEG_P8_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; 42 62 292 292 399 125 1942 2992 1992 fixation_cross gabor_129 gabor_050 gabor_003 gabor_109 gabor_129 gabor_050_alt gabor_003 gabor_109_alt "2_56_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_1950_3000_2000_gabor_patch_orientation_129_050_003_109_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_109_framed blank blank blank blank fixation_cross_white "2_56_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_109_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 42 64 292 292 399 125 1842 2992 2392 fixation_cross gabor_057 gabor_108 gabor_133 gabor_163 gabor_057 gabor_108_alt gabor_133_alt gabor_163 "2_57_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_UncuedRetriev_300_300_399_1850_3000_2400_gabor_patch_orientation_057_108_133_163_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_163_framed blank blank blank blank fixation_cross_white "2_57_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_163_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 42 62 292 292 399 125 2042 2992 1942 fixation_cross gabor_180 gabor_120 gabor_096 gabor_161 gabor_180 gabor_120_alt gabor_096 gabor_161_alt "2_58_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_2050_3000_1950_gabor_patch_orientation_180_120_096_161_target_position_2_4_retrieval_position_2" gabor_circ gabor_120_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_58_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_120_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 1842 2992 2042 fixation_cross gabor_038 gabor_003 gabor_168 gabor_061 gabor_038 gabor_003 gabor_168_alt gabor_061_alt "2_59_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_2050_gabor_patch_orientation_038_003_168_061_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_111_framed blank blank blank blank fixation_cross_white "2_59_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_111_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 42 63 292 292 399 125 2242 2992 1942 fixation_cross gabor_005 gabor_143 gabor_082 gabor_028 gabor_005 gabor_143_alt gabor_082 gabor_028_alt "2_60_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_UncuedRetriev_300_300_399_2250_3000_1950_gabor_patch_orientation_005_143_082_028_target_position_2_4_retrieval_position_1" gabor_055_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_60_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_055_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 2342 fixation_cross gabor_172 gabor_155 gabor_098 gabor_033 gabor_172 gabor_155_alt gabor_098 gabor_033_alt "2_61_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_2150_3000_2350_gabor_patch_orientation_172_155_098_033_target_position_2_4_retrieval_position_2" gabor_circ gabor_015_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_61_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_015_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 1992 2992 2542 fixation_cross gabor_049 gabor_074 gabor_160 gabor_179 gabor_049_alt gabor_074 gabor_160_alt gabor_179 "2_62_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_2000_3000_2550_gabor_patch_orientation_049_074_160_179_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_160_framed gabor_circ blank blank blank blank fixation_cross_white "2_62_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_160_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 1992 2992 2542 fixation_cross gabor_071 gabor_180 gabor_154 gabor_011 gabor_071_alt gabor_180 gabor_154_alt gabor_011 "2_63_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_2000_3000_2550_gabor_patch_orientation_071_180_154_011_target_position_1_3_retrieval_position_1" gabor_121_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_63_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_121_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 2192 2992 1942 fixation_cross gabor_109 gabor_137 gabor_171 gabor_019 gabor_109_alt gabor_137 gabor_171_alt gabor_019 "2_64_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_2200_3000_1950_gabor_patch_orientation_109_137_171_019_target_position_1_3_retrieval_position_1" gabor_109_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_64_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_109_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 1792 2992 2442 fixation_cross gabor_077 gabor_061 gabor_043 gabor_028 gabor_077 gabor_061 gabor_043_alt gabor_028_alt "2_65_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_UncuedRetriev_300_300_399_1800_3000_2450_gabor_patch_orientation_077_061_043_028_target_position_3_4_retrieval_position_2" gabor_circ gabor_107_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_65_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_107_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 1992 fixation_cross gabor_147 gabor_007 gabor_171 gabor_026 gabor_147_alt gabor_007_alt gabor_171 gabor_026 "2_66_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_2150_3000_2000_gabor_patch_orientation_147_007_171_026_target_position_1_2_retrieval_position_2" gabor_circ gabor_057_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_66_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_057_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 1842 2992 2142 fixation_cross gabor_116 gabor_057 gabor_097 gabor_034 gabor_116 gabor_057_alt gabor_097 gabor_034_alt "2_67_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_2150_gabor_patch_orientation_116_057_097_034_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_173_framed blank blank blank blank fixation_cross_white "2_67_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_173_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 2242 2992 2042 fixation_cross gabor_058 gabor_094 gabor_163 gabor_147 gabor_058 gabor_094_alt gabor_163_alt gabor_147 "2_68_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_2250_3000_2050_gabor_patch_orientation_058_094_163_147_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_163_framed gabor_circ blank blank blank blank fixation_cross_white "2_68_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_163_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 42 63 292 292 399 125 1992 2992 2042 fixation_cross gabor_158 gabor_086 gabor_120 gabor_047 gabor_158_alt gabor_086 gabor_120 gabor_047_alt "2_69_Encoding_Working_Memory_MEG_P8_RL_Salient_DoChange_UncuedRetriev_300_300_399_2000_3000_2050_gabor_patch_orientation_158_086_120_047_target_position_1_4_retrieval_position_2" gabor_circ gabor_136_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_69_Retrieval_Working_Memory_MEG_P8_RL_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_136_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 1992 2992 2092 fixation_cross gabor_010 gabor_139 gabor_173 gabor_115 gabor_010 gabor_139_alt gabor_173 gabor_115_alt "2_70_Encoding_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_300_300_399_2000_3000_2100_gabor_patch_orientation_010_139_173_115_target_position_2_4_retrieval_position_2" gabor_circ gabor_139_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_white "2_70_Retrieval_Working_Memory_MEG_P8_RL_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_139_retrieval_position_2" 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; };
61701d0cef6094872a338f00080ba11e3a02983d
a29c13fa4c58d566270fb640a4d1f184f92c1223
/02_Software/02_Control_Design/01_MPPT_Control_Simulation/MPPT_Simulation.sce
43d3a14353f68b08527c1251dcfc32f16c8dbf76
[]
no_license
li-bre/li-bre-wind
e15bc80f955d02731fe6e7eb255f24478a2395ae
d65584798c48461484e3a3531797612e3ba18c32
refs/heads/master
2022-02-28T15:32:22.893410
2022-02-08T15:54:47
2022-02-08T15:54:47
232,623,593
2
0
null
null
null
null
UTF-8
Scilab
false
false
6,889
sce
MPPT_Simulation.sce
// Siumlation tool that communicates with the Arduino... // to test the MPPT algorithm clear close port='COM7'; colormat=[[0 0.9 0.5];[0.75 0 0.75];[0 0 0];[0.25 0.75 1];[1 0 0];[0.75 0.5 0];[0.5 0 0.5];[0 0 0.6];[0 0.5 0];[0 0.9 0.5];[0.75 0 0.75];[0 0 0];[0.25 0.75 1];[1 0 0];[0.75 0.5 0];[0.5 0 0.5];[0 0 0.6];[0 0.5 0];[0 0.9 0.5];[0.75 0 0.75];[0 0 0];[0.25 0.75 1];[1 0 0];[0.75 0.5 0];[0.5 0 0.5];[0 0 0.6];[0 0.5 0]]; jj=1; END=0; data=0; D=0; Duty=0; v1=7; i=0; omega_max=255*v1/5; change=0; Verz_fak=0.05; rho=1.4; A=1.2*1.5; omega_stern_vec=[]; Power_stern_vec=[]; i_stern_vec=[]; y_Power_vec=zeros(1,256); // Manipulate P_turb verz_fak2=0.6; Verz_x1=sin(verz_fak2)+rand()*verz_fak2; Verz_x2=%pi-asin(verz_fak2)-rand()*verz_fak2; Verzerrer=sin(linspace(Verz_x1,Verz_x2,256))-0.2; Verzerrer=Verzerrer+rand([Verzerrer])*Verz_fak; // Start serial communication Serial_communication=openserial(port,"9600,n,8,1"); if Serial_communication == -1 then disp("USB not working"); else disp("USB OK"); end scf(0); clf(); f=get("current_figure"); f.figure_size=[1200,800] //Start of Working loop while END==0 // Read data from Arduino readserial(Serial_communication); sleep(200); while readserial(Serial_communication,1) ~= "D" end sleep(50); D=readserial(Serial_communication,3); if part(D,3)=="X" then D=part(D,1:2); end Duty=strtod(D); while readserial(Serial_communication,1) ~= "E" end kopt=readserial(Serial_communication,5); kopt=strtod(kopt)/1000000; while readserial(Serial_communication,1) ~= "G" end omega_stern=readserial(Serial_communication,6); omega_stern=strtod(omega_stern); while readserial(Serial_communication,1) ~= "S" end MODE=readserial(Serial_communication,5); MODE=strtod(MODE); while readserial(Serial_communication,1) ~= "V" end DeltaV1=readserial(Serial_communication,1); DeltaV1=strtod(DeltaV1); disp("DeltaV1, kopt, omega_stern, MODE"); disp([DeltaV1 kopt*1000000 omega_stern MODE]); disp("change und i -------------------------"); disp([change i]); // Decide if wind speed changes if MODE==2 then i_stern_vec(length(i_stern_vec)+1)=i; omega_stern_vec(length(omega_stern_vec)+1)=omega_stern; Power_stern_vec(length(Power_stern_vec)+1)=Power; end if change == 2 then v1=2+10*rand(); Verz_x1=sin(verz_fak2)+rand()*verz_fak2; Verz_x2=%pi-asin(verz_fak2)-rand()*verz_fak2; Verzerrer=sin(linspace(Verz_x1,Verz_x2,256))-0.2; Verzerrer=Verzerrer+rand([Verzerrer])*Verz_fak; change=0; end if change == 1 then change=change+1; end // Calculate output variables x_D=255:-1:0; x_omega=(255-x_D)*v1/5; x_omega_max=255*v1/5; x_c_p=(255*v1/5*x_omega.^2-x_omega.^3); c_p_norm=1/max(x_c_p); x_c_p=x_c_p*0.35*c_p_norm; y_Power=x_c_p*0.5*rho*v1^3*A.*Verzerrer; y_Voltage=linspace(12,13,256); y_Current=y_Power./y_Voltage; omega=x_omega(255-Duty); omega_max=255*v1/5; c_p=x_c_p(255-Duty); Power=y_Power(255-Duty); Voltage=y_Voltage(255-Duty); Current=y_Current(255-Duty); omega_st=string(int(omega*1000)); Voltage_st=string(int(Voltage*1000)); Current_st=string(int(Current*1000)); disp("Duty, omega, Voltage, Current, Power"); disp([Duty omega Voltage Current Power]); // Send output variables to Arduino writeserial(Serial_communication,ascii(119)); //w writeserial(Serial_communication,omega_st); writeserial(Serial_communication,ascii(86)); //V writeserial(Serial_communication,Voltage_st); writeserial(Serial_communication,ascii(73)); //I writeserial(Serial_communication,Current_st); // For plotting i=i+1; Duty_vec(i)=Duty; kopt_vec(i)=kopt; MODE_vec(i)=MODE; DeltaV1_vec(i)=DeltaV1; omega_vec(i)=omega; x_omega_vec(i,:)=x_omega; Voltage_vec(i)=Voltage; Current_vec(i)=Current; Power_vec(i)=Power; change_vec(i)=change; v1_vec(i)=v1; y_Power_vec(i,:)=y_Power; if i>4 & change==0 & Power_vec(i)==Power_vec(i-4) then change=1; end if i>1 then if v1_vec(i) ~= v1_vec(i-1) then new_vec(jj)=i; legend_str=[legend_str strcat(['$v_{1,' string(jj) '}=' part(string(v1),1:4) '\ m/s$'])]; jj=jj+1; end elseif i==1 then new_vec(jj)=i; jj=jj+1; legend_str=strcat(['$v_{1,1}=' string(v1) '.00\ m/s$']); end //PLOT LIVE plot(x_omega,y_Power,'k','color',colormat(jj,:),"thickness",2) if kopt~=0 & kopt_vec(i) ~= kopt_vec(i-1) then plot(x_omega(1:190),(kopt*x_omega(1:190).^3),'color',colormat(jj,:),"thickness",2,'linestyle','--') end if MODE==2 then plot(omega_stern_vec,Power_stern_vec,'rx') end Duty_vec=double(Duty_vec); omega_vec=double(omega_vec); Voltage_vec=double(Voltage_vec); Current_vec=double(Current_vec); Power_vec=double(Power_vec); omega_stern_vec=double(omega_stern_vec); Power_stern_vec=double(Power_stern_vec); plot(omega_vec, Power_vec,'x-') end // End of working loop // Plot results scf(3); clf(); f=get("current_figure"); f.figure_size=[1200,800]; for ii=1:length(new_vec) plot(x_omega_vec(new_vec(ii),:),y_Power_vec(new_vec(ii),:),'color',colormat(ii,:),"thickness",2) if (ii+1<=length(new_vec)) then plot(x_omega_vec(new_vec(ii+1),1:210),(kopt_vec(new_vec(ii+1))*x_omega_vec(new_vec(ii+1),1:210).^3),'color',colormat(ii,:),"thickness",2,'linestyle','--') end end plot(omega_vec,Power_vec,'color',[0 0 1],"thickness",2,'marker','x') plot(omega_vec(1),Power_vec(1),'color',[0 0 1],"thickness",2,'marker','d','markersize',16,'linest','none') plot(omega_stern_vec,Power_stern_vec,'color',[1 0 0],"thickness",2,'marker','x','linest','none') for ii=1:length(omega_stern_vec) plot([omega_vec(i_stern_vec(ii)) omega_stern_vec(ii)],[Power_stern_vec(ii) Power_stern_vec(ii)],'color',[1 0 0],"thickness",1,'linest','--') end legend_str2=[]; for i=1:size(legend_str,2)-1 legend_str2=[legend_str2 legend_str(i) strcat(['$k_{opt}(' part(legend_str(i),2:8) ')\cdot \omega_{turb}^3$']) ]; end legend_str2=[legend_str2 legend_str(i+1)]; l=legend([legend_str2 ... '$path\ of\ system\ states$' ... '$starting\ point\ of \ path$' ... '$\omega_{turb}^*$' ... ],2) xlabel ("$n_{turb}\ [RPM]$") ylabel ("$P_2\ [W]$") a=gca(); f=get("current_figure"); a.grid=[1 1]; a.font_size=4; a.title.font_size=4; a.x_label.font_size=4; a.y_label.font_size=4; l.font_size = 4; a.axes_visible="on"; a.data_bounds=[0,0,0;max(x_omega_vec),max(y_Power_vec),0]; filename='MPPT_simulation'; xs2pdf(0,filename); xs2pdf(gcf(),filename); // Before restarting the program abort closeserial(Serial_communication);
7b2fc7f995dbb774653c05479520f4d884276b6f
4bbc2bd7e905b75d38d36d8eefdf3e34ba805727
/ee/contrib/dspic/macros/misc/tfdata.sci
d3e0e486b493faeebda2f83c04adfbd0da62a1d7
[]
no_license
mannychang/erika2_Scicos-FLEX
397be88001bdef59c0515652a365dbd645d60240
12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba
refs/heads/master
2021-02-08T17:01:20.857172
2012-07-10T12:18:28
2012-07-10T12:18:28
244,174,890
0
0
null
null
null
null
UTF-8
Scilab
false
false
128
sci
tfdata.sci
function [num,den]=tfdata(G) // Gen numerator and denominator from a transfer function num=G('num'); den=G('den'); endfunction
a65213a57fbdb835d8e0bf9a1945b4686e660e7a
449d555969bfd7befe906877abab098c6e63a0e8
/3281/CH1/EX1.12/ex1_12.sce
4dffb1cd57be9fa3566bca812b2878df70c903e5
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
284
sce
ex1_12.sce
//Page Number: 26 //Example 1.12 clc; //Given Z0=50; //ohm T=2.23; //From chart zl=2+%i; ZLd=Z0*zl; disp('ohm',ZLd,'Normalized impedance:'); //Impedance of device is by negating the real part imp=-real(ZLd)+(imag(ZLd)*%i); disp('ohm',imp,'Impedance of device:');
971036c1161a038d6bcc6552f4b9d5c9bad56ab7
449d555969bfd7befe906877abab098c6e63a0e8
/1019/CH8/EX8.9/Example_8_9.sce
a5ef94c8e54b61602ab71d21ce236211a147665a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,346
sce
Example_8_9.sce
//Example 8.9 clear; clc; //Given T1=298;//initial temperature in K T2=1073;//final temperature in K R=8.314;//gas constant in J K^-1 mol^-1 delGfoH2=0;//standard free energy change in the formation of hydrogen in kJ mol^-1 delGfoC0=-137.27;//standard free energy change in the formation of CO in kJ mol^-1 delGfoH2O=-228.59;//standard free energy change in the formation of water in kJ mol^-1 delGfoC02=-394.38;//standard free energy change in the formation of CO2 in kJ mol^-1 delHfoH2=0;//standard enthalpy in the formation of hydrogen in kJ mol^-1 delHfoC0=-110.52;//standard enthalpy in the formation of CO in kJ mol^-1 delHfoH2O=-241.83;//standard enthalpy in the formation of water in kJ mol^-1 delHfoC02=-392.51;//standard enthalpy in the formation of CO2 in kJ mol^-1 //To determine the value of Kp at T1 and T2 delGo=delGfoH2+delGfoC02-(delGfoC0+delGfoH2O);//free energy change in kJ mol^-1 delHo=delHfoH2+delHfoC02-(delHfoC0+delHfoH2O);//standard enthalpy change in kJ mol^-1 k1=(-1000*delGo)/(R*T1);//k=log(Kp) Kp1=exp(k1);//equillibrium constant Kp at 298 K mprintf('Equillibrium constant,Kp at 298 K = %f ',Kp1); k2=((-1000*delHo/R)*((1/1073)-(1/298)))+k1;//equillibrium constant at 1073 K Kp2=exp(k2);//equillibrium constant Kp at 1073 K mprintf('\n Equillibrium constant,Kp at 1073 K = %f ',Kp2); //end
c1c9d0dcb1db5c1853a631ba7e720494c55c1c09
449d555969bfd7befe906877abab098c6e63a0e8
/3542/CH6/EX6.10/Ex6_10.sce
29c389cc70a6bde78a8e741afc8f69057276e1b8
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
765
sce
Ex6_10.sce
// Example no 6.10 // To demonstrate how the received signal is detected properly using baseband differential detector. // Page no. 310 clc; clear all; // Given data x1=-0.707; y1=-0.707; x2=0.707; y2=-0.707; x3=0.707; y3=0.707; if x1<0 then // Applying decision rule printf('S1 = 0'); else printf('\n S1 = 1'); end if y1<0 then printf('\n S2 = 0'); else printf('\n S2 = 1'); end if x2<0 then printf('\n S3 = 0'); else printf('\n S3 = 1'); end if y2<0 then printf('\n S4 = 0'); else printf('\n S4 = 1'); end if x3<0 then printf('\n S5 = 0'); else printf('\n S5 = 1'); end if y3<0 then printf('\n S6 = 0'); else printf('\n S6 = 1'); end
30039a2924df453af2a8077d3c277764a0c97657
b0aff14da16e18ea29381d0bd02eede1aafc8df1
/mtlbSci/macros/moc_range.sci
4bf8a5ccc366f4a7f68119833e99055b2dcde26c
[]
no_license
josuemoraisgh/mtlbSci
5d762671876bced45960a774f7192b41124a13ed
5c813ed940cccf774ccd52c9a69f88ba39f22deb
refs/heads/main
2023-07-15T23:47:11.843101
2021-08-26T17:52:57
2021-08-26T17:52:57
385,216,432
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,649
sci
moc_range.sci
function y = moc_range (x, dim) // Range of values // Calling Sequence // y = moc_range(x) // y = moc_range(x,dim) // Description // If xis a vector, return the range, i.e., the difference // between the maximum and the minimum, of the input data. // // If x is a matrix, do the above for each column of x. // // If the optional argument dim is supplied, work along dimension // Examples // rv = grand(1000,5,'nor',0,1); // near6 = moc_range(rv) // near6 = // 7.8095835 5.8340675 6.2329766 5.9988651 6.86021 // Authors // KH Kurt.Hornik@wu-wien.ac.at // H. Nahrstaedt // Copyright (C) 1995, 1996, 1997, 1998, 2000, 2002, 2004, 2005, 2006, // 2007 Kurt Hornik // Copyright (C) 2009 Jaroslav Hajek // // This file is part of Octave. // // Octave is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 3 of the License, or (at // your option) any later version. // // Octave is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // General Public License for more details. // // You should have received a copy of the GNU General Public License // along with Octave; see the file COPYING. If not, see // <http://www.gnu.org/licenses/>. [nargout,nargin]=argn(0); if (nargin == 1) y = mtlb_max (x) - mtlb_min (x); elseif (nargin == 2) y = mtlb_max (x, [], dim) - mtlb_min (x, [], dim); else error ("y = moc_range (x, dim)"); end endfunction
1783871b8e2abb27d029ab10f758dbab401410d7
449d555969bfd7befe906877abab098c6e63a0e8
/122/CH5/EX5.a.11/exaA_5_11.sce
79ec098a665869485c045156c4061cdda22930bf
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
547
sce
exaA_5_11.sce
// Example A-5-11 // Unit Step Response for different systems for different zeta,wn clear; clc; xdel(winsid()); //close all windows zeta = [0.3 0.5 0.7 0.8]; wn = [1 2 4 6]; n = wn .^ 2; sigma= 2 .* zeta .* wn; s = %s; t = 0:0.1:10; for i= 1:4 z(i,:) = csim('step',t,syslin('c', n(i), s^2 + sigma(i)*s + n(i) )); end plot(t,z); // 2d plot of step responses xtitle('Plot of step response curves with different wn and zeta','t sec','Response'); xgrid(color('gray')); legend('(zeta,wn) = (0.3 , 1)','(0.5 , 2)','(0.7 , 4)','(0.8 , 6)');
f574182bf9c1104d3700ee31c9f06a9b94565d70
449d555969bfd7befe906877abab098c6e63a0e8
/380/CH8/EX8.7/Ex8_7.sce
0e0f2376cd4b79a05881f032738211a0a311c5c4
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
715
sce
Ex8_7.sce
//Caption:Find the overall power factor and power factor of motor to improve overall power factor //Exa:8.7 clc; clear; close; //for load: theta_L=acosd(0.6);//lag (in degree) S_L=100*(cosd(53.13)+%i*sind(53.13));//in KVA //for synchronous motor: theta_m=acosd(0.5);//lead (in degree) S_m=(10/0.5)*conj(cosd(theta_m)+%i*sind(theta_m));//in Watts S_t=S_L+S_m;//overall power (in Watts) pf=cosd(atand(imag(S_t)/real(S_t))); disp(pf,'overall power factor='); //for power factor=0.9 theta_t=25.84; S_tn=(real(S_t)/0.9)*(cosd(theta_t)+%i*sind(theta_t));//in KVA S_mn=S_tn-S_L;//in KVA pf_n=cosd(atand(imag(S_mn)/real(S_mn))); disp(pf_n,'power factor of motor to improve overall power factor to 0.9=');
0ee347b8f091847f6574a64218f2391b813d0637
449d555969bfd7befe906877abab098c6e63a0e8
/2054/CH3/EX3.16/Exa3_16.sce
1918d00641d50b349676b3b7716ef6522cd8707f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
477
sce
Exa3_16.sce
//Exa:3.16 clc; clear; close; V_a=120;//in volts I_a=20;//in amperes R_a=0.5;//in ohms K=0.05;//Motor constant (in volts/rpm) E_b=V_a-(I_a*R_a);//in volts N=E_b/K;//in rpm disp('Range of Speed Control is :'); disp('Lowest Speed (in rpm) = 0'); disp(N,'Highest Speed (in rpm)='); E_bo=0;//in volts V_a1=E_bo+(I_a*R_a);//in volts alpha=V_a1/V_a; disp('Range of duty cycle is :'); disp(alpha,'lowest value of duty cycle='); disp('Highest value of duty cycle= 1')
be626bc5aa4ab1331fc280d3c2b1f326f81b3433
99b4e2e61348ee847a78faf6eee6d345fde36028
/Toolbox Test/lpc/lpc6.sce
0d3e1552e1646740d0688097d0fe98b362add1bf
[]
no_license
deecube/fosseetesting
ce66f691121021fa2f3474497397cded9d57658c
e353f1c03b0c0ef43abf44873e5e477b6adb6c7e
refs/heads/master
2021-01-20T11:34:43.535019
2016-09-27T05:12:48
2016-09-27T05:12:48
59,456,386
0
0
null
null
null
null
UTF-8
Scilab
false
false
153
sce
lpc6.sce
//i/p arg x contains only zeros x=[0 0 0 0 0 0 0 0]; p=3; [a,g] = lpc(x,p); disp(a); disp(g); ////output // 1. Nan Nan Nan // // Nan
b27936270b99fcabad7d251f3dd9e6a0bee6ee6b
449d555969bfd7befe906877abab098c6e63a0e8
/3733/CH32/EX32.13/Ex32_13.sce
e004aeb401fb9b0575797b934fe61bc610fde44c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,073
sce
Ex32_13.sce
// Example 32_13 clc;funcprot(0); //Given data L_i=1500;// Installed load in MW L=[50 0 1200 1000 500];// kW T=[0 5 8 12 16 24];// hrs Tp_1=40;// kW Tp_2=1.5;// kWh MD=1200;// Maximum load in kW //Calculation L_p=[0 50 50 0 0 1200 1200 1000 1000 500 500 2000];//Load in MW T_p=[0 0 5 5 8 8 12 12 16 16 24 24];// Time in hours L_I=[L_i L_i L_i L_i L_i L_i L_i L_i L_i L_i L_i L_i];// Installed load in MW for plot plot(T_p',L_p','b',T_p',L_I','r'); a=gca(); a.x_ticks.labels=["","","5am","","8 am","","12noon","","4pm","","8 pm","","12pm"]; a.x_ticks.locations=[0;2;5;6;8;10;12;14;16;18;20;22;24]; xlabel('Time in hours'); ylabel('Load in kW'); xtitle('Fig.Prob.32.13'); legend('Load curve','Installed load'); E=(L(1)*(T(2)-T(1)))+(L(3)*(T(4)-T(3)))+(L(4)*(T(5)-T(4)))+(L(5)*(T(6)-T(5))); F_l=(E/(MD*24));// Load factor Fa=L_i*Tp_1;// Fixed amount in rupees C=(E)*30*Tp_2;// Cost of energy consumed Mb=Fa+C;// Monthly bill in rupees printf('\nLoad factor=%0.3f \nMonthly bill=Rs.%0.0f',F_l,Mb); // The answer provided in the textbook is wrong
57d51bf1f3a1d3d1f86eb0a8604a67394259f6bd
1485852dd59aafc286600126cf832a32e10f117f
/tests/textureFlattening/test_default_values2.sce~
39bdaaca7744f3a64d25d99c85797414521e0ceb
[]
no_license
rg77/Scilab-Image-Processing-And-Computer-Vision-Toolbox
dec9fbbce32cfd1eab3c45ccb29c89aaa1384758
8adb116da3a9c29a32e5e0727105aff571e5b374
refs/heads/master
2020-12-02T16:14:45.282650
2017-07-07T10:12:04
2017-07-07T10:12:04
96,524,257
0
0
null
2017-07-07T09:43:50
2017-07-07T09:43:50
null
UTF-8
Scilab
false
false
240
test_default_values2.sce~
src = imread("../images/color2.jpeg"); [rows cols] = size(src); mask = zeros(rows,cols); mask(1:rows,1:floor(cols/2)) = 255; output = textureFlattening(src,mask,[],[], 7 ); //providing value for only 3rd optional argument imshow(output);
b6c7ddc6a91c25ae6e523a323a829f6ee9b88b58
449d555969bfd7befe906877abab098c6e63a0e8
/2303/CH3/EX3.3/EX_3_3.sce
74f87c6655027a0ba2272444114875aa31b62147
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
897
sce
EX_3_3.sce
//Ex.3.3 clc; clear; close; x1=[1 -2 3 -4]; //assume x2=[-1 2 -1 2]; //assume a=1; b=1; y=abs(x1); //y(n)=x(n)+c //Test for homogeneity k=2; hom=0; for n=1: length (x1) if (k*y(n)==abs(k*x1(n))) hom=hom+1; end end //Test for additivity for n =1: length (x1) x3(n)=a*x1(n)+b*x2(n) end for n =1: length (x1) y1(n)=abs(x1(n)); y2(n)=abs(x2(n)); y3(n)=abs(x3(n)); end for n =1: length (y1) z(n)=a*y1(n)+b*y2(n); end count =0; for n =1: length (y1) if(y3(n)==z(n)) count = count +1; end end if( count == length (y3) & (hom==length(y))) disp ( 'It satisfies the homogeneity and additivity principle' ); disp ( 'THE GIVEN SYSTEM IS LINEAR ' ); else disp ( 'It does not satisfy the homogeneity and additivity principle' ); disp ( 'THE GIVEN SYSTEM IS NON LINEAR ' );
9ad4f48b2ac587bb9651ab68cfdebbd3caa7c585
01ecab2f6eeeff384acae2c4861aa9ad1b3f6861
/sci2blif/io_info/io_info_rasp30.sce
49d56db6a024b8470512d05a55854df594fc3b71
[]
no_license
jhasler/rasp30
9a7c2431d56c879a18b50c2d43e487d413ceccb0
3612de44eaa10babd7298d2e0a7cddf4a4b761f6
refs/heads/master
2023-05-25T08:21:31.003675
2023-05-11T16:19:59
2023-05-11T16:19:59
62,917,238
3
3
null
null
null
null
UTF-8
Scilab
false
false
12,043
sce
io_info_rasp30.sce
//********** 3.0 ********** dac_loc(1,1).entries(1)= '9 0 1 #int[1]'; dac_loc(1,1).entries(2)= '2'; //DAC2 dac_loc(1,2).entries(1)= '9 0 2 #int[2]'; dac_loc(1,2).entries(2)= '3'; //DAC3 dac_loc(1,3).entries(1)= '8 0 5 #int[5]'; dac_loc(1,3).entries(2)= '0'; //DAC0 dac_loc(1,4).entries(1)= '9 0 3 #int[3]'; dac_loc(1,4).entries(2)= '4'; //DAC4 dac_loc(1,5).entries(1)= '9 0 4 #int[4]'; dac_loc(1,5).entries(2)= '5'; //DAC5 dac_loc(1,6).entries(1)= '9 0 5 #int[5]'; dac_loc(1,6).entries(2)= '6'; //DAC6 dac_loc(1,7).entries(1)= '10 0 0 #int[0]'; dac_loc(1,7).entries(2)= '7'; //DAC7 dac_loc(1,8).entries(1)= '10 0 1 #int[1]'; dac_loc(1,8).entries(2)= '8'; //DAC8 dac_loc(1,9).entries(1)= '10 0 2 #int[2]'; dac_loc(1,9).entries(2)= '9'; //DAC9 dac_loc(1,10).entries(1)= '9 0 0 #int[0]'; dac_loc(1,10).entries(2)= '1'; //DAC1 dac_loc(1,11).entries(1)= '10 0 3 #int[3]'; dac_loc(1,11).entries(2)= '10'; //DAC10 dac_loc(1,12).entries(1)= '10 0 4 #int[4]'; dac_loc(1,12).entries(2)= '11'; //DAC11 //********** 3.0 ********** dac_buf_loc(1,1).entries='10 0 5 #int[5]'; dac_buf_loc(1,2).entries='11 0 0 #int[0]'; dac_buf_loc(1,3).entries='11 0 1 #int[1]'; dac_buf_loc(1,4).entries='11 0 2 #int[2]'; //********** 3.0 ********** gpin_loc(1,1).entries(1)='13 0 1 #int[1]'; gpin_loc(1,1).entries(2)='0'; //west GPIO proc to arrat gpin_loc(1,2).entries(1)='13 0 2 #int[2]'; gpin_loc(1,2).entries(2)='1'; //west gpin_loc(1,3).entries(1)='13 0 3 #int[3]'; gpin_loc(1,3).entries(2)='2'; //west gpin_loc(1,4).entries(1)='13 0 4 #int[4]'; gpin_loc(1,4).entries(2)='3'; //west gpin_loc(1,5).entries(1)='13 0 5 #int[5]'; gpin_loc(1,5).entries(2)='4'; //west gpin_loc(1,6).entries(1)='14 0 0 #int[0]'; gpin_loc(1,6).entries(2)='5'; //west gpin_loc(1,7).entries(1)='14 0 1 #int[1]'; gpin_loc(1,7).entries(2)='6'; //west gpin_loc(1,8).entries(1)='14 0 2 #int[2]'; gpin_loc(1,8).entries(2)='7'; //west gpin_loc(1,9).entries(1)='14 0 3 #int[3]'; gpin_loc(1,9).entries(2)='8'; //west gpin_loc(1,10).entries(1)='14 0 4 #int[4]'; gpin_loc(1,10).entries(2)='9'; //west gpin_loc(1,11).entries(1)='14 0 5 #int[5]'; gpin_loc(1,11).entries(2)='10'; //west gpin_loc(1,12).entries(1)='15 1 0 #int[0]'; gpin_loc(1,12).entries(2)='11'; //west gpin_loc(1,13).entries(1)='15 1 1 #int[1]'; gpin_loc(1,13).entries(2)='12'; //west gpin_loc(1,14).entries(1)='15 1 2 #int[2]'; gpin_loc(1,14).entries(2)='13'; //west gpin_loc(1,15).entries(1)='15 1 3 #int[3]'; gpin_loc(1,15).entries(2)='14'; //west gpin_loc(1,16).entries(1)='15 1 4 #int[4]'; gpin_loc(1,16).entries(2)='15'; //west //********** 3.0 ********** adc_locin(1,1).entries='5 0 5 #int[5]'; //adc in 0 adc_locin(1,2).entries='6 0 0 #int[0]'; //adc in 1 //********** 3.0 ********** adc_loc(1,1).entries='7 0 2 #int[2]'; //adc out0 0 adc_loc(1,2).entries='7 0 1 #int[1]'; //adc out0 1 adc_loc(1,3).entries='7 0 0 #int[0]'; //adc out0 2 adc_loc(1,4).entries='6 0 5 #int[5]'; //adc out0 3 adc_loc(1,5).entries='6 0 4 #int[4]'; //adc out0 4 adc_loc(1,6).entries='6 0 3 #int[3]'; //adc out0 5 adc_loc(1,7).entries='6 0 2 #int[2]'; //adc out0 6 adc_loc(1,8).entries='6 0 1 #int[1]'; //adc out0 7 adc_loc(1,9).entries='8 0 4 #int[4]'; //adc out1 0 adc_loc(1,10).entries='8 0 3 #int[3]'; //adc out1 1 adc_loc(1,11).entries='8 0 2 #int[2]'; //adc out1 2 adc_loc(1,12).entries='8 0 1 #int[1]'; //adc out1 3 adc_loc(1,13).entries='8 0 0 #int[0]'; //adc out1 4 adc_loc(1,14).entries='7 0 5 #int[5]'; //adc out1 5 adc_loc(1,15).entries='7 0 4 #int[4]'; //adc out1 6 adc_loc(1,16).entries='7 0 3 #int[3]'; //adc out1 7 //********** 3.0 ********** iopad_loc(1,13).entries='1 0 3 #'; //west iopad_loc(1,14).entries='2 0 3 #'; //west iopad_loc(1,9).entries='3 0 0 #'; //west iopad_loc(1,10).entries='3 0 3 #'; //west iopad_loc(1,11).entries='4 0 0 #'; //west iopad_loc(1,12).entries='4 0 3 #'; //west iopad_loc(1,1).entries='9 0 0 #'; //west iopad_loc(1,2).entries='11 0 0 #'; //west iopad_loc(1,3).entries='12 0 0 #'; //west iopad_loc(1,4).entries='12 0 3 #'; //west iopad_loc(1,5).entries='13 0 0 #'; //west iopad_loc(1,6).entries='13 0 3 #'; //west iopad_loc(1,7).entries='14 0 0 #'; //west iopad_loc(1,8).entries='14 0 3 #'; //west iopad_loc(1,15).entries='1 15 0 #'; //east iopad_loc(1,16).entries='1 15 3 #'; //east iopad_loc(1,17).entries='2 15 0 #'; //east iopad_loc(1,18).entries='2 15 3 #'; //east iopad_loc(1,19).entries='3 15 0 #'; //east iopad_loc(1,20).entries='9 15 3 #'; //east iopad_loc(1,21).entries='9 15 0 #'; //east iopad_loc(1,22).entries='10 15 3 #'; //east iopad_loc(1,23).entries='10 15 0 #'; //east iopad_loc(1,24).entries='11 15 3 #'; //east iopad_loc(1,25).entries='11 15 0 #'; //east iopad_loc(1,26).entries='12 15 0 #'; //east iopad_loc(1,27).entries='15 1 5 #'; //south iopad_loc(1,28).entries='15 1 2 #'; //south iopad_loc(1,29).entries='15 2 5 #'; //south iopad_loc(1,30).entries='15 2 2 #'; //south iopad_loc(1,31).entries='15 3 5 #'; //south iopad_loc(1,32).entries='15 4 2 #'; //south iopad_loc(1,33).entries='15 11 5 #'; //south iopad_loc(1,34).entries='15 12 2 #'; //south iopad_loc(1,35).entries='15 12 5 #'; //south iopad_loc(1,36).entries='15 13 2 #'; //south iopad_loc(1,37).entries='15 13 5 #'; //south iopad_loc(1,38).entries='15 14 2 #'; //south iopad_loc(1,39).entries='15 14 5 #'; //south iopad_loc(1,40).entries='13 0 1 #int[1]'; //west GPIO proc to arrat iopad_loc(1,41).entries='13 0 2 #int[2]'; //west iopad_loc(1,42).entries='13 0 3 #int[3]'; //west iopad_loc(1,43).entries='13 0 4 #int[4]'; //west iopad_loc(1,44).entries='13 0 5 #int[5]'; //west iopad_loc(1,45).entries='14 0 0 #int[0]'; //west iopad_loc(1,46).entries='14 0 1 #int[1]'; //west iopad_loc(1,47).entries='14 0 2 #int[2]'; //west iopad_loc(1,48).entries='14 0 3 #int[3]'; //west iopad_loc(1,49).entries='14 0 4 #int[4]'; //west iopad_loc(1,50).entries='14 0 5 #int[5]'; //west iopad_loc(1,51).entries='15 1 0 #int[0]'; //west iopad_loc(1,52).entries='15 1 1 #int[1]'; //west iopad_loc(1,53).entries='15 1 2 #int[2]'; //west iopad_loc(1,54).entries='15 1 3 #int[3]'; //west iopad_loc(1,55).entries='15 1 4 #int[4]'; //west iopad_loc(1,56).entries='15 1 5 #int[5]'; //south GPIO array to proc iopad_loc(1,57).entries='15 2 0 #int[0]'; //south iopad_loc(1,58).entries='15 2 1 #int[1]'; //south iopad_loc(1,59).entries='15 2 2 #int[2]'; //south iopad_loc(1,60).entries='15 2 3 #int[3]'; //south iopad_loc(1,61).entries='15 2 4 #int[4]'; //south iopad_loc(1,62).entries='15 2 5 #int[5]'; //south iopad_loc(1,63).entries='15 3 0 #int[0]'; //south iopad_loc(1,64).entries='15 3 1 #int[1]'; //south iopad_loc(1,65).entries='15 3 2 #int[2]'; //south iopad_loc(1,66).entries='15 3 3 #int[3]'; //south iopad_loc(1,67).entries='15 3 4 #int[4]'; //south iopad_loc(1,68).entries='15 3 5 #int[5]'; //south iopad_loc(1,69).entries='15 4 0 #int[0]'; //south iopad_loc(1,70).entries='15 4 1 #int[1]'; //south iopad_loc(1,71).entries='15 4 2 #int[2]'; //south iopad_loc(1,72).entries='15 12 5 #int[5]'; //Vg _array_gate sel iopad_loc(1,73).entries='0 11 2 #int[2]'; //Vg _array_gate sel iopad_loc(1,74).entries='9 15 3 #int[3]'; //east Analog_memory_Vout<0> iopad_loc(1,75).entries='0 12 5 #int[5]'; //north Analog_memory_pbias<0> iopad_loc(1,76).entries='4 15 1 #int[1]'; //east Analog_memory_nbias<0> iopad_loc(1,77).entries='14 15 5 #int[5]'; //east mem_in<0> iopad_loc(1,78).entries='15 11 4 #int[4]'; //south am clk iopad_loc(1,79).entries='0 6 4 #int[4]'; //north barrel_shiftter_out<0> iopad_loc(1,80).entries='0 6 3 #int[3]'; //north barrel_shiftter_out<0> iopad_loc(1,81).entries='0 6 2 #int[2]'; //north barrel_shiftter_out<0> iopad_loc(1,82).entries='0 6 1 #int[1]'; //north barrel_shiftter_out<0> iopad_loc(1,83).entries='0 6 0 #int[0]'; //north barrel_shiftter_out<0> iopad_loc(1,84).entries='0 5 5 #int[5]'; //north barrel_shiftter_out<0> iopad_loc(1,85).entries='0 5 4 #int[4]'; //north barrel_shiftter_out<0> iopad_loc(1,86).entries='0 5 3 #int[3]'; //north barrel_shiftter_out<0> iopad_loc(1,87).entries='0 5 2 #int[2]'; //north barrel_shiftter_out<0> iopad_loc(1,88).entries='0 5 1 #int[1]'; //north barrel_shiftter_out<0> iopad_loc(1,89).entries='0 5 0 #int[0]'; //north barrel_shiftter_out<0> iopad_loc(1,90).entries='0 4 5 #int[5]'; //north barrel_shiftter_out<0> iopad_loc(1,91).entries='0 4 4 #int[4]'; //north barrel_shiftter_out<0> iopad_loc(1,92).entries='0 4 3 #int[3]'; //north barrel_shiftter_out<0> iopad_loc(1,93).entries='0 4 2 #int[2]'; //north barrel_shiftter_out<0> iopad_loc(1,94).entries='0 4 1 #int[1]'; //north barrel_shiftter_out<0> iopad_loc(1,95).entries='0 4 0 #int[0]'; //north barrel_shiftter_out<0> iopad_loc(1,96).entries='0 3 5 #int[5]'; //north barrel_shiftter_out<0> iopad_loc(1,97).entries='0 3 4 #int[4]'; //north barrel_shiftter_out<0> iopad_loc(1,98).entries='0 3 3 #int[3]'; //north barrel_shiftter_out<0> iopad_loc(1,99).entries='0 3 2 #int[2]'; //north barrel_shiftter_out<0> iopad_loc(1,100).entries='0 3 1 #int[1]'; //north barrel_shiftter_out<0> iopad_loc(1,101).entries='0 3 0 #int[0]'; //north barrel_shiftter_out<0> iopad_loc(1,102).entries='0 2 5 #int[5]'; //north barrel_shiftter_out<0> iopad_loc(1,103).entries='0 2 4 #int[4]'; //north barrel_shiftter_out<0> iopad_loc(1,104).entries='0 2 3 #int[3]'; //north barrel_shiftter_out<0> iopad_loc(1,105).entries='0 2 2 #int[2]'; //north barrel_shiftter_out<0> iopad_loc(1,106).entries='0 2 1 #int[1]'; //north barrel_shiftter_out<0> iopad_loc(1,107).entries='0 2 0 #int[0]'; //north barrel_shiftter_out<0> iopad_loc(1,108).entries='0 1 5 #int[5]'; //north barrel_shiftter_out<0> iopad_loc(1,109).entries='0 1 4 #int[4]'; //north barrel_shiftter_out<0> iopad_loc(1,110).entries='0 1 3 #int[3]'; //north barrel_shiftter_out<31> iopad_loc(1,111).entries='0 1 2 #int[2]'; //north barrel_shiftter_in<0> iopad_loc(1,112).entries='0 1 1 #int[1]'; //north barrel_shiftter_in<0> iopad_loc(1,113).entries='0 1 0 #int[0]'; //north barrel_shiftter_in<0> iopad_loc(1,114).entries='1 0 0 #int[0]'; //east barrel_shiftter_in<0> iopad_loc(1,115).entries='1 0 1 #int[1]'; //east barrel_shiftter_in<0> iopad_loc(1,116).entries='1 0 2 #int[2]'; //east barrel_shiftter_in<0> iopad_loc(1,117).entries='1 0 3 #int[3]'; //east barrel_shiftter_in<0> iopad_loc(1,118).entries='1 0 4 #int[4]'; //east barrel_shiftter_in<0> iopad_loc(1,119).entries='1 0 5 #int[5]'; //east barrel_shiftter_in<0> iopad_loc(1,120).entries='2 0 0 #int[0]'; //east barrel_shiftter_in<0> iopad_loc(1,121).entries='2 0 1 #int[1]'; //east barrel_shiftter_in<0> iopad_loc(1,122).entries='2 0 2 #int[2]'; //east barrel_shiftter_in<0> iopad_loc(1,123).entries='2 0 3 #int[3]'; //east barrel_shiftter_in<0> iopad_loc(1,124).entries='2 0 4 #int[4]'; //east barrel_shiftter_in<0> iopad_loc(1,125).entries='2 0 5 #int[5]'; //east barrel_shiftter_in<0> iopad_loc(1,126).entries='3 0 0 #int[0]'; //east barrel_shiftter_in<0> iopad_loc(1,127).entries='3 0 1 #int[1]'; //east barrel_shiftter_in<0> iopad_loc(1,128).entries='3 0 2 #int[2]'; //east barrel_shiftter_in<0> iopad_loc(1,129).entries='3 0 3 #int[3]'; //east barrel_shiftter_in<0> iopad_loc(1,130).entries='3 0 4 #int[4]'; //east barrel_shiftter_in<0> iopad_loc(1,131).entries='3 0 5 #int[5]'; //east barrel_shiftter_in<0> iopad_loc(1,132).entries='4 0 0 #int[0]'; //east barrel_shiftter_in<0> iopad_loc(1,133).entries='4 0 1 #int[1]'; //east barrel_shiftter_in<0> iopad_loc(1,134).entries='4 0 2 #int[2]'; //east barrel_shiftter_in<0> iopad_loc(1,135).entries='4 0 3 #int[3]'; //east barrel_shiftter_in<0> iopad_loc(1,136).entries='4 0 4 #int[4]'; //east barrel_shiftter_in<0> iopad_loc(1,137).entries='4 0 5 #int[5]'; //east barrel_shiftter_in<0> iopad_loc(1,138).entries='5 0 0 #int[0]'; //east barrel_shiftter_in<0> iopad_loc(1,139).entries='5 0 1 #int[1]'; //east barrel_shiftter_in<0> iopad_loc(1,140).entries='5 0 2 #int[2]'; //east barrel_shiftter_in<0> iopad_loc(1,141).entries='5 0 3 #int[3]'; //east barrel_shiftter_in<0> iopad_loc(1,142).entries='5 0 4 #int[4]'; //east barrel_shiftter_in<0> iopad_loc(1,143).entries='13 0 0 #int[0]'; //east dco_clk
339f0c1bc101211d773f29fb19ce07813200b12d
b29e9715ab76b6f89609c32edd36f81a0dcf6a39
/ketpicscifiles6/Shade.sci
ec4fa716ac314fda5de941d792ddddb4eb831b0a
[]
no_license
ketpic/ketcindy-scilab-support
e1646488aa840f86c198818ea518c24a66b71f81
3df21192d25809ce980cd036a5ef9f97b53aa918
refs/heads/master
2021-05-11T11:40:49.725978
2018-01-16T14:02:21
2018-01-16T14:02:21
117,643,554
1
0
null
null
null
null
UTF-8
Scilab
false
false
1,919
sci
Shade.sci
// // 08.05.22 // 09.12.25 // 17.01.09 (available colorname or colorcode as 2nd arg) function Shade(varargin) global Wfile FID MilliIn; Nargs=length(varargin); Iroflg=0; Kosa=1; if Nargs>1 Iro=varargin(Nargs); if type(Iro)==10 Iroflg=1; if length(strchr(Iro,"{"))>0 Str="{\color"+Iro; else Str="{\color{"+Iro+"}"; end; else if length(Iro)==1 Kosa=Iro; else Iroflg=1; if length(Iro)==4 Str='{\color[cmyk]{'; else if length(Iro)==3 Str='{\color[rgb]{'; end; end; for J=1:length(Iro) Str=Str+string(Iro(J)); if J<length(Iro) Str=Str+','; end end Str=Str+'}'; end; end; if Iroflg==1 if Wfile=='default' mprintf('%s\n',Str+'%'); else mfprintf(FID,'%s\n',Str+'%'); end; end; end; Tmp=varargin(1); Data=Kyoukai(Tmp); for I=1:length(Data) PL=Op(I,Data); Mojisu=0; for J=1:size(PL,1) P=Doscaling(PL(J,:)); X=string(round(MilliIn*P(1))); Y=string(-round(MilliIn*P(2))); Str='\special{pa '+X+' '+Y+'}'; if Wfile=='default' mprintf('%s',Str); else mfprintf(FID,'%s',Str); end Mojisu=Mojisu+length(Str); if Mojisu>80 if Wfile=='default' mprintf('%s\n','%'); else mfprintf(FID,'%s\n','%'); end Mojisu=0; end end Str1='\special{sh '+string(Kosa)+'}'; Str2='\special{ip}%'; if Wfile=='default' mprintf('%s',Str1); mprintf('%s\n',Str2); else mfprintf(FID,'%s',Str1); mfprintf(FID,'%s\n',Str2); end end if Iroflg==1 Str='}%'; Fmt='%s\n'; if Wfile=='default' mprintf(Fmt,Str); else mfprintf(FID,Fmt,Str); end; end; endfunction
f5aa56334010dd571e7c7744affed6e881249145
717ddeb7e700373742c617a95e25a2376565112c
/3044/CH9/EX9.2/Ex9_2.sce
673548df45b521c0dac3615fbf22ae64d506fcde
[]
no_license
appucrossroads/Scilab-TBC-Uploads
b7ce9a8665d6253926fa8cc0989cda3c0db8e63d
1d1c6f68fe7afb15ea12fd38492ec171491f8ce7
refs/heads/master
2021-01-22T04:15:15.512674
2017-09-19T11:51:56
2017-09-19T11:51:56
92,444,732
0
0
null
2017-05-25T21:09:20
2017-05-25T21:09:19
null
UTF-8
Scilab
false
false
600
sce
Ex9_2.sce
// Variable declaration v = 19 // degree of freedom Variance = 1.2* (10^-4) // variance // Calculation // alpha = 0.05 chi_square1 = 8.907 // chi square value at alpha/2 from table-5 chi_square2 = 32.852 // chi square value at 1-(alpha/2) from table-5 // we need to find limits of sigma y1 = (v*Variance) / chi_square2 y2 = (v*Variance) / chi_square1 y1 = sqrt(y1) //lower limit y2 = sqrt(y2) //upper limit // Result printf ( "95%% confidence interval: ( %.4f , %.4f )",y1,y2)
7f01a86076cf1f05fc1bdf9511de14d3760cea15
178822612bcd418dc12ba7a649304a24ab618d60
/Numerical Analysis/Newton.sci
1832966d07e86d7aecfa66bd2ba20953e44023b2
[]
no_license
engom/Math_Problem_Solving
b56c6cbfbff6c416c519795b9ab8f0c0bbba5ea3
6538c476681ae4ee803ea9b3a8944c5f370e1961
refs/heads/master
2022-05-25T01:13:16.123161
2016-02-13T11:32:28
2016-02-13T11:32:28
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
97
sci
Newton.sci
function [x]=Newton(f,fder,x0,niter) x(1)=.. for i=1:niter, x(i+1)=.. end endfunction
9f4a504bb6958b163cd8fd7773532a55e46f1d5a
449d555969bfd7befe906877abab098c6e63a0e8
/162/CH6/EX6.5/example65.sce
c62c310c930e5eaa885b78265a0192de81822b15
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
130
sce
example65.sce
//Example 6.5 clc; syms z n; x1=4*(5^n); x2=3*(4^n); X1=symsum(x1*(z^-n),n,0,%inf); X2=symsum(x2*(z^-n),n,0,%inf); X=X1-X2;
deb43ee6b1741ca7119367975aed5b0654af718f
8217f7986187902617ad1bf89cb789618a90dd0a
/browsable_source/2.0/Unix/scilab-2.0/macros/metanet/g_xnode.sci
49795bad06bdb0cba801d56a9832233e9c44bd63
[ "LicenseRef-scancode-public-domain", "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
clg55/Scilab-Workbench
4ebc01d2daea5026ad07fbfc53e16d4b29179502
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
refs/heads/master
2023-05-31T04:06:22.931111
2022-09-13T14:41:51
2022-09-13T14:41:51
258,270,193
0
1
null
null
null
null
UTF-8
Scilab
false
false
76
sci
g_xnode.sci
function x=g_xnode(g) [lhs,rhs]=argn(0), if rhs=0 then g=the_g, end x=g(16)
fec793412b72c439e41ff5f813f2efd9e91a15d1
f542bc49c4d04b47d19c88e7c89d5db60922e34e
/PresentationFiles_Subjects/CONT/FZ52MUA/ATWM1_Working_Memory_MEG_FZ52MUA_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce
4e2a567be9b2dfaf4404ff171137e16edc8256ed
[]
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,597
sce
ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce
# ATWM1 MEG Experiment scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1"; #scenario_type = fMRI; # Fuer Scanner #scenario_type = fMRI_emulation; # Zum Testen scenario_type = trials; # for MEG #scan_period = 2000; # TR #pulses_per_scan = 1; #pulse_code = 1; pulse_width=6; default_monitor_sounds = false; active_buttons = 2; response_matching = simple_matching; button_codes = 10, 20; default_font_size = 36; default_font = "Arial"; default_background_color = 0 ,0 ,0 ; write_codes=true; # for MEG only begin; #Picture definitions box { height = 382; width = 382; color = 0, 0, 0;} frame1; box { height = 369; width = 369; color = 255, 255, 255;} frame2; box { height = 30; width = 4; color = 0, 0, 0;} fix1; box { height = 4; width = 30; color = 0, 0, 0;} fix2; box { height = 30; width = 4; color = 255, 0, 0;} fix3; box { height = 4; width = 30; color = 255, 0, 0;} fix4; box { height = 369; width = 369; color = 42, 42, 42;} background; TEMPLATE "StimuliDeclaration.tem" {}; trial { sound sound_incorrect; time = 0; duration = 1; } wrong; trial { sound sound_correct; time = 0; duration = 1; } right; trial { sound sound_no_response; time = 0; duration = 1; } miss; # Start of experiment (MEG only) - sync with CTF software trial { picture { box frame1; x=0; y=0; box frame2; x=0; y=0; box background; x=0; y=0; bitmap fixation_cross_black; x=0; y=0; } expStart; time = 0; duration = 1000; code = "ExpStart"; port_code = 80; }; # baselinePre (at the beginning of the session) trial { picture { box frame1; x=0; y=0; box frame2; x=0; y=0; box background; x=0; y=0; bitmap fixation_cross_black; x=0; y=0; }default; time = 0; duration = 10000; #mri_pulse = 1; code = "BaselinePre"; port_code = 91; }; TEMPLATE "ATWM1_Working_Memory_MEG.tem" { trigger_encoding trigger_retrieval cue_time preparation_time encoding_time single_stimulus_presentation_time delay_time retrieval_time intertrial_interval alerting_cross stim_enc1 stim_enc2 stim_enc3 stim_enc4 stim_enc_alt1 stim_enc_alt2 stim_enc_alt3 stim_enc_alt4 trial_code stim_retr1 stim_retr2 stim_retr3 stim_retr4 stim_cue1 stim_cue2 stim_cue3 stim_cue4 fixationcross_cued retr_code the_target_button posX1 posY1 posX2 posY2 posX3 posY3 posX4 posY4; 43 61 292 292 399 125 1842 2992 1942 fixation_cross gabor_066 gabor_083 gabor_156 gabor_042 gabor_066 gabor_083_alt gabor_156 gabor_042_alt "1_1_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_1950_gabor_patch_orientation_066_083_156_042_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_018_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_1_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_018_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1742 2992 2142 fixation_cross gabor_034 gabor_064 gabor_100 gabor_017 gabor_034 gabor_064 gabor_100_alt gabor_017_alt "1_2_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2150_gabor_patch_orientation_034_064_100_017_target_position_1_2_retrieval_position_1" gabor_034_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_2_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_034_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 2242 2992 2542 fixation_cross gabor_077 gabor_058 gabor_167 gabor_106 gabor_077_alt gabor_058 gabor_167 gabor_106_alt "1_3_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2550_gabor_patch_orientation_077_058_167_106_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_167_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_3_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_167_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 64 292 292 399 125 2242 2992 2592 fixation_cross gabor_149 gabor_075 gabor_095 gabor_115 gabor_149 gabor_075 gabor_095_alt gabor_115_alt "1_4_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_2250_3000_2600_gabor_patch_orientation_149_075_095_115_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_115_framed blank blank blank blank fixation_cross_target_position_1_2 "1_4_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_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; 43 61 292 292 399 125 1992 2992 2342 fixation_cross gabor_066 gabor_124 gabor_086 gabor_101 gabor_066_alt gabor_124_alt gabor_086 gabor_101 "1_5_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2350_gabor_patch_orientation_066_124_086_101_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_146_framed blank blank blank blank fixation_cross_target_position_3_4 "1_5_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_146_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 2042 2992 2292 fixation_cross gabor_059 gabor_026 gabor_080 gabor_043 gabor_059 gabor_026_alt gabor_080 gabor_043_alt "1_6_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2300_gabor_patch_orientation_059_026_080_043_target_position_1_3_retrieval_position_1" gabor_109_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_6_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_109_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1942 2992 2392 fixation_cross gabor_065 gabor_082 gabor_044 gabor_099 gabor_065_alt gabor_082 gabor_044_alt gabor_099 "1_7_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_2400_gabor_patch_orientation_065_082_044_099_target_position_2_4_retrieval_position_2" gabor_circ gabor_082_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_7_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_082_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1742 2992 1992 fixation_cross gabor_147 gabor_069 gabor_089 gabor_128 gabor_147 gabor_069 gabor_089_alt gabor_128_alt "1_8_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2000_gabor_patch_orientation_147_069_089_128_target_position_1_2_retrieval_position_2" gabor_circ gabor_069_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_8_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_069_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 63 292 292 399 125 1892 2992 2342 fixation_cross gabor_037 gabor_093 gabor_018 gabor_074 gabor_037_alt gabor_093 gabor_018_alt gabor_074 "1_9_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_1900_3000_2350_gabor_patch_orientation_037_093_018_074_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_153_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_9_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_153_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1992 2992 2242 fixation_cross gabor_109 gabor_026 gabor_150 gabor_045 gabor_109_alt gabor_026 gabor_150_alt gabor_045 "1_10_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2250_gabor_patch_orientation_109_026_150_045_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_180_framed blank blank blank blank fixation_cross_target_position_2_4 "1_10_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_180_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1842 2992 1992 fixation_cross gabor_087 gabor_017 gabor_150 gabor_173 gabor_087_alt gabor_017 gabor_150 gabor_173_alt "1_11_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2000_gabor_patch_orientation_087_017_150_173_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_105_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_11_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_105_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 2142 2992 1892 fixation_cross gabor_120 gabor_144 gabor_088 gabor_160 gabor_120 gabor_144_alt gabor_088 gabor_160_alt "1_12_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_1900_gabor_patch_orientation_120_144_088_160_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_038_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_12_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_038_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1842 2992 1942 fixation_cross gabor_178 gabor_103 gabor_017 gabor_042 gabor_178_alt gabor_103 gabor_017 gabor_042_alt "1_13_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_1950_gabor_patch_orientation_178_103_017_042_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_157_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_13_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_157_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1742 2992 1892 fixation_cross gabor_128 gabor_005 gabor_074 gabor_143 gabor_128_alt gabor_005 gabor_074_alt gabor_143 "1_14_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_1900_gabor_patch_orientation_128_005_074_143_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_093_framed blank blank blank blank fixation_cross_target_position_2_4 "1_14_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_093_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 63 292 292 399 125 1742 2992 2142 fixation_cross gabor_038 gabor_068 gabor_110 gabor_175 gabor_038 gabor_068_alt gabor_110_alt gabor_175 "1_15_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_1750_3000_2150_gabor_patch_orientation_038_068_110_175_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_155_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_15_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_155_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1792 2992 2092 fixation_cross gabor_130 gabor_077 gabor_102 gabor_155 gabor_130_alt gabor_077_alt gabor_102 gabor_155 "1_16_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2100_gabor_patch_orientation_130_077_102_155_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_019_framed blank blank blank blank fixation_cross_target_position_3_4 "1_16_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_019_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 2142 2992 2192 fixation_cross gabor_109 gabor_045 gabor_159 gabor_027 gabor_109_alt gabor_045_alt gabor_159 gabor_027 "1_17_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_2200_gabor_patch_orientation_109_045_159_027_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_075_framed blank blank blank blank fixation_cross_target_position_3_4 "1_17_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_075_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 2192 2992 2492 fixation_cross gabor_051 gabor_066 gabor_121 gabor_091 gabor_051 gabor_066_alt gabor_121 gabor_091_alt "1_18_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2500_gabor_patch_orientation_051_066_121_091_target_position_1_3_retrieval_position_1" gabor_051_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_18_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_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; 43 61 292 292 399 125 2142 2992 2142 fixation_cross gabor_022 gabor_108 gabor_040 gabor_001 gabor_022_alt gabor_108_alt gabor_040 gabor_001 "1_19_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_2150_gabor_patch_orientation_022_108_040_001_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 "1_19_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_179_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 2092 2992 2192 fixation_cross gabor_144 gabor_161 gabor_026 gabor_091 gabor_144 gabor_161_alt gabor_026 gabor_091_alt "1_20_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2200_gabor_patch_orientation_144_161_026_091_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_026_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_20_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_026_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1792 2992 2142 fixation_cross gabor_151 gabor_070 gabor_119 gabor_179 gabor_151 gabor_070 gabor_119_alt gabor_179_alt "1_21_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2150_gabor_patch_orientation_151_070_119_179_target_position_1_2_retrieval_position_1" gabor_151_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_21_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_151_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 2192 2992 2092 fixation_cross gabor_148 gabor_007 gabor_169 gabor_043 gabor_148_alt gabor_007 gabor_169_alt gabor_043 "1_22_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2100_gabor_patch_orientation_148_007_169_043_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_043_framed blank blank blank blank fixation_cross_target_position_2_4 "1_22_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_043_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 63 292 292 399 125 2192 2992 2542 fixation_cross gabor_091 gabor_156 gabor_131 gabor_066 gabor_091 gabor_156_alt gabor_131_alt gabor_066 "1_23_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_2200_3000_2550_gabor_patch_orientation_091_156_131_066_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_176_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_23_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_176_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1992 2992 2092 fixation_cross gabor_002 gabor_082 gabor_050 gabor_035 gabor_002 gabor_082_alt gabor_050_alt gabor_035 "1_24_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2100_gabor_patch_orientation_002_082_050_035_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_035_framed blank blank blank blank fixation_cross_target_position_1_4 "1_24_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_035_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1942 2992 2092 fixation_cross gabor_161 gabor_043 gabor_024 gabor_179 gabor_161 gabor_043_alt gabor_024 gabor_179_alt "1_25_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_2100_gabor_patch_orientation_161_043_024_179_target_position_1_3_retrieval_position_1" gabor_161_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_25_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_161_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 2092 2992 2392 fixation_cross gabor_155 gabor_067 gabor_022 gabor_127 gabor_155_alt gabor_067 gabor_022_alt gabor_127 "1_26_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2400_gabor_patch_orientation_155_067_022_127_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_173_framed blank blank blank blank fixation_cross_target_position_2_4 "1_26_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_173_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 64 292 292 399 125 2042 2992 2442 fixation_cross gabor_044 gabor_153 gabor_002 gabor_126 gabor_044 gabor_153_alt gabor_002_alt gabor_126 "1_27_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_2050_3000_2450_gabor_patch_orientation_044_153_002_126_target_position_1_4_retrieval_position_2" gabor_circ gabor_153_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_27_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_153_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1942 2992 2242 fixation_cross gabor_106 gabor_046 gabor_084 gabor_023 gabor_106 gabor_046_alt gabor_084_alt gabor_023 "1_28_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2250_gabor_patch_orientation_106_046_084_023_target_position_1_4_retrieval_position_1" gabor_156_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_28_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_156_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 2242 2992 2292 fixation_cross gabor_171 gabor_082 gabor_119 gabor_008 gabor_171_alt gabor_082 gabor_119_alt gabor_008 "1_29_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2300_gabor_patch_orientation_171_082_119_008_target_position_2_4_retrieval_position_2" gabor_circ gabor_037_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_29_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_037_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 64 292 292 399 125 1892 2992 2592 fixation_cross gabor_172 gabor_142 gabor_094 gabor_119 gabor_172_alt gabor_142 gabor_094 gabor_119_alt "1_30_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_1900_3000_2600_gabor_patch_orientation_172_142_094_119_target_position_2_3_retrieval_position_1" gabor_172_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_30_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_172_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 2042 2992 2592 fixation_cross gabor_110 gabor_076 gabor_046 gabor_004 gabor_110_alt gabor_076 gabor_046_alt gabor_004 "1_31_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2600_gabor_patch_orientation_110_076_046_004_target_position_2_4_retrieval_position_2" gabor_circ gabor_027_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_31_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_027_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 2092 2992 2242 fixation_cross gabor_127 gabor_158 gabor_090 gabor_018 gabor_127_alt gabor_158 gabor_090 gabor_018_alt "1_32_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2100_3000_2250_gabor_patch_orientation_127_158_090_018_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_044_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_32_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_044_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1942 2992 2292 fixation_cross gabor_032 gabor_102 gabor_177 gabor_062 gabor_032_alt gabor_102_alt gabor_177 gabor_062 "1_33_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2300_gabor_patch_orientation_032_102_177_062_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_015_framed blank blank blank blank fixation_cross_target_position_3_4 "1_33_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_015_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 64 292 292 399 125 2192 2992 2442 fixation_cross gabor_090 gabor_117 gabor_052 gabor_162 gabor_090 gabor_117_alt gabor_052_alt gabor_162 "1_34_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_2200_3000_2450_gabor_patch_orientation_090_117_052_162_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_052_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_34_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_052_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1892 2992 1992 fixation_cross gabor_031 gabor_009 gabor_160 gabor_098 gabor_031_alt gabor_009 gabor_160_alt gabor_098 "1_35_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2000_gabor_patch_orientation_031_009_160_098_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_051_framed blank blank blank blank fixation_cross_target_position_2_4 "1_35_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_051_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 2092 2992 2492 fixation_cross gabor_075 gabor_028 gabor_140 gabor_165 gabor_075_alt gabor_028 gabor_140_alt gabor_165 "1_36_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2500_gabor_patch_orientation_075_028_140_165_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_165_framed blank blank blank blank fixation_cross_target_position_2_4 "1_36_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_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; 43 61 292 292 399 125 2192 2992 1892 fixation_cross gabor_157 gabor_132 gabor_073 gabor_105 gabor_157 gabor_132 gabor_073_alt gabor_105_alt "1_37_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_1900_gabor_patch_orientation_157_132_073_105_target_position_1_2_retrieval_position_1" gabor_020_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_37_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_020_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1842 2992 2542 fixation_cross gabor_111 gabor_051 gabor_138 gabor_156 gabor_111 gabor_051_alt gabor_138 gabor_156_alt "1_38_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2550_gabor_patch_orientation_111_051_138_156_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_138_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_38_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_138_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 2142 2992 2442 fixation_cross gabor_053 gabor_137 gabor_025 gabor_092 gabor_053_alt gabor_137 gabor_025 gabor_092_alt "1_39_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2450_gabor_patch_orientation_053_137_025_092_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_025_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_39_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_025_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 64 292 292 399 125 1992 2992 1942 fixation_cross gabor_003 gabor_154 gabor_113 gabor_025 gabor_003 gabor_154_alt gabor_113_alt gabor_025 "1_40_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_2000_3000_1950_gabor_patch_orientation_003_154_113_025_target_position_1_4_retrieval_position_3" gabor_circ gabor_circ gabor_113_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_40_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_113_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1742 2992 2192 fixation_cross gabor_128 gabor_147 gabor_003 gabor_113 gabor_128 gabor_147 gabor_003_alt gabor_113_alt "1_41_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2200_gabor_patch_orientation_128_147_003_113_target_position_1_2_retrieval_position_1" gabor_128_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_41_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_128_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 2042 2992 2192 fixation_cross gabor_115 gabor_150 gabor_172 gabor_098 gabor_115 gabor_150 gabor_172_alt gabor_098_alt "1_42_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_2200_gabor_patch_orientation_115_150_172_098_target_position_1_2_retrieval_position_1" gabor_115_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_42_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_115_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1892 2992 2342 fixation_cross gabor_165 gabor_125 gabor_035 gabor_010 gabor_165_alt gabor_125_alt gabor_035 gabor_010 "1_43_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2350_gabor_patch_orientation_165_125_035_010_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_035_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_43_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_035_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 2042 2992 2142 fixation_cross gabor_026 gabor_086 gabor_053 gabor_068 gabor_026_alt gabor_086 gabor_053_alt gabor_068 "1_44_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_2150_gabor_patch_orientation_026_086_053_068_target_position_2_4_retrieval_position_2" gabor_circ gabor_086_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_44_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_086_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1892 2992 2542 fixation_cross gabor_169 gabor_042 gabor_014 gabor_127 gabor_169 gabor_042 gabor_014_alt gabor_127_alt "1_45_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2550_gabor_patch_orientation_169_042_014_127_target_position_1_2_retrieval_position_2" gabor_circ gabor_042_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_45_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_042_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1892 2992 2592 fixation_cross gabor_079 gabor_161 gabor_002 gabor_051 gabor_079_alt gabor_161 gabor_002 gabor_051_alt "1_46_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2600_gabor_patch_orientation_079_161_002_051_target_position_2_3_retrieval_position_2" gabor_circ gabor_021_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_46_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_021_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 64 292 292 399 125 1792 2992 2292 fixation_cross gabor_029 gabor_119 gabor_059 gabor_134 gabor_029 gabor_119 gabor_059_alt gabor_134_alt "1_47_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_1800_3000_2300_gabor_patch_orientation_029_119_059_134_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_134_framed blank blank blank blank fixation_cross_target_position_1_2 "1_47_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_134_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1742 2992 2042 fixation_cross gabor_107 gabor_021 gabor_155 gabor_177 gabor_107_alt gabor_021 gabor_155 gabor_177_alt "1_48_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2050_gabor_patch_orientation_107_021_155_177_target_position_2_3_retrieval_position_2" gabor_circ gabor_021_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_48_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_021_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1942 2992 1992 fixation_cross gabor_134 gabor_179 gabor_073 gabor_008 gabor_134 gabor_179_alt gabor_073 gabor_008_alt "1_49_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_2000_gabor_patch_orientation_134_179_073_008_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_073_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_49_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_073_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 2242 2992 2042 fixation_cross gabor_102 gabor_165 gabor_017 gabor_086 gabor_102_alt gabor_165_alt gabor_017 gabor_086 "1_50_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2050_gabor_patch_orientation_102_165_017_086_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_086_framed blank blank blank blank fixation_cross_target_position_3_4 "1_50_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_086_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 63 292 292 399 125 1892 2992 1942 fixation_cross gabor_076 gabor_029 gabor_142 gabor_091 gabor_076 gabor_029_alt gabor_142_alt gabor_091 "1_51_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_1900_3000_1950_gabor_patch_orientation_076_029_142_091_target_position_1_4_retrieval_position_2" gabor_circ gabor_164_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_51_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_164_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1792 2992 2492 fixation_cross gabor_045 gabor_119 gabor_158 gabor_012 gabor_045_alt gabor_119 gabor_158 gabor_012_alt "1_52_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2500_gabor_patch_orientation_045_119_158_012_target_position_2_3_retrieval_position_2" gabor_circ gabor_072_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_52_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_072_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1992 2992 1892 fixation_cross gabor_088 gabor_073 gabor_111 gabor_045 gabor_088_alt gabor_073 gabor_111_alt gabor_045 "1_53_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_1900_gabor_patch_orientation_088_073_111_045_target_position_2_4_retrieval_position_2" gabor_circ gabor_027_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_53_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_027_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1742 2992 1942 fixation_cross gabor_138 gabor_003 gabor_022 gabor_056 gabor_138 gabor_003_alt gabor_022 gabor_056_alt "1_54_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_1950_gabor_patch_orientation_138_003_022_056_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_072_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_54_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_072_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 2242 2992 2192 fixation_cross gabor_013 gabor_047 gabor_125 gabor_103 gabor_013 gabor_047 gabor_125_alt gabor_103_alt "1_55_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2200_gabor_patch_orientation_013_047_125_103_target_position_1_2_retrieval_position_1" gabor_013_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_55_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_013_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 63 292 292 399 125 2142 2992 2492 fixation_cross gabor_179 gabor_134 gabor_112 gabor_004 gabor_179 gabor_134_alt gabor_112 gabor_004_alt "1_56_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_2150_3000_2500_gabor_patch_orientation_179_134_112_004_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_049_framed blank blank blank blank fixation_cross_target_position_1_3 "1_56_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_049_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1842 2992 2242 fixation_cross gabor_143 gabor_107 gabor_036 gabor_126 gabor_143 gabor_107_alt gabor_036 gabor_126_alt "1_57_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2250_gabor_patch_orientation_143_107_036_126_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_036_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_57_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_036_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 2042 2992 2392 fixation_cross gabor_010 gabor_040 gabor_128 gabor_146 gabor_010 gabor_040_alt gabor_128 gabor_146_alt "1_58_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2050_3000_2400_gabor_patch_orientation_010_040_128_146_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_128_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_58_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_128_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 2142 2992 1992 fixation_cross gabor_066 gabor_176 gabor_138 gabor_019 gabor_066 gabor_176_alt gabor_138_alt gabor_019 "1_59_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_2000_gabor_patch_orientation_066_176_138_019_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_154_framed blank blank blank blank fixation_cross_target_position_1_4 "1_59_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_154_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1792 2992 2292 fixation_cross gabor_020 gabor_135 gabor_055 gabor_073 gabor_020_alt gabor_135 gabor_055 gabor_073_alt "1_60_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2300_gabor_patch_orientation_020_135_055_073_target_position_2_3_retrieval_position_2" gabor_circ gabor_135_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_60_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_135_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 2092 2992 2242 fixation_cross gabor_080 gabor_153 gabor_135 gabor_104 gabor_080_alt gabor_153 gabor_135 gabor_104_alt "1_61_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2250_gabor_patch_orientation_080_153_135_104_target_position_2_3_retrieval_position_2" gabor_circ gabor_153_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_61_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_153_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 63 292 292 399 125 2092 2992 2392 fixation_cross gabor_128 gabor_093 gabor_174 gabor_004 gabor_128_alt gabor_093 gabor_174_alt gabor_004 "1_62_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_2100_3000_2400_gabor_patch_orientation_128_093_174_004_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_039_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_62_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_039_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1842 2992 2342 fixation_cross gabor_002 gabor_149 gabor_067 gabor_177 gabor_002 gabor_149_alt gabor_067_alt gabor_177 "1_63_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2350_gabor_patch_orientation_002_149_067_177_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_039_framed blank blank blank blank fixation_cross_target_position_1_4 "1_63_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_039_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1792 2992 1892 fixation_cross gabor_024 gabor_061 gabor_172 gabor_002 gabor_024 gabor_061 gabor_172_alt gabor_002_alt "1_64_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_1900_gabor_patch_orientation_024_061_172_002_target_position_1_2_retrieval_position_2" gabor_circ gabor_061_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_64_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_061_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 1942 2992 2042 fixation_cross gabor_096 gabor_174 gabor_038 gabor_068 gabor_096_alt gabor_174 gabor_038_alt gabor_068 "1_65_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2050_gabor_patch_orientation_096_174_038_068_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_020_framed blank blank blank blank fixation_cross_target_position_2_4 "1_65_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_020_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 62 292 292 399 125 1992 2992 2042 fixation_cross gabor_091 gabor_152 gabor_071 gabor_007 gabor_091 gabor_152_alt gabor_071 gabor_007_alt "1_66_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2050_gabor_patch_orientation_091_152_071_007_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_071_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_66_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_071_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 2242 2992 2042 fixation_cross gabor_027 gabor_059 gabor_102 gabor_079 gabor_027_alt gabor_059 gabor_102 gabor_079_alt "1_67_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2050_gabor_patch_orientation_027_059_102_079_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_149_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_67_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_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; 43 64 292 292 399 125 1792 2992 2442 fixation_cross gabor_071 gabor_002 gabor_142 gabor_035 gabor_071_alt gabor_002 gabor_142_alt gabor_035 "1_68_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_UncuedRetriev_300_300_399_1800_3000_2450_gabor_patch_orientation_071_002_142_035_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_142_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_68_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_142_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 61 292 292 399 125 2192 2992 2092 fixation_cross gabor_094 gabor_053 gabor_122 gabor_004 gabor_094 gabor_053 gabor_122_alt gabor_004_alt "1_69_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2100_gabor_patch_orientation_094_053_122_004_target_position_1_2_retrieval_position_1" gabor_139_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_69_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_139_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 43 63 292 292 399 125 1842 2992 2342 fixation_cross gabor_153 gabor_022 gabor_136 gabor_180 gabor_153 gabor_022_alt gabor_136_alt gabor_180 "1_70_Encoding_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_UncuedRetriev_300_300_399_1850_3000_2350_gabor_patch_orientation_153_022_136_180_target_position_1_4_retrieval_position_2" gabor_circ gabor_068_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_70_Retrieval_Working_Memory_MEG_P8_RL_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_068_retrieval_position_2" 1 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; };
f978f02710ccafba913611f1f8aa179c8eaf4d4e
449d555969bfd7befe906877abab098c6e63a0e8
/2741/CH1/EX1.5/5.sce
f8ba87f809a90d81d5b8a6cd282101e65191e275
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
319
sce
5.sce
clc clear //Input data K=20.2;//The normal boiling point of liquid hydrogen in Kelvin //Calculations R=(((K-273)/100)*180)+492;//The normal boiling point of liquid hydrogen in degree Rankine //Output data printf('The boiling point of liquid hydrogen corresponding to 20.2 Kelvin is %3.2f degree Rankine',R)
ec06a4491e475262c808c90a084e560b61551581
449d555969bfd7befe906877abab098c6e63a0e8
/3776/CH3/EX3.4/Ex3_4.sce
f0d1c0d9679fe63c41a0896eee785fa27a49487e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
762
sce
Ex3_4.sce
clear //Given R = 1000 //mm - radius of the cylinder th = 10 //mm - thickness of the cylinder E = 200 //Mpa- youngs modulus v = 0.25 // Poisson ratio p_in = 0.80 //Mpa- Internal pressure t = 10 //mm - thickness of the cylinder //calculations Stress_1 = p_in*R/(2*t) //MPa -Hoop stress //From derived expressions Stress_2 = p_in*R/(2*t) //Mpa- Longitudinal stress // Hoop stress and Longitudinal stress are same in this case e = Stress_1*(10**-3)/E-v*Stress_2*(10**-3)/E dia_change = e*R //mm- The change in daimeter of the cylinder printf("\n The maximum stress is %d MPa",Stress_2) printf("\n The change in daimeter of the cylinder is %0.2f mm",dia_change)
353308eb1c9becccce87b4a4518d87ee4bd72b17
449d555969bfd7befe906877abab098c6e63a0e8
/1271/CH6/EX6.12/example6_12.sce
32cfe10c05659282a534e5a7201f4fcadc73dc39
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
311
sce
example6_12.sce
clc // Given that r = 1.1 // ratio of new number of turns to the initial number of turns // Sample Problem 12 on page no. 6.24 printf("\n # PROBLEM 12 # \n") r_ = (1 / r)^2 printf("\n Standard formula used \n r_ = (1 / r)^2. \n") printf("\n Ratio of the new focus length to the initial focus length = %f ",r_)
ff6291a0ea9e93b77587d2e3beb449465498ca01
449d555969bfd7befe906877abab098c6e63a0e8
/2837/CH13/EX13.11/Ex13_11.sce
e108f49b9b8e376a508d7aa6836d013eaf38a4cc
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
242
sce
Ex13_11.sce
clc clear //Initialization of variables c=0.74 ref=0.02 co2=0.12 co=0.1/100 M=12 //calcualtions carbon=c-ref car2=co2+co wt=car2*M amount=carbon/wt //results printf("Moles of dry products per pound of coal = %.3f mole",amount)
a7634a069b8b2ebca88798d69c0035060ae81c46
64647656adb5d4ff3cbb1147f2009fd55a598d27
/builder.sce
7fdeb9a7e87458f37e3092cb2b56cfd84748f6de
[]
no_license
esc0rpi0n/modbus-blocks
353ae5e5df9da7a6afc9bd5d264670b1e132e655
44664b3424e9b7b98fab0216676977fb7ad29544
refs/heads/master
2020-04-02T05:15:19.835714
2017-06-14T08:18:01
2017-06-14T08:18:01
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
425
sce
builder.sce
mode(-1); mainpathB=get_absolute_file_path('builder.sce'); chdir(mainpathB); if isdir('src') then chdir('src'); exec('buildsrc.sce'); chdir('..'); end if isdir('sci_gateway') then chdir('sci_gateway'); exec('buildsci_gateway.sce'); chdir('..'); end if isdir('macros') then chdir('macros'); exec('buildmacros.sce'); chdir('..'); end if isdir('help') then chdir('help'); exec('buildhelp.sce'); chdir('..'); end clear mainpathB
9c3c41587c5f1c8524b9535c13f72de3e4c4cdf8
efe59cd4cca137aba9af447e8040b1eac3738006
/examples/calculator/exemplo_calculadora_funcoes_argumentos_variaveis.sce
cb934f5cbcda34d6a17b5fe4c0154320d157e38d
[]
no_license
thejefecomp/scilab-codes
fd13f6aa666135c0fb08989e25b0ca1354c58b51
6eefce6eed8af0b54f2d6172f6e2b05513327184
refs/heads/master
2023-07-31T13:23:50.467306
2021-09-23T09:00:49
2021-09-23T12:04:06
287,115,880
0
0
null
null
null
null
UTF-8
Scilab
false
false
7,599
sce
exemplo_calculadora_funcoes_argumentos_variaveis.sce
//Este programa implementa uma calculadora de operações básicas [adição, subtração, multiplicação, e divisão], a utilizar números informados pelo utilizador e a operação desejada como entradas. Sem a utilizaçção de vetores [próximo tópico na disciplina], a operação automatizada pelo menu suporta, no máximo, 5 números para o cálculo. O limite de 5 números pode ser modificado, desde que as invocações para todas as quantidades variáveis de números sejam adicionadas/removidas na implementação. Para utilizar as operações básicas com qualquer número de argumentos, utilize diretamente o console. //Esta função implementa uma soma simples de números informados pelo utilizador, a retornar o valor da soma como resultado. function resultado=soma(varargin) resultado = 0 numeroEntradas = length(varargin) if numeroEntradas > 0 then for indice = 1 : numeroEntradas resultado = resultado + varargin(indice) end end endfunction //Esta função implementa uma subtração simples de números informados pelo utilizador, a retormar o valor da subtração como resultado. function resultado=subtracao(varargin) resultado = 0 numeroEntradas = length(varargin) if numeroEntradas > 0 then resultado = varargin(1) for indice = 2 : numeroEntradas resultado = resultado - varargin(indice) end end endfunction //Esta função implementa uma multiplicação simples de números informados pelo utilizador, a retormar o valor da multiplicação como resultado. function resultado=multiplicacao(varargin) resultado = 0 numeroEntradas = length(varargin) if numeroEntradas > 0 then resultado = varargin(1) for indice = 2 : numeroEntradas resultado = resultado * varargin(indice) end end endfunction //Esta função implementa uma divisão simples de números informados pelo utilizador, a retormar o valor da divisão como resultado. function [resultado,divisaoPorZeroFlag]=divisao(varargin) /* O mapemamento da divisaoPorZeroFlag é representado da seguinte forma: 1 -> existência de divisão por zero 0 -> ausência de divisão por zero */ divisaoPorZeroFlag = 0 resultado = 0 numeroEntradas = length(varargin) if numeroEntradas > 0 then //Não suporta divisão por zero if varargin(numeroEntradas) == 0 then divisaoPorZeroFlag = 1 resultado = -1 else resultado = varargin(1) for indice = 2 : numeroEntradas if varargin(indice) == 0 then divisaoPorZeroFlag = 1 resultado = -1 break else resultado = resultado / varargin(indice) end end end end endfunction //Esta função realiza a leitura de um conjunto de números informados pelo utilizador. A função recebe como argumento o número máximo de entradas que poderão ser informadas. Caso o utilizador informe um número maior de entradas, somente o número máximo de entradas será lido. function [numeroEntradas,varargout]=leituraNumeros(maximoEntradas) numeroEntradas = input ('Digite o número de valores a serem utilizados para o cálculo: ') for indice = 1 : maximoEntradas if indice > numeroEntradas then varargout(indice) = 0 else mprintf("Número %i\n", indice) varargout(indice) = input('Digite o valor: ') end end endfunction /* O mapemamento do continuar é representado da seguinte forma: sim -> o utilizador deseja continuar a fazer cálculos com o menu automatizado nao -> o utilizador não deseja continuar a fazer cálculos com o menu automatizado */ continuar = input('Caso deseje executar as operações básicas de soma, subtração, multiplicação, e divisão com qualquer número de valores, digite nao e execute as operações diretamente no console. Caso contrário, digite sim. [sim/nao]: ', 's') while continuar == 'sim' mprintf('Máximo de 5 números suportados para o cálculo') maximoEntradas = 5 [numeroEntradas, numero1, numero2, numero3, numero4, numero5] = leituraNumeros(maximoEntradas) if numeroEntradas > maximoEntradas then numeroEntradas = maximoEntradas end /* O mapemamento do operação é representado da seguinte forma: A -> adição S -> subtração M -> multiplicação D -> divisão */ operacao = input('digite a operação desejada [A->adição,S->subtração, M->multiplicação, e D->divisão]: ', 's') /* O mapemamento do status é representado da seguinte forma: 1 -> operação realizada com sucesso 0 -> operação inválida */ status = 1 select operacao case 'A' then select numeroEntradas case 0 then resultado = soma() case 1 then resultado = soma(numero1) case 2 then resultado = soma(numero1, numero2) case 3 then resultado = soma(numero1, numero2, numero3) case 4 then resultado = soma(numero1, numero2, numero3, numero4) case 5 then resultado = soma(numero1, numero2, numero3, numero4, numero5) else resultado = -1 end case 'S' then select numeroEntradas case 0 then resultado = subtracao() case 1 then resultado = subtracao(numero1) case 2 then resultado = subtracao(numero1, numero2) case 3 then resultado = subtracao(numero1, numero2, numero3) case 4 then resultado = subtracao(numero1, numero2, numero3, numero4) case 5 then resultado = subtracao(numero1, numero2, numero3, numero4, numero5) else resultado = -1 end case 'M' then select numeroEntradas case 0 then resultado = multiplicacao() case 1 then resultado = multiplicacao(numero1) case 2 then resultado = multiplicacao(numero1, numero2) case 3 then resultado = multiplicacao(numero1, numero2, numero3) case 4 then resultado = multiplicacao(numero1, numero2, numero3, numero4) case 5 then resultado = multiplicacao(numero1, numero2, numero3, numero4, numero5) else resultado = -1 end case 'D' then select numeroEntradas case 0 then [resultado,divisaoPorZeroFlag] = divisao() case 1 then [resultado,divisaoPorZeroFlag] = divisao(numero1) case 2 then [resultado,divisaoPorZeroFlag] = divisao(numero1, numero2) case 3 then [resultado,divisaoPorZeroFlag] = divisao(numero1, numero2, numero3) case 4 then [resultado,divisaoPorZeroFlag] = divisao(numero1, numero2, numero3, numero4) case 5 then [resultado,divisaoPorZeroFlag] = divisao(numero1, numero2, numero3, numero4, numero5) else resultado = -1 ; divisaoPorZeroFlag = 0 end //Não suporta divisão por zero if divisaoPorZeroFlag == 1 then status = 0 end end if status == 1 then mprintf('O resultado da operação é: %f\n', resultado) elseif status == 0 then mprintf('Operação inválida\n') if divisaoPorZeroFlag == 1 then mprintf('Divisão por zero não suportada.\n') end end continuar = input('Deseja continuar a fazer cálculos? [sim/nao]: ', 's') end mprintf('Tenha um bom dia :-D')
9e97cd72df6adf081ec654d5b8a9589b496151a2
449d555969bfd7befe906877abab098c6e63a0e8
/3889/CH5/EX5.7/Ex5_7.sce
e3d541ae228da002d204c62716624bd3877f4c39
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
571
sce
Ex5_7.sce
//Example 5.7 //page 324 //Control Systems: Principles and Design //M Gopal, Second Edition, Tata McGraw-Hill //Chapter:Concepts of Stability: Routh Stability Array xdel(winsid())//close all graphics Windows clear; clc; //transfer function s=%s; P=s^6+s^5+3*s^4 + 3* s^3 +3*s^2 +2*s +1; //routh array r=routh_t(P) disp(r,"Routh Array") [r,num]=routh_t(1/P,20) disp("We know, eps tends to zero") if num==0 disp("System is stable") else mprintf("There are %g sign changes in entries of first column.\nTherefore, system is unstable.", num) end
021353bf79883abac3633f6415e6b23f28a8adb9
9ba84a7f7b27fc82fdfcfb8dd03498c4cc91f124
/Parcial 3/AgustinDiaz1.sce
b0173716e3731bcb6e4d251ef3178a9d7c5b5b48
[]
no_license
ignaciolitma/LCC-Metodos-Numericos
8120eba09ea160e3252542373afc5ddad49a04c9
e63728e5f15bb469dff205a74901a5b930e1271d
refs/heads/main
2023-03-12T11:34:36.940908
2021-03-01T20:56:12
2021-03-01T20:56:12
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,500
sce
AgustinDiaz1.sce
// b) b = [1 0 0; -.1 0 .1; -.1 -.1 2] disp('Autovalores de b', spec(b)) // d) d = [4 -1 0; -1 4 -1; -1 -1 4] disp('Autovalores de d', spec(d)) // f) f = [4.75 2.25 -.25; 2.25 4.75 1.25; -.25 1.25 4.75] disp('Autovalores de f', spec(f)) // Resultado de Scilab // "Autovalores de b" // 1.9949874 + 0.i // 0.0050126 + 0.i // 1. + 0.i // "Autovalores de d" // 4.618034 + 0.i // 2.381966 + 0.i // 5. + 0.i // "Autovalores de f" // 2.0646374 // 4.9616991 // 7.2236635 // Si desea graficarlo en Scilab, puede descomentar las ultimas lineas // (por partes para mantener coherencia) // Dada una matriz A // dibuja todos sus círculos de Gerschgorin function Gers(A) [m, n] = size(A) t = linspace(0, 2*%pi, 100); centros = diag(A) radios = sum(abs(A), 'c') - abs(centros) minx = round(min(centros-radios)-1) miny = round(min(-radios)-1) maxx = round(max(centros+radios)+1) maxy = round(max(radios)+1) rectangulo = [minx, miny, maxx, maxy] plot2d([], [], rect = rectangulo) xgrid(2); for i=1:m circ(radios(i), centros(i), 0) end endfunction // c) // Dada una matriz A // dibuja todos sus círculos de Gerschgorin // y marca sus autovalores function CircGersValor(A) Gers(A) autov = spec(A) plot2d(real(autov), imag(autov), -1) endfunction // b // CircGersValor(b) // CircGersValor(b') // d // CircGersValor(d) // CircGersValor(d') // f // CircGersValor(f) // CircGersValor(f')
13127e5ff612a7b7b0ec94d981f2910592556d39
449d555969bfd7befe906877abab098c6e63a0e8
/226/CH14/EX14.5/example5_sce.sce
fdeb0e10eb81d6f889259d67e8f73eb58ef24409
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
160
sce
example5_sce.sce
//chapter 14 //example 14.5 //page 605 printf("\n") printf("given") Ib=500*10^-9;Vi=50*10^-3;Vo=2; I2=100*Ib; R3=Vi/I2 R2=(Vo/I2)-R3 R1=(R2*R3)/(R2+R3)
33478f144d0d75b566ead6d7f2eb6187d5a7ebde
efa427de3490f3bb884d8ac0a7d78829ec7990f9
/gcd.sce
3792666263e5a460be5eca78d3d4bc3641acf68f
[]
no_license
letyrobueno/Scilab
a47648473aa681556561d5cea20659d143e4f492
2f23623dccea89a3ab2db12ec1f615186f785aa4
refs/heads/master
2020-09-01T19:00:30.804237
2019-11-01T17:45:22
2019-11-01T17:45:22
219,031,973
0
0
null
null
null
null
UTF-8
Scilab
false
false
258
sce
gcd.sce
// Return the greatest common divisor of two given numbers n1 = input("Give a number: ") n2 = input("Give another number: ") while(n2~=0) remainder = modulo(n1,n2) n1 = n2 n2 = remainder end printf("The greatest common divisor (GCD) is %g",n1)
d1b3a9a4df63ec0bb9b8521b206bf6ef4df60d3a
449d555969bfd7befe906877abab098c6e63a0e8
/2015/CH4/EX4.8/4_8.sce
58fd68ffc5b67ed7d75ffc41f2a9b4c614e3f820
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
569
sce
4_8.sce
clc //initialisation of variables h1=2990 //kj/kg h2=2710 //kj/kg h3=2325 //kj/kg h4=152 //kj/kg h5=152 //kj/kg h7=505 //kj/kg wo=612 //kj/kg qs=2485 //kj/kg //CALCULATIONS m=(h7-h4)/(h2-h4) mph=m*30000 ip=((h1-h2)+(1-m)*(h2-h3))*(30000/3600) teff=wo/qs //when there is no feeding eff=(h1-h3)/(h1-h4) sc=(3600/(h1-h3))*ip //RESULTS printf('internal powers is %2fkw',ip) printf('\nthermal efficiency when feeding is there is %2f',teff) printf('\nwhen there is no feeding,thermal efficiency is %2f',eff) printf('\nsteam consumption is %2fkg/h',sc)
13f1018bb85e2240e610e7619586e69b900f2db7
449d555969bfd7befe906877abab098c6e63a0e8
/3792/CH5/EX5.8/Ex5_8.sce
4bee5ac56332c72a28fe96a23f8b173721a706f6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,089
sce
Ex5_8.sce
// SAMPLE PROBLEM 5/8 clc;funcprot(0); // Given data OCbar=0.250;// m omega=2;// rad/s OAbar=0.100;// m OBbar=0.050;// m ABbar=0.075;// m // Calculation // Solution I (Vector) r_A=[0,0.100,0];// (i,j,k) m r_B=[-0.75,0,0];// (i,j,k) m r_AB=[-0.175,0.50,0];// (i,j,k) m // omega_OA*r=(omega_CB*r_B)+(omega_AB*r_AB); // omega_OA=omega_OA*k // omega_CB=2k // omega_AB=omega_ABk // Matching coefficients of the respective i- and j-terms gives omega_AB=-(25*6)/(25*7);// rad/s omega_OA=(50*omega_AB)/100;// rad/s printf("\n(I)The angular velocity of OA,omega_OA=%0.3f rad/s \n The angular velocity of AB,omega_AB=%0.3f rad/s",omega_OA,omega_AB); // Solution II (Scalar-Geometric) r_A=0.100;// m r_B=0.075;// m v_B=r_B*omega;// m/s tantheta=(OAbar-OBbar)/(OCbar-r_B); // v_AB=v_B/ cos(theta); // ABbar= (OCbar-r_AB)/ cos(theta); v_A=v_B*tantheta;// m/s omega_AB=(v_B)/(OCbar-r_B);// rad/s CW omega_OA=v_A/OAbar;// rad/s CW printf("\n(II)The angular velocity of OA,omega_OA=%0.3f rad/s \n The angular velocity of AB,omega_AB=%0.3f rad/s",omega_OA,omega_AB);
29f2b91f77d4478d5c307ce96061f66ecd9d2e57
d7ec0352fdd4cf451ee9dd6bac2218fb96c24c0f
/src/gui/qml/img/groupbox.sci
556bcc4f426122200158fbdae7814d71581ef1a6
[]
no_license
mireq/facedetect
d3fc340926a54e144dcf09ef4a814a77cbc9afde
94ab039149efb2d8f1496c6042bf3a6b133bb49e
refs/heads/master
2021-01-22T04:33:34.209921
2011-05-13T01:08:47
2011-05-13T01:08:47
1,525,248
3
0
null
null
null
null
UTF-8
Scilab
false
false
86
sci
groupbox.sci
border.left: 10 border.right: 10 border.bottom: 3 border.top: 41 source: groupbox.png
d36581b781a26822d3d56a1520c1bfc93aacc5ba
d6e806450e31794371bfa536e9160b0734a33501
/SciLab_Notes.sce
879db314e33f9ef2bf500ef69ae3696ea9c85fcb
[]
no_license
unknownman24/INTRODUCTORY-NOTES-FOR-SCILAB...
43599147057675be857062958e96fa8d05dee1ed
d6023551db362f6c476e58d7d775b1144637306c
refs/heads/main
2023-03-27T14:41:11.256322
2021-03-24T13:47:35
2021-03-24T13:47:35
350,725,778
4
0
null
null
null
null
UTF-8
Scilab
false
false
29,489
sce
SciLab_Notes.sce
////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////------------------------------------------------------------------------------//////////// //////////// INTRODUCTION TO SCILAB //////////// ////////////------------------------------------------------------------------------------//////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// // There are very several data types in SciLab as in the MATLAB programming language. // These data types have been listed below. // % double, // % integer (1 byte, 2 byte, 4 byte), // % complex, // % boolean, // % strings, // % sparse, // % graphics handles, // % functions, // % lists, // % pointers, // CAUTION: double is the default data type of SciLab. // The code writer can also create matrices in SciLab. // There are also different integer types in SciLab, and these are also listed below. ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// /////////// /////////// /////////// /////////// /////////// int8 1 byte type 1 /////////// /////////// int16 2 byte type 2 /////////// /////////// int32 4 byte type 4 /////////// /////////// uint8 1 byte type 11 /////////// /////////// uint16 2 byte type 12 /////////// /////////// uint32 4 byte type 14 /////////// /////////// /////////// /////////// /////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// // If you want to check the type of the variable, you should check the variable browser. // As you know, the default data type is double in SciLab. // If you want to change the type of data defined before, you should write the code below. ////////////////// ////////////////// // EXAMPLE 1 // //______________// x=1; x; y=int8(2); y; disp(inttype(y)); ////////////////// ////////////////// // EXAMPLE 2 // //______________// z=int32(30); disp(inttype(z)); z; ////////////////// ////////////////// // EXAMPLE 3 // //______________// a="Hello"; b=a+" World"; ////////////////// ////////////////// // There are also constant values in the SciLab. // Some of these constants have been listed below. // %pi, (pi number.) // %i, (Complex "i" number which is the "sqrt(-1)".) // %e, (Euler number, which is equal to 2.71828182845904523536.) // %inf, (Indicates infinity) // %t, (Boolean "TRUE") // %f, (Boolean "FALSE") // %nan, (Not a Number) // %eps, (Describes the Epsilon number, and it shows the maximum number) // We can not use these constants instead of any variable name as they described as CONSTANT NUMBER. // Let's try these constants in SciLab. ////////////////// ////////////////// // EXAMPLE 4 // //______________// c=%e; ////////////////// ////////////////// // EXAMPLE 5 // //______________// d=%i; ////////////////// ////////////////// // EXAMPLE 6 // //______________// e=%inf; ////////////////// ////////////////// // EXAMPLE 7 // //______________// f=%eps; ////////////////// ////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// ///////////------------------------------------------------------------------------------/////////// /////////// BASICS OF MATRICES AND MATRIX OPERATIONS /////////// ///////////------------------------------------------------------------------------------/////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// // A matrix is defined as arrangement of numbers, or we can define a matrix as 2D array of numbers. // [ 1 2 3;4 5 6;7 8 9] is a 3x3 square matrix. // [1 2 3 4;2 4 6 8;4 8 12 16] is a 3x4 rectangular matrix having 3 rows and 4 columns. // A=[a_11 a_12 a_1n;a_21 a_22 a_2n; ; ;a_n1 a_n2 a_nn] // The matrix A shows the general form of a matrix and subscript shows element position. // There are some important points for matrices. Let's mention about these important points. // The first thing to consider about a matrix is the ORDER OF MATRİX. // The Order of a Matrix is the multiplication of the NUMBER OF ROWS and the NUMBER OF COLUMNS. // ORDER OF A MATRIX = (NUMBER OF ROWS x NUMBER OF COLUMNS) // ELEMENT = Every individual element is named as an element. // MATRIX ADDITION = We can just add two matrices having the SAME ORDER, as each element gets // added to the correspınding element. // Matrix Multiplication Point 1: The order in which two matrices are multiplied matters. It // is not commutative. // AB≠BA // Matrix Multiplication Point 2: The product AB of two matrices is possible ONLY if the number of // columns of A=number of rows of B. // The resultant matrix will be of e order number of rows of A × number of columns of B. // Vector: A matrix having just one column or one row is also called a vectorr. A row vector or a // column vector or simply a vector. // A=[10 5 2 4], B=[4; -5; -8; 2] // If you want to multiply a matrix with a constant number, you should change all matrix elements // with the multiplication of the constant number with each element. //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// ///////////------------------------------------------------------------------------------/////////// /////////// TRANSPOSE OF A MATRIX /////////// ///////////------------------------------------------------------------------------------/////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// // Transpose of a matrix is handled by making columns from rows, so first row becomes first column // and so on! // Doing so the order of the rectangular matrix may change. // A = [1 2 3; 4 5 6; 7 8 9] // A^T = [1 4 7; 2 5 8; 3 6 9] // Order of A = 3 x 3 // Order of A^T = 3 x 3 // B = [1 2 3 4; 5 6 7 8] // B^T = [1 5; 2 6; 3 7; 4 8] // Order of B = 2 x 4 // Order of B^' = 4 x 2 /////////////////// /////////////////// // EXAMPLE 8 // //_______________// g=[1 2 3;4 5 6;7 8 9]; h=[1,2,3;4,5,6;7,8,9]; i=g+h; // to get the transpose of matrix g j=g'; ////////////////// ////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// ///////////------------------------------------------------------------------------------/////////// /////////// MATRIX OPERATIONS IN SCILAB /////////// ///////////------------------------------------------------------------------------------/////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////// k = [1 2 3;4 5 6;7 8 9]; // to get the sum of all elements in a matrix, sum(matrix_name) command must be used. l=sum(k); // to get the sum of each column in a row, sum(matrix_name,'r') command is required to be used. m=sum(k,'r'); // to get the sum of each column in a column, sum(matrix_name,'c') command is required to be used. n=sum(k,'c'); // to find the minimum value inside the matrix, min(matrix_name) command is needed. o=min(k); // to find the minimum value of each column inside the matrix, min(matrix_name,'r') command // is needed. p=min(k,'r'); // to find the length of a matrix, length(matrix_name) command is needed to be used. r=length(k); // to get the power 2, (matrix_name)^2 is required to be used. s=k^2; // to get the square of each element, (matrix_name).^2 command is needed. t=k.^2; // to get mean of complete matrix, mean(matrix_name) command is required. u=mean(k); // to calculate the mean of every column in a row, mean(matrix_name,'r') is required to be used. v=mean(k,'r'); // to calculate the determinant of a matrix, det(matrix_name) is required to be used. w=det(k); // if you want to get the diagonal of a matrix, diag(matrix_name) finds the diagonal elements // of your matrix. y=diag(k); // to find the sum of the diagonal elements, trace(matrix_name) is used. z=trace(k); // if you want to split a matrix into two parts as lower part and upper part, // triu(matrix_name) is used to get upper part, and // tril(matrix_name) is used to get the lower part of a square matrix. LOWER_PART=tril(k); UPPER_PART=triu(k); // to produce a zero matrix, NAME_OF_ZERO_MATRIX=zeros(row_number,column_number) is used. ZERO_MATRIX=zeros(4,4); // it produces zero matrix with 4 rows and 4 columns. // to produce a 3x3 diagonal matrix which have 1 value for all diagonal elements, eyes(3,3) is used. DIAGONAL_MATRIX=eye(3,3); // to produce a 3x6 unit matrix which have 1 value for all elements, ones(3,6) is used. UNIT_MATRIX=ones(3,6); // to generate a matrix having random numbers, RANDOM_MATRIX=rand(3,4) is used. RANDOM_MATRIX=rand(3,4); ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////------------------------------------------------------------------------------//////////// //////////// MATRIX ADDITION & MULTIPLICATION //////////// ////////////------------------------------------------------------------------------------//////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// // If two matrices having same number of columns and rows, they can be added each other. // Otherwise, it is not available for addition. // EXAMPLE 9 // //______________// MATRIX_1=[1 2 3 4; 2 4 6 8;4 8 12 16]; MATRIX_2=[-5 7 8 9; -6 -4 -2 7;96 45 32 1]; ADDITION1TO2=MATRIX_1+MATRIX_2; // If the number of columns of the first matrix and rows of the second matrix are equal, // the matrix multiplication operation is available. // Otherwise, the multiplication operation is not available. MATRIX_3=[10 5 2 4]; MATRIX_4=[4;-5;-8;2]; MULTIPLICATON3TO4=MATRIX_3*MATRIX_4; // The order of resultant matrix would be 1 x 1. So, it will be a single element matrix. MATRIX_5=[2 4 6;8 6 2]; MATRIX_6=[1 7;3 3;5 1]; MULTIPLICATON5TO6=MATRIX_5*MATRIX_6; // The order of resultant matrix would be 2 x 2. So, it will be a square matrix. ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////------------------------------------------------------------------------------//////////// //////////// DETERMINANTS OF 2x2 & 3x3 MATRICES //////////// ////////////------------------------------------------------------------------------------//////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////------------------------------------------------------------------------------//////////// //////////// DETERMINANTS OF 2x2 MATRICES //////////// ////////////------------------------------------------------------------------------------//////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// // The determinant of a matrix is a number that represent the scaling factor of the linear // transformation defined by that matrix. // If you want to calculate the determinant of a 2x2 matrix, you should multiply the right diagonal // elements each other and left diagonal elements each other. Then, subtract the multiplication of // the left diagonal elements from the multiplication of the right diagonal elements. // For example, A=[2 4; 8 6] matrix is a 2 x 2 matrix. If you want to take the determinant of the // [A] matrix, it would be |A|=((2 x 6)-(4 x 8))=-20. ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////------------------------------------------------------------------------------//////////// //////////// DETERMINANTS OF 3x3 MATRICES //////////// ////////////------------------------------------------------------------------------------//////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// // If you want to calculate the determinant of a 3x3 matrix, you should organise the matrix as in the // form of |A|=|+ - +;- + -;+ - +|. If matrix is not in this form, you must utilise from some // specific inner matrix operations to convert the [A] matrix into this form. // Let [B]=[-1 2 -3;0 4 -2;-3 -4 1] is a 3x3 matrix. If we want to take the determinant of // that mstrix, you should convert the matrix in the given form above. // At the starting point, [B] matrix is in |A|=|- + - ;+ + -;- - +|, to convert this matrix to the // expected form by sub-matrices. // Sub-matrix is different for each element and is acquired by ignoring the row and the column in // which that element resides. // The sub-matrix of -1 is obtained by ignoring the first row and column in which -1 resides. // |B|=|-1 2 -3;0 4 -2;-3 -4 1|====>>>|4 -2;-4 1|. // The sub-matrix of 2 is obtained by ignoring the 1st row and the 2nd column in which 2 resides. // |B|=|-1 2 -3;0 4 -2;-3 -4 1|====>>>|0 -2;-3 1|. // The sub-matrix of -3 is obtained by ignoring the 1st row and the 3rd column in which -3 resides. // |B|=|-1 2 -3;0 4 -2;-3 -4 1|====>>>|0 4;-3 -4|. // After the calculation of sub-matrices of any one row or any column, you can find the determinant // of this matrix. As we calculate the first row to find the sub-matrices, we will take into // consideration the checkerboard sign matrix and will ignore any other elements in both. // |-1 2 -3;0 4 -2;-3 -4 1| |+ - +;- + -;+ - +| // |4 -2;-4 1| |0 -2;-3 1| |0 4;-3 -4| // Now det(A)=|A|= // -1 x + x |4 -2;-4 1| + 2 x - x |0 -2;-3 1|+ -3 x + x |0 4;-3 -4| // =-1x{(4)x(1)-(-2)x(-4)}-2x{0-(-2)x(-3)}-3x{0-(-3)x(4)} // =-1x{4-8}-2x{-6}-3x{12} // =4+12-36=-20 MATRIX_7=[-1 2 -3;0 4 -2;-3 -4 1]; DETERMINANT=det(MATRIX_7); ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////------------------------------------------------------------------------------//////////// //////////// HOW TO DRAW A BAR GRAPH ON SCILAB //////////// ////////////------------------------------------------------------------------------------//////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// // Let's think a factory producing 3 different types of gear systems for robotic issues in // a year, we can use the bar graph demonstration to calculate the total production // number of each product. ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// /////////// /////////// /////////// Conical Rack & Pinion Worm /////////// /////////// Month Gear System Gear System Gear System /////////// /////////// 1 1153 863 924 /////////// /////////// 2 542 954 562 /////////// /////////// 3 1201 336 896 /////////// /////////// 4 453 745 320 /////////// /////////// 5 250 410 196 /////////// /////////// 6 1358 564 963 /////////// /////////// 7 124 360 456 /////////// /////////// 8 1456 96 145 /////////// /////////// 9 89 56 110 /////////// /////////// 10 698 567 234 /////////// /////////// 11 654 329 236 /////////// /////////// 12 452 165 420 /////////// /////////// /////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// //Months=[1:1:12] //Gear_Systems=[1153 863 924;542 954 562;1201 336 896;453 745 320;250 410 196;1358 564 963;.. //124 360 456;1456 96 145; 89 56 110;698 564 234;654 329 236;452 165 420] //bar(Months,Gear_Systems); // In order to group each individual product for an each month, we must use 'stacked' expression // after the y axis in the graph. In order to see the difference of these two different // demonstration, please press F5 after putting "//" to upper command and deleting "//" signs // of next line. //bar(months,Gear_Systems,'stacked'); // To place a title on your bar graph and to label both axes, // xtitle("Graph_Title","Name_of_x_axis","Name_of_y_axis") //xtitle("Data for Produced Gear Systems","Months (2020)","Products"); // To place a legend on your bar graph, // Name_of_the_legend=(['DATA1',DATA2','DATA3']); //lgnd_bar=legend(['Conical Gear Systems','Rack & Pinion Gear Systems','Worm Gear Systems']); // In order to change the position of the legend to where you want, please change // the command as seen in the below. // Name_of_the_legend=(['DATA1',DATA2','DATA3'],pos=5); //lgnd=legend(['Conical Gear Systems','Rack & Pinion Gear Systems','Worm Gear Systems'],pos=5); // If you want to change the axis properties of the graph, the code must be changed as below. // NEW_NAME=gca(); // NEW_NAME.x_ticks.labels=["N1";"N2";"N3";"N4";"N5";"N6";"N7"...;"NN"] //new_x_label=gca(); //new_x_label.x_ticks.labels=["JAN";"FEB";"MAR";"APR";"MAY";"JUN";"JUL";"AUG";"SEP";"OCT";"NOV";"DEC"]; ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////------------------------------------------------------------------------------//////////// //////////// HOW TO DRAW LINE GRAPHS IN SCILAB FOR MATHEMATICAL EQUATIONS //////////// ////////////------------------------------------------------------------------------------//////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// // This section is about drawing line graphs of mathematical equations in SCILAB. // Let's define two different equations which are called as Equation_1 and Equation_2 as seen below. // In order to define these equations as line graph, the x-axis values are required to be defined. // x-axis values has been defined as x1 as shown in below x1=[-10+0.1:10]; Equation_1=x1^2+2*x1+1; Equation_2=x1^2-2*x1-1; // plot command is used to draw line graph of defined functions, // and its usage is as "plot(x_axis,Equation_name)". //plot(x1,Equation_1); //plot(x1,Equation_2); // If you want to encolour your line graph and if you want to organise it, // the command must be converted to "plot(x_axis,Equation_name,'line_style-line_colour')" plot(x1,Equation_1,'x-b'); plot(x1,Equation_2,'x-r'); // xlabel("x"); ylabel("f(x)"); title("Graph of Functions"); //lgnd_line=legend(['Equation_1','Equation_2'],pos=5); lgnd_line=legend(['$x^2+2*x+1$';'$x^2-2*x-1$'],pos=5); bb=gca(); bb.font_size=4; bb.x_label.font_size=4; bb.y_label.font_size=4; bb.title.font_size=4; ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////------------------------------------------------------------------------------//////////// //////////// MAIN LINE STYLES&COLOURS IN SCILAB //////////// ////////////------------------------------------------------------------------------------//////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ///////----------------------------------------------------------------------------------------/////// /////// Sign Meaning Colour Sign Meaning /////// ///////----------------------------------------------------------------------------------------/////// /////// - Solid Line k Black /////// /////// -- Dashed Line w White /////// /////// : Dotted Line m Magenta /////// /////// -. Dashed Dotted g Green /////// /////// + Plus Sign r Red /////// /////// o Circle b Blue /////// /////// * Asterisk c Cyan /////// /////// . Point y Yellow /////// /////// x Cross /////// /////// 's' Square /////// /////// ^ Upper point triangles /////// /////// v Lower point triangles /////// /////// > Right point triangles /////// /////// < Left point triangles /////// /////// 'pentagon' Five armed star /////// ///////----------------------------------------------------------------------------------------/////// ////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////
e774151f3eefe577cf29aefce5c8eb908e737ec0
449d555969bfd7befe906877abab098c6e63a0e8
/2672/CH4/EX4.13/Ex4_13.sce
3b46ece318625f8c80ce3b6a46cbdfab0adcf4c0
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
472
sce
Ex4_13.sce
//Example 4_13 clc; clear; close; format('v',9) //given data : n0=7.87*10^28;//m^-3 mu=35.2;//cm^2/vs E0=30*10^2;//V/m h=1.05*10^-34;//Js//Planks Constant e=1.6*10^-19;//C///Charge on electron //Part (a) sigma=n0*e*mu*10^-4;//s/m disp(sigma,"(a) Conductivity(s/m)"); //Part (b) V0=E0*mu*10^-4;//m/s disp(V0,"(b) Drift velocity of electron(m/s)"); J=sigma*E0;//A/m^3 disp(J,"(b) Current density(A/m^3)") //Answer given in the textbook is not accurate.
4e589e0819ddf6bc6feb99ba9aca0388179d7d92
1573c4954e822b3538692bce853eb35e55f1bb3b
/DSP Functions/allpasslp2lp/test_10.sce
2897554376742cadeaeccc2ac07be11f4b126222
[]
no_license
shreniknambiar/FOSSEE-DSP-Toolbox
1f498499c1bb18b626b77ff037905e51eee9b601
aec8e1cea8d49e75686743bb5b7d814d3ca38801
refs/heads/master
2020-12-10T03:28:37.484363
2017-06-27T17:47:15
2017-06-27T17:47:15
95,582,974
1
0
null
null
null
null
UTF-8
Scilab
false
false
259
sce
test_10.sce
// Test # 10 : Input Argument #2 length exec('./allpasslp2lp.sci',-1); [n,d]=allpasslp2lp(0.63,[0.26,0.72]); //!--error 10000 //Wt must be real,numeric and scalar //at line 43 of function allpasslp2lp called by : //[n,d]=allpasslp2lp(0.63,[0.26,0.72])
14e5db45f0f934ca56f84f7c77f2f55a03cda24c
527c41bcbfe7e4743e0e8897b058eaaf206558c7
/Positive_Negative_test/Netezza-Functions/new/Hypothesis.tst
d2eef784726ebd03ed6e412ddfd3e4ce17fd5672
[]
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
8,559
tst
Hypothesis.tst
-- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza -- -- Copyright (c): 2016 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: Hypothesis Testing Functions -- -- Last Updated: 05-29-2017 -- -- Author: <deept.mahendiratta@fuzzylogix.com> -- -- BEGIN: TEST SCRIPT \timing on -- BEGIN: TEST(s) -----******************************************************************************************************************************* ---FLAnova1WayUdt -----******************************************************************************************************************************* DROP VIEW view_ANOVA1Way; CREATE VIEW view_ANOVA1Way AS SELECT s.serialval AS GroupID, t.City, t.SalesPerVisit FROM tblCustData t, fzzlserial s WHERE City <> 'Boston' AND serialval <= 1; SELECT a.* FROM(SELECT a.GroupID, a.City, a.SalesPerVisit, NVL(LAG(0) OVER (PARTITION BY a.GroupID ORDER BY a.City), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY a.GroupID ORDER BY a.City), 1) AS end_flag FROM view_ANOVA1Way a) AS z, TABLE(FLANOVA1WAYUdt(z.GroupID, z.City, z.SalesPerVisit, z.begin_flag, z.end_flag)) AS a; DROP VIEW view_ANOVA1Way; -----******************************************************************************************************************************* ---SP_Ancova -----******************************************************************************************************************************* EXEC SP_ANCOVA('tblAncovaTest', 'GroupID', 'XVAL', 'YVAL', 0.05); --SELECT a.* --FROM fzzlANCOVAStats a --WHERE AnalysisID='ADMIN_137601'; -----******************************************************************************************************************************* ---FLCrossTabUdt -----******************************************************************************************************************************* SELECT a.* FROM( SELECT 1 AS groupid, a.tabrowid, a.tabcolid, NVL(LAG(0) OVER (PARTITION BY groupid ORDER BY a.tabrowid), 1) AS begin_flag, NVL(LEAD(0) OVER (PARTITION BY groupid ORDER BY a.tabrowid), 1) AS end_flag FROM tblCrossTab a) AS z, TABLE(FLCrossTabUdt(z.groupid, z.tabrowid, z.tabcolid, z.begin_flag, z.end_flag)) AS a; -----******************************************************************************************************************************* ---FLCrossTabUdt with Large Contingency Tables -----******************************************************************************************************************************* SELECT a.HardwareID, b.MajorID, FLChiSq('EXP_VAL', a.HardwareID, b.MajorID, c.HardwareID, c.MajorID, 1) AS Exp_Val, FLChiSq('CHI_SQ', a.HardwareID, b.MajorID, c.HardwareID, c.MajorID, 1) AS Chi_SQ FROM tblHardware a, tblMajor b, tblStudentCrossRef c GROUP BY a.HardwareID,b.MajorID ORDER BY 1, 3; -----******************************************************************************************************************************* ---SP_KSTest1S -----******************************************************************************************************************************* -- Case 1: Both mean and standard deviation are known. DROP TABLE tblKSTestOut; CALL SP_KSTest1S('NORMAL', 'tblKSTest', 'Num_Val', 3.5, 11.5, NULL, 'GROUPID', 'tblKSTestOut'); SELECT * FROM tblKSTestOut ORDER BY 1; -- Case 2: Both mean and standard deviation are unknown. DROP TABLE tblKSTestOut; CALL SP_KSTest1S('NORMAL', 'tblKSTest', 'Num_Val', NULL, NULL, NULL, 'GROUPID', 'tblKSTestOut'); SELECT * FROM tblKSTestOut ORDER BY 1; DROP TABLE tblKSTestOut; -----******************************************************************************************************************************* ---FLtTest1S -----******************************************************************************************************************************* SELECT GROUPID, COUNT(*) AS GRP_COUNT, FLtTest1S('T_STAT', 0.0, a.Num_Val, 2) As T_STAT, FLtTest1S ('P_VALUE', 0.0, a.Num_Val, 2) as P_VALUE FROM tblHypoTest a WHERE TestType = 'tTest' GROUP BY GROUPID ORDER BY 1; -----******************************************************************************************************************************* ---FLtTest2S -----******************************************************************************************************************************* SELECT FLtTest2S('T_STAT', 'UNEQUAL_VAR', a.GroupID,a.Num_Val, 2) AS T_Stat, FLtTest2S('P_VALUE', 'UNEQUAL_VAR', a.GroupID, a.Num_Val, 2) AS P_Value FROM tblHypoTest a; -----******************************************************************************************************************************* ---FLMWTest -----******************************************************************************************************************************* SELECT FLMWTest('T_STAT' , x.GroupID, y.FracRank) AS T_STAT, FLMWTest('P_VALUE' , x.GroupID, y.FracRank) AS P_VALUE FROM ( SELECT a.GroupID, RANK() OVER (PARTITION BY 1 ORDER BY a.Num_Val ASC) AS Rank FROM tblHypoTest a ) AS x, ( SELECT p.Rank, FLFracRank(p.Rank, COUNT(*)) AS FracRank FROM ( SELECT a.GroupID, a.ObsID, RANK() OVER (PARTITION BY 1 ORDER BY a.Num_Val ASC) FROM tblHypoTest a ) AS p GROUP BY p.Rank ) AS y WHERE y.Rank = x.Rank; -----******************************************************************************************************************************* ---FLzTest1P -----******************************************************************************************************************************* SELECT GROUPID, COUNT(*) AS GRP_COUNT, FLzTest1P('Z_STAT', 0.45, a.Num_Val, 2) AS Z_STAT, FLzTest1P('P_VALUE', 0.45, a.Num_Val, 2) AS P_VALUE FROM tblzTest a GROUP BY GROUPID ORDER BY 1; -----******************************************************************************************************************************* ---FLzTest1S -----******************************************************************************************************************************* SELECT GROUPID, COUNT(*) AS GRP_COUNT, FLzTest1S('Z_STAT', 0.45, a.Num_Val, 2) AS Z_STAT, FLzTest1S('P_VALUE', 0.45, a.Num_Val, 2) AS P_VALUE FROM tblHypoTest a WHERE TestType = 'tTest' GROUP BY GROUPID ORDER BY 1; -----******************************************************************************************************************************* ---FLzTest2P -----******************************************************************************************************************************* SELECT FLzTest2P('Z_STAT', a.GroupID, a.Num_Val, 2) AS Z_STAT, FLzTest2P('P_VALUE', a.GroupID, a.Num_Val, 2) AS P_VALUE FROM tblzTest a; -----******************************************************************************************************************************* ---FLzTest2S -----******************************************************************************************************************************* SELECT FLzTest2S('Z_STAT', a.GroupID, a.Num_Val, 2) AS Z_STAT, FLzTest2S('P_VALUE', a.GroupID, a.Num_Val, 2) AS P_VALUE FROM tblHypoTest a WHERE TestType = 'tTest'; -- END: TEST(s) -- END: TEST SCRIPT \timing off
3199fe796d5ab6be9089fcbd5947a910f0634eac
449d555969bfd7befe906877abab098c6e63a0e8
/269/CH14/EX14.4/example6_4.sce
9a227c6a58039ecdf7e9b5ac20c276032629fc25
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
example6_4.sce
disp('chapter 14, example 4') disp('given') disp('Pav=500W, Q=500vars,Pf=0.707 lagging')//power factor=0.707 lag behind Q disp('rms value of voltage=2v') disp('angular frequency=2rad/sec') Q=500 pf=0.707 pav=500 Qt=sqrt((pav/0.9)^2-pav^2)//power factor=pav/sqrt(pav^2+qt^2) and changed power factor = 0.9 lagging .This is done by connecting capacitor disp(Qt) Qc=Qt-Q disp(Qc) Vrms=2//rms value of voltage is 2 volts W=2//angularfreq=2 rad/sec c=Qc/(-Vrms^2*W)*10^-6 disp('Capacitor required for 0.9 power factor in microfarad is') disp(c)
c6f9dca7ded14cab1cdba9d1cd6ddad6a44b2059
449d555969bfd7befe906877abab098c6e63a0e8
/620/CH26/EX26.4/example26_4.sce
ce7c3264f7afe948ffe3f798b37b5f4babb39d79
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
133
sce
example26_4.sce
i=2.6; r=300; x_l=400; z=sqrt(r^2+x_l^2); p=i^2*z; disp("the apparent power drawn (in kVA) by the circuit is"); disp(p*10^(-3));
b118a266e7759b886897b35adbf927bcab092adc
449d555969bfd7befe906877abab098c6e63a0e8
/1970/CH11/EX11.6/CH11Exa6.sce
4031a015fde5f5b96fe8081ab0dcd2aa972a8dca
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
876
sce
CH11Exa6.sce
// Scilab code Exa11.6: : Page-537 (2011) clc; clear; K_E = 7.5*1.6023e-13; // Kinetic energy, joule r = 0.51; // Radius of the proton's orbit, metre E = 5*10^6; // Electric field, volts per metre m = 1.67e-27; // Mass of the proton, Kg q = 1.6023e-19; // Charge of the proton, C v = sqrt(2*K_E/m); // Velocity of the proton, metre per sec B_red = E/v; // The effective reduction in magnetic field, tesla B = m*v/(q*r); // Total magnetic field produced, tesla r_change = r*B_red/B; // The change in orbit radius, metre printf("\nThe effective reduction in magnetic field = %5.3f tesla \nThe change in orbit radius = %5.3f metre ", B_red, r_change); // Result // The effective reduction in magnetic field = 0.132 tesla // The change in orbit radius = 0.087 metre
af3d1a25a2acb1f2f4808b390dc66f2714610208
25b5cbd88b9b1c4dd4c6918be2a988027dee667e
/doc/scripts/controller/util.sce
c492b4e843e4ba3ca8d4ebbccc92943f9893d0f1
[]
no_license
nkigen/nxtLEGO
d592720aabdd4da83f3463719135e4e6072aa6dd
7ce91955744756bfeb32b4b619b80cc26e83afef
refs/heads/master
2020-05-20T03:22:49.327962
2015-03-01T17:35:27
2015-03-01T17:35:27
17,963,092
0
0
null
2014-07-17T18:41:48
2014-03-21T00:17:33
C
UTF-8
Scilab
false
false
225
sce
util.sce
//Calculate the z transform z = %z; Tc = 0.002; Kc = 40; z1 = -3; z2 = -20; p1 = -80; a = Tc*(z1+z2)+2; b = Tc*(z1+z2) + z1*z2*(Tc^2) + 1; x = (p1*Tc+2); y = 1+Tc*p1; U = (z^2 -z*a + b)/(z^2-x*z+y); //U.den = z^2-x*z+y;
c26d122fe3bbc7a3c5de28156a6a25722c7e6df3
777ac7fa75f240739af167655f7fab95cba80ef6
/docs/Basics.New/Var.tst
17380c8c7c6e73468465e7a79da3841c6b646aca
[]
no_license
Karabur/TML-project
8d498d8133f4b1ea8e8c3fe6f6f47f7ab5de4b5c
0bfe006b0e66628427b769bc1be903875e77d5b7
refs/heads/master
2021-01-02T09:20:39.055827
2013-12-28T22:02:15
2013-12-28T22:02:15
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,613
tst
Var.tst
Title: TestName: Проверка правильности работы с внутренними переменными и вычисленим арифметических выражений; Difficulty: A1; FullTime: 0; Questions: 3; EndTitle. StartTest: Question: 1; Weight: 1.0; BeginText: Вычисляется выражение (Q1+2*Q2)*3=? где Q1,Q2,Q3 - служебные переменные - результат вопроса Q1,Q2,Q3 если результат меньше 9 будет задан вопрос 1 и тд иначе 3 Оценка по тесту будет равна вычисленному выражению EndText; Choice: AtX: 8; AtY: 8; Width: 100; Height: 100; 1: правильно endcase; 2: ошибка endcase; Right: 1; Ask; Question: 2; Weight: 1.0; BeginText: Вычисляется выражение (Q1+2*Q2)*3=? где Q1,Q2,Q3 - служебные переменные - результат вопроса Q1,Q2,Q3 если результат меньше 9 будет задан вопрос 1 и тд иначе 3 Оценка по тесту будет равна вычисленному выражению EndText; Choice: AtX: 8; AtY: 8; Width: 100; Height: 100; 1: правильно endcase; 2: ошибка endcase; Right: 1; Ask; R1:=(Q1+2*Q2)*3; if R1<9 then goto 1; Question: 3; Weight: 1.0; BeginText: Проверка примитива завершена EndText; Choice: AtX: 8; AtY: 8; Width: 1; Height: 1; 1: правильно endcase; 2: ошибка endcase; Right: 1; Ask; TFullResult:=R1; EndTest.
6bcf99b7fe493e12da07b1e194972473bc4c5f4a
449d555969bfd7befe906877abab098c6e63a0e8
/746/DEPENDENCIES/10_16.sci
11f28ee338c75a5d82cefb19c8cda41a2a545710
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
288
sci
10_16.sci
//Diameter of windmill(in m): D=26; //Operating speed(in rpm): N=20; //Wind speed(in km/hr): V=36; //Power Output(in W): Po=41000; //Maximum efficiency occurs in following conditions: //Efficiency: Eff=0.593; //Inteference Factor: a=1/3; //Density of air(in kg/m^3): p=1.23;
a44331d1d8c881c8383e3ddccfe11c366f780018
449d555969bfd7befe906877abab098c6e63a0e8
/869/CH1/EX1.4/1_4.sce
b9bf18f8b6fa8ff29ec2a5c0fe0de579b417f0fe
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
1_4.sce
clc //initialisation of variables b= 12 angle1= 35 //degrees angle2= 43 //degrees //CALCULATIONS angle3= 180-angle1-angle2 a= sind(angle2)*b/sind(angle3) c= a*sind(angle1)/sind(angle2) //RESULTS printf ('c = %.2f ',c) printf (' \a=%.2f.',a)
34c8743c7bc3d8df17eb5fa6b2c13ee0855a919a
9cb37875b74a713c93c09fa50ccc70ac0f71ecdb
/CostDistanceKCD/3dof/dull2.sce
4075ada9fed0ed126538fed611d679151e9d8fd7
[]
no_license
jmainpri/move3d-assets
a5b621daaedaaf8784fed0da1e80d029c83f3983
939db49d17a14e052bb58324b70e6112803d3105
refs/heads/master
2021-01-16T17:48:56.669119
2016-02-16T14:04:09
2016-02-16T14:04:09
20,237,987
1
0
null
null
null
null
UTF-8
Scilab
false
false
587
sce
dull2.sce
#************************************************************ # Scenario of lydia # # date : Tue Jul 28 11:26:38 2009 #************************************************************ p3d_sel_desc_name P3D_ENV lydia p3d_sel_desc_name P3D_ROBOT lydia2.robot p3d_set_robot_steering_method Linear p3d_set_robot_current 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 300.000000 -215.339233 203.539825 -180.000000 -180.000000 -180.000000 p3d_set_robot_goto 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -224.188782 259.587006 262.536865 -180.000000 -180.000000 -180.000000
021f5fd832aed9c22b843c0797c8b66eaad26658
449d555969bfd7befe906877abab098c6e63a0e8
/1418/CH27/EX27.2/EX27_2.sce
2bf8e47d9cfed78b317358eb90b962b4d44cc308
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
854
sce
EX27_2.sce
//EXAMPLE 27.2 //8-POLE GENERATOR clc; funcprot(0); //Variable Initialisation P=8;......//Total number of poles Z=722;.....//Total number of conductors V=500;.......//Termiinal voltage in Volts Ia=200;........//Armature current in Amperes Z=1280;......//Total number of conductors as=160;........//Total number of armature segments ba=4;..........//Advancement in brushes from no-load neutral axis Al=P;...........//Number of parallel paths in a I=Ia/P;.....//Current per path in Amperes b=ba*360/as;......//Brush lead in degrees ATdpole=Z*I*b/360;.....//Armatuue demagnetizing ampere-turns per pole disp(ATdpole,"Armatuue demagnetizing ampere-turns per pole:"); ATepole=Z*I*((1/(2*P))-(b/360));.......//Armature cross-magnetizing ampere-turns per pole disp(ATepole,"Armature cross-magnetizing ampere-turns per pole:");
191d6006377ad56fad88fcbecff1be53a2f73fe7
449d555969bfd7befe906877abab098c6e63a0e8
/3875/CH9/EX9.7/Ex9_7.sce
cb718eea26d8eb980587ab6c06f3c1a2cea481a6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
Ex9_7.sce
clc; clear; alpha=-0.5 //attenuation in dB/km I_t=2*10^-6 //input power in W I_o=1.5*10^-3 //output power in W //calculation L=-(10/0.5)*log10(I_t/I_o) mprintf("The length of the fibre is = %2.1f km.",L)
6d41cbd716548f67104f4c71841adfaacf01a1ad
449d555969bfd7befe906877abab098c6e63a0e8
/632/CH7/EX7.4/example7_4.sce
31c93d78f2de7b49a4cd6d2fd84e44c6ebafa275
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
273
sce
example7_4.sce
//clc() P = 101.3;//kPa Pbs = 54.21;//kPa Pas = 136.09;//kPa xf = 0.65; xw = (P - Pbs)/(Pas - Pbs); yd = xw * Pas / P ; // f = ( xf - xw ) / ( yd - xw ) f = ( xf - xw ) / ( yd - xw ); per1 = f * 100; disp("%",per1,"mole percent of the feed that is vapourised = ")
0a6d9688b8538f45e984104ab80aebedd09dee2f
417f69e36190edf7e19a030d2bb6aa4f15bb390c
/SMTTests/tests/ok_namedExpr2.tst
7c4d66b4a4c08c40d63188c1709a84728879f146
[]
no_license
IETS3/jSMTLIB
aeaa7ad19be88117c7454d807a944e8581184a66
c724ac63056101bfeeb39cc3f366c8719aa23f7b
refs/heads/master
2020-12-24T12:41:17.664907
2019-01-04T10:47:43
2019-01-04T10:47:43
76,446,229
1
0
null
2016-12-14T09:46:41
2016-12-14T09:46:41
null
UTF-8
Scilab
false
false
210
tst
ok_namedExpr2.tst
; testing that named expressions are in scope (set-logic QF_UF) (declare-fun p () Bool) (declare-fun q () Bool) (push 1) (assert (! p :named P)) (assert (! (and q P) :named PQ)) (pop 1) (assert (! p :named P))
51df060d1afaab9f716685010d588b31325f31d9
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.3/macros/metanet/gen_net.sci
e194a8e38d04920d27520c98c75f7df070ab109e
[ "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,683
sci
gen_net.sci
function [g]=gen_net(name,directed,v) [lhs,rhs]=argn(0) g=[] if rhs==0 then directed=x_choices('Is the graph directed?',.. list(list(' ',1,['Yes','No']))); if directed==[] then return, end if directed==2 then directed=0, end name=x_dialog('Name of the graph','foo'); if name==[] then return, end txt=['Seed for random';'Number of nodes';'Number of sources';.. 'Number of sinks';'Minimum cost';'Maximum cost';'Input supply';.. 'Output supply';'Minimum capacity';'Maximum capacity';.. 'Percentage of edges with costs';'Percentage of edges with capacities']; v=x_mdialog('Values for generating the network',txt,.. ['1';'4';'1';'1';'0';'10';'100';'100';'0';'100';'50';'50']); if v==[] then return, end v=evstr(v); else // name if type(name)<>10|prod(size(name))<>1 then error('""name"" must be a string') end // directed if directed<>1&directed<>0 then error('""directed"" must be 0 or 1') end // v s=size(v) if s(1)<>1 then error('""v"" must be a row vector') end if s(2)<>12 then error('""v"" must have 12 elements') end end inseed=v(1) n=v(2) nsorc=v(3) nsink=v(4) mincst=v(5) maxcst=v(6) itsup=v(7) otsup=v(8) mincap=v(9) maxcap=v(10) bhicst=v(11) bcap=v(12) ns=n+nsorc+nsink;ns2=ns*2;ns4=ns*4;ns10=ns*10;ns12=ns*12; ns20=ns*20;ns30=ns*30; [ntype,ma,tail,head,x,y,cap,cost]=m6meshmesh(inseed,.. n,nsorc,nsink,mincst,maxcst,itsup,otsup,.. bhicst,bcap,mincap,maxcap,.. ns,ns2,ns4,ns10,ns12,ns20,ns30) g=glist(name,directed,n,tail(1:ma),head(1:ma),string(1:n),.. ntype,x,y,[],[],[],[],[],[],[],.. [],[],[],[],cost(1:ma),[],cap(1:ma),[],[],[],.. [],[],[],[],[],[],[])
e28b7c081f472c0b9c3e5bdfb1c1d9f7e38567e2
449d555969bfd7befe906877abab098c6e63a0e8
/260/CH8/EX8.6/8_6.sce
bf48198ddf7aed16fc6cbd80647623fc06173f1c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
129
sce
8_6.sce
//Eg-8.6 //pg-374 clear clc exec quicksort.sci x = [ 4 1 5 2.6 5.4 11.5 7.6 1.9 ] xsorted = quicksort(x) disp(xsorted)
28c3031b300bd3eb38bdbee5ab2a1b450edd865e
449d555969bfd7befe906877abab098c6e63a0e8
/929/CH1/EX1.7.a/Example1_7_a.sce
29b6f996ba2cac833831aa1d6893c74404a6858c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
220
sce
Example1_7_a.sce
//Example 1.7(a) clear; clc; //1.7(a) Gerrormax=0.1;// Maximum Gain Error Percentage //But Gerror100/T ->Gerrormax=100/Tmin -> Tmin=100/Gerrormax Tmin=100/Gerrormax; printf("Loop Gain (T)>=%.2f",Tmin);
ed8535c073c60067343c9f92d8956b84e6fa5ea9
111e385f01dcdb641cbc64f8eb2d84c5f0eb1aee
/01/Or8Way.tst
f90b52873e1932e3df09f20e249d9d1584bc0541
[]
no_license
pipt/nand2tetris
7eaae88086f717291d78972af3997f2749bf5054
86dc57c94a1ddb5cf4bba9dc8c67c22b89d20d49
refs/heads/master
2020-03-28T02:35:08.533781
2018-10-02T20:55:11
2018-10-02T20:55:11
147,581,307
0
0
null
null
null
null
UTF-8
Scilab
false
false
261
tst
Or8Way.tst
load Or8Way.hdl, output-file Or8Way.out, compare-to Or8Way.cmp, output-list in%B1.8.1 out; set in %B00000000, eval, output; set in %B01000000, eval, output; set in %B00000010, eval, output; set in %B01011010, eval, output; set in %B11111111, eval, output;
4f52ed0b7839b381ffa9b823074b20789ea19b0b
e16ed2b1e5415e101f10dbee6680d11e6fdb5e6d
/Discern Explorer/Performance Tuning/Exercises/dar_exercise_5a.tst
1d3b3874ed32a60dc1960ff0ab1028968a2cd470
[]
no_license
mikeysjob/ccl
484145533a1e880c9369022c02c9756c86cfdce2
2e7b7cbc7a5bad0f035f744e1bab07a19d250f9a
refs/heads/master
2023-02-09T23:40:06.341187
2021-01-06T17:31:02
2021-01-06T17:31:02
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
612
tst
dar_exercise_5a.tst
;this can be used to run dar_exercise_5a free set reply go record reply ( 1 aCharge[*] 2 dActivity_id = f8 2 sTransToPatName = vc 2 iTransTo_Ind = i2 2 sTransToExtAcctIDTxt = vc ) go select into "nl:" from trans_trans_reltn t plan t where t.parent_activity_id > 0 and t.trans_reltn_reason_cd = 654415.0 and t.active_ind = 1 head report num = 0 detail num = num + 1 stat = alterlist(reply->aCharge, num) reply->aCharge[num].dActivity_id = t.parent_activity_id with nocounter, maxqual(t, 21) go dar_exercise_5a go
8b4cf12be82b3b32ee6924960234f86423292ee2
1b969fbb81566edd3ef2887c98b61d98b380afd4
/Rez/bivariate-lcmsr-post_mi/bfi_a6_vrt_ind/~BivLCM-SR-bfi_a6_vrt_ind-PLin-VLin.tst
6be1c6ed60d56a66f9654da3935f59426ba136e0
[]
no_license
psdlab/life-in-time-values-and-personality
35fbf5bbe4edd54b429a934caf289fbb0edfefee
7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e
refs/heads/master
2020-03-24T22:08:27.964205
2019-03-04T17:03:26
2019-03-04T17:03:26
143,070,821
1
0
null
null
null
null
UTF-8
Scilab
false
false
11,974
tst
~BivLCM-SR-bfi_a6_vrt_ind-PLin-VLin.tst
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM. ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 1 2 3 4 5 ________ ________ ________ ________ ________ 1 0.351794D+00 2 -0.287498D-02 0.303933D-02 3 -0.113226D+00 -0.211970D-03 0.350356D+00 4 0.826975D-03 -0.112186D-02 -0.685343D-02 0.294859D-02 5 0.227540D-03 0.152771D-03 -0.725596D-03 0.526828D-04 0.290995D-02 6 0.467039D-04 -0.138177D-04 0.636288D-03 0.819328D-04 0.163938D-03 7 0.308088D-04 0.524891D-04 0.115313D-02 0.175328D-04 -0.274117D-03 8 0.101222D-03 0.618612D-04 0.150469D-03 0.163682D-04 -0.133906D-03 9 -0.139806D+00 0.168850D-01 0.109809D+00 -0.264202D-01 0.116871D+00 10 -0.982405D-01 0.154729D-01 0.139434D+00 -0.546874D-02 0.204115D+00 11 -0.167170D+00 0.111042D-03 0.151556D+00 0.234108D-01 -0.474440D-01 12 -0.252544D+00 0.642118D-02 0.211896D+00 -0.484509D-01 0.651584D-01 13 0.105841D+00 0.771217D-02 -0.646010D-01 0.557778D-03 -0.218908D-01 14 0.238664D-01 -0.117352D-01 0.480548D+00 0.512587D-02 0.107688D-01 15 -0.921615D+00 0.738354D-01 -0.550266D-01 -0.412636D-01 -0.130471D+00 16 -0.297518D-01 -0.130711D-01 0.247468D-01 0.468188D-02 0.125412D-02 17 -0.127268D-01 -0.194238D-02 0.657712D-02 0.119227D-02 -0.823698D-03 18 0.193608D+00 -0.487801D-01 0.119312D+00 0.533971D-01 0.611540D-01 19 -0.293998D-01 0.817719D-02 0.131164D-01 -0.167342D-01 -0.673623D-02 20 -0.167093D+00 0.147374D-01 0.246678D+00 -0.356821D-01 0.968848D-02 21 0.876821D-01 -0.605212D-03 0.151382D-01 0.964958D-02 0.167241D-02 22 0.407204D-02 0.112664D-02 -0.774959D-02 -0.684291D-03 0.365821D-03 23 0.623553D-02 -0.393704D-02 0.319565D-01 -0.110989D-03 0.201681D-02 24 -0.317766D-02 -0.221259D-03 -0.154298D-02 0.931895D-03 -0.272993D-03 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 6 7 8 9 10 ________ ________ ________ ________ ________ 6 0.988182D-03 7 0.386068D-03 0.207908D-02 8 -0.250619D-03 0.686217D-03 0.274556D-02 9 -0.207584D-01 0.511554D-01 0.960359D-03 0.832291D+02 10 0.132218D-01 -0.312989D-01 -0.164713D-01 0.569533D+01 0.328019D+02 11 0.598826D-01 0.252663D-01 -0.319882D-01 -0.277601D+02 -0.109248D+01 12 -0.277780D-01 -0.337749D-01 0.386293D-01 0.254319D+02 0.632978D+01 13 0.478660D-01 0.105123D+00 0.411682D-01 0.205314D+01 -0.660530D+01 14 0.149837D-01 0.269120D-01 0.104656D+00 0.194409D+00 0.480649D+01 15 0.400768D-01 0.541806D-01 0.288009D-02 -0.124881D+02 -0.207284D+02 16 0.153966D-02 -0.224951D-03 -0.595024D-03 0.634319D+00 -0.100225D-01 17 -0.218619D-03 -0.574703D-03 -0.135554D-03 -0.223251D+00 -0.372952D-01 18 -0.798372D-01 -0.120459D+00 0.131825D-01 -0.684934D+01 0.885668D+01 19 -0.211468D-01 -0.101333D-05 0.649149D-02 0.527037D-01 0.817602D-01 20 0.266888D-01 -0.206429D-01 -0.157945D+00 0.802320D+01 0.695097D+00 21 0.188532D-01 -0.812255D-03 -0.488195D-02 -0.475517D+00 -0.128876D+00 22 0.112144D-03 0.301668D-03 0.416274D-04 0.120331D+00 0.173532D-01 23 0.794635D-03 0.180047D-03 -0.782843D-03 0.567115D+00 -0.141282D-01 24 -0.914592D-04 0.110809D-03 -0.198561D-03 -0.940598D-01 -0.199506D-01 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 11 12 13 14 15 ________ ________ ________ ________ ________ 11 0.645503D+02 12 -0.536718D+02 0.143123D+03 13 0.789079D-01 -0.232681D+01 0.157141D+02 14 0.161092D+01 0.603244D+00 -0.277362D+01 0.480602D+02 15 0.928554D+01 -0.656372D+00 0.611468D+01 0.208141D+01 0.352691D+03 16 -0.406835D+00 0.793113D-01 0.158832D+00 0.366692D+00 0.578953D+00 17 0.891672D-01 -0.854719D-01 -0.567432D-01 -0.189769D-01 -0.171968D+01 18 -0.501374D+01 0.631677D+01 -0.933811D+01 0.665953D+01 -0.115715D+03 19 -0.145503D+00 -0.832061D+00 -0.102129D+01 -0.782218D+00 0.152190D+01 20 -0.133902D+01 0.214753D+01 -0.160722D+01 -0.247418D+02 0.285626D+02 21 0.596588D+00 -0.143514D+00 0.700648D+00 0.104990D+01 -0.135529D+01 22 -0.845547D-01 0.907923D-01 0.138391D-01 -0.216857D-01 0.624660D+00 23 -0.394520D+00 0.118364D+01 -0.339446D-01 0.130740D+00 -0.450890D+00 24 0.102105D+00 -0.313209D+00 0.129268D-01 0.557889D-02 -0.169695D+00 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 16 17 18 19 20 ________ ________ ________ ________ ________ 16 0.563122D+00 17 -0.218853D-01 0.220457D-01 18 0.226807D+00 0.627906D+00 0.203010D+03 19 -0.297335D+00 0.530904D-02 0.904358D+00 0.557651D+01 20 -0.496539D+00 -0.208431D+00 -0.836758D+02 0.182337D+01 0.312606D+03 21 0.512433D-01 -0.109713D-01 0.734342D+00 -0.500233D+01 -0.277318D+01 22 -0.463934D-02 -0.750426D-02 -0.101290D+01 -0.122817D-01 0.375943D+00 23 0.604451D-01 -0.184973D-02 -0.714737D+00 -0.252084D+00 0.291697D+01 24 0.460437D-03 0.316630D-02 0.460561D+00 -0.321035D-02 -0.140219D+01 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 21 22 23 24 ________ ________ ________ ________ 21 0.582023D+01 22 -0.404854D-01 0.123839D-01 23 0.435313D-01 0.536547D-02 0.538925D+00 24 0.165696D-01 -0.445357D-02 -0.548645D-01 0.154592D-01 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 1 2 3 4 5 ________ ________ ________ ________ ________ 1 1.000 2 -0.088 1.000 3 -0.323 -0.006 1.000 4 0.026 -0.375 -0.213 1.000 5 0.007 0.051 -0.023 0.018 1.000 6 0.003 -0.008 0.034 0.048 0.097 7 0.001 0.021 0.043 0.007 -0.111 8 0.003 0.021 0.005 0.006 -0.047 9 -0.026 0.034 0.020 -0.053 0.237 10 -0.029 0.049 0.041 -0.018 0.661 11 -0.035 0.000 0.032 0.054 -0.109 12 -0.036 0.010 0.030 -0.075 0.101 13 0.045 0.035 -0.028 0.003 -0.102 14 0.006 -0.031 0.117 0.014 0.029 15 -0.083 0.071 -0.005 -0.040 -0.129 16 -0.067 -0.316 0.056 0.115 0.031 17 -0.145 -0.237 0.075 0.148 -0.103 18 0.023 -0.062 0.014 0.069 0.080 19 -0.021 0.063 0.009 -0.131 -0.053 20 -0.016 0.015 0.024 -0.037 0.010 21 0.061 -0.005 0.011 0.074 0.013 22 0.062 0.184 -0.118 -0.113 0.061 23 0.014 -0.097 0.074 -0.003 0.051 24 -0.043 -0.032 -0.021 0.138 -0.041 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 6 7 8 9 10 ________ ________ ________ ________ ________ 6 1.000 7 0.269 1.000 8 -0.152 0.287 1.000 9 -0.072 0.123 0.002 1.000 10 0.073 -0.120 -0.055 0.109 1.000 11 0.237 0.069 -0.076 -0.379 -0.024 12 -0.074 -0.062 0.062 0.233 0.092 13 0.384 0.582 0.198 0.057 -0.291 14 0.069 0.085 0.288 0.003 0.121 15 0.068 0.063 0.003 -0.073 -0.193 16 0.065 -0.007 -0.015 0.093 -0.002 17 -0.047 -0.085 -0.017 -0.165 -0.044 18 -0.178 -0.185 0.018 -0.053 0.109 19 -0.285 0.000 0.052 0.002 0.006 20 0.048 -0.026 -0.170 0.050 0.007 21 0.249 -0.007 -0.039 -0.022 -0.009 22 0.032 0.059 0.007 0.119 0.027 23 0.034 0.005 -0.020 0.085 -0.003 24 -0.023 0.020 -0.030 -0.083 -0.028 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 11 12 13 14 15 ________ ________ ________ ________ ________ 11 1.000 12 -0.558 1.000 13 0.002 -0.049 1.000 14 0.029 0.007 -0.101 1.000 15 0.062 -0.003 0.082 0.016 1.000 16 -0.067 0.009 0.053 0.070 0.041 17 0.075 -0.048 -0.096 -0.018 -0.617 18 -0.044 0.037 -0.165 0.067 -0.432 19 -0.008 -0.029 -0.109 -0.048 0.034 20 -0.009 0.010 -0.023 -0.202 0.086 21 0.031 -0.005 0.073 0.063 -0.030 22 -0.095 0.068 0.031 -0.028 0.299 23 -0.067 0.135 -0.012 0.026 -0.033 24 0.102 -0.211 0.026 0.006 -0.073 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 16 17 18 19 20 ________ ________ ________ ________ ________ 16 1.000 17 -0.196 1.000 18 0.021 0.297 1.000 19 -0.168 0.015 0.027 1.000 20 -0.037 -0.079 -0.332 0.044 1.000 21 0.028 -0.031 0.021 -0.878 -0.065 22 -0.056 -0.454 -0.639 -0.047 0.191 23 0.110 -0.017 -0.068 -0.145 0.225 24 0.005 0.172 0.260 -0.011 -0.638 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 21 22 23 24 ________ ________ ________ ________ 21 1.000 22 -0.151 1.000 23 0.025 0.066 1.000 24 0.055 -0.322 -0.601 1.000
c1bc730d34938bdc5cd8690aec6b48408a0c8697
e41b69b268c20a65548c08829feabfdd3a404a12
/3DCosmos/Data/Scripts/BasicHelp.SCI
a10eec156d33a665c35729e8fc7672e6bec23e7a
[ "LicenseRef-scancode-khronos", "MIT" ]
permissive
pvaut/Z-Flux
870e254bf340047ed2a52d888bc6f5e09357a8a0
096d53d45237fb22f58304b82b1a90659ae7f6af
refs/heads/master
2023-06-28T08:24:56.526409
2023-03-01T12:44:08
2023-03-01T12:44:08
7,296,248
1
1
null
2023-06-13T13:04:58
2012-12-23T15:40:26
C
UTF-8
Scilab
false
false
654
sci
BasicHelp.SCI
codeblock readtextfile(ScriptDir+"\_TOOLS.sci"); sf=T_scene_create; sss=T_getscene; myviewport=T_getviewport; sss.ambientlightcolor=color(0.05,0.05,0.05); rootframe=sss.Universe.addsubframe("Root"); st=readtextfile(datadir+"\basichelp.txt"); txt=rootframe.add("FormattedText"); txt.enablelight=false; txt.position=point(-5,3.5,0); txt.size=0.15; txt.content=st; txt.MaxLenX=10; txt.color=color(0.7,0.7,0.7); txt.renderback=true; myviewport.camerapos=point(0,0,10); myviewport.cameradir=vecnorm(point(0,0,0)-myviewport.camerapos); myviewport.cameraupdir=vector(0,1,0); WaitReleaseAll; while true do { render; if LeftMouseClicked() then stop; }
8dbf72369115636d8be5583c2c4c8493bf27800e
449d555969bfd7befe906877abab098c6e63a0e8
/1541/CH1/EX1.14/Chapter1_Example14.sce
8076670bea0bccd8a3834de686ca3f363d854d3c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
681
sce
Chapter1_Example14.sce
//Chapter-1, Example 1.14, Page 1.35 //============================================================================= clc clear //INPUT DATA Eb=225;//Back emf in V IL=40;//Line current in A Rsh=150;//Field resistance in ohm Ish=1.67;//Field current in A //CALCULATIONS V=(Ish*Rsh);//Terminal applied voltage in V Ia=(IL-Ish);//Armature current in A Ra=(V-Eb)/Ia;//Armature resistance in ohm Ia=(V/Ra);//Maximum armature current in A //OUTPUT mprintf('i)Armature resistance is %3.2f ohm \nii)Armature current will be maximum at the moment of start up and it is %3.2f A',Ra,Ia) //=================================END OF PROGRAM==============================
07db131ef08c542ea3c549d5124d499893a7c10d
449d555969bfd7befe906877abab098c6e63a0e8
/1691/CH4/EX4.1/Exmp4_1.sce
5a359d07fd14a95eb0dcadbadecb5c2946241610
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
579
sce
Exmp4_1.sce
//Example 4.1 clc gm=(1/26)*10^3 format(6) disp(gm,"(i) g_m(in mA/V) = I_C / V_T =") rbe=200/(38.46) format(5) disp(rbe,"(ii) r_b''e(in k-ohm) = h_fe / g_m =") cc=((38.46*10^-3)/(500*10^6))*10^12 format(6) disp(cc,"(iii) (C_e + C_C)(in pF) = g_m / 2*pi*f_T = g_m / omega_T =") cbe=76.92-3 disp(cbe,"Therefore, C_b''e(in pF) = C_e =") disp("(iv) We know that,") disp("f_T = h_fe*f_beta") disp("Therefore, 2*pi*f_T = h_fe*2*pi*f_beta") disp("omega_T = h_fe*omega_beta") ob=((500*10^6)/200)*10^-3 format(5) disp(ob,"omega_beta(in rad/sec) = omega_T / h_fe =")
a5db5c5a3ea20ef69ac1aec1de42e5ca9783c728
fdd5981eadab338ec2624b6a22fd0eac6e72c6c5
/fis_I2.sci
8420f719df823f7fa3feb474d6e30698dd67c054
[]
no_license
meshcheryakovva/DSS-2017
5e2c6b88b657ad7de62ffe658b7aadef73ae7828
0171975e96655b6fcc6c334523517d6517492369
refs/heads/master
2021-03-09T19:19:56.332398
2020-03-10T18:00:29
2020-03-10T18:00:29
246,371,971
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,646
sci
fis_I2.sci
function I2_res = fis_I2(inVector, inCodes) // аргументы: входной вектор числовых значений и массив строк-имен переменных f_I2=newfls("m"); // тип Мамдани f_I2.name="fisI2"; f_I2.TNorm="min"; // and f_I2.SNorm="max"; // or f_I2.Comp="one"; // not f_I2.defuzzMethod="centroide"; // центр тяжести f_I2.ImpMethod = 'min' f_I2.AggMethod = 'max' // переменные f_I2=addvar(f_I2, "input", inCodes(8), [-1 1]); f_I2=addvar(f_I2, "input", inCodes(9), [-1 1]); f_I2=addvar(f_I2, "output", "I2", [-1 1]); // функции принадлежности for i=1:2 f_I2 = addmf(f_I2,"input",i,"low","trimf",[-1.1 -1.0 0.0]); f_I2 = addmf(f_I2,"input",i,"mid","trimf", [-1.0 0.0 1.0]); f_I2 = addmf(f_I2,"input",i,"high","trimf", [0.0 1.0 1.1]); end f_I2 = addmf(f_I2,"output", 1, "low","trimf",[-1.1 -1.0 0.0]); f_I2 = addmf(f_I2,"output", 1, "mid","trimf", [-1.0 0.0 1.0]); f_I2 = addmf(f_I2,"output", 1, "high","trimf", [0.0 1.0 1.1]); // матрица правил из FisPro rulesFISProI2 = [3 , 3 , 3; 2 , 3 , 3; 3 , 2 , 3; 2 , 2 , 2; 3 , 1 , 2; 1 , 3 , 2; 2 , 1 , 1; 1 , 2 , 1; 1 , 2 , 1; 1 , 1 , 1]; // добавить столбцы для конъюнкции и весов правил len = size(rulesFISProI2,1); rulesI2 = cat(2, rulesFISProI2, ones(len,2)); f_I2 = addrule(f_I2, rulesI2); // база правил editfls(f_I2) I2_res = evalfls(inVector(8:9), f_I2); // вывод endfunction
2bb28ae54a8e91911929cd6ca4ee9148eb55e09a
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.4.1/macros/util/%p_det.sci
058bb470f47de3c9eae5bb7cc4d3a917e6556760
[ "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
52
sci
%p_det.sci
function x=%p_det(a) // Copyright INRIA x=determ(a)
f75e33f8102f6c6f7d7612b37a5605eb93ef971c
08ee8059476493a308f8e13adcbace48d7bcfc92
/Scilab_packetTracer_codes/dc/adit/NRZ-I.sce
673e8d2858946c4ef4c9b5fb523117afdf5b54a6
[]
no_license
Rushi-Bhatt/Self-Study
7ed44b7821154b7906c7d532255ea648ec9d6299
90cc75440328ba21769ffac878f46feadeb2f06f
refs/heads/master
2021-01-11T15:29:31.739065
2017-02-08T22:17:57
2017-02-08T22:17:57
80,360,471
0
0
null
null
null
null
UTF-8
Scilab
false
false
426
sce
NRZ-I.sce
a=[0 1 0 0 1 1 1 0] xtitle('Plotting NRZ-I According To Input','X Axis') y=-3:3; plot(10,y) //figure; n=length(a) s=1; for k=1:n if(a(k)==0) then plot((k*10):(k*10)+10,s,"X") else if(s==1) then s=-1; else s=1; end plot((k*10):(k*10)+10,s,"X") for j=1:15 plot((k*10),-1+(j/7.5),"*") end end end set(gca(),"grid",[1 1])
3d8506b8a1131b51861e32497509f3045931bca0
fa97ee54e2820a93ad8030d8b55ad45008ae503d
/capacitivo.sce
9b1345880a8b584ed4853e988f8504bc1c7e23b0
[]
no_license
Israel-Eskape/Rectificador-de-Onda
4ae84c57b69e81be725ee2be8d0c1d3b932e811d
fe985362758a855cc1ae5aea49042aec4010222d
refs/heads/master
2020-08-27T14:27:26.249564
2019-10-24T22:28:48
2019-10-24T22:28:48
217,405,995
0
0
null
null
null
null
UTF-8
Scilab
false
false
967
sce
capacitivo.sce
//%%%MEDIA ONDA %%%%% //Inductivo R = input("Ingresa la Resistencia "); C = input("Ingresa la capacitancia "); vrms = input("Ingresa el voltaje "); fe = input("Ingresa vm frecuencia "); vm = sqrt(2)*vmrs; w = 2*%pi*fe; xl = w*l; z = sqrt((R^2)+(xl^2)); theta = atan (xl/R); t = l/R; function y = f(x) y = (vm/z)*(sin (w*t-theta)+sin(theta)*exp(-(w*t)/t)); endfunction //alfa if(2*%pi+alfa < wt || wt <2*%pi+theta) vm*sin(w*t); else vm * exp-(-(w*t-A)/(verms*R*capacitancia); //corriente eficaz Ief = (1/sqrt(z))*sqrt((vm^2/(4*%pi))*B-(1/2)*sin(2*B)) //Potencia de la carga p = Ief^2 * R; //Factor de carga Fp = p/vrms*Ief; //variacion de voltaje pico pio delta= vm/(frecuenc*R*C); //Corrientes al capav if(2*%pi+A && wt < 2*%pi+theta) -(v*m)/R*(exp(-(w*t-A)/(w*R*C))); else (w*c*vm*cos(w*t) ); //Valor de la capacitancia v0 = input("Ingresa la capacitancia "); DeltaV0 = vm *(v0/100); capacitancia = vm/(fe*R*DeltaV0);
896bca3b04147cfb7cc55bbd7ec0ecd49d34306a
9c56678e62b7b8200d1d54c7b1462db3010168c5
/scilab_proj/construct_elements.sce
07657c3ee5352daa157d09d8f0dbfd17ef483102
[]
no_license
rajroshansharma/scilab_project
5a6b91215bd6d1c4abf652bb440dc6558b3ca607
b80d3dcb9eef67f0755e05adbef4a7fa3c333afa
refs/heads/master
2022-11-07T06:40:16.372703
2020-06-26T06:23:31
2020-06-26T06:23:31
275,082,037
0
0
null
null
null
null
UTF-8
Scilab
false
false
180
sce
construct_elements.sce
//ar1 = [0,2,3,6]; //ar2 = [648,704,729,792]; //if length(ar1) <> length(ar2) then // disp('Can not perform operation!'); //end for i=1:4 a = i*2; disp(a); end
1b158e1032ac7ed7842c94cbe96115bbdc27cbfb
449d555969bfd7befe906877abab098c6e63a0e8
/1628/CH18/EX18.10/Ex18_10.sce
752bfc1c21ecefd7df592fb619fe977cee850520
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
445
sce
Ex18_10.sce
// Examle 18.10 w=0.004; // width of the coil l=0.005; // Length of the coil A=w*l; // Area of the coil B=0.1; // Megnetic flux density n=80; // No.Of turns tc=0.5*60*10^-6; // Controling torque td=3*10^-3; // Deflecting torque I=tc/(B*n*A); // Current disp('Current (I) = '+string(I)+' Amp'); // p 777 18.10
ce7aedcd34b957f2c302e816baa9edb0ecdbb610
449d555969bfd7befe906877abab098c6e63a0e8
/446/CH12/EX12.11/12_11.sce
27061dac2dd72f5c90e02da48eff4579a1a9e22d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
12_11.sce
clear clc disp('Exa-12.11'); Mg=12.000000; //mass of the carbon atom in amu c2=931.5; Eg=4.43; //given energy of gamma ray Mex=Mg+(Eg/c2); //mass in excited state Me=0.000549; //mass of an electron Q=(12.018613-Mex-2*Me)*c2; //Q of the particle printf('The maximum value of kinetic energy is %.2f MeV',Q);
3178302618b1652b49f7909395295edf2346009c
449d555969bfd7befe906877abab098c6e63a0e8
/632/CH5/EX5.9/example5_9.sce
44f75ff1205af5bfd6dcc0d790f6d9a838c76d9b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
903
sce
example5_9.sce
//clc() P1 = 40;//% ( nitrogen ) P2 = 60;//% ( ethane ) T = 325;//K V = 4.5 * 10^-4;//m^3/mol a1 = 0.1365;//N*m^4/mol^2 b1 = 3.86 * 10 ^ -5;//m^3/mol a2 = 0.557;//N*m^4/mol^2 b2 = 6.51 * 10 ^ -5;//m^3/mol Pc1 = 3394;//kPa Tc1 = 126.1;//K Pc2 = 4880;//kPa Tc2 = 305.4;//K R = 8.314; Pideal = R * T / (V * 1000);//kPa disp("kPa",Pideal,"(a)Pressure of Gas by the ideal gas equation = ") y1 = P1/100; y2 = P2/100; a = (y1 * (a1^(1/2)) + y2 * (a2^(1/2)))^2; b = y1 * b1 + y2 * b2; Pv = ((R * T / (V - b)) - a / (V^2))/1000; disp("kPa",Pv,"(b)Pressure of Gas by Van der waals equation = ") Tc = y1*Tc1 + y2*Tc2; Pc = y1*Pc1 + y2*Pc2; Vc = R * Tc / Pc;//Pseudo critical ideal volume Vr = V / Vc;//Pseudo reduced ideal volume Tr = T / Tc;//Pseudo reduced temperature //From fig 5.3, we get Pr = 1.2 Pr = 1.2; Pk = Pr * Pc; disp("kPa",Pk,"(b)Pressure of Gas by the Kays method = ")
36b864ed7c23cb496793345a3feb419d62e9c038
b26239033e0d21476c77ff50326b32231c2a3b00
/Scripts/histogramme.sci
694b08170d2a5be41467806b4ef983846b2703ef
[]
no_license
SmartGuyy/Exolife
1c9a5bfdb8b16523e9681170fe4cb2cb12613e3a
eb477766dffe7edd9022d0cf46028980489c6277
refs/heads/master
2021-06-17T03:56:00.785128
2017-03-17T09:39:04
2017-03-17T09:39:04
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
375
sci
histogramme.sci
function histo=histogramme(img_input) wd = size(img_input, 1); he = size(img_input, 2); retour=zeros(1,256); for i = 1:wd for j = 1:he y=img_input(i,j) retour(1,y+1) = retour(1,y+1)+1; end, end x=[1:256]; for each = 1:256 n(each)=retour(1,each); end //n=[table_vide(1,1):table_vide(1,10)]; clf; bar(x,n) endfunction
e925ba6ec05f3ffc3bc0f87ff10e70aaaa37d966
b34461c9ddff1ba130b67023d6e568ada42830dc
/scripts/dilatation.sci
491efbd2fb2e9f75a304964aaf174a2512629789
[]
no_license
AdrienKegler/Projet-Exolife
f72287fdc41a07b88f03b8346dafab93b4539b07
249f0861dc4ba3f2a7639ea60b7d12b45e717933
refs/heads/master
2020-05-25T14:05:45.213740
2017-03-17T09:16:20
2017-03-17T09:16:20
84,937,694
0
0
null
2017-03-15T10:15:55
2017-03-14T10:45:25
Scilab
UTF-8
Scilab
false
false
877
sci
dilatation.sci
function image_out=dilatation(matrice,structure,centre_x,centre_y) SizeX = size(matrice,"r"); SizeY = size(matrice,"c"); image_out= zeros(SizeX,SizeY); SizeX_struct = size(structure,"r"); SizeY_struct = size(structure,"c"); for i = 1:SizeX, for j = 1:SizeY, if (matrice(i,j) == structure(centre_x,centre_y)) then for k = 1:3, for l = 1 :3, if structure(k,l) == 255 then cor_X = ( i - centre_x) + k; cor_Y = ( j - centre_y) + l; if ~ (cor_X == 0 | cor_X == SizeX +1 | cor_Y == 0 | cor_Y == SizeY +1) then image_out(cor_X,cor_Y)= 255; end, end, end; end; end, end; end; endfunction
1cba558ad5d6193589cded92e1056bac64a5e687
449d555969bfd7befe906877abab098c6e63a0e8
/2168/CH23/EX23.17/Chapter23_example17.sce
36dcf7819c6897af2f0a80a2608b9b83ca393adf
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
958
sce
Chapter23_example17.sce
clc clear //Input data Vs=0.0015//Stroke volume in cu.m rc=5.5//Volume compression ratio p2=8//Pressure at the end of compression stroke in kg/cm^2 T2=350+273//Temperature at the end of compression stroke in K p3=25//Pressure in kg/cm^2 x=(1/30)//Fraction of distance travelled by piston pa=1/16//Petrol air mixture ratio R=29.45//Characteristic gas constant in kg.m/kg degree C CV=10000//Calorific value of fuel in kcal per kg Cv=0.23//Specific heat in kJ/kg.K //Calculations V2=(Vs*10^6)/(rc-1)//Volume in c.c V3=(Vs*10^6)*x+V2//Volume in c.c T3=(T2*p3*V3)/(p2*V2)//Temperature in K W=((p3+p2)/2)*(V3-V2)//Workdone in kg.cm mM=((p2*V2)/(T2*R*100))//Mass of mixture present in kg dE=(mM*Cv*(T3-T2))//Change in energy in kcal q=(dE+(W/(427*100)))//Heat in kcal qc=(1/(1+(1/pa)))*mM*CV //Heat in kcal ql=(qc-q)/mM//Heat lost in kcal per kg of charge //Output printf('Heat lost per kg of charge during explosion is %3.0f kcal',ql)
371ba790b74bf5f470168719e2786f121975af21
449d555969bfd7befe906877abab098c6e63a0e8
/32/CH1/EX1.05/1_05.sce
a954205a33bf74a0a4db5c1e8b6e3ba2975ffbb6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
437
sce
1_05.sce
//pathname=get_absolute_file_path('1.05.sce') //filename=pathname+filesep()+'1.05-data.sci' //exec(filename) //Barometer Reading(in m): h=76*10^-2 //Density of mercury(in kg/m^3): d=13.6*10^3 //Acceleration due to gravity(in m/s^2): g=9.8 //Difference of heights in gas barometer(in m): h1=40*10^-2 //Pressure of gas(in kPa): pg=(d*g*h1+d*g*h)*10^-3 printf("\n\n RESULT \n\n") printf("\n\n Pressure of gas=%f kPa\n\n",pg)
5a0856a6f8a323888a2fda86b6a693b401aa72bb
449d555969bfd7befe906877abab098c6e63a0e8
/1898/CH12/EX12.14/Ex12_14.sce
8d64f0df5b95b86a6003b3aea16694d5ff23a856
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
694
sce
Ex12_14.sce
clear all; clc; disp("Scilab Code Ex 12.14 : ") //Given: w = 5; //kN/m l_ab = 4; //m l_bc = 2; //m P = 10; //kN M = w*l_ab; //kNm //Calculations: EI_theta_B1 = (w*l_ab^3)/(24); //ThetaB1 = (wL^3)/(24EI) EI_nu_C1 = l_bc*EI_theta_B1; EI_theta_B2 = (M*l_ab)/(3); // EI_nu_C2 = l_bc*EI_theta_B2; EI_nu_C3 = (P*l_bc^3)/(3); //nuC3 = (PL^3)/(24EI) nu_C = -EI_nu_C1 + EI_nu_C2 + EI_nu_C3; //Display: printf('\n\nThe displacement at end C of the overhanging beam, in terms of EI = %1.1f/EI kNm^3',nu_C); //----------------------------------------------------------------------END--------------------------------------------------------------------------------
93679ddf88e1d33405a966ed5f5aa8ecc53cf188
449d555969bfd7befe906877abab098c6e63a0e8
/3020/CH9/EX9.1/ex9_1.sce
ebfc47ad67f4787a4ed3ad664656e874f966e929
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
287
sce
ex9_1.sce
clc; clear all; deltas = 10e8; // Difference between principal stress in newton per square meters c = 1e-12; // The stress optic coefficient in squared meters per newton N = c*deltas; disp('',N,'The difference between the refractive indices along with the principal stresses is')
c94ae0efd4dd719022efd242feea45c5686283d0
d3ba33088e5d34eaccff205f30b4515b9f598dcf
/sci2blif/cat_junc.sce
ce96828b3a58c263af2cdb0dbc5440cba4b6ba97
[]
no_license
woodjamesdee/rasp30
d707e480bf116ce278cf4b37b73de9d076e5ede1
7f9251e3ec8d8a6ef827b09009b08d575254bd2e
refs/heads/master
2020-04-21T14:35:45.199183
2019-05-20T18:58:42
2019-05-20T18:58:42
169,640,192
1
0
null
null
null
null
UTF-8
Scilab
false
false
567
sce
cat_junc.sce
function fin_cat = junc(junc_num) global cat_num jlist jtmp1 = jlist(junc_num,1){} if jtmp1 ~= [] then cat_num(1,1){}=cat(2, cat_num(1,1){},jtmp1) jlist(junc_num,1){} = [] junc(jtmp1) else fin_cat = %t return end jtmp2 = jlist(junc_num,2){} if jtmp2 ~= [] then cat_num(1,1){}=cat(2,cat_num(1,1){},jtmp2) jlist(junc_num,2){} = [] junc(jtmp2) fin_cat = cat_num(1,1){} return else fin_cat = cat_num(1,1){} return end //here endfunction
b17c78909235413ef109542fe5d32fa303b3276d
e0124ace5e8cdd9581e74c4e29f58b56f7f97611
/3913/CH7/EX7.2/Ex7_2.sce
f7603b82cee746d355c4d60bcbc7ac558bdd57ae
[]
no_license
psinalkar1988/Scilab-TBC-Uploads-1
159b750ddf97aad1119598b124c8ea6508966e40
ae4c2ff8cbc3acc5033a9904425bc362472e09a3
refs/heads/master
2021-09-25T22:44:08.781062
2018-10-26T06:57:45
2018-10-26T06:57:45
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
681
sce
Ex7_2.sce
//Chapter 7 : The Matrix Connection //Example 7.3 //Scilab 6.0.1 //Windows 10 clear; clc; id100_1=((1/2)*1)+((1/2)*1)-((1/2)*0) id100_2=((1/2)*1)+((1/2)*0)-((1/2)*1) id100_3=((1/2)*0)+((1/2)*1)-((1/2)*1) mprintf('\nid(1,0,0)=(%d,%d,%d)',id100_1,id100_2,id100_3) id010_1=((1/2)*1)-((1/2)*1)+((1/2)*0) id010_2=((1/2)*1)-((1/2)*0)+((1/2)*1) id010_3=((1/2)*0)-((1/2)*1)+((1/2)*1) mprintf('\nid(0,1,0)=(%d,%d,%d)',id010_1,id010_2,id010_3) id001_1=((-1/2)*1)+((1/2)*1)+((1/2)*0) id001_2=((-1/2)*1)+((1/2)*0)+((1/2)*1) id001_3=((-1/2)*0)+((1/2)*1)+((1/2)*1) mprintf('\nid(0,0,1)=(%d,%d,%d)',id001_1,id001_2,id001_3) A=(1/2)*[1 1 -1;1 -1 1;-1 1 1]; disp(A,'it is')
7f857c38134721103d79f6d936000abf18259957
449d555969bfd7befe906877abab098c6e63a0e8
/32/CH18/EX18.14/18_14.sce
ff82236316fa902010b38c13ca2a755bb8f8d1e2
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
558
sce
18_14.sce
//pathname=get_absolute_file_path('18.14.sce') //filename=pathname+filesep()+'18.14-data.sci' //exec(filename) //Relavite humidity; r=0.80 //From pyschometric chart: w1=0.0086 //kg/kg of air w2=0.01 //kg/kg of air h1=37 //kJ/kg h2=50 //kJ/kg v2=0.854 //m^3/kg //Mass of water added between states 1 and 2: m=w2-w1 //Mass flow rate: ma=r/v2 //Total mass of water added(in kg/s): m1=m*ma //Heat transferred(in kJ/s): q=ma*(h2-h1) printf("\n RESULT \n") printf("\nMass of water added = %f kg/s",m1) printf("\nHeat transferred = %f kJ/s",q)
b00ed69431e1be413da76f2ea6161e52f0ee8f8a
449d555969bfd7befe906877abab098c6e63a0e8
/2096/CH1/EX1.60/ex_1_60.sce
176eb3f31690d4ef455a93672ec4b876cded4341
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
925
sce
ex_1_60.sce
//Example 1.60://standard deviation clc; clear; u1=[1.8,4.6,6.6,9.0,11.4,13.4];// v1=[2.2,3.2,5.2,6.4,8.0,10.0];// for i= 1:6 m(i)= u1(i)*v1(i) d(i)= u1(i)^2;// end su= u1(1)+u1(2)+u1(3)+u1(4)+u1(5)+u1(6); sv= v1(1)+v1(2)+v1(3)+v1(4)+v1(5)+v1(6); sm=m(1)+m(2)+m(3)+m(4)+m(5)+m(6);// sd=d(1)+d(2)+d(3)+d(4)+d(5)+d(6);// a= ((6*sm)-(su*sv))/((6*sd)-(su)^2);// b=((sv*sd)-(sm*su))/((6*sd)-(su)^2);// disp(a,"variable a is") disp(b,"variable b is") disp("best linear equation is 0.672u+0.591") for i=1:6 x(i)=a*u1(i)+b-v1(i) dx(i)=x(i)^2 end sdx=dx(1)+dx(2)+dx(3)+dx(4)+dx(5)+dx(6);// SD= sqrt(sdx/6);// SDu=SD/a;//deviation of u SDa= sqrt((6)/((6*sd)-(su^2)))*SD;//standard deviation in a SDb= sqrt((sd)/((6*sd)-(su^2)))*SD;//standard deviation in b disp(SD,"standard deviation is ±") disp(SDu,"standard deviation in u is ±") disp(SDa,"standard deviation in a is ±") disp(SDb,"standard deviation in b is ±")
73d3298b5e5134d296ce0cf2d5e56f1ae4461671
38e8e14fb76356e30e0514d57850ba6793381836
/TP1_Exercice5.sce
02bfa6cf41ac15601e9db98f211e9caff0f9984c
[]
no_license
VCOUTURIER-MADNOT/Maths
d2bcf7d0c923f5ad97f1bf79c22f62ef76f95340
7dd5fcce241a9d01de3cbe3541f0fafd76237c05
refs/heads/master
2020-04-15T22:49:40.613661
2013-10-24T16:16:00
2013-10-24T16:16:00
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
78
sce
TP1_Exercice5.sce
function [x] = ex5(t) x = abs(pmodulo(t, 2*%pi) - %pi - %pi / 2) endfunction
9998bd8258be37034f763c2b0c155183ea7f770b
ab244a853dfa553f2685384280b375e30d81148f
/scilab/distribution.sci
af01f8a7e2b2db44f7cebb07c05a6ae81620855f
[]
no_license
The-Stubbs/OGameLemonade
d2a13e2d6fd02401a3d8e2cd91e89ef5d80f40f5
867fbcdb4ebfb77e6694dfc57903b4ab44a7c53b
refs/heads/master
2021-06-02T19:53:38.022429
2016-06-29T00:54:29
2016-06-29T00:54:29
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,486
sci
distribution.sci
function [distribution] = shotDistribution(p_set, p_pick) distribution = zeros(p_set, 1); for i = 1:p_pick pick = ceil(rand()*p_set); distribution(pick) = distribution(pick) + 1; end endfunction function [shot, amount] = drawDistribution(p_distrib) amountShot = sum(p_distrib); amount = zeros(1, 1+max(p_distrib)-min(p_distrib)); shot = (min(p_distrib):max(p_distrib))'; for i = 0:max(p_distrib)-min(p_distrib) amount(i+1) = sum(p_distrib == i+min(p_distrib))/amountShot; end normValue = max(amount); for i = 0:max(p_distrib)-min(p_distrib) amount(i+1) = amount(i+1)/normValue; end endfunction //function [shot, amount] = drawDistribution(p_distrib) // amountShot = sum(p_distrib); // amount = zeros(1+max(p_distrib), 1); // shot = (0:max(p_distrib)); // for i = 0:max(p_distrib) // amount(i+1) = sum(p_distrib == i) // end // amount = amount / sum(amount); //endfunction shots = 1000000; out = zeros(100, 2); figure(2); clf(); for prop=7:2:7 span = 2.84*(5*prop)^0.5 distribution = shotDistribution(round(shots/prop), shots); [shot, amount] = drawDistribution(distribution); cumG = amount; s = size(shot) for i=1:s(1) cumG(1,i) = sum(amount(1:i))/sum(amount); end xgrid(1); plot(shot, cumG); //out(propSqrt, :) = [propSqrt sum(cumG > 0.01 & cumG < 0.99)]; end //final = [(shot-min(shot))/span, cumG']; //cumG = cumG';
436e33b9e2a19eca457bcdf8b479505f5f2e08f2
449d555969bfd7befe906877abab098c6e63a0e8
/2789/CH6/EX6.11/Ex6_11.sce
fea489f478236167979003b4b36194c4b56b38ea
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
761
sce
Ex6_11.sce
clear; clc; //page no. 203 r1 = 5;//ft r2 = 3.5;//ft beta1 = 60;//degrees beta2 = 150;//degrees t = 1;//ft alpha1 = 15;//degree Q = 333;//cfs gam = 0.434; V_r1 = Q/(2*%pi*r1); V_r2 = Q/(2*%pi*r2); V_t1 = V_r1*(1/tan(alpha1*%pi/180)); u1 = V_t1 - V_r1*tan((90-beta1)*%pi/180); omega = u1/r1; u2 = omega*r2; V_t2 = u2 - V_r2*(1/tan((90-beta1)*%pi/180)); T = Q*1.935*(V_t1*r1 - (V_t2*r2)); hp = T*omega/550; E_T = hp*550/(Q*62.4); V1 = sqrt(V_r1^2 + V_t1^2); V2 = sqrt(V_r2^2 + V_t2^2); del_p = E_T*gam + (gam/(2*32.2))*(V2^2 - V1^2); printf('V1 = %.1f fps,\n V2 = %.1f fps,\n T = %d ft-lb,\n hp = %d lb,\n E_T = %.1f ft-lb/lb,\n p1-p2 = %.1f psi',V1,V2,T,hp,E_T,del_p); //there are small errors in the answer given in textbook
3410c8c46aaa299715cdb4eab2da4c81c66a9287
4bb2823f42f3f993d59b12346565eb9c5fda8b87
/generateTriangledPositions.sce
53d8277053f4edd0f8ec7edb55f0ca3e4f6c7ed9
[ "MIT" ]
permissive
szotaa/random-walk
4dd21aba5aa6c1f83a13e788be434579b884efd6
7b659722fe31badf1cc842d26aa740ebdf2f1f88
refs/heads/master
2020-03-23T03:19:13.124310
2018-07-15T12:28:01
2018-07-15T12:28:01
141,023,850
1
0
null
null
null
null
UTF-8
Scilab
false
false
2,102
sce
generateTriangledPositions.sce
/** * Calculates point positions. Provides numerical solution for second exercise. * * @param amount - number of positions * @param A, B, C - triangle vertices * @returns x, y - vectors of calculated points coordinates * @author Jakub Szota */ function [x, y] = generateTriangledPositions(amount, A, B, C) /** * Returns random number represtening vertex A, B or C. */ function vertex = getRandomVertex() rand('uniform'); vertex = ceil(rand() * 3); endfunction /** * Calculates midpoint between two numbers, * useful when seeking for a middle of a line. */ function mid = findMidpoint(start, destination) mid = (start + destination) / 2; endfunction /** * Calculates center of given triangle. */ function [centerX, centerY] = findCenteroid(A, B, C) centerX = (A(1) + B(1) + C(1)) / 3; centerY = (A(2) + B(2) + C(2)) / 3; endfunction /** * Returns 0 when it is not possible to draw a triangle with given vertices, * returns 1 otherwise. */ function bool = isTriangle(A, B, C) if ((B(1) - A(1)) * (C(2) - A(2)) - (B(2) - A(2)) * (C(1) - A(1))) == 0 then bool = 0; else bool = 1; end endfunction //end of utility functions if isTriangle(A, B, C) == 0 then error('not a valid triangle!'); end if amount < 0 then error('amount must be greater than 0'); end x = [1 : amount]; y = x; [x1, y1] = findCenteroid(A, B, C); x(1) = x1; y(1) = y1; for i = 2 : amount vertex = getRandomVertex(); if vertex == 1 then x(i) = findMidpoint(x(i - 1), A(1)); y(i) = findMidpoint(y(i - 1), A(2)); elseif vertex == 2 then x(i) = findMidpoint(x(i - 1), B(1)); y(i) = findMidpoint(y(i - 1), B(2)); elseif vertex == 3 then x(i) = findMidpoint(x(i - 1), C(1)); y(i) = findMidpoint(y(i - 1), C(2)); end end endfunction
23df5b39d5f9fa5650801c6d27b948094b816ffa
449d555969bfd7befe906877abab098c6e63a0e8
/978/CH15/EX15.1/Example15_1.sce
90c5adc1591c85ec8ff69c4be0141f5d82467e2b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
326
sce
Example15_1.sce
//chapter-15,Example15_1,pg 470 n1=1.48//refractive index of fibre mu=0.2//poisson's ratio p=2.2*10^2//pressure applied lam=690*10^-9//laser beam wavelength Y=2.2*10^11//young's modulus delphi=((4*%pi*n1*mu*p)/(lam*Y))//increamental phase printf("increamental phase\n") printf("delphi=%.5f rad",delphi)
e80541e44f5a17617b52492c2edf826f744957e2
449d555969bfd7befe906877abab098c6e63a0e8
/3763/CH10/EX10.2/Ex10_2.sce
49c604db33a09f53bdabc1ed0d5c346644e89b61
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
172
sce
Ex10_2.sce
clear // // // //Variable declaration lamda=1.55 //wavelength(micro m) //Calculation Eg=1.24/lamda //band gap(eV) //Result printf("\n band gap is %0.3f eV",Eg)
c40d7f6c40bd068410fde0f6263b84510fea7b96
f6134e0a162a059c42ec3ef8de2a63941d73936c
/Scilab_code/RLG/RLG.sci
b57b58f5cd1ed92ec8bedcb0ac33fb02945e9af6
[]
no_license
mxch18/SRL-WRT_pathPlanning
38a1701934a4a0e919a6c1c7990092b242df72da
6992febbbe103814d2cef5351a0e8917b183a2b0
refs/heads/master
2020-03-23T06:43:54.155192
2018-09-26T17:26:56
2018-09-26T17:26:56
141,226,032
0
0
null
null
null
null
UTF-8
Scilab
false
false
15,837
sci
RLG.sci
function [P,Q,THETA,RMAT,SUCCESS] = RLG(STANCE,NORMALS,PARAMS) //Author : Maxens ACHIEPI //Space Robotics Laboratory - Tohoku University //Description: // Cxy,WS_proj_R0,footPlane_Rmat,zFinalInterval,psiInter,thetInter,phiInter //[] //INPUT //STANCE: Row array of the current footholds. Contains struct describing // footholds: // *foothold: struct. // *foothold.leg: string identifying the leg (FR,FL,HR,HL); // *foothold.pos: row vector. Position of the foot in R0 //PARAMS: a struct containing all the parameters relating to the robot // geometry, as well as problem-specific parameters: // *PARAMS.extRad; // *PARAMS.distApiOb: distances between the leg attachment and the EoF CoM // *PARAMS.intRad; // *PARAMS.halfAngle; // *PARAMS.shellPtsNb; // *PARAMS.shrink // *PARAMS.kpxy; // *PARAMS.kpz; // *PARAMS.kRot // *PARAMS.tInc; // *PARAMS.aInc; // *PARAMS.baseDimensions: (1) on x, (2) on y; // *PARAMS.legLength: [l1,l2,l3] // *PARAMS.verbose: %T or %F //OUTPUT //P: the base position //Q: the quaternion defining the rotation //THETA: the leg's joint angles //RMAT: the rotation matrix //SUCCESS: boolean for benchmarking purposes (atm) //TODO : put psi/theta/phi range finding in function // could you put bounds on phi so that it doesn't flip over? NAH(?) // put IK in function // Remove RMAT output // Change rotation parametrization to full quaternion //----------------------------------------------------------------------------// P = 0;Q = 0;THETA = 0;SUCCESS = %F;RMAT = 0; //Compute LS-fit plane by ACP stance_pos_list = STANCE(:).pos; stance_pos_array = []; for i=1:size(STANCE,2) stance_pos_array(i,:) = stance_pos_list(i); end foot_nb = size(stance_pos_array,1); [footPlane_z,footPlane_d,footPlane_or] = plane_ACP(stance_pos_array); footPlane_z = footPlane_z/norm(footPlane_z); FL_present = %f;HL_present = %f;FR_present = %f;HR_present = %f; for i=1:foot_nb select STANCE(i).leg case 'FL' then FL = i; FL_present = %t; case 'HL' then HL = i; HL_present = %t; case 'FR' then FR = i; FR_present = %t; case 'HR' then HR = i; HR_present = %t; end end if HR_present&FR_present then // footPlane_x = (STANCE(HR).pos-footPlane_or) + 0.5*(STANCE(FR).pos-STANCE(HR).pos); footPlane_x = projectionDroite(footPlane_or,STANCE(HR).pos,STANCE(FR).pos-STANCE(HR).pos); //vector from HR to orth proj of stance centroid on line HR-FR footPlane_x = footPlane_x - footPlane_or; footPlane_x = footPlane_x; // footPlane_x = projectionPlan(footPlane_x,footPlane_or,footPlane_z); // footPlane_x = footPlane_x - (footPlane_z*footPlane_or')*footPlane_z footPlane_x = footPlane_x/norm(footPlane_x); footPlane_y = cross(footPlane_z,footPlane_x); elseif HL_present&FL_present then // footPlane_x = (STANCE(HL).pos-footPlane_or) + 0.5*(STANCE(FL).pos-STANCE(HL).pos); footPlane_x = projectionDroite(footPlane_or,STANCE(HL).pos,STANCE(FL).pos-STANCE(HL).pos); //vector from HL to orth proj of stance centroid on line HL-FL footPlane_x = footPlane_x - footPlane_or; footPlane_x = -footPlane_x; // disp(footPlane_x) // footPlane_x = projectionPlan(footPlane_x,footPlane_or,footPlane_z); // footPlane_x = footPlane_x - (footPlane_z*footPlane_or')*footPlane_z // disp(footPlane_x) footPlane_x = footPlane_x/norm(footPlane_x); footPlane_y = cross(footPlane_z,footPlane_x); end footPlane_Rmat = [footPlane_x;footPlane_y;footPlane_z]; //R_P_0 [footPlane_angle,footPlane_vector] = angle_vector_FromMat(footPlane_Rmat); footPlane_Q = createQuaternion(footPlane_angle,footPlane_vector); //Compute leg approximate workspaces. Project them on footPlane. for i = 1:foot_nb //leg workspace, all points in R0 WSmi_R0 = []; WSmi_proj_RP = []; //shell descriptions shellDesc_i = struct('origin',stance_pos_array(i,:),'extRad',PARAMS.extRad(i),'intRad',PARAMS.intRad(i),'axis',NORMALS(i,:),'halfAngle',PARAMS.halfAngle); shellDesc(i) = shellDesc_i; shellDesc_AUG_i = struct('origin',stance_pos_array(i,:),'extRad',PARAMS.extRad(i)+PARAMS.distApiOb(i),'intRad',PARAMS.intRad(i),'axis',NORMALS(i,:),'halfAngle',PARAMS.halfAngle); shellDesc_AUG(i) = shellDesc_AUG_i; WSmi_alpha = linspace(0,2*%pi,PARAMS.shellPtsNb); WSmi_theta = linspace(%pi/2-shellDesc_AUG_i.halfAngle,%pi/2,PARAMS.shellPtsNb); [x1,y1,z1] = halfSph(shellDesc_AUG_i.origin,shellDesc_AUG_i.extRad,2*WSmi_alpha,WSmi_theta,shellDesc_AUG_i.axis); WSmi_R0 = [x1',y1',z1']; if shellDesc_i.intRad then [x2,y2,z2] = halfSph(shellDesc_AUG_i.origin,shellDesc_AUG_i.intRad,2*WSmi_alpha,WSmi_theta,shellDesc_AUG_i.axis); WSmi_R0 = [WSmi_R0;x2' y2' z2']; end WS_R0(:,:,i) = WSmi_R0; //projection, all points in RP for j=1:size(WSmi_R0,1) v = projectionPlan(WSmi_R0(j,:),footPlane_or,footPlane_z); WSmi_proj_R0(j,1) = v(1);WSmi_proj_R0(j,2) = v(2);WSmi_proj_R0(j,3) = v(3); v = footPlane_Rmat*(v'-footPlane_or'); WSmi_proj_RP(j,1) = v(1);WSmi_proj_RP(j,2) = v(2); end WS_proj_RP(:,:,i) = WSmi_proj_RP; WS_proj_R0(:,:,i) = WSmi_proj_R0; end //Compute Cxy Cxy = computeCxy(WS_proj_RP,[1 0;0 1]); if isnan(Cxy.origin) then if PARAMS.verbose then mprintf('Could not compute intersection of workspaces! Stance is probably unreachable...\n'); end return; end //Sample pxy_RP, transform into pxy_R0 kpxy = 0; while kpxy<PARAMS.kpxy kpxy = kpxy+1; kpz = 0; pxy_RP = sampleInBBox(Cxy,PARAMS.shrink); pxy_R0 = footPlane_Rmat'*[pxy_RP 0]'+footPlane_or'; if PARAMS.verbose then mprintf("XY - At iteration %d of %d:\nBase xy_R0 position: [%.4f, %.4f]\n",kpxy,PARAMS.kpxy,pxy_R0(1),pxy_R0(2)); end zInterval = cell(1,foot_nb); //Compute intersections of the line perpendicular to footPlane, going through pxy_R0, with the WSmi line_z = struct('origin',pxy_R0','direction',footPlane_z); for i=1:foot_nb [boolInterT_i,tMultiple_i,tInterval_i,d_i]=intersectLineWS(WS_R0(:,:,i),shellDesc_AUG(i),line_z,PARAMS.tInc); if boolInterT_i then tInterval(i).entries = createZInterval(tInterval_i,d_i); if PARAMS.verbose & tMultiple_i then mprintf(" T - For leg %d, t lies in %d different intervals", i, size(tInterval(i).entries,1)); elseif PARAMS.verbose then mprintf(" T - For leg %d, t range is: %.4f to %.4f\n",i,tInterval(i).entries(1),tInterval(i).entries(2)); end else if PARAMS.verbose then mprintf(" T - No intersection with leg %d workspace! Resampling pxy_RP...\n",i); end break; end end if ~boolInterT_i then continue; end //Sample pz_R0 [tFinalBool,tFinalInterval] = intersectSetIntervals(tInterval); if ~tFinalBool then if PARAMS.verbose then mprintf(" T - t valid intervals do not intersect! Resammpling pxy_RP...\n"); end continue; end while kpz<PARAMS.kpz kpz = kpz+1; kRot = 0; t_R0 = sampleFromMultInterval(tFinalInterval); if PARAMS.verbose then mprintf('T - At iteration %d of %d:\n Base t_R0 : %.4f\n",kpz,PARAMS.kpz,t_R0); end //Compute intersections of Api arcs and WSmi for the rotation parameter(s) base_R0 = pxy_R0'+t_R0*line_z.direction; P = base_R0; offset_i = []; xOff = [1 0 0]*PARAMS.baseDimensions(1)/2; yOff = [0 1 0]*PARAMS.baseDimensions(2)/2; //Rotation is represented by angle-vector //Sample random axis - Watch out because uniform distrib on the three coordinates is not spherically symmetric Mean = zeros(3,1);Cov = eye(3,3); while kRot<PARAMS.kRot kRot = kRot+1; rot_axis = grand(1,"mn",Mean,Cov); rot_axis = rot_axis/norm(rot_axis); rot_axis = rot_axis'; //guarantee to be uniformly distributed on the unit sphere if PARAMS.verbose then mprintf('AXIS - At iteration %d of %d:\n Axis : %.4f %.4f %.4f\n",kRot,PARAMS.kRot,rot_axis(1),rot_axis(2),rot_axis(3)); end R_0_EF = footPlane_Rmat; //initial rotation of base // R_0_EF = eye(3,3); //no base rotation angleInter=cell(1,foot_nb); arcDesc = struct('origin',base_R0,'normal',rot_axis); for i=1:foot_nb select STANCE(i).leg case 'FR' then offset_i = xOff + yOff; case 'FL' then offset_i = - xOff + yOff; case 'HR' then offset_i= + xOff - yOff; case 'HL' then offset_i = - xOff - yOff; else if PARAMS.verbose then mprintf("Error in the definition of foothold %d : leg name does not exist!\n",i); end return; end [boolInterAngle_i,angleMultiple_i,angleInter_i] = intersectArcWS(WS_R0(:,:,i),offset_i,R_0_EF,shellDesc(i),arcDesc,PARAMS.aInc); if boolInterAngle_i then angleInter(i).entries = createAngleInterval(angleInter_i); if PARAMS.verbose & angleMultiple_i then mprintf(" ANGLE - For leg %d, angle lies in %d different intervals\n", i, size(angleInter(i).entries,1)); elseif PARAMS.verbose then mprintf(" ANGLE - For leg %d, angle range is: %.4f to %.4f\n",i,angleInter(i).entries(1),angleInter(i).entries(2)); end else if PARAMS.verbose then mprintf(" ANGLE - No intersection with leg %d workspace! Resampling axis...\n",i); end break; end end if ~boolInterAngle_i then continue; end //Sample angle [angleFinalBool,angleFinalInterval] = intersectSetIntervals(angleInter); if ~angleFinalBool then if PARAMS.verbose then mprintf(" ANGLE - angle valid intervals do not intersect! Resampling axis...\n"); end continue; end angle = sampleFromMultInterval(angleFinalInterval); if PARAMS.verbose then mprintf('Rotation angle: %.4f",angle*180/%pi); end Q = quatMult(footPlane_Q,createQuaternion(angle,rot_axis)); RMAT = matrix_fromQuaternion(Q); if PARAMS.verbose then mprintf("\nBase state sampled! Now using closed form IK for the legs...\n"); end for i=1:foot_nb select STANCE(i).leg case 'FR' then offset_i = xOff + yOff; R_Leg_EF = [0 1 0;1 0 0;0 0 -1]; factor_t2 = -1; factor_t3 = -1; factor_elbow = +1; case 'FL' then offset_i = - xOff + yOff; R_Leg_EF = [0 1 0;-1 0 0;0 0 1]; factor_t2 = +1; factor_t3 = +1; factor_elbow = -1; case 'HR' then offset_i= + xOff - yOff; R_Leg_EF = [0 -1 0;1 0 0;0 0 1]; factor_t2 = +1; factor_t3 = +1; factor_elbow = -1; case 'HL' then offset_i = - xOff - yOff; R_Leg_EF = [0 -1 0;-1 0 0;0 0 -1]; factor_t2 = -1; factor_t3 = -1; factor_elbow = +1; end IK_target_RLeg = -R_Leg_EF*offset_i' + R_Leg_EF*RMAT'*(STANCE(i).pos'-base_R0'); //the foothold for the ith leg, in the leg base frame IK_target_array(:,i) = IK_target_RLeg; THETA(i,1) = atan(IK_target_RLeg(2),IK_target_RLeg(1)); rem = sqrt(IK_target_RLeg(1)**2+IK_target_RLeg(2)**2)-PARAMS.legLength(1); nc3 = IK_target_RLeg(3)**2+rem**2-PARAMS.legLength(2)**2-PARAMS.legLength(3)**2; dc3 = 2*PARAMS.legLength(2)*PARAMS.legLength(3); c3 = nc3/dc3; bool_ik = abs(c3)>1; if bool_ik then if PARAMS.verbose then mprintf("\nIK - NO SOLUTION FOR LEG %s INVERSE KINEMATICS\nResampling axis...\n",STANCE(i).leg); end // return; break; end s3 = factor_elbow*sqrt(1-c3**2); //ELBOw UP THETA(i,3) = factor_t3*atan(s3,c3); THETA(i,2) = factor_t2*(atan(IK_target_RLeg(3),rem)-atan(PARAMS.legLength(3)*s3,PARAMS.legLength(2)+PARAMS.legLength(3)*c3)) end if bool_ik then continue; end SUCCESS=%T; if PARAMS.verbose then mprintf("\nSUCCESS!\n"); end return; end if PARAMS.verbose then mprintf("AXIS - Reached maximum number of trials, resampling T...\n"); end end if PARAMS.verbose then mprintf("Z - Reached maximum number of trials, resampling XY...\n"); end end if PARAMS.verbose then mprintf("XY - Reached maximum number of trials, aborting...\n"); end endfunction
3b2b85c4dd27774a1cb954e9e845a93278dff88c
449d555969bfd7befe906877abab098c6e63a0e8
/3845/CH27/EX27.9/Ex27_9.sce
14833136cd210d062a80cbb63c1497356d97bc3c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
599
sce
Ex27_9.sce
//Example 27.9 n1=1;//Index of refraction of air n2=1.333;//Index of refraction of water n3=1.520;//Index of refraction of crown glass theta_b1=atand(n2/n1);//Angle when reflected off water into air (deg) printf('a.Angle for complete horizontal polarization when reflected off water into air = %0.1f deg',theta_b1) theta_b2=atand(n3/n1);//Angle when reflected off glass into air (deg) printf('\nb.Angle for complete horizontal polarization when reflected off glass into air = %0.1f deg',theta_b2) //Openstax - College Physics //Download for free at http://cnx.org/content/col11406/latest
de54cb00b0cff3d9172b9019babbb6666554ec9c
f3f83758741ae8b328e7aff3af75e6043adf98a9
/Sandbox/sprites/tilemaps/Forest.tst
b77463d127fdd4dfc82b5af839f456cce54cfef7
[]
no_license
folkerthoogenraad/ApryxEngine
0db7547976c14cbf7d2c29ca83babc9305c32023
272eeee7b05e8ee3a24fbe7b037e2c9bbbc5007b
refs/heads/master
2020-04-01T08:05:42.016852
2018-12-26T21:44:39
2018-12-26T21:44:39
153,017,359
0
0
null
null
null
null
UTF-8
Scilab
false
false
242
tst
Forest.tst
width=16 height=16 START BRUSH Grass # Empty 0=3,3 # Up down line 4=3,0 5=3,1 1=3,2 # Left right line 8= 0,3 10=1,3 2= 2,3 # Top line 6= 0,0 14=1,0 12=2,0 # Middle line 7= 0,1 15=1,1 13=2,1 # Bottom line 3= 0,2 11=1,2 9= 2,2 END BRUSH
823f6019be43b776fede81226a593e9bd66197b7
417f69e36190edf7e19a030d2bb6aa4f15bb390c
/SMTTests/tests/ok_unsupportedOption.tst
d9d279ea84f960b1a360b19dc5159296bc5d3cbf
[]
no_license
IETS3/jSMTLIB
aeaa7ad19be88117c7454d807a944e8581184a66
c724ac63056101bfeeb39cc3f366c8719aa23f7b
refs/heads/master
2020-12-24T12:41:17.664907
2019-01-04T10:47:43
2019-01-04T10:47:43
76,446,229
1
0
null
2016-12-14T09:46:41
2016-12-14T09:46:41
null
UTF-8
Scilab
false
false
18
tst
ok_unsupportedOption.tst
(get-option :zzz)
04c7a7994ff6606f35c9232c50452f4fd5068353
4a1effb7ec08302914dbd9c5e560c61936c1bb99
/Project 2/Experiments/Chi-RW-C/results/Chi-RW-C.led7digit-10-1tra/result8.tst
96748fed19f8c818fc4ded598f349eccb1d1dfe6
[]
no_license
nickgreenquist/Intro_To_Intelligent_Systems
964cad20de7099b8e5808ddee199e3e3343cf7d5
7ad43577b3cbbc0b620740205a14c406d96a2517
refs/heads/master
2021-01-20T13:23:23.931062
2017-05-04T20:08:05
2017-05-04T20:08:05
90,484,366
0
0
null
null
null
null
UTF-8
Scilab
false
false
535
tst
result8.tst
@relation led7digit @attribute Led1 real[0.0,1.0] @attribute Led2 real[0.0,1.0] @attribute Led3 real[0.0,1.0] @attribute Led4 real[0.0,1.0] @attribute Led5 real[0.0,1.0] @attribute Led6 real[0.0,1.0] @attribute Led7 real[0.0,1.0] @attribute number{0,1,2,3,4,5,6,7,8,9} @inputs Led1,Led2,Led3,Led4,Led5,Led6,Led7 @outputs number @data 0 ? 1 4 6 6 7 7 7 ? 3 3 9 9 0 0 1 2 2 2 9 8 1 1 2 2 2 8 5 5 8 8 2 2 3 3 4 4 4 4 5 4 6 6 7 ? 8 8 9 0 2 ? 4 4 5 9 6 6 7 7 7 7 8 ? 8 8 9 4 0 0 4 4 6 6 7 3 0 0 3 ? 3 3 5 5 3 9 6 6 8 9 8 8 0 8 1 1 5 ? 6 6
f2e6540619673b0f904503fa43c760209b66d36a
449d555969bfd7befe906877abab098c6e63a0e8
/1286/CH3/EX3.7/3_7.sce
17f084ac6b0a8b6982210aae7031e8e688a13129
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
207
sce
3_7.sce
clc //initialisation of variables e=1.586//v i=0.1444//amp t=4*60//sec m=0.3963//kg T=1.219//k wt=206.4 //CALCULATIONS hg=e*i*t c=hg/(m*T*4.18) a=c*wt printf(' atomic heat of lead= % 1f 1/k',a)
a27cec40067d5aab677817457b14a42202b92538
449d555969bfd7befe906877abab098c6e63a0e8
/2858/CH10/EX10.3/Ex10_3.sce
7454a5bef8615357a7c26150bed3d019ff6637bc
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
324
sce
Ex10_3.sce
//example 10.3 clc; funcprot(0); //parta s=12; A=1/2*6*3.62; C=1/2*1.81*3; B1=1/2*2.5*1.509;//B' B11=1/2*2.414*4;//B'' sigmaall=24; Mmax=max(A,C,B1,B11); S=Mmax*s/sigmaall; disp(S,"section modulus in in^3/ft"); //partb A=7.583; Mmax=7.583*s^2/8; S=Mmax*s/sigmaall; disp(S,"section modulus in in^3/ft");
261687d9955716c2aada088b18d70f59c05acc12
449d555969bfd7befe906877abab098c6e63a0e8
/1955/CH5/EX5.16/example16.sce
06657101572d25bb739121821ea8a847614e64bc
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,469
sce
example16.sce
clc clear //input data b1m=46//Rotor blade angle at entry at mean section in degree b2m=75//Rotor blade angle at exit at mean section in degree a1m=75//Nozzle angle at exit at mean section in degree DhDt=0.6//Hub to tip ratio N=7500//Mean rotor speed in rpm Dh=0.45//Hub diameter in m //calculations R=0.5//Degree of reaction as a1m=b2m a2m=b1m//Stator angle at exit at mean section in degree Dm=(Dh+(Dh/DhDt))/2//Mean diameter of turbine at mean section in m Um=(3.1415*DhDt*N)/60//Mean blade speed in m/s Ca=Um/(tand(a1m)-tand(b1m))//Axial velocity in m/s pi=Ca/Um//Flow coefficient psil=pi*(tand(b1m)+tand(b2m))//Blade loading coefficient a1h=atand(tand(a1m)*((Dm/2)/(Dh/2)))//Nozzle angle at inlet at root section in degree Uh=(3.14*Dh*N)/60//Blade speed at root section in m/s b1h=atand(tand(a1h)-(Uh/Ca))//Rotor blade angle at entry at root section in degree a2h=atand(tand(a2m)*((Dm/2)/(Dh/2)))//Stator angle at exit at root section in degree b2h=atand((Uh/Ca)+tand(a2h))//Rotor blade angle at exit at root section in degree pih=Ca/Uh//Flow coefficient at root section Rh=(pih/2)*(tand(b2h)-tand(b1h))//Degree of reaction at root section psilh=pih*(tand(b1h)+tand(b2h))//Blade loading coefficient at root section //output printf('Mean section\n (a)Degree of reaction is %3.1f\n (b)Blade loading coefficient is %3.2f\nRoot section (a)Degree of reaction is %3.2f\n (b)Blade loading coefficient is %3.2f',R,psil,Rh,psilh)
1ea12ec96a6e74225bf43038d736544caa6d4328
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.5/macros/percent/%r_i_s.sci
7b4268d599e04be6401a2889b577be89ae0420b1
[ "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
244
sci
%r_i_s.sci
function f2=%r_i_s(i,j,f2,n) // %r_i_s(i,j,r,m) //! // Copyright INRIA [lhs,rhs]=argn(0) if rhs==3 then n=f2;f2=j d=ones(n); n(i)=f2('num'),d(i)=f2('den') else d=ones(n); n(i,j)=f2('num'),d(i,j)=f2('den') end f2=rlist(n,d,f2('dt'))