blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
4
214
content_id
stringlengths
40
40
detected_licenses
listlengths
0
50
license_type
stringclasses
2 values
repo_name
stringlengths
6
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
21 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
141k
586M
star_events_count
int64
0
30.4k
fork_events_count
int64
0
9.67k
gha_license_id
stringclasses
8 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
50 values
src_encoding
stringclasses
23 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
1 class
length_bytes
int64
5
10.4M
extension
stringclasses
29 values
filename
stringlengths
2
96
content
stringlengths
5
10.4M
4f3581e2edaa7d4800efb475fd9ae292736968f1
f542bc49c4d04b47d19c88e7c89d5db60922e34e
/PresentationFiles_Subjects/CONT/HE17PXC/ATWM1_Working_Memory_MEG_HE17PXC_Session1/ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce
cfceea9819b2de7efcd052fe81cf55483c413411
[]
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,381
sce
ATWM1_Working_Memory_MEG_Salient_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; 41 61 292 292 399 125 1842 2992 2342 fixation_cross gabor_018 gabor_105 gabor_141 gabor_158 gabor_018_alt gabor_105_alt gabor_141 gabor_158 "1_1_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_2350_gabor_patch_orientation_018_105_141_158_target_position_1_2_retrieval_position_1" gabor_068_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_1_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_068_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1742 2992 2592 fixation_cross gabor_039 gabor_107 gabor_018 gabor_062 gabor_039_alt gabor_107_alt gabor_018 gabor_062 "1_2_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_1750_3000_2600_gabor_patch_orientation_039_107_018_062_target_position_1_2_retrieval_position_1" gabor_086_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_2_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_086_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1892 2992 1892 fixation_cross gabor_026 gabor_178 gabor_090 gabor_005 gabor_026 gabor_178_alt gabor_090_alt gabor_005 "1_3_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_1900_gabor_patch_orientation_026_178_090_005_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_090_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_3_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_090_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1992 2992 1892 fixation_cross gabor_088 gabor_165 gabor_014 gabor_119 gabor_088_alt gabor_165_alt gabor_014 gabor_119 "1_4_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_2000_3000_1900_gabor_patch_orientation_088_165_014_119_target_position_1_2_retrieval_position_1" gabor_041_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_4_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_041_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 1742 2992 1942 fixation_cross gabor_045 gabor_092 gabor_157 gabor_125 gabor_045 gabor_092 gabor_157_alt gabor_125_alt "1_5_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_UncuedRetriev_300_300_399_1750_3000_1950_gabor_patch_orientation_045_092_157_125_target_position_3_4_retrieval_position_1" gabor_180_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_5_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_180_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2142 2992 2442 fixation_cross gabor_168 gabor_014 gabor_144 gabor_093 gabor_168_alt gabor_014_alt gabor_144 gabor_093 "1_6_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_2150_3000_2450_gabor_patch_orientation_168_014_144_093_target_position_1_2_retrieval_position_1" gabor_030_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_6_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_030_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1792 2992 1892 fixation_cross gabor_034 gabor_091 gabor_070 gabor_053 gabor_034_alt gabor_091 gabor_070_alt gabor_053 "1_7_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_1800_3000_1900_gabor_patch_orientation_034_091_070_053_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_070_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_7_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_070_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2142 2992 2042 fixation_cross gabor_087 gabor_019 gabor_175 gabor_153 gabor_087_alt gabor_019_alt gabor_175 gabor_153 "1_8_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_2150_3000_2050_gabor_patch_orientation_087_019_175_153_target_position_1_2_retrieval_position_2" gabor_circ gabor_019_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_8_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_019_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1992 2992 2542 fixation_cross gabor_177 gabor_050 gabor_021 gabor_128 gabor_177_alt gabor_050 gabor_021_alt gabor_128 "1_9_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_2000_3000_2550_gabor_patch_orientation_177_050_021_128_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_160_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_9_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_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; 41 61 292 292 399 125 1942 2992 2242 fixation_cross gabor_048 gabor_106 gabor_132 gabor_068 gabor_048 gabor_106_alt gabor_132 gabor_068_alt "1_10_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_1950_3000_2250_gabor_patch_orientation_048_106_132_068_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_019_framed blank blank blank blank fixation_cross_target_position_2_4 "1_10_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_019_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2142 2992 2092 fixation_cross gabor_095 gabor_076 gabor_015 gabor_121 gabor_095_alt gabor_076_alt gabor_015 gabor_121 "1_11_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_2150_3000_2100_gabor_patch_orientation_095_076_015_121_target_position_1_2_retrieval_position_1" gabor_095_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_11_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_095_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 2042 2992 1992 fixation_cross gabor_041 gabor_116 gabor_061 gabor_167 gabor_041 gabor_116_alt gabor_061 gabor_167_alt "1_12_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_UncuedRetriev_300_300_399_2050_3000_2000_gabor_patch_orientation_041_116_061_167_target_position_2_4_retrieval_position_1" gabor_086_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_12_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_086_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2192 2992 2142 fixation_cross gabor_108 gabor_069 gabor_132 gabor_158 gabor_108_alt gabor_069 gabor_132_alt gabor_158 "1_13_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_2200_3000_2150_gabor_patch_orientation_108_069_132_158_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_132_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_13_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_132_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1892 2992 2592 fixation_cross gabor_088 gabor_173 gabor_152 gabor_121 gabor_088 gabor_173_alt gabor_152 gabor_121_alt "1_14_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_2600_gabor_patch_orientation_088_173_152_121_target_position_2_4_retrieval_position_2" gabor_circ gabor_173_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_14_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_173_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1792 2992 2192 fixation_cross gabor_152 gabor_019 gabor_103 gabor_171 gabor_152 gabor_019_alt gabor_103 gabor_171_alt "1_15_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_1800_3000_2200_gabor_patch_orientation_152_019_103_171_target_position_2_4_retrieval_position_2" gabor_circ gabor_064_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_15_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_064_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1792 2992 2542 fixation_cross gabor_082 gabor_117 gabor_150 gabor_006 gabor_082 gabor_117_alt gabor_150_alt gabor_006 "1_16_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_1800_3000_2550_gabor_patch_orientation_082_117_150_006_target_position_2_3_retrieval_position_2" gabor_circ gabor_117_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_16_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_117_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1792 2992 2242 fixation_cross gabor_165 gabor_075 gabor_013 gabor_091 gabor_165 gabor_075_alt gabor_013_alt gabor_091 "1_17_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_1800_3000_2250_gabor_patch_orientation_165_075_013_091_target_position_2_3_retrieval_position_2" gabor_circ gabor_029_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_17_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_029_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 1842 2992 1992 fixation_cross gabor_021 gabor_136 gabor_047 gabor_176 gabor_021_alt gabor_136_alt gabor_047 gabor_176 "1_18_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_UncuedRetriev_300_300_399_1850_3000_2000_gabor_patch_orientation_021_136_047_176_target_position_1_2_retrieval_position_3" gabor_circ gabor_circ gabor_047_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_18_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_047_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2142 2992 2592 fixation_cross gabor_142 gabor_036 gabor_081 gabor_004 gabor_142_alt gabor_036 gabor_081_alt gabor_004 "1_19_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_2150_3000_2600_gabor_patch_orientation_142_036_081_004_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_081_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_19_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_081_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2092 2992 2092 fixation_cross gabor_026 gabor_049 gabor_065 gabor_107 gabor_026 gabor_049_alt gabor_065 gabor_107_alt "1_20_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_2100_3000_2100_gabor_patch_orientation_026_049_065_107_target_position_2_4_retrieval_position_2" gabor_circ gabor_049_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_20_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_049_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2142 2992 2142 fixation_cross gabor_116 gabor_143 gabor_036 gabor_058 gabor_116 gabor_143 gabor_036_alt gabor_058_alt "1_21_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_2150_3000_2150_gabor_patch_orientation_116_143_036_058_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_082_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_21_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_082_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 1792 2992 2142 fixation_cross gabor_003 gabor_144 gabor_087 gabor_122 gabor_003_alt gabor_144_alt gabor_087 gabor_122 "1_22_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_UncuedRetriev_300_300_399_1800_3000_2150_gabor_patch_orientation_003_144_087_122_target_position_1_2_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_122_framed blank blank blank blank fixation_cross_target_position_1_2 "1_22_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_122_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1892 2992 2342 fixation_cross gabor_086 gabor_110 gabor_066 gabor_045 gabor_086_alt gabor_110 gabor_066 gabor_045_alt "1_23_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_2350_gabor_patch_orientation_086_110_066_045_target_position_1_4_retrieval_position_1" gabor_086_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_23_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_086_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1792 2992 2442 fixation_cross gabor_104 gabor_133 gabor_089 gabor_026 gabor_104 gabor_133 gabor_089_alt gabor_026_alt "1_24_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_1800_3000_2450_gabor_patch_orientation_104_133_089_026_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_026_framed blank blank blank blank fixation_cross_target_position_3_4 "1_24_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_026_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2042 2992 2292 fixation_cross gabor_122 gabor_169 gabor_089 gabor_002 gabor_122_alt gabor_169_alt gabor_089 gabor_002 "1_25_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_2050_3000_2300_gabor_patch_orientation_122_169_089_002_target_position_1_2_retrieval_position_2" gabor_circ gabor_033_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_25_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_033_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 2092 2992 1992 fixation_cross gabor_155 gabor_040 gabor_022 gabor_101 gabor_155_alt gabor_040 gabor_022 gabor_101_alt "1_26_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_UncuedRetriev_300_300_399_2100_3000_2000_gabor_patch_orientation_155_040_022_101_target_position_1_4_retrieval_position_2" gabor_circ gabor_176_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_26_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_176_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1892 2992 1942 fixation_cross gabor_137 gabor_121 gabor_095 gabor_076 gabor_137 gabor_121_alt gabor_095 gabor_076_alt "1_27_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_1950_gabor_patch_orientation_137_121_095_076_target_position_2_4_retrieval_position_2" gabor_circ gabor_166_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_27_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_166_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2192 2992 2292 fixation_cross gabor_066 gabor_040 gabor_097 gabor_115 gabor_066 gabor_040_alt gabor_097_alt gabor_115 "1_28_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_2200_3000_2300_gabor_patch_orientation_066_040_097_115_target_position_2_3_retrieval_position_2" gabor_circ gabor_178_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_28_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_178_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 1792 2992 2092 fixation_cross gabor_086 gabor_152 gabor_129 gabor_070 gabor_086 gabor_152_alt gabor_129 gabor_070_alt "1_29_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_UncuedRetriev_300_300_399_1800_3000_2100_gabor_patch_orientation_086_152_129_070_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_176_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_29_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_176_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1842 2992 1992 fixation_cross gabor_001 gabor_107 gabor_018 gabor_127 gabor_001_alt gabor_107 gabor_018 gabor_127_alt "1_30_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_1850_3000_2000_gabor_patch_orientation_001_107_018_127_target_position_1_4_retrieval_position_1" gabor_001_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_30_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_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; 41 61 292 292 399 125 1942 2992 2192 fixation_cross gabor_037 gabor_097 gabor_173 gabor_058 gabor_037 gabor_097_alt gabor_173_alt gabor_058 "1_31_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_1950_3000_2200_gabor_patch_orientation_037_097_173_058_target_position_2_3_retrieval_position_2" gabor_circ gabor_144_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_31_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_144_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1742 2992 2092 fixation_cross gabor_036 gabor_143 gabor_005 gabor_078 gabor_036 gabor_143_alt gabor_005 gabor_078_alt "1_32_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_1750_3000_2100_gabor_patch_orientation_036_143_005_078_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_123_framed blank blank blank blank fixation_cross_target_position_2_4 "1_32_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_123_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1892 2992 2492 fixation_cross gabor_097 gabor_056 gabor_176 gabor_120 gabor_097_alt gabor_056_alt gabor_176 gabor_120 "1_33_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_2500_gabor_patch_orientation_097_056_176_120_target_position_1_2_retrieval_position_1" gabor_097_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_33_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_097_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1842 2992 2192 fixation_cross gabor_175 gabor_015 gabor_064 gabor_142 gabor_175_alt gabor_015 gabor_064_alt gabor_142 "1_34_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_1850_3000_2200_gabor_patch_orientation_175_015_064_142_target_position_1_3_retrieval_position_1" gabor_175_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_34_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_175_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2192 2992 2092 fixation_cross gabor_038 gabor_019 gabor_087 gabor_146 gabor_038 gabor_019_alt gabor_087_alt gabor_146 "1_35_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_2200_3000_2100_gabor_patch_orientation_038_019_087_146_target_position_2_3_retrieval_position_2" gabor_circ gabor_067_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_35_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_067_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1992 2992 1942 fixation_cross gabor_105 gabor_169 gabor_051 gabor_018 gabor_105 gabor_169_alt gabor_051_alt gabor_018 "1_36_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_2000_3000_1950_gabor_patch_orientation_105_169_051_018_target_position_2_3_retrieval_position_2" gabor_circ gabor_034_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_36_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_034_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 1742 2992 1942 fixation_cross gabor_085 gabor_002 gabor_165 gabor_031 gabor_085_alt gabor_002 gabor_165 gabor_031_alt "1_37_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_UncuedRetriev_300_300_399_1750_3000_1950_gabor_patch_orientation_085_002_165_031_target_position_1_4_retrieval_position_2" gabor_circ gabor_002_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_37_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_002_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2092 2992 2392 fixation_cross gabor_058 gabor_167 gabor_084 gabor_121 gabor_058_alt gabor_167 gabor_084_alt gabor_121 "1_38_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_2100_3000_2400_gabor_patch_orientation_058_167_084_121_target_position_1_3_retrieval_position_1" gabor_058_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_38_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_058_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2042 2992 2192 fixation_cross gabor_086 gabor_141 gabor_114 gabor_175 gabor_086_alt gabor_141_alt gabor_114 gabor_175 "1_39_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_2050_3000_2200_gabor_patch_orientation_086_141_114_175_target_position_1_2_retrieval_position_2" gabor_circ gabor_141_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_39_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_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; 41 62 292 292 399 125 2242 2992 2392 fixation_cross gabor_128 gabor_018 gabor_102 gabor_086 gabor_128 gabor_018_alt gabor_102 gabor_086_alt "1_40_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_2250_3000_2400_gabor_patch_orientation_128_018_102_086_target_position_2_4_retrieval_position_2" gabor_circ gabor_018_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_40_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_018_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2092 2992 2342 fixation_cross gabor_113 gabor_152 gabor_173 gabor_097 gabor_113_alt gabor_152_alt gabor_173 gabor_097 "1_41_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_2100_3000_2350_gabor_patch_orientation_113_152_173_097_target_position_1_2_retrieval_position_1" gabor_066_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_41_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_066_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2142 2992 2392 fixation_cross gabor_180 gabor_050 gabor_004 gabor_070 gabor_180_alt gabor_050 gabor_004 gabor_070_alt "1_42_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_2150_3000_2400_gabor_patch_orientation_180_050_004_070_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_020_framed blank blank blank blank fixation_cross_target_position_1_4 "1_42_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_020_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 2242 2992 2442 fixation_cross gabor_051 gabor_171 gabor_136 gabor_115 gabor_051 gabor_171 gabor_136_alt gabor_115_alt "1_43_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_UncuedRetriev_300_300_399_2250_3000_2450_gabor_patch_orientation_051_171_136_115_target_position_3_4_retrieval_position_1" gabor_051_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_43_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_051_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1842 2992 2342 fixation_cross gabor_048 gabor_156 gabor_002 gabor_173 gabor_048_alt gabor_156 gabor_002_alt gabor_173 "1_44_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_1850_3000_2350_gabor_patch_orientation_048_156_002_173_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_002_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_44_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_002_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1842 2992 2392 fixation_cross gabor_096 gabor_051 gabor_006 gabor_021 gabor_096_alt gabor_051 gabor_006_alt gabor_021 "1_45_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_1850_3000_2400_gabor_patch_orientation_096_051_006_021_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_141_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_45_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_141_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 1942 2992 1892 fixation_cross gabor_009 gabor_062 gabor_098 gabor_031 gabor_009 gabor_062_alt gabor_098_alt gabor_031 "1_46_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_UncuedRetriev_300_300_399_1950_3000_1900_gabor_patch_orientation_009_062_098_031_target_position_2_3_retrieval_position_1" gabor_147_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_46_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_147_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1992 2992 2292 fixation_cross gabor_136 gabor_108 gabor_053 gabor_026 gabor_136_alt gabor_108 gabor_053 gabor_026_alt "1_47_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_2000_3000_2300_gabor_patch_orientation_136_108_053_026_target_position_1_4_retrieval_position_1" gabor_136_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_47_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_136_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1892 2992 2292 fixation_cross gabor_128 gabor_095 gabor_040 gabor_146 gabor_128_alt gabor_095 gabor_040_alt gabor_146 "1_48_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_1900_3000_2300_gabor_patch_orientation_128_095_040_146_target_position_1_3_retrieval_position_1" gabor_079_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_48_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_079_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2192 2992 2242 fixation_cross gabor_099 gabor_033 gabor_056 gabor_121 gabor_099_alt gabor_033_alt gabor_056 gabor_121 "1_49_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_2200_3000_2250_gabor_patch_orientation_099_033_056_121_target_position_1_2_retrieval_position_2" gabor_circ gabor_083_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_49_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_083_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 1992 2992 2492 fixation_cross gabor_065 gabor_021 gabor_037 gabor_097 gabor_065 gabor_021_alt gabor_037 gabor_097_alt "1_50_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_UncuedRetriev_300_300_399_2000_3000_2500_gabor_patch_orientation_065_021_037_097_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_037_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_50_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_037_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1942 2992 2042 fixation_cross gabor_031 gabor_096 gabor_013 gabor_058 gabor_031 gabor_096_alt gabor_013 gabor_058_alt "1_51_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_1950_3000_2050_gabor_patch_orientation_031_096_013_058_target_position_2_4_retrieval_position_2" gabor_circ gabor_146_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_51_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_146_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1942 2992 2242 fixation_cross gabor_032 gabor_116 gabor_174 gabor_092 gabor_032 gabor_116_alt gabor_174_alt gabor_092 "1_52_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_1950_3000_2250_gabor_patch_orientation_032_116_174_092_target_position_2_3_retrieval_position_2" gabor_circ gabor_116_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_52_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_116_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1892 2992 2442 fixation_cross gabor_089 gabor_143 gabor_072 gabor_035 gabor_089_alt gabor_143_alt gabor_072 gabor_035 "1_53_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_1900_3000_2450_gabor_patch_orientation_089_143_072_035_target_position_1_2_retrieval_position_2" gabor_circ gabor_143_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_53_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_143_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1742 2992 1992 fixation_cross gabor_007 gabor_120 gabor_160 gabor_042 gabor_007 gabor_120_alt gabor_160 gabor_042_alt "1_54_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_1750_3000_2000_gabor_patch_orientation_007_120_160_042_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_088_framed blank blank blank blank fixation_cross_target_position_2_4 "1_54_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_088_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1742 2992 2342 fixation_cross gabor_005 gabor_124 gabor_075 gabor_159 gabor_005_alt gabor_124_alt gabor_075 gabor_159 "1_55_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_1750_3000_2350_gabor_patch_orientation_005_124_075_159_target_position_1_2_retrieval_position_1" gabor_141_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_55_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_141_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2042 2992 2042 fixation_cross gabor_053 gabor_127 gabor_097 gabor_167 gabor_053_alt gabor_127_alt gabor_097 gabor_167 "1_56_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_2050_3000_2050_gabor_patch_orientation_053_127_097_167_target_position_1_2_retrieval_position_1" gabor_007_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_56_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_007_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1742 2992 2242 fixation_cross gabor_132 gabor_096 gabor_073 gabor_043 gabor_132 gabor_096 gabor_073_alt gabor_043_alt "1_57_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_1750_3000_2250_gabor_patch_orientation_132_096_073_043_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_073_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_57_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_073_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 2242 2992 2142 fixation_cross gabor_039 gabor_003 gabor_123 gabor_167 gabor_039_alt gabor_003_alt gabor_123 gabor_167 "1_58_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_UncuedRetriev_300_300_399_2250_3000_2150_gabor_patch_orientation_039_003_123_167_target_position_1_2_retrieval_position_3" gabor_circ gabor_circ gabor_078_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_58_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_078_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2092 2992 1942 fixation_cross gabor_032 gabor_103 gabor_173 gabor_154 gabor_032 gabor_103_alt gabor_173 gabor_154_alt "1_59_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_2100_3000_1950_gabor_patch_orientation_032_103_173_154_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_154_framed blank blank blank blank fixation_cross_target_position_2_4 "1_59_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_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; 41 62 292 292 399 125 2192 2992 2142 fixation_cross gabor_043 gabor_060 gabor_103 gabor_130 gabor_043 gabor_060_alt gabor_103 gabor_130_alt "1_60_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_2200_3000_2150_gabor_patch_orientation_043_060_103_130_target_position_2_4_retrieval_position_2" gabor_circ gabor_060_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_60_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_060_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 1992 2992 2542 fixation_cross gabor_168 gabor_033 gabor_146 gabor_015 gabor_168 gabor_033 gabor_146_alt gabor_015_alt "1_61_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_2000_3000_2550_gabor_patch_orientation_168_033_146_015_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_146_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_61_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_146_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 1942 2992 2042 fixation_cross gabor_039 gabor_019 gabor_066 gabor_096 gabor_039_alt gabor_019_alt gabor_066 gabor_096 "1_62_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_1950_3000_2050_gabor_patch_orientation_039_019_066_096_target_position_1_2_retrieval_position_2" gabor_circ gabor_155_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_62_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_155_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 2042 2992 2292 fixation_cross gabor_085 gabor_108 gabor_124 gabor_168 gabor_085 gabor_108_alt gabor_124 gabor_168_alt "1_63_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_UncuedRetriev_300_300_399_2050_3000_2300_gabor_patch_orientation_085_108_124_168_target_position_2_4_retrieval_position_1" gabor_085_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_63_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_085_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2242 2992 2592 fixation_cross gabor_176 gabor_020 gabor_158 gabor_095 gabor_176_alt gabor_020 gabor_158 gabor_095_alt "1_64_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_2250_3000_2600_gabor_patch_orientation_176_020_158_095_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_095_framed blank blank blank blank fixation_cross_target_position_1_4 "1_64_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_095_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2242 2992 2542 fixation_cross gabor_038 gabor_021 gabor_155 gabor_177 gabor_038_alt gabor_021 gabor_155_alt gabor_177 "1_65_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_2250_3000_2550_gabor_patch_orientation_038_021_155_177_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_155_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_65_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_155_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2092 2992 2492 fixation_cross gabor_096 gabor_073 gabor_153 gabor_134 gabor_096 gabor_073_alt gabor_153 gabor_134_alt "1_66_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_2100_3000_2500_gabor_patch_orientation_096_073_153_134_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_66_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_180_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 62 292 292 399 125 2042 2992 2042 fixation_cross gabor_032 gabor_013 gabor_148 gabor_170 gabor_032 gabor_013 gabor_148_alt gabor_170_alt "1_67_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_300_300_399_2050_3000_2050_gabor_patch_orientation_032_013_148_170_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_170_framed blank blank blank blank fixation_cross_target_position_3_4 "1_67_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_CuedRetrieval_retrieval_patch_orientation_170_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 64 292 292 399 125 1842 2992 1892 fixation_cross gabor_002 gabor_120 gabor_031 gabor_048 gabor_002 gabor_120_alt gabor_031 gabor_048_alt "1_68_Encoding_Working_Memory_MEG_P3_LR_Salient_NoChange_UncuedRetriev_300_300_399_1850_3000_1900_gabor_patch_orientation_002_120_031_048_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_031_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_68_Retrieval_Working_Memory_MEG_P3_LR_Salient_NoChange_UncuedRetriev_retrieval_patch_orientation_031_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 61 292 292 399 125 2192 2992 2492 fixation_cross gabor_177 gabor_018 gabor_050 gabor_134 gabor_177 gabor_018 gabor_050_alt gabor_134_alt "1_69_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_300_300_399_2200_3000_2500_gabor_patch_orientation_177_018_050_134_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_002_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_69_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_CuedRetrieval_retrieval_patch_orientation_002_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69; 41 63 292 292 399 125 2242 2992 2192 fixation_cross gabor_073 gabor_113 gabor_043 gabor_162 gabor_073_alt gabor_113_alt gabor_043 gabor_162 "1_70_Encoding_Working_Memory_MEG_P3_LR_Salient_DoChange_UncuedRetriev_300_300_399_2250_3000_2200_gabor_patch_orientation_073_113_043_162_target_position_1_2_retrieval_position_3" gabor_circ gabor_circ gabor_093_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_70_Retrieval_Working_Memory_MEG_P3_LR_Salient_DoChange_UncuedRetriev_retrieval_patch_orientation_093_retrieval_position_3" 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; };
f5db8b1bb33dc57d6dfdf92d2e889d28fb50c7c0
449d555969bfd7befe906877abab098c6e63a0e8
/213/CH8/EX8.3/8_3.sce
cd4d6d6ab52f44950d0ffe471ef0677671241161
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,132
sce
8_3.sce
//To find linear and angular acceleration clc //Given: vC=1,vCD=vC //m/s aC=2.5 //m/s^2 AB=3,BC=1.5 //m //Solution: //Refer Fig. 8.8 //By measurement from the velocity diagram, Fig. 8.8(b), vBA=0.72,vBC=0.72 //m/s //Calculating the radial component of acceleration of B with respect to C arBC=vBC^2/BC //m/s^2 //Calculating the radial component of acceleration of B with respect to A arBA=vBA^2/AB //m/s^2 //By measurement from the acceleration diagram, Fig. 8.8(c), aCD=2.5,aC=aCD,arBC=0.346,arBA=0.173, atBA=1.41,atBC=1.94,vectorbb=1.13,vectorab=0.9 //m/s^2 //Calculating the angular accaleration of AB alphaAB=atBA/AB //rad/s^2 //Calculating the angular acceleration of BC alphaBC=atBC/BC //rad/s^2 //Results: printf("\n\n The magnitude of vertical component of the acceleration of the point B is %.2f m/s^2.\n",vectorbb) printf(" The magnitude of horizontal component of the acceleration of the point B is %.1f m/s^2.\n",vectorab) printf(" The angular acceleration of the link AB, alphaAB = %.2f rad/s^2.\n",alphaAB) printf(" The angular acceleration of the link BC, alphaBC = %.1f rad/s^2.\n\n",alphaBC)
c34bae494c8acc6ee3632676f7ecb126bb5fd1d9
449d555969bfd7befe906877abab098c6e63a0e8
/147/CH13/EX13.1/Example13_1.sce
9a313909e94394eb1bffc73bd50fb26eb49a5ef6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
662
sce
Example13_1.sce
close(); clear; clc; //number of turns 'N', leakage flux 'phi1', flux density in air gap 'Bg' N = 100; l1 = 0.40; //m l2 = l1/4; A1 = 10*10^(-4); //m^2 A2 = A1/2; lg = 2*10^(-3); //m phi1 = 0.01 * 10^(-3); //Wb Bg = 0.6; //t uo = 4*%pi * 10^(-7); //for Bg corresponding value of Hg = Bg/uo; //A/m taug = Hg*lg; B1 = Bg; H1 = 100; //A/m tau1 = H1*(l1+l1); phig = Bg*A1; //total flux produced by coil 'phic' phic = phig+phi1; //flux density in l2 'B2' B2 = phic/A2; //T //for 'B2', corresponding 'H2' H2 = 410; //A/m tau2 = H2*l2; //total mmf 'tau' tau = taug + tau1 + tau2; I = tau/N; //A mprintf("Current I required = %0.2f A",I);
95531d72bffb482a14c1122bac3ec99d921aab02
449d555969bfd7befe906877abab098c6e63a0e8
/275/CH1/EX1.1.32/Ch1_1_32.sce
ea112c9c775ba3813b2d0741431c32fcdd654f12
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
262
sce
Ch1_1_32.sce
clc disp("Example 1.32") printf("\n") disp("Plot the piecewise-linear characterisic of Germanium diode") printf("Given\n") //given Vf=[0 0.3 0.35] If=[0 0 0.1] plot2d(Vf, If) xlabel("Vf") ylabel("If") xtitle("Piecewise-linear characteristic of diode")
76da87f5ca4e42e69568282d1fc428abd8532a60
449d555969bfd7befe906877abab098c6e63a0e8
/650/CH5/EX5.8/8.sce
2399a57461568905ff6b6773753bf36b213f06e5
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
314
sce
8.sce
clc m_f=0.03; // kg rho_f=5100; // kg/m^3 d_l=0.3; // m d_b=0.22; // m H_tube=0.2; // m Cd=0.6; H=0.1; // m g=9.81; // m/s^2 rho=1000; // kg/m^3 V_f=m_f/rho_f; theta=2*atan((d_l-d_b)/2/H_tube); m=Cd*H*tan(theta/2)*sqrt(8*V_f*g*rho*(rho_f-rho)*%pi); disp("Mass flowrate =") disp(m) disp("kg/s")
74d9103f868562a06be07b7fd247c485a2fa307b
449d555969bfd7befe906877abab098c6e63a0e8
/3446/CH5/EX5.3/Ex5_3.sce
00a87cb1a7935f85e1564968369dc28ca23dfa70
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
2,079
sce
Ex5_3.sce
// Exa 5.3 // To calculate // A) The number of calls per cell site per hour (i.e., call capacity of cell). // B) Mean S/I ratio for cell reuse factor equal to 4, 7 and 12. clc; clear all; VCH=395;//Total voice channels CallHT=120;//average call holding time in sec Blocking=0.02;// 2% PPL=4; //propogation path loss coefficient N1=4 //reuse factor N2=7; //reuse factor N3=12; //reuse factor //solution No_of_VCH1=VCH/N1; //for reuse factor N1 No_of_VCH2=VCH/N2; //for reuse factor N2 No_of_VCH3=VCH/N3; //for reuse factor N3 printf('\nNO of voice channels for N=4 are %d',round(No_of_VCH1)); printf('\nNO of voice channels for N=7 are %d',round(No_of_VCH2)); printf('\nNO of voice channels for N=12 are %d\n',round(No_of_VCH3)); disp("Using the Erlang-B traffic table (see Appendix A) for 99 channels with 2% blocking, we find a traffic load of 87 Erlangs."); TrafLoad1=87.004; Carryload1=(1-Blocking)*TrafLoad1; disp("Using the Erlang-B traffic table (see Appendix A) for 56 channels with 2% blocking, we find a traffic load of 45.88 Erlangs."); TrafLoad2=45.877; Carryload2=(1-Blocking)*TrafLoad2; disp("Using the Erlang-B traffic table (see Appendix A) for 33 channels with 2% blocking, we find a traffic load of 24.6 Erlangs."); TrafLoad3=24.629; Carryload3=(1-Blocking)*TrafLoad3; // To find cell capacity Ncall1=Carryload1*3600/CallHT;//Calls per hour per cell Ncall2=Carryload2*3600/CallHT; Ncall3=Carryload3*3600/CallHT; printf('\ncalls per hour per cell for N=4 are %d',round(Ncall1)); printf('\ncalls per hour per cell for N=7 are %d',round(Ncall2)); printf('\ncalls per hour per cell for N=12 are %d \n',Ncall3); // To find S BY I // N=(1/3)[6*(S/I)]^(2/PPL) S_I1=10*(PPL/2)*(log10(N1)-log10(1/3)-(2/PPL)*log10(6));//Mean S/I (dB) S_I2=10*(PPL/2)*(log10(N2)-log10(1/3)-(2/PPL)*log10(6)); S_I3=10*(PPL/2)*(log10(N3)-log10(1/3)-(2/PPL)*log10(6)); printf('\nMean S/I(dB) for N=4 is %.1f',S_I1); printf('\nMean S/I(dB) for N=7 is %.1f',S_I2); printf('\nMean S/I(dB) for N=12 is %.1f',S_I3);
19d106a98766a825ba44b52f7490405bd4408c53
867aeab6c7faa32a24047121e1ee6e9fd75aefa2
/2020 fall/CMPUT 455/go2/test_go2.tst
1735ceeed29a4fd4961e6bed253d4a507ad3ef89
[]
no_license
boyuandong/fall_2020
3077235cee3504aaf0c77ecec86c74eb64043bbe
aa932f91de6df9e62d6e453f968e1b2da4a5f83a
refs/heads/main
2023-04-21T03:22:22.025715
2021-04-28T05:36:50
2021-04-28T05:36:50
359,421,071
0
0
null
null
null
null
UTF-8
Scilab
false
false
217
tst
test_go2.tst
#----------------------------------------------------------------------------- # Tests specifically for Go2.py player. #----------------------------------------------------------------------------- 10 name #? [Go2]
7aa748db8abc6000cea23fdcc2b3746e9a4b0c42
449d555969bfd7befe906877abab098c6e63a0e8
/1553/CH29/EX29.9/29Ex9.sce
a8c49fdb6fb7ada65030f822677334e385ec8877
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
206
sce
29Ex9.sce
//Chapter 29 Ex9 clc; clear; close; shares=25; rateDividend=9/100; rateInterest=10/100; price1share=(shares*rateDividend)/rateInterest; mprintf("The price of each share is Rs.%.2f",price1share);
056a2d790a9f205d6b40e67d0537221e6696dc18
449d555969bfd7befe906877abab098c6e63a0e8
/2294/CH12/EX12.20/EX12_20.sce
49e3075a5e0520b58d0db3df9b45d2378845d573
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
624
sce
EX12_20.sce
Xo=0;X1=1 X=integrate('X*(X+0.5)','X',Xo,X1) disp(X,'E[X]=') Yo=0;Y1=1 Y=integrate('Y*(Y+0.5)','Y',Yo,Y1) disp(Y,'E[Y]=') x=[0,0;1,1;1,0] y=[0,0;1,1;0,1] deff('z=f(x,y)','z=x*y*(x+y)') I=int2d(x,y,f) disp(I,'E[XY]=') disp(I-X*Y,'cov(X,Y)=E[XY]-E[X]E[Y]='); cov=I-X*Y Xo=0;X1=1 X2=integrate('X^2*(X+0.5)','X',Xo,X1) disp(X2,'E[X^2]=') Yo=0;Y1=1 Y2=integrate('Y^2*(Y+0.5)','Y',Yo,Y1) disp(Y2,'E[Y^2]=') disp(X2-X^2,'Variance of X=E[X^2]-E[X]^2)=') v1=X2-X^2 disp(Y2-Y^2,'Variance of Y=E[Y^2]-E[Y]^2)=') v2=Y2-Y^2 disp(cov/sqrt(v1*v2),'Correlation coefficient of X and Y=cov(X,Y)/(s.d of X*s.d of Y)=')
719a26fe6304e3f0919bb0fa98c20a17d0dfb497
05d972abeab11d213913aa6124e6a2104d859132
/etc/McpRereadCfg.tst
73ae3277503e5e1e3c932eaf0657493fb3bf404c
[]
no_license
LivTel/sdb_puller
50ac8289d57c4927245ca70c4809cf2b9c807e82
9e573ee4d20035f846cb010a02099b9a25dc4e76
refs/heads/master
2022-06-24T04:59:10.771334
2019-12-18T19:10:47
2019-12-18T19:10:47
179,494,067
0
0
null
2020-07-01T23:30:44
2019-04-04T12:34:54
C
UTF-8
Scilab
false
false
31
tst
McpRereadCfg.tst
sysreq, SYSREQ_REQ_REREAD_CFG
f3727df0e33508339a4b5a3508542ae8a8ab9371
449d555969bfd7befe906877abab098c6e63a0e8
/284/CH12/EX12.10/ex10.sce
0a96e0af7286e8d8c5f1e932b5b6b18922d3334d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
480
sce
ex10.sce
// Chapter 12_The junction field effect transistor //Caption_High electron mobility transistor //Ex_10//page 585 Nd=10^18 d=20*10^-8 dd=500*10^-8 //thickness phi_B=0.85 q=1.6*10^-19 VG=0 epsn=12.2 //relative dielectric constant Vp2=q*Nd*dd^2/(2*epsn*8.85*10^-14) //a parameter x=0.22 //x=del Ec/q Voff=phi_B-x-Vp2 //threshold voltage ns=(VG-Voff)*epsn*8.85*10^-14/(q*(dd+d+80*10^-8)) printf('The two dimensional electron concentration is %1.2f cm^-2',ns)
d35dbb3574a7fc653f8a91369e7dab44c860eaa1
ec587da007f2100be5e3db8e5b68df9e8c94941c
/Or4.tst
912453372583c76027fec3f2bff81fe931152ea0
[]
no_license
glowing-potato/atmega328p
95552c6210949c0d5e929dbd243790bd8290a5c1
73518c217158033bf435348567f8fe702103be18
refs/heads/master
2021-01-18T21:55:16.705541
2017-04-05T02:01:29
2017-04-05T02:01:29
87,027,063
1
0
null
null
null
null
UTF-8
Scilab
false
false
398
tst
Or4.tst
load Or4.hdl, output-file Or4.out, compare-to Or4.cmp, output-list a%B1.4.1 b%B1.4.1 out%B1.4.1; set a %B0000, set b %B0000, eval, output; set a %B0000, set b %B1111, eval, output; set a %B1111, set b %B0000, eval, output; set a %B1111, set b %B1111, eval, output; set a %B0101, set b %B0101, eval, output; set a %B1010, set b %B0101, eval, output; set a %B1001, set b %B0101, eval, output;
e55e126ccce42e75b5dd9b5e0f15e87f68519970
449d555969bfd7befe906877abab098c6e63a0e8
/1646/CH17/EX17.12/Ch017Ex12.sce
783ffd002b1344394d16a111a7e073ddeee63e0a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,726
sce
Ch017Ex12.sce
// Scilab code Ex17.12 : Pg:894 (2011) clc;clear; e = 1.6e-019; // Energy equivalent of 1 eV, J/eV R_max = 0.6; // Radius of two dees of the cyclotron, m B = 1.6; // Strength of pole pieces of the cyclotron, tesla // For proton m = 1.67e-027; // Mass of the proton, kg q = 1.6e-019; // Charge on a proton, C E = 1/2*q^2*R_max^2*B^2/(m*e*1e+06); // Energy of the proton, MeV f_proton = q*B/(2*%pi*m*1e+06); // Cyclotron oscillator frequency for the proton, MHz printf("\nEnergy of the proton = %5.2f MeV", E); printf("\nCyclotron frequency for proton = %5.2f MHz", f_proton); // For deuteron m = 2*1.67e-027; // Mass of the deuteron, kg q = 1.6e-019; // Charge on a deuteron, C E = 1/2*q^2*R_max^2*B^2/(m*e*1e+06); // Energy of the deuteron, MeV f_deuteron = q*B/(2*%pi*m*1e+06); // Cyclotron oscillator frequency for the deuteron, MHz printf("\nEnergy of the deuteron = %5.2f MeV", E); printf("\nCyclotron frequency for deuteron = %5.2f MHz", f_deuteron); // For alpha-particle m = 4*1.67e-027; // Mass of the alpha-particle, kg q = 2*1.6e-019; // Charge on a alpha-particle, C E = 1/2*q^2*R_max^2*B^2/(m*e*1e+06); // Energy of the deuteron, MeV f_alpha = q*B/(2*%pi*m*1e+06); // Cyclotron oscillator frequency for the alpha-particle, MHz printf("\nEnergy of the alpha-particle = %5.2f MeV", E); printf("\nCyclotron frequency for alpha-particle = %5.2f MHz", f_alpha); // Result // Energy of the proton = 44.15 MeV // Cyclotron frequency for proton = 24.40 MHz // Energy of the deuteron = 22.07 MeV // Cyclotron frequency for deuteron = 12.20 MHz // Energy of the alpha-particle = 44.15 MeV // Cyclotron frequency for alpha-particle = 12.20 MHz
c482141a57d600255a5b5680b8dc998fb3008a21
c09810ccf146237702bc5eedd87109dd496b389a
/ОТУ/2.1/2.1.sce
a244881b37fc837f3023a1f9cad10ae32d211335
[]
no_license
Krokofol/OOAIDLab
2d0e5b2ff517dd1e51d8239dc8bb5575b2ed8384
a583d91a47c9e5f2a56a36b2c3f13bbc794f9517
refs/heads/master
2023-03-30T22:04:06.564312
2021-04-01T14:22:01
2021-04-01T14:22:01
339,401,547
0
0
null
null
null
null
UTF-8
Scilab
false
false
50
sce
2.1.sce
x=[-4:0.01:10]; y = (x^2-11.5)./(x-3); plot(x, y)
439b747443aebdcb7f055bed07aec04b5488ab4d
e8dbcf469ba8a31d6926ba791ebc5dcccd50282b
/Scripts/DML/Consultas/Test/personas_por_salario.tst
888707b63ee3165a6eba92bfbe2e41c25661e29d
[]
no_license
bryanjimenezchacon/bryanjimenezchacon.github.io
5f2a0f1dbfbc584a65dece48f98b1c13d755512f
7062d1860934808265c05491007c83f69da1112a
refs/heads/master
2021-01-23T17:20:11.542585
2015-10-10T05:52:52
2015-10-10T05:52:52
41,244,377
2
0
null
2015-08-26T15:46:04
2015-08-23T09:52:06
JavaScript
UTF-8
Scilab
false
false
225
tst
personas_por_salario.tst
PL/SQL Developer Test script 3.0 5 begin -- Call the procedure personas_por_salario(psalario_id => :psalario_id, p_recordset => :p_recordset); end; 2 psalario_id 1 15 4 p_recordset 1 <Cursor> 116 0
304292ed606991a9bcf9480d6992f9d15031b94e
623a9dd972dc78dbde5d5b8dc187acd6a1eb5910
/TP3/gs.sci
2a560a9eff6bc338a38e4be449ab7fe002a9fdd2
[]
no_license
gtessi/CN2012-FICH
0daad054ceb6c36636ee5e8b174a676b9e0acb9b
4024384653b61b5af9e1c11ffb575e154025ee47
refs/heads/master
2020-03-27T05:53:04.684505
2018-08-25T03:03:15
2018-08-25T03:03:15
146,059,800
0
0
null
null
null
null
UTF-8
Scilab
false
false
748
sci
gs.sci
function [x,it,r_h] = gs(A,b,x0,maxit,tol) n=length(b); err=1; // error k=1; x=x0; r_h=zeros(1,n); while (k<maxit & err>tol) for (i=1:n) // calculo el nuevo x x(i)=(b(i)-A(i,1:i-1)*x(1:i-1)-A(i,i+1:n)*x0(i+1:n))/A(i,i); end // calculo la norma del residuo norma_res=norm(b-A*x); // actualizo el vector de residuos r_h(1,k)=norma_res; // calculo el vector de error || x(k) - x(k-1) || e=x-x0; // calculo el error relativo de la solución err=norm(e); // aumento k k=k+1; // preparo la nueva solución para la próxima iteración x0=x; end it=k; endfunction
b6b58b651551eb1aa7778ead0f888ff5a8ac593d
449d555969bfd7befe906877abab098c6e63a0e8
/3822/CH8/EX8.2/Ex8_2.sce
52dbc2fbba2e8ea32bd32dda2aaf16ebcfbe4829
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
654
sce
Ex8_2.sce
//OptoElectronics and Fibre Optics Communication, by C.K Sarkar and B.C Sarkar //Example 8.2 //OS=Windows 10 ////Scilab version Scilab 6.0.0-beta-2(64 bit) clc; clear; //given Cd=5e-12;//capacitance in Farad B=10e6;//Bandwidth in Hz u=2*3.14*B*Cd; RL=1/u;//Load resistance in ohms mprintf("\n The load resistance is=%.2f *10^3ohms",RL/10^3);//multiplication factor to change unit from ohms to 10^3 ohms v=2*3.14*RL*(10e-12); B1=1/v;//bandwidth when the system is connected to load resistance mprintf("\n Bandwidth when system is connected to load resistance is=%.2f MHz",B1/1e6); //multiplcation factor to change unit to MHz from Hz
152356d17510ef81ae266a5fdece5e35efe4f9b4
449d555969bfd7befe906877abab098c6e63a0e8
/1409/CH2/EX2.3/2_3.sce
e2fdc81f61c125e6615c5366de26a126820dd789
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
641
sce
2_3.sce
clc; //page 2-10 //Example 2.3 //assume modulation index=0.2, given frequency signal is 10*sin(2*%pi*500*t) and given carrier signal is 50*sin(2*%pi*10^5) //Given wm=2*%pi*500; fm=500; wc=2*%pi*10^5; fc=100000 disp(+'Hz',fc+fm,'Upper sideband frequency is '); disp(+'Hz',fc-fm,'Lower sideband frequency is '); Ec=50; mu=0.2; disp(+'V',(mu*Ec)/2,'Amplitude of upper and lower sidebands is ') fusb=100500; flsb=99500; disp(+'Hz',fusb-flsb, 'Bandwidth is '); //given load=600 ohms //from carrier signal we know that Ac=50 Ac=50; R=600; ptotal=(Ac^2/(2*R))*(1+(mu^2/2)); disp(+'watts',ptotal,'Total power delivered is ');
3f0be1a3ba45b99253a2643c66a4886f67d8f985
449d555969bfd7befe906877abab098c6e63a0e8
/2915/CH1/EX1.19/Ex1_19.sce
7f5c5f1188730e2d8511b26e954e46d5cda0dc0e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
819
sce
Ex1_19.sce
clc,clear //Example 1.19 //To solve the right triangle with given information //part(a) c=10 ;//side opposite to vertex C A=22 ;//Angle at vertex A a=c*sind(A); b=c*cosd(A) ; B=90 - A ;//since C is 90, A and B are complimentary printf('(a)a= %.2f units ; b= %.2f units; B = %.0f degree\n',a,b,B) //part(b) b=8 ;//side opposite to vertex B A=40 ;//Angle at vertex A a=b*tand(A); c=b/cosd(A) ; B=90 - A ;//since C is 90, A and B are complimentary printf(' (b)a= %.2f units ; c= %.2f units; B = %.0f degree\n',a,c,B) //part(c) a=3 ;//side opposite to vertex A b=4 ;//side opposite to vertex B c=sqrt(a^2+b^2) ;//by pythagoras theorem A = atand(a/b) ;//angle at vertex A B=90 - A ;//since C is 90, A and B are complimentary printf(' (c)c=%.0f units ; A= %f degree; B = %f degree',c,A,B)
6faedb70da6148b7d4fabbd8f7e8e824315bae86
f5bb8d58446077a551e4d9a6461a55255db523fe
/zero_de_funcoes/calcnum3.sce
da06d82fc03f2684bacbd75cff7ed0fefd52f73a
[]
no_license
appositum/numerical-calculus
6be1a9990a1621c705af6ba5694cf8c7b891d06e
7759e74ce9ce5c5826f96be7de84a2f7ecb97c91
refs/heads/master
2021-07-19T18:19:09.336819
2018-11-27T21:52:36
2018-11-27T21:52:36
143,060,426
1
0
null
null
null
null
UTF-8
Scilab
false
false
291
sce
calcnum3.sce
function y=f(x) y = exp(x) + 2.^(-x) + 2.*cos(x) -6 endfunction function y=df(x) y = exp(x) - 2.^(-x).*log(2) - 2.*sin(x) endfunction x = -4:0.05:5 //plot(x, f(x)) // [-3.5, -2], [1.5, 2] // plot(x, df(x)) newton(f, df, -2.7, 0.0001) bissecao(f, -3.5, -2.5, 0.0001)
03bd234086c5fd97202cd430da33d0bc78fbb4be
8200349559e237758f87bc09a9eb4e0178932815
/Magnet/Scilab/rotate3d.sci
a4a4b0cf2303eeca0075ddd9367c4bf87447b8b0
[]
no_license
rmorenoga/Testing
6e50ea8e5f334b6d69f25e56f81fd7a505c012bb
06713e61ababad3fb738ec4ac9ea771772585a12
refs/heads/master
2021-05-25T09:31:54.351782
2020-08-08T20:55:59
2020-08-08T20:55:59
35,949,400
0
0
null
null
null
null
UTF-8
Scilab
false
false
17,670
sci
rotate3d.sci
// SOFTWARE : Scilab >= 5.5.0 // PACKAGE : rotate3d() : rotation of (x,y,z) points in 3D space // LICENSE : CeCILL-C : http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt // AUTHOR (C) : Samuel GOUGEON - private individual // COPYRIGHT : Samuel GOUGEON - 2015 // VERSION : 1.0 // RELEASE DATE : 2015-08-09 // DISTRIBUTION : http://fileexchange.scilab.org/toolboxes/369000 // HISTORY : // 1.0 - 2015-08-09: First publication on FileExchange // // DISCLAIMER: This toolbox is provided as is, with NO WARRANTY of any kind. // Use it to your own risks & responsability. function [varargout] = rotate3d(X, Y, Z, Rip, Rcenter) // // Computes new (x,y,z) cartesian coordinates of points rotated in the 3D space, // or/and the rotation matrix or/and its axis and angle of rotation. // // SYNTAXES // -------- // rotate3d // displays this help // rotate3d demo // display the demo script // Rop = rotate3d(Rm) // Rm = rotate3d(Rip) // [Rop, Rm] = rotate3d(Rip) // [nX, nY, nZ] = rotate3d(X, Y, Z, Rip [, Rcenter] ) // [nX, nY, nZ, Rop, Rm] = rotate3d(X, Y, Z, Rip [, Rcenter] ) // // PARAMETERS // ---------- // X, Y, Z : scalars, vectors, matrices or hypermatrices of cartesian coordinates // of points to be rotated. X, Y, and Z must have the same numbers of // components. // // nX,nY,nZ: scalars, vectors, matrices or hypermatrices of cartesian decimal // coordinates of rotated points. nX, nY and nZ take the sizes of X. // // Rip : Rotation Input Parameters = Parameters describing the tri-dimensional // rotation to perform. This argument may have 3 equivalent formats: // // a) [a b c phi]: a vector of 4 decimal numbers. // [a b c] are the coordinates of a direction vector of the axis // of the rotation. Not necessarily a unit vector. // phi is the rotation angle around the rotation axis [a b c], // in degrees. Its sign follows the right hand corkscrew rule with // respect to the signed direction [a b c]. // Then, we should have, whatever is phi: // rotate3d(a,b,c, [a b c phi]) == [a b c]/norm([a b c]) // // b) [u1 u2 ; v1 v2 ; w1 w2]: a (3,2) matrix of decimal numbers. // The considered rotation turns the [u1 v1 w1] vector into the // [u2 v2 w2] one. The norm of vectors is not taken into account. // The underlying rotation is built such that, if both vectors have // the same norm, // [u2,v2,w2] = rotate3d(u1,v1,w1, [u1 u2; v1 v2; w1 w2]) // // c) (3,3) rotation matrix. It must be real and with det(Rm)==1. // // Rcenter : It may be either a boolean, or a vector of 3 decimal numbers // = coordinates of the rotation center, the point around which // {X,Y,Z} must be rotated: // a) If Rcenter = %t, the Center of Mass of given isoweighted {X,Y,Z} // points is computed and used as rotation center. // b) No indication or Rcenter=%f set Rcenter = [0 0 0] // c) Rcenter = [xc, yc, zc] is used as rotation center. // // Rm : (3,3) square real Rotation matrix with det(Rm)==1. It is such that // [nX(:)-xc nY(:)-yc nZ(:)-zc]' = Rm * [X(:)-xc Y(:)-yc Z(:)-zc]' // whereas the rotation center is located at [xc yc zc]. // // Rop : Row vector of 7 decimal numbers: // Rop(1:3) = unit vector of the rotation axis. When the rotation is the // identity, its axis is undetermined and [%nan %nan %nan] // is returned. // Rop(4) = Rotation angle, in degrees. // Rop(5:7) = coordinates of the Center of Mass of the rotated object. // It is set as rotation center when Rcenter=%t is used. // // DESCRIPTION // ----------- // rotate3d() works in a 3D orthonormal cartesian axes. // Rop = rotate3d(Rm) computes and returns a unit vector Rop(1:3) of the rotation // axis, and the rotation angle Rop(4) around it, corresponding to the // rotation matrix Rm. // // Rm = rotate3d(Rip) computes and returns the (3,3) rotation matrix // corresponding to the rotation axis specified any directing vector // Rip(1:3), for the rotation angle Rip(4). // The rotation matrix always assumes that the rotation center is at [0 0 0]. // // [Rop, Rm] = rotate3d(Rip) computes and returns the rotation matrix Rm, // the unit vector Rop(1:3) of the rotation axis, and the rotation angle // Rop(4) around it, when the input rotation is specified through an // example of vector and its expected rotated version. // // When a set of points to be rotated is specified through their {X, Y, Z} // input coordinates, the coordinates of corresponding rotated points // are as well computed and returned. By default, the origin [0 0 0] is used // as rotation center. Any other center may be explicitely specified through // the Rcenter=[xc yc zc] parameter. When %t is assigned to Rcenter, then // the Center of Mass of the set of points is set as the rotation center. // Its position AFTER the rotation is returned into Rop(5:7). // // REFERENCE // --------- // Comments, scoring and bug reports are welcome on // http://fileexchange.scilab.org/toolboxes/369000 // // SEE ALSO // -------- // rotate : Compute rotated coordinates of given points in 2D // rotate_axes : Interactively rotate a graphical Axes // move : Translate a graphical element in 2D or 3D // scaling : Apply a 2D homothecy (homogeneous dilatation) to coordinates // of given points. // householder : Symetrize coordinates of given points wrt. a 3D plane (mirror) // //EXAMPLES //======== //// i = unit vector along (Ox), j = along (Oy), k = along (Oz) //Rop = rotate3d([2 0 0 ; 0 3 0]) // (Ox)->(Oy) = +90° around (Oz) //Rop = rotate3d([1 1 0 ; 0 0 1]) // (i+j)->(Oz) = +90° around (i-j) //Rm = rotate3d([4 0 0 -90]); //-90° around (+Ox) = {x'=x, y'=z, z'=-y} //clean(Rm) // //// Rotating the axis of any rotation gives always itself, for any angle: // [a,b,c] = (1,2,3); // [rx, ry, rz] = rotate3d(a,b,c,[a b c %e]); // [rx ry rz] // //// APPLICATION with a set of points: Animation with a rotated object //// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //// Enter "rotate3d demo" to display the script // // --------------------------------------------------------------------- fname = "rotate3d" varargout = list() // Display the help // ---------------- if argn(2)==0 then head_comments(fname) for i = 1:argn(1) varargout(i) = [] end return end // Display the demo script // ----------------------- if argn(2)==1 & type(X)==10 & X=="demo" then tmp = [ "// To run the lines: Select and evaluate or copy/paste in the console" "//" "// APPLICATION with a set of points: Animation with a rotated object" "// --------------------------------" "// Creating the object to be rotated: a truncated ellipsoid" "p = [4 6 4]; // (initial) center position" "a = 4; b = 2; c = 8; // sizes" "phi = linspace(0, 2*%pi, 37);" "theta = linspace(-%pi/2, 0.8, 19)'';" "X = a * cos(theta)*cos(phi) + p(1);" "Y = b * cos(theta)*sin(phi) + p(2);" "Z = c * sin(theta)*ones(phi) + p(3);" "// Closing the truncature:" "tmp = ones(X(1,:));" "X($+1,:) = p(1)*tmp;" "Y($+1,:) = p(2)*tmp;" "Z($+1,:) = Z($,:);" "" "// Function showing the rotation of a given object (set of (X,Y,Z) points)" "function [nX,nY,nZ,Rop,Rm] = anim_rotation(X,Y,Z, Raxis, Rcenter)" " // Setting the graphical axes and its light" " clf" " drawlater" " l = light();" " l.position = [-10 -10 15];" " l.ambient_color = [1 1 1];" " l.light_type = ""point"";" " ax = gca();" " ax.cube_scaling = ""off"";" " axR = [80, 260]" " xgrid(color(""grey80""))" "" " // Drawing the rotation axis:" " if typeof(Rcenter)==""boolean"" & Rcenter then" " C = [mean(X) mean(Y) mean(Z)]" " elseif type(Rcenter)==1" " C = Rcenter" " else " " C=[0 0 0]" " end" " L = 10" " Raxis = Raxis / norm(Raxis) * L" " param3d(C(1) + Raxis(1)*[-1 1], .." " C(2) + Raxis(2)*[-0.7 1], .." " C(3) + Raxis(3)*[-0.7 1] )" " e = gce()" " e.thickness = 2" "" " // Setting the (initial) observation point" " ax.rotation_angles = axR" "" " // Main loop on rotation angles" " for a = 0:10:360 // rotation angles" " drawlater" " ell = findobj(""type"",""Fac3d""); // Graphical address of the object" " delete(ell); // We remove the object from its former position" " [nX, nY, nZ, Rop, Rm] = rotate3d(X,Y,Z, [Raxis a], Rcenter);" " axR = ax.rotation_angles;" " surf(nX, nY, nZ) // Draw the object at its new position + orientation" " s = gce(); // Now we set its surface properties" " s.use_color_material = ""off"";" " s.color_flag = 0;" " s.ambient_color = scolor*0.6;" " s.foreground = addcolor(scolor*0.9);" " s.material_shininess = 10;" " // We now draw a line joining (0,0,0) to the Center of Mass of the object" " param3d([0 Rop(5)], [0 Rop(6)], [0 Rop(7)])" " e = gce(); e.foreground = color(""grey50"")" " ax.isoview = ""on"";" " ax.rotation_angles = axR;" " drawnow" " sleep(100);" " end" "endfunction" "" "scolor = name2rgb(""green"")/255; // change the surface''s color as you wish :)" "Rcenter = %f; // rotation mode. %f is equivalent to [0 0 0]" "Raxis = [0 0 1]; // direction of the rotation axis" "[nX, nY, nZ] = anim_rotation(X, Y, Z, Raxis, Rcenter);" "" "// You can change the Rcenter or/and Raxis value and re-run anim_rotation(..)" " " ] write(%io(2), tmp) for i = 1:argn(1) varargout(i) = [] end return end // CHECKING or INITIALIZING INPUT PARAMETERS // ========================================= if ~or(argn(2)==[1 4 5]) then msg = _("%s: Wrong number of input arguments: %s expected.\n") error(msprintf(msg, fname, 0, "1 | 4 | 5")) end if argn(2)==1 then if ~isdef("Rip","l") if isdef("X","l") Rip = X elseif isdef("Rm","l") Rip = Rm else msg = _("%s: Unknown input argument #%d.\n") error(msprintf(msg, fname, 1)) end end else // 4 or 5 input arguments // X, Y, Z if or([size(Y,"*") size(Z,"*")]~=size(X,"*")) then msg = _("%s: input arguments #1, #2 and #3 must have the same number of elements\n") error(msprintf(msg, fname)) end if or([type(X) type(Y) type(Z)]~=1) then msg = _("%s: input arguments #1, #2 and #3 must be real decimal numbers\n") error(msprintf(msg, fname)) end if ~and([isreal(X) isreal(Y) isreal(Z)]) then msg = _("%s: input arguments #1, #2 and #3: complex numbers are not accepted\n") error(msprintf(msg, fname)) end if type(Rip)~=1 & isreal(Rip) then msg = _("%s: Wrong type for argument #%d: real decimal numbers expected.\n") error(msprintf(msg, fname, 4)) end end // Rip : Rotation parameters // ------------------------ Ripp = 1; if argn(2)>1, Ripp = 4, end if ~and(size(Rip)==[3 3]) & size(Rip,"*")~=4 & .. ~and(size(Rip)==[2 3]) & ~and(size(Rip)==[3 2]) msg = _("%s: Wrong size for input argument #%d: a (3,2) or (2,3) or (3,3) matrix or 4-element vector expected.\n") error(msprintf(msg, fname, Ripp)) end if type(Rip)~=1 | ~isreal(Rip) msg = _("%s: Wrong type for input argument #%d: real decimal numbers expected.\n") error(msprintf(msg, fname, Ripp)) end // Rotation center // --------------- if argn(2)>4 & isdef("Rcenter","l") then if type(Rcenter)~=1 & typeof(Rcenter)~="boolean" then msg = _("%s: Wrong input argument #%d: scalar boolean or vector of 3 decimal numbers expected\n") error(msprintf(msg, fname, 5)) end if typeof(Rcenter)=="boolean" if Rcenter(1) // we compute the center of mass of {X, Y, Z} Rcenter = [ mean(X) mean(Y) mean(Z) ] else Rcenter = [0 0 0] end else if length(Rcenter)~=3 | ~isreal(Rcenter) msg = _("%s: Wrong value for input argument #%d: vector of 3 real numbers expected\n") error(msprintf(msg, fname)) end Rcenter = Rcenter(:)' end else Rcenter = [0 0 0] end // Checking output compliance // -------------------------- if argn(1)>2 if argn(2)<4 then msg = _("%s: Mismatch between the number of input and output arguments. Please check the manual.\n") error(msprintf(msg, fname)) end if argn(1)<3 & argn(2)>1 msg = _("%s: %d extra input arguments => ignored.\n") warning(msprintf(msg, fname, argn(2)-1)) end if argn(1)>5 msg = _("%s: Too many output arguments expected.\n") error(msprintf(msg, fname)) end end // --------------------------------------------------------------------- // PROCESSING // ========== // Setting derived rotation parameters // ----------------------------------- Rm = [] if length(Rip)==4 then Raxis = Rip(1:3) Rangle = pmodulo(Rip(4),360)/180*%pi elseif and(size(Rip)==[2 3]) | and(size(Rip)==[3 2]) if size(Rip)==[2 3] Rip = Rip.' end u = Rip(:,1) v = Rip(:,2) if norm(u)==0 | norm(v)==0 then msg = _("%s: Wrong value for input argument #%d: vectors must be non null.\n") error(msprintf(msg, fname, Ripp)) end // Determining the axis direction and angle Raxis = cross(u, v) tmp = norm(Raxis) if tmp==0 then Rangle = 0 Raxis = %nan*[1 1 1] // undetermined and useless else Rangle = atan(tmp, u'*v) end elseif and(size(Rip)==[3 3]) Rm = Rip if det(Rm)~=1 then msg = _("%s: Wrong value for input argument #%d: rotation matrix (with det(Rm)==1) expected\n") error(msprintf(msg, fname, Ripp)) end u = [1 0 0]' v = Rm*u Raxis = cross(u, v) tmp = norm(Raxis) if tmp==0 then Rangle = 0 Raxis = %nan*[1 1 1] // undetermined and useless else Rangle = atan(tmp, u'*v) end end // Setting the rotation matrix // --------------------------- if Rm==[] then if Rangle==0 Rm = eye(3,3) else Raxis = Raxis/norm(Raxis) a = Raxis(1) b = Raxis(2) c = Raxis(3) Rm = cos(Rangle) * eye(3,3) + .. sin(Rangle) * [0 -c b ; c 0 -a ; -b a 0] + .. (1-cos(Rangle)) * [a b c]'*[a b c] end end // Processing given points // ----------------------- if argn(2)>=4 then // Centering and formating input points s = size(X) X = X(:)' - Rcenter(1) Y = Y(:)' - Rcenter(2) Z = Z(:)' - Rcenter(3) // Performing the rotation nP = Rm * [X ; Y ; Z] // Moving back and formating rotated points nX = matrix(nP(1,:) + Rcenter(1), s) nY = matrix(nP(2,:) + Rcenter(2), s) nZ = matrix(nP(3,:) + Rcenter(3), s) end // Setting Rop // ---------- Rop = [ Raxis(:)'/norm(Raxis) Rangle/%pi*180 ] if argn(2)>=4 Rop = [Rop mean(nX) mean(nY) mean(nZ) ] end // ----------------------------------------------------------------------- // SETTING VARARGOUT // ================= // SYNTAXES // rotate3d // displays this help // Rop = rotate3d(Rm) // Rop = rotate3d(Rip) // [Rop, Rm] = rotate3d(Rip) // [nX, nY, nZ] = rotate3d(X, Y, Z, Rip [, Rcenter] ) // [nX, nY, nZ, Rop, Rm] = rotate3d(X, Y, Z, Rip [, Rcenter] ) lhs = argn(1) if lhs==1 then if or(length(Rip)==[6 9]) varargout(1) = Rop else // length(Rip)==4 varargout(1) = Rm end elseif lhs==2 varargout = list(Rop, Rm) elseif lhs==3 varargout = list(nX, nY, nZ) elseif lhs==4 varargout = list(nX, nY, nZ, Rop) else varargout = list(nX, nY, nZ, Rop, Rm) end endfunction
32c2f9b8658afe73ee351b8dadc7f3a7c4d3a4e7
8b2aadfe2dd241d882213436738542d3f65f4e17
/ModuleTonalitéSynthèse/Module Synthèse/Scilab/instru5.sci
6373e0f009c29532728e7b6ee4b0ea1446403d94
[]
no_license
ahmed-bensaad/FMTM
c764c3162ac6f24f7caa2d0fd99725d4c458efc6
66fd7a477e3addb5a0c3a4d7489daa09fb9c5042
refs/heads/master
2021-09-02T11:04:05.660173
2017-02-06T21:54:09
2017-02-06T21:54:09
115,977,485
0
0
null
null
null
null
UTF-8
Scilab
false
false
378
sci
instru5.sci
function []= instru5(f0,t) a=1; b=1; c=1; fs=5*f0; ts=1/fs; x=[0:ts:t]; epsilon=100; f0=f0+epsilon; pi=3.14159; y1=a*sin(2*pi*f0*x); y2=b*sin(2*pi*4*f0*x); y3=c*(y1+y2)+sin(2*pi*f0*x); y4=[0:ts:t]; n=length(y4); for i=1:n y4(i)=sin(2*pi*y3(i)*x(i)); end sound(y4,fs); endfunction
7d0e1856e6e052fc5ca8eacddc6d7317f13b4327
449d555969bfd7befe906877abab098c6e63a0e8
/1682/CH8/EX8.3/Exa8_3.sce
24b921f841fc504d3741e37dfe6bc872e191c090
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
608
sce
Exa8_3.sce
//Exa 8.3 clc; clear; close; //Given data : FC=20000;//in Rs. i=15;//in % per annum disp("The details are summarized in Table 8.4. It can be seen from the book."); disp("Total annual equivalent cost = [summation of PW of maintenance cost + FC]]*(A/P,15,n)"); disp("(column E + Rs. 6000)* Column G"); disp("Column F * Column G"); disp("In column H, the minimum annual equivalent cost occurs when n=8. Therefore, the economic life of the machine B is 8 years. "); disp("RESULT : Min annual equivalent cost for machine A : Rs. 2780"); disp("Min annual equivalent cost for machine B : Rs. 3672.30");
ca9d3ccd0a41b3fd3cc63c2530be1cda2c3e1ecb
3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc
/Área 1/Aula 6/MetodoGaussSeidelCompleto.sce
08f366431d5accd213a7c2f841b3eaffd4f286df
[ "MIT" ]
permissive
JPedroSilveira/numerical-calculus-with-scilab
32e04e9b1234a0a82275f86aa2d6416198fa6c81
190bc816dfaa73ec2efe289c34baf21191944a53
refs/heads/master
2023-05-10T22:39:02.550321
2021-05-11T17:17:09
2021-05-11T17:17:09
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
987
sce
MetodoGaussSeidelCompleto.sce
//A = Matriz //b = Vetor //x = Vetor //tol = Tolerância para considerar convergente //N = Número máximo de iterações function [x,deltax] = gauss_seidel(A,b,x,tol,N) n = size(A,1) xnew = x //Para inicializar o tamanho de xnew com o tamanho de x convergiu = %F k = 1 while k<=N & ~convergiu xnew(1) = (b(1) - A(1,2:n)*x(2:n))/A(1,1) for i = 2:n-1 //Muda apenas o uso do xnew em vez de x nesta equação e na última comparado com o método de Jacobi xnew(i) = (b(i) - A(i,1:i-1)*xnew(1:i-1) - A(i,i+1:n)*x(i+1:n))/A(i,i) end //Muda o uso do xnew aqui também xnew(n) = (b(n) - A(n,1:n-1)*xnew(1:n-1))/A(n,n) deltax = max(abs(x-xnew)) if deltax < tol then convergiu = %T end k = k+1 x = xnew //atualiza x disp([k,x',deltax]) //depuração end if ~convergiu then error('Não convergiu') end endfunction
46e5ebfc4ae8a30214d6ba24cf33af1131fb18dd
449d555969bfd7befe906877abab098c6e63a0e8
/3161/CH10/EX10.3/Ex10_3.sce
998794f6c52f996273ae614d61aee17a60aaae10
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
493
sce
Ex10_3.sce
clc; //page 520 //problem 10.3 // Part (a) //Input SNR SNR_ip SNR_ip = 1000; //Beta B B = 10; //Output SNR SNR_op SNR_op = (1.5*(B^2)*SNR_ip)/(1 + (12*B/%pi)*(SNR_ip)*exp(-0.5*(1/(B+1))*(SNR_ip))); disp('Output SNR is '+string(10*log10(SNR_op))+' dB'); // Part (b) //Input SNR SNR_ip SNR_ip = 10; //Output SNR SNR_op SNR_op = (1.5*(B^2)*SNR_ip)/(1 + (12*B/%pi)*(SNR_ip)*exp(-0.5*(1/(B+1))*(SNR_ip))); disp('Output SNR is '+string(10*log10(SNR_op))+' dB');
d0f9bea7e116816c65ea8d56d185c9738da382ff
a439c420539294c6e178cc89c43c4231246f9cbe
/Scripts/Integration/Simp_composite.sci
8be6f75faf25f94282e7f21270323ed0a5d64b6c
[]
no_license
PirateKing19902016/Scilab-Spoken-Tutorials
b7927e196acbefa47abdbdeb326d37385d5cbc34
a110fc425c123f7041cb9ee8eca42ce08619ae60
refs/heads/master
2021-05-02T06:14:37.089440
2018-02-09T16:23:27
2018-02-09T16:23:27
120,855,481
0
0
null
null
null
null
UTF-8
Scilab
false
false
544
sci
Simp_composite.sci
//************************************************************** //****** Composite Simpson's Rule *** // By Manas,FOSSEE,IITB *** //************************************************************** function I = Simp_composite(f, a, b, n) h = (b-a)/n x = linspace(a, b, n) for i = 1:(n/2)-1 x1(i) = x(2*i) end for j = 2:n/2 x2(i) = x(2*i-1) end I = (h/3)*(f(x(1)) + 2*sum(f(x1)) + 4*sum(f(x2)) + f(x(n))) disp(I)
37bb09968e6777c1e3669b683d00898f610726b4
449d555969bfd7befe906877abab098c6e63a0e8
/2660/CH2/EX2.6/Ex2_6.sce
cd1e28336ba32bcde28b1f5f3ac8d13efe103f5e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
682
sce
Ex2_6.sce
clc D = 25.4 // outside diameter in mm d = 12.7 // internal diameter in mm t = 1.5 // thickness in mm tau = 280 // ultimate shearing strength in N/mm^2 F = %pi*(D + d)*t*tau // total cutting force in N F_s = %pi*D*t*tau // cutting force when punches are staggered in N k = 0.6 // penetration i = 1 // shear of punch in mm F_p = (t*k*F)/(k*t +i)// cutting force when both punches act together in N printf ("\n shear force when both punch act at same time and no shear is applied = %0.2f kN" , F/1000) printf("\n cutting force when punches are staggered = %0.1f kN", F_s/1000) printf("\n cutting force when there is penetration and shear on punch = %0.1f kN",F_p/1000)
ca147725f2210a23a9a1bb7d04c18813d59143ea
66106821c3fd692db68c20ab2934f0ce400c0890
/test/jintgen/unr_type_03.tst
a2f037f577f4170b04db5eb458a98361932211c2
[]
no_license
aurelf/avrora
491023f63005b5b61e0a0d088b2f07e152f3a154
c270f2598c4a340981ac4a53e7bd6813e6384546
refs/heads/master
2021-01-19T05:39:01.927906
2008-01-27T22:03:56
2008-01-27T22:03:56
4,779,104
2
0
null
null
null
null
UTF-8
Scilab
false
false
168
tst
unr_type_03.tst
// @Harness: verifier // @Purpose: "Test for unresolved types" // @Result: "UnresolvedType @ 6:27" architecture unr_type_03 { subroutine foo(e: int): duck { } }
1242f8d34ed1fdc82015a33f3a7afd6597575c67
449d555969bfd7befe906877abab098c6e63a0e8
/70/CH4/EX4.4.1/4_4_1.sci
20806f3d6d76824a413991d60257865116d4d00b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
232
sci
4_4_1.sci
//282 clear; close; clc; A=[1 1 1;0 1 1;0 0 1]; disp(A,'A=') n=size(A,1); d=1:n-1; B=zeros(n); AA=[A,A;A,A]'; for j=1:n for k=1:n B(j,k)=det(AA(j+d,k+d)); end end disp(B,'Adjoint of A:'); disp(B/det(A),'inv(A):'); //end
8990e2a0ead1b1a1f6b6b15cd86655ab25ea2230
a5d4d1ba9fbd850fd1b347f416b54bb59fdd82c4
/static/tmp/ddgjQboXQoZYkV7ll9Gy4qCq3DNqySGi.sci
f53ceb7e53815d37dee452a77a78e65753b1111a
[]
no_license
guptasankalp/scilab_on_cloud_django_project
f144090f136ef96bf7ade8af707336e8bb5bc3c3
40dacbe46b4e47613fc9c6af71e96dd42c3624b0
refs/heads/master
2021-01-25T04:43:07.703867
2017-06-06T11:42:27
2017-06-06T11:42:27
93,474,091
0
0
null
null
null
null
UTF-8
Scilab
false
false
588
sci
ddgjQboXQoZYkV7ll9Gy4qCq3DNqySGi.sci
driver("PNG"); xinit(""); mode(2); lines(0); //Solved Example 2: //Implementing Stack using union: ('hh') function[stack]=sta_union(etype,a) stackelement=struct('etype',etype); [k,l]=size(a); select stackelement.etype, case 'int' then a=int32(a); stack=struct('top',l,'items',a);, case 'float' then a=double(a); stack=struct('top',l,'items',a);, case 'char' then a=string(a); stack=struct('top',l,'items',a);, end disp(stack,"Stack is:"); endfunction a=[32 12.34 232 32.322] stack=sta_union('float',a) stack=sta_union('int',a) stack=sta_union('char',a) xend(); quit();
e01fa133e1df22bfa5cdc10d87cebfb60b59a173
08bfc8a1f8e44adc624d1f1c6250a3d9635f99de
/SDKs/swig/Examples/test-suite/scilab/overload_simple_runme.sci
182cd343d780eee76e15cdfa5b13a2e68711271c
[]
no_license
Personwithhat/CE_SDKs
cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02
7afbd2f7767c9c5e95912a1af42b37c24d57f0d4
refs/heads/master
2020-04-09T22:14:56.917176
2019-07-04T00:19:11
2019-07-04T00:19:11
160,623,495
0
0
null
null
null
null
UTF-8
Scilab
false
false
129
sci
overload_simple_runme.sci
version https://git-lfs.github.com/spec/v1 oid sha256:838b30fc8ee7f0593800017d06c11a9c3712de5aed0188db25facbaacd018464 size 2041
b36322015d75ce730cf68e4a957c01992b1b1b5f
449d555969bfd7befe906877abab098c6e63a0e8
/149/CH21/EX21.2.3/ques2_3.sce
5215ed91032a3bd8a42b3c75775f131f96551438
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
134
sce
ques2_3.sce
//ques1(ii) clc disp('To find the laplace of given function in t '); syms t s f=exp(4*t)*(cos(t)*sin(2*t)); disp(laplace(f,t,s));
bfa71f3539f7cf953ba17edcc9c679f1a9bf6176
449d555969bfd7befe906877abab098c6e63a0e8
/1760/CH8/EX8.48/EX8_48.sce
0ffe7800537cff0964e8ab581a67fe1e98014b5a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
229
sce
EX8_48.sce
//EXAMPLE 8-48 PG NO-561 R=300; N=31.62; R1=[(N-1)/N]*R; R2=R/(N-1); disp('i) RESISTANCE (R1) is = '+string (R1) +' ohm '); disp('ii) RESISTANCE (R2) is = '+string (R2) +' ohm ');
9644847fc581bae19476d4c4df4a45f6443aa02b
449d555969bfd7befe906877abab098c6e63a0e8
/1514/CH16/EX16.3/16_3.sce
b08ca9721912d289d4ae51499f31c38611bd3d0e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
701
sce
16_3.sce
//chapter 16 //example 16.3 //page 477 clear all; clc ; //given Vr=2;//ripple voltage Eo=20;//supply voltage Eomin=Eo-1; Eomax=Eo+1; theta=65;//in degrees T2=4.17;//time for 90 degrees ms T3=3;//time for theta ms Il=40;//mA t2=1.17;//ms t1=T2+T3; C=Il*t1/Vr; printf("\nReservoir capacitor is %d microF,use standard value 150 microF",(C)) //diode peak repetitive current Ifm=(Il*(t1+t2)/t2);//mA printf("\ndiode peak repetitive current IFM(rep)=%d mA",Ifm) //diode avg forward current Io=Il/2; printf("\ndiode average forward current(Io)=%d mA",Io); //diode maximum reverse voltage Vp=Eomax+2*0.7;//Vf=0.7V Er=Vp; printf("\nEr=%.1f V",Er); printf("\n1N4001 is required")
8be3984b6b7e427efe70de05ba09f34b9e1ea875
449d555969bfd7befe906877abab098c6e63a0e8
/10/CH10/EX5/cha10_5.sce
90a1e887f99bdf78194802579a5daf2739b4ec66
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
cha10_5.sce
Ka=0.1;Ra=0.2;N=400; Ia=100;V=120;N1=350; Io=-100; Ea=Ka*N Vo=Ea+(Ia*Ra) Pmotor=Ea*Ia Pr=Ia^2*Ra Ps=V*Ia*0.5 Ea1 = Ka*N1; Vo=Ea1+(Ia*Ra) Vo=Ea1+(Io*Ra) Pmotor1=Ea1*Io Pr1=Ia^2*Ra Ps=V*Io*1/8
49e3689f7a82b48912875fb1ba1fd543e5185c54
5f48beee3dc825617c83ba20a7c82c544061af65
/tests/s/14.tst
9876fd7250c98b1cd146d7830993a1316daa88fc
[]
no_license
grenkin/compiler
bed06cd6dac49c1ca89d2723174210cd3dc8efea
30634ec46fba10333cf284399f577be7fb8e5b61
refs/heads/master
2020-06-20T12:44:17.903582
2016-11-27T03:08:20
2016-11-27T03:08:20
74,863,612
3
0
null
null
null
null
UTF-8
Scilab
false
false
24
tst
14.tst
int (*x)[5][6][7][8][9];
d441c8e0846fbc6972bb32d574b91c9c9bfd36bd
449d555969bfd7befe906877abab098c6e63a0e8
/182/CH7/EX7.8/example7_8.sce
58c2cb0ddb6e130b47dc43a2b1a6502fc58f23b1
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
example7_8.sce
// to find the volume resistance and the surface leakage resistance // example 7-8 in page 180 clc; //Data given Is=5e-6;// surface current in ampere Iv=1.5e-6;// volume current in ampere E=10000;// supply voltage in volt // calculation printf("volume resistance=%0.1e ohm\n",E/Iv); printf("surface leakage resistance=%0.1e ohm",E/(Is-Iv)); //result //volume resistance=6.7e+009 ohm //surface leakage resistance=2.9e+009 ohm
6eb4fc753170c5694f6d183dc517daf5dc2d0253
449d555969bfd7befe906877abab098c6e63a0e8
/3637/CH1/EX1.3/Ex1_3.sce
892fc5bb9d57052c86fac3a6f96f9102b273349a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
145
sce
Ex1_3.sce
//Example 3 Page No: 1.84 //given V=20; t=4; //determine slew rate format(6); w=V/t; disp('slew rate = '+string(w)+' volt/μsec');
395d386119e279c93feebba64f9a5fcf86d8c26d
449d555969bfd7befe906877abab098c6e63a0e8
/1922/CH4/EX4.4/4_4.sce
c8cc859679b78c6edbab278e11963a073fa89c3f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
647
sce
4_4.sce
clc clear //Initialization of variables s1=7.096 //kJ/kg K s2=7.915 //kJ/kg K s3=7.16 //kJ/kg K s4=7.014 //kJ/kg K s5=6.999 //kJ/kg K //calculations dsa=s2-s1 dsb=s3-s2 dsc=s4-s3 dsd=s5-s4 dse=s1-s5 dstotal=dsa+dsb+dsc+dsd+dse //results printf("Change in entropy in process a =%.3f kJ/kg K",dsa) printf("\n Change in entropy in process b =%.3f kJ/kg K",dsb) printf("\n Change in entropy in process c =%.3f kJ/kg K",dsc) printf("\n Change in entropy in process d =%.3f kJ/kg K",dsd) printf("\n Change in entropy in process e =%.3f kJ/kg K",dse) printf("\n Change in entropy in total process =%.3f kJ/kg K",dstotal)
618ce2347a0bf4d80d9e669aa8a5c6be3d3dfb07
ab0891df3df62a84b3bc60ee178e2d84b0d692c5
/Sample_Toolbox/tests/demo.tst
d6eb43047be3ff8d2db04d9ce533e393067af3cb
[ "MIT" ]
permissive
sidgairo18/SCILAB_MEX_TOOLBOX
6b36c8b5dd21bb15d942a283ebfe2366a7ac02ec
fc679f6d226c03b992b632823a5e57abea05cefa
refs/heads/master
2020-03-19T04:03:55.721880
2018-08-14T11:22:24
2018-08-14T11:22:24
135,791,680
0
0
null
null
null
null
UTF-8
Scilab
false
false
98
tst
demo.tst
// load the shared library exec loader.sce ; // run tests a = [1 2 3 4 5 6]; out = eops(a);
2a9685451955e5ab3cfb7adb08f81ee77a7e0a4b
449d555969bfd7befe906877abab098c6e63a0e8
/2660/CH14/EX14.1/Ex14_1.sce
56c1273eddcefc584b85619b9dc2741a11290dfa
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
236
sce
Ex14_1.sce
clc v1 = 18 // cutting speed in m/min t1 = 3 // tool life in hours n = 0.125 // exponent c = v1*(t1*60)^n // constant v2 = 24 // cutting speed in m/min t = (c/v2)^(1/0.125) // tool life in min. printf("Tool life = %d min." , t)
bd6a7914b0ba1f34759640d75949f8f1317f3594
af86eb5dd11a276a153a618491fd2a0af057d237
/Communication Engineering - Scilab/PSK.sce
a8d4a4919db2c729371b14e37a7d38a613018d5d
[]
no_license
gsiddhad/Mathematics
c2b2b78536e0769ea65791128b12aceea3c6f720
4bf16c674d84d1498b874c0f3b3d4b31785aae47
refs/heads/master
2023-03-06T02:52:46.933057
2021-02-20T11:17:58
2021-02-20T11:17:58
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
360
sce
PSK.sce
clear all; close all; A=5; t=0:0.001:1; f1=10; f2=2; x=A.*sin(2*pi*f1*t); subplot(3,1,1); plot(t,x); title('carrier signal') xlabel('time'); ylabel('amplitude'); u=square(2*pi*f2*t); subplot(3,1,2); plot(t,u); title('modulating signal') xlabel('time'); ylabel('amplitude'); v=x.*u; subplot(3,1,3); plot(t,v); xlabel('time'); ylabel('amplitude'); title('psk');
3ac8c48d595561c918925c1359c9d214dec1102b
33d7960e39a3e71591538dccbe1dd4014c377e78
/Sample Solution/CompFin_2017_SS_Exercise_06_MathQF.sce
7f05bb8b9945c73156f2bcd3f2c47bd9d38dd035
[]
no_license
wiiwins/Compfin
529e2997994babb9e3795283ddbd8ec782131148
2629685421e970a369ec797b76dda3d2803bcbcf
refs/heads/master
2020-05-18T01:25:39.357847
2019-06-27T11:21:46
2019-06-27T11:21:46
184,090,400
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,616
sce
CompFin_2017_SS_Exercise_06_MathQF.sce
function [V_0,t] = CRR_AmPut (S_0, r, sigma, T, K, M) // Compute values of u, d and q according to Equations (2.4)--(2.7). delta_t = T/M; alpha = exp(r*delta_t); beta = 1/2 * ( 1/alpha + alpha*exp(sigma^2*delta_t) ); u = beta + sqrt(beta^2-1); d = 1/u; q = ( exp(r*delta_t)-d ) / ( u-d ); S=ones(M+1,M+1); // auxiliary matrices to build the stock price matrix for i=1:M+1 for j=1:i //S(j,i) is the stock price at time t_{i-1) (1 <= i <= M+1) if // j-1 (1<=j<=i) upward jumps occured S(j,i) = S_0*u^(j-1)*d^(i-j) end end // V(j,i) will in the end contain the price of the American put at // time t_{i-1) (1 <= i <= M+1) if j-1 (1<=j<=i) upward jumps occured. // Initialize first with -1es. V = -ones(M+1, M+1); // The prices of the put at time t_M are given by the exercise function only. V(:,M+1) = max(K-S(:,M+1), 0); // Compute the put prices at times t_i (0<=i<=M-1) via the Snell envelope by // backward recursion (cf. Section 2.3). for k=M:-1:1 V(1:k,k) = max( K-S(1:k,k), exp(-r*delta_t) * ( q*V(2:k+1,k+1) + (1-q)*V(1:k,k+1) ) ); end // Return the price of the put at time t_0 = 0. V_0 = V(1,1); endfunction // test parameters S_0 = 100; r = 0.03; sigma = 0.24; T = 3/4; K = 95; M = 500; // apply the function tic() V_0 = CRR_AmPut(S_0, r, sigma, T, K, M) toc() // display the price for the test parameters disp("The price of the American put option for the test parameters is given by: " + string(V_0) );
f00b8ffc27fde4ee1eeaba94f49d6497d5cbbd97
42fdf741bf64ea2e63d1546bb08356286f994505
/data_for_calibration_paper/XOR_hyperplane.sce
d8720894c9c1c90fb94c1fc621908823679d4acc
[]
no_license
skim819/RASP_Workspace_sihwan
7e3cd403dc3965b8306ec203007490e3ea911e3b
0799e146586595577c8efa05c647b8cb92b962f4
refs/heads/master
2020-12-24T05:22:25.775823
2017-04-01T22:15:18
2017-04-01T22:15:18
41,511,563
1
0
null
null
null
null
UTF-8
Scilab
false
false
1,427
sce
XOR_hyperplane.sce
min_Vout=0.5; x1_x2=[linspace(2.1,2.5,21)' linspace(2.1,2.5,21)'] xor_result=csvRead("XOR_hyperplane_data_before_compensation"); scf(1);clf(1); [xx,yy,zz]=genfac3d(x1_x2(:,1),x1_x2(:,2),xor_result); zz(1,1)=min_Vout;zz(1,2)=2.5; plot3d(xx,yy,list(zz, zz)); f=gcf(); f.color_map = graycolormap(512); h=gce(); h.color_flag=1; //color according to z a = gca(); a.data_bounds=[2.2 2.2 0; 2.5 2.5 2.5]; a.rotation_angles=[0,270]; colorbar(min_Vout,2.5); x1_x2=[linspace(2.1,2.5,21)' linspace(2.1,2.5,21)'] xor_result=csvRead("XOR_hyperplane_data_after_compensation"); scf(2);clf(2); [xx,yy,zz]=genfac3d(x1_x2(:,1),x1_x2(:,2),xor_result); zz(1,1)=min_Vout;zz(1,2)=2.5; // Forcing min & max plot3d(xx,yy,list(zz, zz)); f=gcf(); f.color_map = graycolormap(512); h=gce(); h.color_flag=1; //color according to z a = gca(); a.data_bounds=[2.2 2.2 0; 2.5 2.5 2.5]; a.rotation_angles=[0,270]; colorbar(min_Vout,2.5); //x1=linspace(2.1,2.5,2)'; //x2= linspace(2.1,2.5,21)'; //standtard_xor=[linspace(min_Vout,2.5-min_Vout,21); linspace(min_Vout,2.5-min_Vout,21);]; //scf(3);clf(3); //[xx,yy,zz]=genfac3d(x1(:),x2(:),standtard_xor); //zz(1,1)=min_Vout;zz(1,2)=2.5-min_Vout; // Forcing min & max //plot3d(xx,yy,list(zz, zz)); //f=gcf(); f.color_map = graycolormap(512); //h=gce(); h.color_flag=1; //color according to z //a = gca(); a.data_bounds=[2.1 2.1 0; 2.5 2.5 2.5]; //a.rotation_angles=[0,270]; //colorbar(min_Vout,2.5-min_Vout);
2223ac9d621ec4cbba2d5e8bbeec42823bed2556
e82d1909ffc4f200b5f6d16cffb9868f3b695f2a
/Lista 10/Lista Baron/Questao_3.sci
63a1a057d2a2bbf5d638e146302fe501661674a2
[]
no_license
AugustoCam95/Computational-Linear-Algebra
eb14307dd3b45ccc79617efe74d1faca639c36c5
99b1a1f9499fbc4343bd5c878444e9e281952774
refs/heads/master
2020-03-30T22:26:23.790763
2018-10-05T03:34:06
2018-10-05T03:34:06
151,666,289
0
0
null
null
null
null
UTF-8
Scilab
false
false
751
sci
Questao_3.sci
function Questao_3() //monto o meu vetor x com valores randômicos x=zeros(101,1) for i=1:101 x(i,1)=floor(abs(10*rand())) end //A eu recebo da questão 2 A=Questao_2() //Pego b do sistema Ax=b <-> b=Ax b=A*x [x1,niter1]=sor(A,b,1.1) [x2,niter2]=sor(A,b,1.2) [x3,niter3]=sor(A,b,1.3) [x4,niter4]=sor(A,b,1.4) [x5,niter5]=gaussseidel(A,b) [x6,niter6]=GradConj(A,b,0.00000001) disp('Sor com w=1.1') disp(niter1) disp('Sor com w=1.2') disp(niter2) disp('Sor com w=1.3') disp(niter3) disp('Sor com w=1.4') disp(niter4) disp('Guass-Seidel') disp(niter5) disp('Gradiente conjugado') disp(niter6) endfunction
8f294cea9e8ef9a0590316063aa5205cb48b9948
449d555969bfd7befe906877abab098c6e63a0e8
/2381/CH12/EX12.1/ex_1.sce
1b1a3786f48e06b2b41f8dd95f1996c923f0d7c6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
107
sce
ex_1.sce
//Example 1// Speed clc; clear; close; //given data : vl=166;//m/s v=(2*vl);//m/s disp(v,"speed is,(m/s)")
243cb1b2a639b60ba81a1ba1ef514e01165956c8
449d555969bfd7befe906877abab098c6e63a0e8
/3556/CH2/EX2.1/Ex2_1.sce
148dbf6b3307dd75d2c5e7b3cc06ea74b7e8bc6c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
450
sce
Ex2_1.sce
clc // Fundamental of Electric Circuit // Charles K. Alexander and Matthew N.O Sadiku // Mc Graw Hill of New York // 5th Edition // Part 1 : DC Circuits // Chapter 2: Basic Laws // Example 2 - 1 clear; clc; close; // // Given data v = 120.00; i = 2.00; // // // Calculations Resistance R = v/i; // // Display the result disp("Example 2-1 Solution : "); printf(" \n R : Resistance = %.3f Ohm ", R);
f39bbd5ecc7a849cd5a1c58db85b7a53f957d05e
449d555969bfd7befe906877abab098c6e63a0e8
/1592/CH8/EX8.8/Example_8_8.sce
474e6cae3294a58255d97837cc65dc2e1f9b2799
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
268
sce
Example_8_8.sce
//Scilab Code for Example 8.8 of Signals and systems by //P.Ramakrishna Rao clear; clc; syms R L C s I; X=I*(R+1/(C*s)); Y=R*I; Z=Y/X; disp(Z,'(a) RC High pass Filter: H(s)'); X=I*(L*s+1/(C*s)); Y=I/(C*s); Z=Y/X; disp(Z,'(b) LC Low pass Filter: H(s)');
a3011300f6e0182bcbc76d4d4ee9a61db08f3777
449d555969bfd7befe906877abab098c6e63a0e8
/1187/CH3/EX3.5/5.sce
65c95334b972ed9b5ee39175c6b74edcaa1a360b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
342
sce
5.sce
clc Cd=0.62; g=9.81; // m/s^2 d=0.1; // m d0=0.06; // m d1=0.12; // m rho=1000; // kg/m^3 rho_m=13600; // kg/m^3 rho_f=0.86*10^3; //kg/m^3 A0=%pi/4*d0^2; A1=%pi/4*d1^2; p_diff=(rho_m-rho_f)*g*d; h=p_diff/rho_f/g; Q=Cd*A0*((2*g*h)/(1-(A0/A1)^2))^(1/2); m=rho_f*Q; disp("Mass flow rate = ") disp(m) disp("kg/s")
727bf788039a45150985c73de12bae1a65bfaff5
449d555969bfd7befe906877abab098c6e63a0e8
/3311/CH3/EX3.1/Ex3_1.sce
e1880827878027555ff3598a8eaf52db3e0830e1
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
517
sce
Ex3_1.sce
// chapter 3 // example 3.1 // fig. E3.11 // Determine the trigger angle // page-87 clear; clc; // given Ig=0.1; // in mA (minimum gate current) Vg=0.5; // in V (minimum gate voltage) Emax=24; // in V (peak amplitude of input) Rv=100; // in k-ohm Rmin=10; // in k-ohm Vd=0.7; // in V (threshold voltage for diode) // calculate e_s=Ig*(Rv+Rmin)+Vd+Vg; // Applying KVL in the loop // since e_s=Emax* sin(alpha) alpha=asind(e_s/Emax); // calculation of trigger angle printf("The trigger angle is \t %.1f degree",alpha);
e49c4254523b7447403039fc29c1e1ddf9eaefb0
449d555969bfd7befe906877abab098c6e63a0e8
/3411/CH6/EX6.5.u1/Ex6_5_u1.sce
123f68d10ee92e06536d39ec7856dbde71ce5f59
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
462
sce
Ex6_5_u1.sce
//Example 6_5_u1 clc(); clear; //To find the wavelength of the radiation emitted h=6.63*10^-34 //units in m^2 kg s^-1 c=3*10^8 //units in meter/sec kb=1.38*10^-23 //units in m^2 kg s^-2 K^-1 T=300 //units in K lamda=(h*c)/(kb*T) //units in microns lamda=lamda*10^6 //units in micro meters printf("The wavelength of the radiation emmitted is lamda=%.2f um",lamda)
5e5704702aa523da749e820773669c6a8c96bf4c
449d555969bfd7befe906877abab098c6e63a0e8
/2891/CH1/EX1.4/Ex1_4.sce
c420b26994482e5622a743967544c8dd2a54fc5a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
296
sce
Ex1_4.sce
//Exa 1.4 clc; clear; close; function[V]=crossprod(A,B) // defining a function v V(1)=A(2)*B(3)-A(3)*B(2) V(2)=A(3)*B(1)-A(1)*B(3) V(3)=A(1)*B(2)-A(2)*B(1) endfunction //given: A=[2,1,2] // vector A B=[1,2,1] // vector B P=crossprod(A,B) disp(P,"cross product of vectors A and B:")
a1d02c0934e61fc11e76f17a01032c524b84b665
449d555969bfd7befe906877abab098c6e63a0e8
/401/CH14/EX14.4/Example14_4.sce
38cac7c7b46d59581e14459668b2a703ad97982c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
616
sce
Example14_4.sce
//Example 14.4 //Program to calculate: //(a)3 dB Pulse Broadening in ns/km //(b)Fiber Bandwidth-Length product clear; clc ; close ; //Given data tau_o=12.6; //ns - 3 dB width of Output Pulse tau_i=0.3; //ns - 3 dB width of Input Pulse L=1.2; //km - LENGTH //(a)3 dB Pulse Broadening in ns/km tau=sqrt(tau_o^2-tau_i^2)/L; //(b)Fiber Bandwidth-Length product Bopt=0.44/tau; //Displaying the Results in Command Window printf("\n\n\t (a)3 dB Pulse Broadening is %0.1f ns/km.",tau); printf("\n\n\t (b)Fiber Bandwidth-Length product is %0.1f MHz km.",Bopt*10^3);
6b5ac82134356c81afbc2074b704f808a02cd1d9
449d555969bfd7befe906877abab098c6e63a0e8
/761/CH8/EX8.5/8_5.sce
aae8e89710b08d42dfd064b04d61277fbc58862e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
315
sce
8_5.sce
clc; // page no 326 // prob no 8.5 //Refering the fig.8.15 channel 12 has lowest carrierr freq 64 kHz F=64; c_total=12; //Carrier freq goes up 4kHz per channel f_up=4; //Determination of carrier freq for channel 5 c=5; fc=F+(f_up*(c_total-c)); disp('kHz',fc,'The value of carrier freq for channel 5 is');
ec875db4dd4b4653e78527bf24baded496a522c5
449d555969bfd7befe906877abab098c6e63a0e8
/1793/CH11/EX11.4/11Q4.sce
9cddb334dd4f8911bfb921c1f323fcbd8a103008
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
418
sce
11Q4.sce
clc Gd=14 Gss=18 Gsc=19 Gw=9.81 To= 2*Gd+4*(Gss-Gw)+2*(Gsc-Gw) LL=40 Cc=0.009*(LL-10) H=4 T=100 e=0.8 Sc= Cc*H*log10((To+T)/To)/(1+e) printf('a)Primary Consolidation Sc = %f m\n',Sc) Tc=190 Cs=Cc/6 Sc= Cs*H*log10((To+T)/To)/(1+e) printf(' b)Primary Consolidation Sc = %f m\n',Sc) Tc=170 Sc= Cc*H*log10((To+T)/Tc)/(1+e)+ Cs*H*log10(Tc/To)/(1+e) printf(' c)Primary Consolidation Sc = %f m\n',Sc)
9fa9dd579fc4dfa34949c8278de2b800cd0debd4
449d555969bfd7befe906877abab098c6e63a0e8
/3137/CH7/EX7.2/Ex7_2.sce
a60c93e2146ead30dad4cdd3d8afe2bb85d30736
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
673
sce
Ex7_2.sce
//Initilization of variables s=4 //m length of sides l=2 //kN load acting on each node r=7 //kN by inspection reaction at A //Calculation //Taking Moment about point G FH=(-r*12+2*10+2*6+2*2)/(2*tand(60)) //kN Compressive //Taking moment about point H GI=(r*14-2*12-2*8-2*4)/(2*tand(30)) //kN Tension //Summing forces in the vertical direction HG=-(r-(l*3))/sind(60) //kN Compression //Taking moment about point J yields IK=(-2*4-2*8+r*10)/(2*tand(60)) //kN //Result clc printf('The value of the forces in the components are as follows\n') printf('FH=%fkN,GI=%fkN,HG=%fkN and IK=%fkN\n',FH,GI,HG,IK) printf('The answer in the text book for GI is wrong')
3cecb86c68449eb5431e27416ced1cca6b066e1e
449d555969bfd7befe906877abab098c6e63a0e8
/2240/CH20/EX19.7/EX19_7.sce
353bbc604dc7453a4f626e918b67b4e00efec47b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
427
sce
EX19_7.sce
// Grob's Basic Electronics 11e // Chapter No. 19 // Example No. 19_7 clc; clear; // A coil L1 produces 80 uWb of magnetic flux. Of this total flux, 60 uWb arelinked with L2. How much is k between L1 and L2? // Given data lf1 = 80*10^-6; // Magnetic flux of coil L1=80 uWb lf2 = 60*10^-6; // Magnetic flux of coil L2=60 uWb k = lf2/lf1; disp (k,'The Coefficient of Coupling k between Coil L1 and Coil L2 is')
a2d604513738d479035eed0df9fb4646df23dac4
449d555969bfd7befe906877abab098c6e63a0e8
/3526/CH3/EX3.3/EX3_3.sce
56c0c9094a8170822b0fb925161c9c2d14b03ceb
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
351
sce
EX3_3.sce
//page 56 clc;funcprot(0);//EXAMPLE 3.14 // Initialisation of Variables r=1;.........// one unit of radius of each atom of FCC cell a0=(4*r)/sqrt(2);..........//Lattice constant for FCC cell v=(4*%pi*r^3)/3;.........//volume of one atom in FCC cell Pf=(4*v)/(a0)^3;........//Packing factor in FCC cell disp(Pf,"Packing factor in FCC cell")
8ae2fe147ce04dbcfa28958976dfb58d0d31f9ff
449d555969bfd7befe906877abab098c6e63a0e8
/2741/CH3/EX3.7/Chapter3_Example7.sce
5f2ba36b32c8749a947eaa7e63df7d485199e227
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
644
sce
Chapter3_Example7.sce
clc clear //Input data t2=2;//The time taken for the liquid to cool from 50 to 40 degree centigrade in minutes t11=50;//The initial temperature of the liquid in degree centigrade t12=40;//The final temperature of the liquid in degree centigrade t1=5;//The time taken for the water to cool from 50 to 40 degree centigrade in minutes m=100;//The mass of water in gms M=85;//The mass of liquid in gms w=10;//Water equivalent of the vessel in gms //Calculations C=(((m+w)*(t2*60))/(M*(t1*60)))-(w/M);//The specific heat of a liquid in calories/g-K //Output printf('The specific heat of a liquid is C = %3.1f calories/g-K',C)
616b9d574f802ee5b7ad90393f020efe6fb4fa09
a12c936b0e7bc46c8a362d80f5bf785ade423b5b
/bisseccao.sce
e14093607d03b814e79bb913d44fc637ab18640e
[]
no_license
moreirapenna2/Trabalho1CN
bdf68a26a88f5bd5f90d968a21a8cd5774438a98
30d69b1fa8879b8f598ee6735faa507a929d6c9b
refs/heads/master
2020-08-02T02:51:10.133915
2019-09-27T01:48:43
2019-09-27T01:48:43
211,214,049
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,093
sce
bisseccao.sce
function []=bissecao(a, b, f) //define a funcao TOL = 1e-4; // erro NMAX = 100; // numero maximo de iteracoes c = (a+b)/2; // X (meio) i = 0; // contador de iteracoes printf("%-4.11s %-12.11s %-12.11s %-12.11s %-12.11s \n","I","A","B","X","Y") if (f(c) == 0) // se o ponto do meio for a raiz disp(['Raiz: ' string(c)]); else while ((abs(f(c)) > TOL) & (i <= NMAX)) if (sign(f(c)) == sign(f(a))) // se X tiver o mesmo sinal (++ ou --) que a a = c; else // se X tiver o mesmo sinal que b b = c; end c = (a+b)/2; // atualiza o X printf("%-4.11g %-12.11g %-12.11g %-12.11g %-12.11g\n", i, a, b, c, f(c)); i = i + 1; // atualiza o contador end end //mostra os resultados format(10); // numero de casas decimais disp(['Raiz: ' string(c) ', encontrada em ' string(i) ' iteracoes.']) disp(['Valor da funcao f(x): ' string(f(c))]) endfunction
01cb7a31bf23698524fcfa73fc800396349e9127
449d555969bfd7befe906877abab098c6e63a0e8
/1739/CH2/EX2.14/Exa2_14.sce
ea41dbe8f7844247acab30245ba738517dbc4638
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
Exa2_14.sce
//Exa 2.14 clc; clear; close; //Given data : N=700;//No. of modes d=30;//in um a=d/2;//in um NA=0.62;//Numerical Aperture //Formula : v=2*sqrt(N) and v=2*%pi*a*NA/lambda lambda=2*%pi*a*NA/(2*sqrt(N));//in um disp(lambda,"Wavelength of light propagating in fibre in micro meter : ");
b2a615a88521a0677193187be5968be9e39090e6
449d555969bfd7befe906877abab098c6e63a0e8
/629/CH3/EX3.2/example3_2.sce
a84ab7fbffd976b853feacfe91b64ac879161704
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
333
sce
example3_2.sce
clear clc //Example 3.2 WATER PRESSURE IN A TANK //Hydrostatic equation, p1/Gamma +z1=p2/Gamma +z2 p1=0; //[psig] z1=250; //[ft] z2=215; //[ft] Gamma=62.4; //specific weight of water[lbf/ft^3] //1psig=144psfg p2=p1+(z1-z2)*Gamma/144 //[psig] printf("\nThe water pressure at the depth of 35ft in the tank = %.1f psig.\n",p2)
d31eb7b45a7d26b1149dd67e69db32c7d4df1deb
717ddeb7e700373742c617a95e25a2376565112c
/3428/CH23/EX14.23.9/Ex14_23_9.sce
9d29258092525900b5fd845ff5e0788bfe07dbc0
[]
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
178
sce
Ex14_23_9.sce
//Section-14,Example-4,Page no.-PC.82 //To calculate the solubility of Ag_2CrO_4. clc; K_sp=(9*10^-12)/4 S=(K_sp)^(1/3) disp(S,'Solubility product of Ag_2CrO_4(mol/dm^3)')
fb88d54c2ec5eb4f495e7c262bda8a0e740fd24b
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.5/tests/examples/getenv.man.tst
3f0cbe24af684b78f5ca4f24aedd5f32afd59811
[ "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
53
tst
getenv.man.tst
clear;lines(0); getenv('SCI') getenv('FOO','foo')
d62d4efcd2cd2704878884367c191ceff007a156
a62e0da056102916ac0fe63d8475e3c4114f86b1
/set4/s_Control_Engineering_-_Theory_And_Practice_M._N._Bandyopadhyay_1299.zip/Control_Engineering_-_Theory_And_Practice_M._N._Bandyopadhyay_1299/CH8/EX8.3/example8_3.sce
73c60ffdb9e1a7a00d5e0d41d89a8bbde30c4cb2
[]
no_license
hohiroki/Scilab_TBC
cb11e171e47a6cf15dad6594726c14443b23d512
98e421ab71b2e8be0c70d67cca3ecb53eeef1df6
refs/heads/master
2021-01-18T02:07:29.200029
2016-04-29T07:01:39
2016-04-29T07:01:39
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
322
sce
example8_3.sce
mode(2);errcatch(-1,"stop");driver("GIF");//Example 8.3 //Nyquist plot clear; clc; s = %s /2 /%pi; num=(s+3); den=(s+1)*(s-1) G=syslin('c',num,den) clf(); nyquist(G) xinit('/home/fossee/Downloads/tbc_graphs/Control_Engineering_-_Theory_And_Practice_M._N._Bandyopadhyay_1299/example8_3');xend();exit();
9e30911ed947af488b49a934b67a27a4a8a9cc1f
449d555969bfd7befe906877abab098c6e63a0e8
/3456/CH2/EX2.4/Ex2_4.sce
1a877cf24b422d9dd57c694a23372f0babd0e277
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,194
sce
Ex2_4.sce
//Example 2.4 //Elastic Anisotropy //Page No. 60 clc;clear;close; S11_Fe=0.8; //in 1/Pa S12_Fe=-0.28; //in 1/Pa S44_Fe=0.86; //in 1/Pa S11_W=0.26; //in 1/Pa S12_W=-0.07; //in 1/Pa S44_W=0.66; //in 1/Pa D_100_l=1; D_100_m=0; D_100_n=0; D_110_l=1/sqrt(2); D_110_m=1/sqrt(2); D_110_n=0; D_111_l=1/sqrt(3); D_111_m=1/sqrt(3); D_111_n=1/sqrt(3); printf('\nFor Iron:\n\n'); Fe_E_111=1/(S11_Fe-2*((S11_Fe-S12_Fe)-S44_Fe/2)*(D_111_l^2*D_111_m^2+D_111_n^2*D_111_m^2+D_111_l^2*D_111_n^2)); Fe_E_100=1/(S11_Fe-2*((S11_Fe-S12_Fe)-S44_Fe/2)*(D_100_l^2*D_100_m^2+D_100_n^2*D_100_m^2+D_100_l^2*D_100_n^2)); printf('E_111 = %g x 10^11 Pa\nE_100 = %g x 10^11 Pa\n',Fe_E_111,Fe_E_100); printf('\n\n\nFor Tungten:\n\n'); W_E_111=1/(S11_W-2*((S11_W-S12_W)-S44_W/2)*(D_111_l^2*D_111_m^2+D_111_n^2*D_111_m^2+D_111_l^2*D_111_n^2)); W_E_100=1/(S11_W-2*((S11_W-S12_W)-S44_W/2)*(D_100_l^2*D_100_m^2+D_100_n^2*D_100_m^2+D_100_l^2*D_100_n^2)); printf('E_111 = %g x 10^11 Pa\nE_100 = %g x 10^11 Pa\n\nTherefore tungsten is elastically isotropic while iron is elasitcally anisotropic',W_E_111,W_E_100);
92ac1867f1a71234b3f1f98dd19f1ca5713c246c
051a4db48a1c18ed4ac5262a9b91cb9445e39776
/TECS_uncondensed/nand2tetris/projects/12/MemoryTest/MemoryTest.tst
db34a35529da78e7629a17c98609b2fb8650ba4e
[]
no_license
wh1pch81n/code_projects_portfolio
cd45f5bc67952f94c3bb14551cf39e9e8d0e8082
a7789b8b4931980ba3a4d27209c4d080f8868126
refs/heads/master
2021-01-15T19:28:15.150278
2013-09-14T00:37:01
2013-09-14T00:37:01
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
416
tst
MemoryTest.tst
// This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by Nisan and Schocken, MIT Press. // File name: projects/12/MemoryTest/MemoryTest.tst load, output-file MemoryTest.out, compare-to MemoryTest.cmp, output-list RAM[8000]%D2.6.1 RAM[8001]%D2.6.1 RAM[8002]%D2.6.1 RAM[8003]%D2.6.1 RAM[8004]%D2.6.1 RAM[8005]%D2.6.1; repeat 1200000 { vmstep; } output;
9ec5ac2f286cef9cc3649c59134c0062099c53ac
449d555969bfd7befe906877abab098c6e63a0e8
/2300/CH7/EX7.13.2/Ex7_2.sce
e5f6e7110ddcd64fa457fda9e6517c20e5ee3236
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
Ex7_2.sce
//scilab 5.4.1 //windows 7 operating system //chapter 7:Junction Transistor Characteristics clc; clear; //given data a=0.98;//a=fraction of the emitter current contributed by the carriers injected into the base and reaching the collector Ie=0.003; //emitter current in A Ico=10*10^-6; //reverse saturation current in A Ic=a*Ie+Ico; //collector current in A format("v",8) disp('mA',Ic/10^-3,'Ic=');//Ic is converted in terms of mA Ib=Ie-Ic; //base current in A format("v",8) disp('µA',Ib/10^-6,'Ib=');//Ib is converted in terms of µA
2814167c847768791b60e34d1f260784bfc95faa
449d555969bfd7befe906877abab098c6e63a0e8
/978/CH5/EX5.1/Example5_1.sce
74570bb3410db44b168a5e04c5d523cd404340e6
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
216
sce
Example5_1.sce
//chapter-5,Example5_1,pg 491 Vref=12//ref. voltage n=4//no. of binary weighted resistors n1=3//input-1 n2=1//input-2 Vo=-(Vref/2^n)*(2^n1+2^n2) printf("output voltage\n") printf("Vo=%.2f V",Vo)
4f8d8b0867d2e2cbf91f08d22c904c5c6dcbf1e5
9fd1c728d84d54cce3b7a5d0c58281b2c66aaa6b
/TEST/txt.tst
ae55f6e8d551260c8e5029e27d199fb2d76e9593
[ "MIT" ]
permissive
ihgazni2/sledgehammer4nut
46349bc46fab1116b386595cb26cca667440bd6c
397ace55fc0113bcb2e8375ede055b469b5ef029
refs/heads/master
2020-04-15T21:02:59.010109
2019-01-14T15:45:54
2019-01-14T15:45:54
165,019,039
0
0
null
null
null
null
UTF-8
Scilab
false
false
5,906
tst
txt.tst
import elist.elist as elel import estring.estring as eses import numpy as np import sldghmmr4nut.ndarr.do as ndo import sldghmmr4nut.ndarr.convert as ndcvt from sldghmmr4nut import txt #### ndarr = ndcvt.txt2ndarr(s) ndo.append_col(ndarr,eses.str2chnums("RRRR")) cols = [[82, 82, 82, 82], [65, 66, 67, 68], [82, 82, 82, 82]] ndo.append_cols(ndarr,cols) row = [66, 66, 66, 66, 66, 66, 66] ndo.append_row(ndarr,row) rows = [[66, 66, 66, 66, 66, 66, 66], [65, 66, 67, 68, 69, 70, 71], [66, 66, 66, 66, 66, 66, 66]] ndo.append_rows(ndarr,rows) ndarr = ndcvt.txt2ndarr(s) ndarr = ndo.append_row(ndarr,*args) row = eses.str2chnums("下下下下下下下") ndo.append_row(ndarr,row) ######### import elist.elist as elel import estring.estring as eses import numpy as np import sldghmmr4nut.ndarr.do as ndo import sldghmmr4nut.ndarr.convert as ndcvt from sldghmmr4nut import txt s = '''两人对酌山花开 一杯一杯复一杯 我醉欲眠卿且去 明朝有意抱琴来''' print(s) ss = txt.append_col(s,"RRRR") print(ss) print(s) ss = txt.append_cols(s,["RRRR","ABCD","RRRR"]) print(ss) print(s) ss = txt.append_row(s,"下下下下下下下") print(ss) print(s) ss = txt.append_rows(s,["下下下下下下下","一二三四五六七","下下下下下下下"]) print(ss) print(s) ss = txt.ccwrot180(s) print(ss) print(s) ss = txt.ccwrot270(s) print(ss) print(s) ss = txt.cols(s) print(ss) print(s) ss = txt.crop(s,2,3,3,4) print(ss) import elist.elist as elel import estring.estring as eses import numpy as np import sldghmmr4nut.ndarr.do as ndo import sldghmmr4nut.ndarr.convert as ndcvt from sldghmmr4nut import txt s = '''两人对酌山花开 一杯一杯复一杯 我醉欲眠卿且去 明朝有意抱琴来''' print(s) ss = txt.cwrot180(s) print(ss) print(s) ss = txt.cwrot270(s) print(ss) print(s) ss = txt.cwrot90(s) print(ss) print(s) ss = txt.fliplr(s) print(ss) print(s) ss = txt.flipud(s) print(ss) #ancient chinese from up to down, from right to left ancient = '''明我一两 朝醉杯人 有欲一对 意眠杯酌 抱卿复山 琴且一花 来去杯开''' print(ancient) ss = txt.from_ancient_chinese(ancient) #mordern chinese from left to right ,from up to down print(ss) import elist.elist as elel import estring.estring as eses import numpy as np import sldghmmr4nut.ndarr.do as ndo import sldghmmr4nut.ndarr.convert as ndcvt from sldghmmr4nut import txt s = '''两人对酌山花开 一杯一杯复一杯 我醉欲眠卿且去 明朝有意抱琴来''' print(s) ss = txt.insert_col(s,2,"二二二二") print(ss) print(s) ss = txt.insert_cols(s,2,["二二二二","三三三三","四四四四"]) print(ss) print(s) ss = txt.insert_row(s,2,"二二二二二二二") print(ss) print(s) ss = txt.insert_rows(s,2,["二二二二二二二","三三三三三三三","四四四四四四四"]) print(ss) print(s) ss = txt.prepend_col(s,"二二二二") print(ss) print(s) ss = txt.prepend_cols(s,["二二二二","三三三三","四四四四"]) print(ss) print(s) ss = txt.prepend_row(s,"二二二二二二二") print(ss) print(s) ss = txt.prepend_rows(s,["二二二二二二二","三三三三三三三","四四四四四四四"]) print(ss) import elist.elist as elel import estring.estring as eses import numpy as np import sldghmmr4nut.ndarr.do as ndo import sldghmmr4nut.ndarr.convert as ndcvt from sldghmmr4nut import txt s = '''两人对酌山花开 一杯一杯复一杯 我醉欲眠卿且去 明朝有意抱琴来''' print(s) tl,tr,bl,br = txt.quad_split(s,(2,3)) print(tl) print(tr) print(bl) print(br) print(s) ss = txt.rm_col(s,1) print(ss) print(s) ss = txt.rm_cols(s,[2,5,6]) print(ss) print(s) ss = txt.rm_row(s,1) print(ss) print(s) ss = txt.rm_rows(s,[1,3,5]) print(ss) print(s) ss = txt.rowbot_colleft(s) print(ss) print(s) ss = txt.rowbot_colright(s) print(ss) print(s) ss = txt.rowleft_colbot(s) print(ss) print(s) ss = txt.rowleft_coltop(s) print(ss) print(s) ss = txt.rowright_colbot(s) print(ss) print(s) ss = txt.rowright_coltop(s) print(ss) import elist.elist as elel import estring.estring as eses import numpy as np import sldghmmr4nut.ndarr.do as ndo import sldghmmr4nut.ndarr.convert as ndcvt from sldghmmr4nut import txt s = '''两人对酌山花开 一杯一杯复一杯 我醉欲眠卿且去 明朝有意抱琴来''' print(s) ss = txt.rows(s) print(ss) print(s) ss = txt.rowtop_colleft(s) print(ss) blk ="""你你你 踏踏踏""" print(blk) print(s) ss = txt.rplc_blk(s,1,1,2,3,blk) print(ss) print(s) ss = txt.rplc_col(s,1,"一一一一") print(ss) print(s) ss = txt.rplc_cols(s,[0,3],["零零零零","叁叁叁叁"]) print(ss) print(s) ss = txt.rplc_row(s,1,"田田田田田田田") print(ss) print(s) ss = txt.rplc_rows(s,[0,2],["田田田田田田田","门门门门门门门"]) print(ss) print(s) ss = txt.slct_col(s,1) print(ss) import elist.elist as elel import estring.estring as eses import numpy as np import sldghmmr4nut.ndarr.do as ndo import sldghmmr4nut.ndarr.convert as ndcvt from sldghmmr4nut import txt s = '''两人对酌山花开 一杯一杯复一杯 我醉欲眠卿且去 明朝有意抱琴来''' print(s) ss = txt.slct_cols(s,[1,4]) print(ss) print(s) ss = txt.slct_row(s,1) print(ss) print(s) ss = txt.slct_rows(s,[1,2]) print(ss) print(s) ss = txt.slct(s,[1,2],[3,5]) print(ss) import elist.elist as elel import estring.estring as eses import numpy as np import sldghmmr4nut.ndarr.do as ndo import sldghmmr4nut.ndarr.convert as ndcvt from sldghmmr4nut import txt s = '''两人对酌山花开 一杯一杯复一杯 我醉欲眠卿且去 明朝有意抱琴来''' print(s) ss = txt.swap_col(s,1,2) print(ss) print(s) ss = txt.swap_cols(s,[1,2],[4,5]) print(ss) print(s) ss = txt.swap_dimension(s) print(ss) print(s) ss = txt.swap_row(s,1,2) print(ss) print(s) ss = txt.swap_rows(s,[0,3],[1,2]) print(ss)
db942405826c72f819866eb6a25dcd43a430f364
449d555969bfd7befe906877abab098c6e63a0e8
/2702/CH5/EX5.26/Ex_5_26.sce
ee328590297d23c0355cbd7913e41ef055318108
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
399
sce
Ex_5_26.sce
// Exa 5.26 clc; clear; close; // Given data Is= 100;// in µA Is= Is*10^-6;// in A If= 95;// in µA If= If*10^-6;// in A Io= 10;// in mA Io= Io*10^-3;// in A A= Io/(Is-If);// n A/A Bita= If/Io;// A/A disp(A,"Value of A in A/A is : ") disp(Bita,"Value of Bita in A/A is : ") // Note: In the book , to evaluating the value of Bita, they putted wrong value of If (95 at place of 90)
7e944bbe45d5c74b5647335d700d657536e177d5
7b7be9b58f50415293def4aa99ef5795e6394954
/sim/cmd/test/mechengpump.tst
80e2226923091cd658721048e4e7168eb20ebaa1
[]
no_license
sabualkaz/sim42
80d1174e4bc6ae14122f70c65e259a9a2472ad47
27b5afe75723c4e5414904710fa6425d5f27e13c
refs/heads/master
2022-07-30T06:23:20.119353
2020-05-23T16:30:01
2020-05-23T16:30:01
265,842,394
0
0
null
2020-05-21T12:26:00
2020-05-21T12:26:00
null
UTF-8
Scilab
false
false
757
tst
mechengpump.tst
units SI $thermo = VirtualMaterials.Peng-Robinson / -> $thermo thermo + propane isobutane n-butane isopentane n-pentane n-hexane Feed = Stream.Stream_Material() Feed.In.T = 20 Feed.In.P = 3000 Feed.In.MoleFlow = 100 Feed.In.Fraction = 1 2 3 4 5 6 pump = Flowsheet.SubFlowsheet('read mechengpump.sop') Feed.Out -> pump.In pump.Out.P = 5000 pump.Efficiency = .75 pump.Out pump.InQ # try Efficiency / Q test pump.Out.P = None pump.InQ = 8000 pump.Out # backwards Feed.In.P = None Feed.In.T = None pump.Out.P = 5000 pump.Out.T = 20 Feed.In # compare to isentropic pump spump = Pump.Pump() Feed.clone = Stream.ClonePort(0) Feed.clone -> spump.In spump.Out.P = 5000 spump.Efficiency = .75 spump.InQ copy / paste /
3aee0e05c5dab6613111345d3659375acb982650
449d555969bfd7befe906877abab098c6e63a0e8
/2795/CH3/EX3.5/Ex3_05.sce
28bd761f4e244eafc21f2520bb71108cf904c988
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,736
sce
Ex3_05.sce
// Scilab Code Ex3.5: Page-98 (2013) clc; clear lambda_max = 500e-009; // Maximum intensity wavelength emitted by the sun, m b = 2.898e-003; // Wein's constant, m-K sigma = 5.67e-008; // Stefan's constant, W/Sq.m-K^4 r = 6.96e+008; // Radius of the sun, m r_E = 6.37e+006; // Radius of the earth, m R_E = 1.49e+011; // Mean-earth sun distance, m S = 4*%pi*r^2; // Surface area of the sun, Sq.m T_sun = b/lambda_max; // The temperature of the sun's surface, K R_T = sigma*T_sun^4; // Power per unit area radiated by the sun, W/Sq.m P_sun = R_T*S; // The total power radiated from the sun's surface, W F = r_E^2/(4*R_E^2); // Fraction of sun's radiation received by Earth P_Earth_received = P_sun*F; // The radiation received by the Earth from the sun, W U_Earth = P_Earth_received*60*60*24; // The radiation received by the Earth from the sun in one day, J R_Earth = P_Earth_received/(%pi*r_E^2); // Power received by the Earth per unit of exposed area, W/Sq.m printf("\nThe surface temperature of the sun = %4d K", ceil(T_sun)); printf("\nThe power per unit area emitted from the surface of the sun = %4.2e W/Sq.m", R_T); printf("\nThe energy received by the Earth each day from the radiation of sun = %4.2e J", U_Earth); printf("\nThe power received by the Earth per unit of exposed area = %4d W/Sq.m", ceil(R_Earth)); // Result // The surface temperature of the sun = 5796 K // The power per unit area emitted from the surface of the sun = 6.40e+007 W/Sq.m // The energy received by the Earth each day from the radiation of sun = 1.54e+022 J // The power received by the Earth per unit of exposed area = 1397 W/Sq.m // The answers are given wrong in the textbook
3581dcbea46a8f74cda8dd9c380d56119fc32ff8
449d555969bfd7befe906877abab098c6e63a0e8
/32/CH2/EX2.03/2_03.sce
b3f8323d3cf52cc85917b586e44720f0b38f7158
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
486
sce
2_03.sce
//pathname=get_absolute_file_path('2.03.sce') //filename=pathname+filesep()+'2.03-data.sci' //exec(filename) //EMF at temperature T=0 E0=0.003*0-5*(10^-7)*(0^2)+0.5*10^-3 //EMF at temperature T=100 E100=0.003*100-5*(10^-7)*(100^2)+0.5*10^-3 //EMF at temperature T=30 E30=0.003*30-5*(10^-7)*(30^2)+0.5*10^-3 //Temperature shown by the thermometer at T=30: t=(E30-E0)/(E100-E0)*(100-0) printf("\n\nRESULT \n\n") printf("\n\n The temperature shown by thermometer= %f \n\n",t)
ccaef4817d135d21253b02f6156fc3880e9903cb
449d555969bfd7befe906877abab098c6e63a0e8
/1332/CH5/EX5.34/5_34.sce
e1ca08e04f4f2b2468b88050d905bfc5483230c3
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
842
sce
5_34.sce
//Example 5.34 //QD Method //Page no. 202 clc;clear;close; a=[1,2,10,-20] for i=1:5 e(i,1)=0; e(i,4)=0; end q(1,1)=-a(2)/a(1); q(1,2)=0;q(1,3)=0; e(1,2)=a(3)/a(2); e(1,3)=a(4)/a(3); for i=2:7 for j=1:3 q(i,j)=e(i-1,j+1)+q(i-1,j)-e(i-1,j) end for j=1:2 e(i,j+1)=e(i-1,j+1)*q(i,j+1)/q(i,j) end end printf('e0\t\tq1\t\te1\t\tq2\t\te2\t\tq3\t\te3\n') printf('------------------------------------------------------------------------------------------------------------\n') for i=1:7 for j=1:3 printf('\t\t%.10f\t',q(i,j)) end printf('\n') for j=1:4 printf('%.10f\t\t\t',e(i,j)) end printf('\n') end printf('\t\t%.10f\t\t\t%.10f\t\t\t%.10f\n',q(7,1),q(7,2),q(7,3)) printf('\nThe exact roots are \t%.10f and %.10f',q(7,1),q(7,3))
342f07db0ea322f5b44648001a9ed2435dd39526
449d555969bfd7befe906877abab098c6e63a0e8
/3765/CH4/EX4.9/Ex4_9.sce
c4a730371352fe4787e70f5596e65a166d10838a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,802
sce
Ex4_9.sce
clc // Example 4.9.py // Consider the arrangement shows in fig. 4.29. A 15 degree half angle diamond // wedge airfoil is in supersonic flow at zero angle of attack. A pitot tube is // inserted into the flow at the location shown in fig 4.29. The pressure measured // by the Pitot tube is 2.596 atm. At point a on the backface, the pressure is 0.1 // atm. Calculate the freestream Mach number M1. // // Variable declaration theta = 15.0 // wedge angle/deflection (in degrees) po4 = 2.596 // measured pressure (in atm) p3 = 0.1 // pressure at point a (in atm) // Calculations po4_by_p3 = po4/p3 // from Table A 2 for po4/p3 = 25.96 M3 = 4.45 v3 = 71.27 v2 = v3 - 2*theta // from Table A 5, for v2 = 41.27 degrees M2 = 2.6 // Mn2 = M2*sin((beta1-theta)*%pi/180) @equation 1 // Guessing // Guess 1 M1 = 4.0 // Guess for freestream number beta1 = 27.0 // from fig 4.5 (in degrees) Mn1 = M1*sin(beta1*%pi/180) // mach number normal to shock // from Table A2 for Mn1 = 1.816 Mn2 = 0.612 // but Mn2 from equation 1 is 0.54 // Guess 2 M1 = 4.5 // Guess for freestream number beta1 = 25.5 // from fig 4.5 (in degrees) Mn1 = M1*sin(beta1*%pi/180) // mach number normal to shock // from Table A2 for Mn1 = 1.937 Mn2 = 0.588 // but Mn2 from equation 1 is 0.47 // Guess 3 M1 = 3.5 // Guess for freestream number beta1 = 29.2 // from fig 4.5 (in degrees) Mn1 = M1*sin(beta1*%pi/180) // mach number normal to shock // from Table A2 for Mn1 = 1.71 Mn2 = 0.638 // but Mn2 from equation 1 is 0.638 // Result printf("\n Freestream mach number is %.1f", M1)
12b5ddddebeae9ce6c989c9890b425de5e11c502
449d555969bfd7befe906877abab098c6e63a0e8
/1397/CH1/EX1.1/1_1.sce
a59904c3811802ad1d024e5f05a6ee47183b89d8
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
308
sce
1_1.sce
//clc(); clear; // To calculate the intensity ratio of bright and dark fringes I1=1; I2=25; // Intensity is directly proportional to square of the amplitude A1=sqrt(I1); A2=sqrt(I2); Imax=(A1+A2)^2; Imin=(A1-A2)^2; I=Imax/Imin; printf("The intensity ratio of bright and dark fringes is %f",I);
5e3de559f9c48937666b9293e6d079ba8bd4a37a
449d555969bfd7befe906877abab098c6e63a0e8
/3869/CH6/EX6.27/Ex6_27.sce
9b65a0a1fb8dd4b7c30e730b69bfcafca99ea0eb
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
580
sce
Ex6_27.sce
clear // // // //Variable declaration h1=1 k1=2 l1=3 //miller indices h2=2 k2=4 l2=6 //miller indices a=0.82 b=0.94 c=0.75 //parameters(nm) //Calculation d123=(((h1/a)**2)+((k1/b)**2)+((l1/c)**2))**(-1/2) //interplanar distance between (123) planes d246=d123/2 //interplanar distance between (246) planes //Result printf("\n interplanar distance between (123) planes is %0.3f nm",d123) printf("\n interplanar distance between (246) planes is %0.4f nm",d246) printf("\n answers given in the book are wrong")
236011c45031942f4d694383289fea729c936234
449d555969bfd7befe906877abab098c6e63a0e8
/2969/CH7/EX7.7/Ex7_7.sce
0f0b951a5de37b6396b1021aa63923afd76390bb
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
846
sce
Ex7_7.sce
clc clear //DATA GIVEN IP=30; //indicted power in kW BP=26; //Brake Power in kW N=1000; //engine speed in R.P.M. F=0.35; //fuel per brake power hour in kg/BP/h C=43900; //calorific value of fuel used in kJ/kg Fc=F*BP; //fuel consumption per hour Mf=Fc/3600; ETAti=IP/(Mf*C); //Indicted thermal eficiency ETAtb=BP/(Mf*C); //Brake thermal efficiency ETAm=BP/IP; //Mechanical efficiency printf(' (i) The Indicted thermal eficiency is: %5.3f or %2.1f percent. \n',ETAti,(ETAti*100)); printf(' (ii) The Brake thermal efficiency is: %5.3f or %2.1f percent. \n',ETAtb,(ETAtb*100)); printf('(iii) Mechanical efficiency is: %5.3f or %2.1f percent. \n',ETAm,(ETAm*100));
b9d8b8efb969923c26aabf83086dbdc8a16d7954
253e09cf7efdbfda8dd6a7d62523e0623a6307ad
/scr/test1.tst
3b59e2ecde96e13e147e3cb3368a71100b2598f5
[]
no_license
GOodCoffeeLover/OSI_2
f4fdd83eef9637eced3150cd4789cdd82af2ae8f
742950885333270ead6b0376c0cad8c33a02ce12
refs/heads/master
2023-04-12T23:55:37.597543
2021-03-05T08:07:31
2021-03-05T08:07:31
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
116
tst
test1.tst
file1 qwertyuioyuiop qwertyuio some space and some more space .
a51b1308bb7545884bae036eeb1b992e5669f85f
449d555969bfd7befe906877abab098c6e63a0e8
/1151/CH5/EX5.3/example3.sce
d64c286534303fc9853f25fc04e646335141b692
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
107
sce
example3.sce
s=%s; num=1; den=s*(s^2+4*s+8); t=syslin('c',num/den); clf; evans(t); mtlb_axis([-5 5 -5 5]);
5cc0e37aed1d5e66111264fcbb60856ee880dddd
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.5/macros/percent/%r_i_p.sci
3c74ae1ef405b7ae4419a767c6671532cb93bfdb
[ "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
258
sci
%r_i_p.sci
function f2=%r_i_p(i,j,f2,n) // f2=%r_i_p(i,j,f2,p) insertion // // 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'))
8435f6176556be842e1c19fd06bb76651a06bfbc
449d555969bfd7befe906877abab098c6e63a0e8
/1958/CH1/EX1.9/Chapter1_example9.sce
1efd1da11cb133958684ec2ce55b2960b98535c8
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
438
sce
Chapter1_example9.sce
clc clear //Input data m=[3,12]//Masses of the blocks in kg q=50//Angle made by the string in degrees a=3//Acceleration of 12kg block in m/s^2 //Calculations T=m(1)*(9.8+a)//Tension in the string in N u=(m(2)*(9.8*sind(q)-a)-T)/(m(2)*9.8*cosd(q))//Coefficient of kinetic friction //Output printf('Tension in the string is %3.1f N \n The coefficient of kinetic friction between %i kg block and the plane is %3.3f',T,m(2),u)
040a776f4a32a458d8ac20bcecd27098ee4c7cea
449d555969bfd7befe906877abab098c6e63a0e8
/1076/CH3/EX3.4/3_4.sce
8ee6cf65534f663648eb974c88da6764f6ce39bf
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
515
sce
3_4.sce
clear; clc; d=15; Vr=11e3/sqrt(3); pfr=.8; Pd=5e6; Pl=.12*Pd; l=1.1e-3; L=l*d; I= Pd/(3*pfr*Vr); R=Pl/(3*I*I); X=2 * %pi* 50 *L; pfa=acos(pfr); Vs=Vr + (I * R * pfr) + (I * X * sin(pfa)); vs=sqrt(3)*Vs; VR=(Vs-Vr)/Vr; mprintf("\n(a) Voltage Regulation = %.2f percent ", VR*100); pfa0=atan(R/X); pf0=cos(pfa0); mprintf("\n(b) pf at VR=0 = %.3f ", pf0); I0= (I* pfr)/pf0; Ic= (I * sin(pfa))+(I0*sin(pfa0)); Xc=Vr/Ic C=1/(100*%pi*Xc); mprintf("\n(c) C = %.1f e-6 F", C*1e6);
e9b2d4ea7a00ca5dc0ba5c034c5979c8f24fff34
449d555969bfd7befe906877abab098c6e63a0e8
/323/CH2/EX2.25/ex2_25.sci
15363e7529993100cbd239073b24b8b217883178
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
292
sci
ex2_25.sci
//Chapter2,Ex2.25,Pg2.30 clc; disp("Refer to the diagram shown in the figure") A=[8 -1;-2 17] B=[50;-500] V=A\B printf("\n V1=%.2f V \n",V(1)) printf("\n V2=%.2f V \n",V(2)) printf("\n I1=%.2f \n",-V(1)/2) printf("\n I2=%.2f \n",(V(1)-V(2))/10) printf("\n I3=%.2f \n",(V(2)+50)/2)
0542c8added3fc2d48c1d60067471aae178c3e64
449d555969bfd7befe906877abab098c6e63a0e8
/1895/CH5/EX5.52/EXAMPLE5_52.SCE
810797d22414bbb7e8458fd4cc0529be46872395
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
785
sce
EXAMPLE5_52.SCE
//ANALOG AND DIGITAL COMMUNICATION //BY Dr.SANJAY SHARMA //CHAPTER 5 //ANGLE MODULATION clear all; clc; printf("EXAMPLE 5.52(PAGENO 266)"); //given delta_f = 50//frequency deviation delta_f2 = 20*10^3//frequency deviation for sinusoidal FM wave i.e second case f_m1 = 120//modualting frequency for first case f_m2 = 240//modulating frquency for second case //calculations //first case delta_f1 = (f_m2/f_m1)*delta_f//frequency deviation for sinusoidal PM wave n1 = delta_f2/delta_f1//frequency multiplication for sinusoidal PM wave //second case n2 = delta_f2/delta_f//frequency multiplication for sinusoidal FM wave //results printf("\n\ni.Frequency multiplication for PM wave = %.2f ",n1); printf("\n\nii.Frequency multiplication for FM wave = %.2f ",n2);
2cdf7b10c9be79c1dddec6f25a78fa969e3a3fa9
449d555969bfd7befe906877abab098c6e63a0e8
/1553/CH22/EX22.13/22Ex13.sce
1e6871ff77a4ac25ddb981df408d4ca0d4bac3ea
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
174
sce
22Ex13.sce
//chapter 22 Ex 13 clc; clear; close; Sum1=6690; t1=3; Sum2=10035; t2=6; rate=((nthroot((Sum2/Sum1),(t2-t1)))-1); p=Sum1/(1+rate)^t1; mprintf("The Sum is %.0f",p);
df7db8a9513bb2165ed7b85181edd7fb8e233485
c559c06fd4e5638a51e9bb8b35f28ceffd7d38fc
/Optimisation/Code/OracleDG.sci
71ebd5780646d38878a03e1cbfc6e6d4ec8cf30b
[]
no_license
constantinidan/Optimisation-and-control
0b933d37bbb7a130373d661c418f36b19b21a20c
1692b7614ab51ea1271e47080fccc95b0f33f232
refs/heads/master
2021-01-17T17:26:32.353921
2016-08-03T08:54:11
2016-08-03T08:54:11
59,370,331
0
0
null
null
null
null
UTF-8
Scilab
false
false
611
sci
OracleDG.sci
function [F,G] = OracleDG(lambda,ind) if ind == 2 then temp = Ar'*pr + Ad'*lambda ql = - sign(temp) .* sqrt(abs((1 ./ r) .*(temp))) F = -(-(1/3)*ql'*(temp) + pr'*Ar*ql + lambda'*(Ad*ql - fd)) G = 0 elseif ind == 3 then temp = -((Ar'*pr)+(Ad'*lambda))./r q = sqrt(abs(temp)).*sign(temp) G = Ad*q - fd F = 0 elseif ind == 4 then temp = Ar'*pr + Ad'*lambda ql = - sign(temp) .* sqrt(abs((1 ./ r) .*(temp))) F = -(-(1/3)*ql'*(temp) + pr'*Ar*ql + lambda'*(Ad*ql - fd)) G =-(Ad*ql - fd) end endfunction
7ee4de579d70df6e2fb9fe90ee8341e578f495ae
449d555969bfd7befe906877abab098c6e63a0e8
/2609/CH6/EX6.10/Ex6_10.sce
7337ccd9cb60c3953aac877a4dd543abc7450702
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
479
sce
Ex6_10.sce
//Ex 6.10 clc; clear; close; format('v',6); f0=1;///kHz Vsat=14;//V disp("Various design parameters are :-"); C1=0.05;//micro F//Chosen for the design disp(C1,"Capacitance(micro F)"); Rf=1/(2*f0*10^3*C1*10^-6)/1000;//kohm disp(Rf,"Resistance Rf(kohm)"); //R2=0.86*R1 and Rf=R1||R2 R2byR1=0.86;//from R2=0.86*R1 R2=Rf*(1+R2byR1);//kohm R1=R2/R2byR1;//kohm disp(R1,"Resistance R1(kohm)"); disp("Use R1=22 kohm for the design."); disp(R2,"Resistance R2(kohm)");
e6ccac85518af4a60dcff8ce61ae06e6d69fd784
449d555969bfd7befe906877abab098c6e63a0e8
/3869/CH1/EX1.36/Ex1_36.sce
803695ee4e614342977df9efc2e864470d7df2c1
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
212
sce
Ex1_36.sce
clear // // // //Variable declaration lamda1=6*10**-5 //wavelength(cm) lamda2=4.5*10**-5 //wavelength(cm) n1=21 //Calculation n2=n1*lamda1/lamda2 //order //Result printf("\n order is %0.3f ",n2)
b75e9445ed1ce51307f16da2d68ecd5e405dd4fe
449d555969bfd7befe906877abab098c6e63a0e8
/3720/CH2/EX2.3/Ex2_3.sce
cfea0bd1fe480f231f9975965ca2e962f80d6e6f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
863
sce
Ex2_3.sce
// Example 2_3 clc;clear;funcprot(0); //Given values T_1=20;// degree celsius T_2=50;//degree celsius P_1=1;// atm P_2=100;//atm rho_1=998.0;// The density of water in kg/m^3 //Properties //The coefficient of volume expansion at the average temperature T_avg=35°C beta=0.337*10^-3;// k^-1 alpha=4.80*10^-5;//The isothermal compressibility of water in atm^-1 // Calculation //(a) gradT=(T_2-T_1);// K gradrho=-(beta*rho_1*gradT);// The change in density in kg/m^3 rho_2=rho_1+gradrho;// The density of water at 50°C and 1 atm in kg/m^3 printf('The density of water at 50°C and 1 atm is rho_2 =%0.0f kg/m^3\n',rho_2); //(b) gradP=(P_2-P_1); gradrho=alpha*rho_1*gradP;// kg/m^3 rho_2=rho_1+gradrho;//The density of water at 100 atm and 20°C in kg/m^3 printf('The density of water at 100 atm and 20°C is rho_2 =%0.1f kg/m^3\n',rho_2);
ac8f98f47474be703b91e8827e01c426798abba1
449d555969bfd7befe906877abab098c6e63a0e8
/1664/CH6/EX6.17/Ex6_17.sce
9c3e71ab5f17e8d8d3642e90fe5db1777140a07f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
418
sce
Ex6_17.sce
// Example No.6.13. // Page No.191. //To find the number neighbour distance. clc;clear; disp('i)For (100) plane'); disp('Number of atoms per m^2 = 1/4r^2'); disp('i)For (110) plane'); c1 = 1/(8*sqrt(2)); printf("\nc1= %.4f",c1); disp('Number of atoms per m^2 = (0.084/r^2)'); disp('i)For (111) plane'); c2 = 1/(2*sqrt(3)); printf("\nc2= %.4f",c2); disp('Number of atoms per m^2 = (0.2887/r^2)');
e2de76073fb4875612fd993889aedddd29ea7df2
449d555969bfd7befe906877abab098c6e63a0e8
/2168/CH16/EX16.3/Chapter16_example3.sce
4a8127c548f7bf599655d445461a67211ee67f27
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
908
sce
Chapter16_example3.sce
clc clear //Input data n=4//Number of cylinders d=105//Bore in mm l=127//Stroke in mm BHP=63//Brake horse power in h.p N=1800//Speed in r.p.m t=15//Test time in min mf=2.75//Mass of fuel in kg CV=11000//Calorific value in kcal/kg af=14.8//Air fuel ratio v=0.805//Specific volume in m^3/kg nv=80//Volumetric efficiency in percent J=427//Mechanical equivalent of heat in kg.m/kcal //Calculations bth=((BHP*4500)/(J*(mf/t)*CV))*100//Brake thermal efficiency in percent Vs=((3.14/4)*(d/10)^2*(l/10))//Stroke volume in c.c Vsw=(Vs*n*(N/2)*t)//Swept volume in c.c Va=(Vsw*10^-6*(nv/100))//Volume of air sucked in m^3 wa=(Va/v)//Weight of air sucked in kg wr=(af*mf)//Weight of air reqired in kg pei=(wr/wa)*100//Percentage of air available for combustion //Output printf('Brake thermal efficiency is %3.1f percent \n The percentage of air used for combustion is %i percent',bth,pei)
fb8d5b9b31811f4172c76fa9289e3c4234ae5c01
449d555969bfd7befe906877abab098c6e63a0e8
/52/CH2/EX2.6/Example2_6.sce
4f1275b00b78002d9634a58ca5327c569227447f
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
296
sce
Example2_6.sce
//Example 2.6 //MAXIMA SCILAB TOOLBOX REQUIRED FOR THIS PROGRAM //Z- transform of 2^n u(n) clear; clc ; close ; syms n z; x =(2) ^n X= symsum (x*(z^(-n)),n ,0, %inf ); //Display the result in command window disp (X,"Z-transform of 2^n u(n) is:"); disp('ROC is the Region mod(z) > 2');
5379b10d77e71dddc51dcbc866a7009f41378b78
1a00eb132340e145c8a7d8fd0ef79a02b24605a2
/macros/ARDUINO_SERVO_WRITE_sim.sci~
4c6826d12a43a8196884ddff301d2da5d643fafd
[]
no_license
manasdas17/Scilab-Arduino-Toolbox
e848d75dc810cb0700df34b1e5c606802631ada4
2a6c9d3f9f2e656e1f201cecccd4adfe737175e7
refs/heads/master
2018-12-28T15:51:35.378091
2015-08-06T07:22:15
2015-08-06T07:22:15
37,854,821
3
2
null
null
null
null
UTF-8
Scilab
false
false
2,748
ARDUINO_SERVO_WRITE_sim.sci~
// // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab // Copyright (C) 2011-2011 - DIGITEO - Bruno JOFRET // // This file must be used under the terms of the CeCILL. // This source file is licensed as described in the file COPYING, which // you should have received as part of this distribution. The terms // are also available at // http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt // // function block=ARDUINO_SERVO_WRITE_sim(block,flag) global port_com arduino_sample_time; function DEBUG(message) disp("[DEBUG time = "+string(scicos_time())+"] {"+block.label+"} ARDUINO_ANALOG_WRITE Simulation: "+message); endfunction select flag case -5 // Error case 0 // Derivative State Update case 1 // Output Update u1 = block.inptr(1); if (u1<0) then //pin="8"+ascii(96+block.rpar(1))+ascii(0); pin="Sw"+ascii(48+block.rpar(1))+ascii(0); // writeserial(port_com,pin); elseif u1>180 then //pin="8"+ascii(96+block.rpar(1))+ascii(180); pin="Sw"+ascii(48+block.rpar(1))+ascii(180); // writeserial(port_com,pin); else //pin="8"+ascii(96+block.rpar(1))+ascii(uint8(u1)); pin="Sw"+ascii(48+block.rpar(1))+ascii(uint8(u1)); // writeserial(port_com,pin); end write_serial(1,pin,4); case 2 // State Update case 3 // OutputEventTiming evout = block.evout(1); if evout < 0 evout = arduino_sample_time; else evout = evout + arduino_sample_time; end block.evout(1) = evout; case 4 // Initialization disp("init servo write") if block.rpar(1)==1 then //servo 1 on pin 9 pin="Sa1" //pin="6a1" // writeserial(port_com,pin); write_serial(1,pin,3); elseif block.rpar(1)==2 then //servo 2 on pin 10 //pin="6b1" pin="Sa2" // writeserial(port_com,pin); write_serial(1,pin,3); else messagebox("Probleme dans le numero du servomoteur") error('problem') end case 5 // Ending if block.rpar(1)==1 then //servo 1 on pin 10 //pin="6a0" pin="Sd1" // writeserial(port_com,pin); write_serial(1,pin,3); elseif block.rpar(1)==2 then //servo 2 on pin 9 //pin="6b0" pin="Sd2" // writeserial(port_com,pin); write_serial(1,pin,3); else messagebox("Probleme dans le numero du servomoteur") error('problem') end case 6 // Re-Initialisation case 9 // ZeroCrossing else // Unknown flag end endfunction
c2090dc3715b8ff0a6fba4e0c2ad27aef1736b75
c544cbec08122d43eec988ed11bc9566703b16eb
/SOFT_calcTrajs-onOffTimes/ON_OFF_times.sce
f2b41d7ddfcd7701697d1c6d144715a3a2e4fba3
[]
no_license
hajdzior/ImmobilizedQuantumDots
e0cbf54ae90c59412b05c781a28eaa5103af3149
84ef98d8224e384246ac5f40072ab37f302e1af6
refs/heads/master
2021-01-10T11:04:36.099765
2017-10-25T20:50:51
2017-10-25T20:50:51
49,746,144
0
0
null
null
null
null
UTF-8
Scilab
false
false
10,895
sce
ON_OFF_times.sce
// ON-OFF analysis script //------------------------------ // Last mod: 17-07-14 // Calculates: // - the thresholds // - on and off times // input folder: 'trajsTXT' // output folder: 'on_off_times' // MW 17-07-14 //------------------------------- //################################# // # // FUNCTIONS # // # //################################# // // //fit_on-function // function [e]=G(p,z) // if z(1) > 0 then // e = (z(2)-size_on_off(1)*h*exp(-z(1)/p(1))/p(1))./sqrt(z(1)) // else // e = 0 // end //if // endfunction // // LS fit function // function y = FF(hist_i, p) // y=sample_size*exp(-p(1).*(edges_left(hist_i))).*(1.0-exp(-p(1).*sizes(hist_i))) // endfunction // // derivative // function y = dFF(hist_i, p) // y=sample_size*exp(-p(1).*(edges_left(hist_i))).*(-(edges_left(hist_i))+(edges_right(hist_i)).*exp(-p(1)*sizes(hist_i))) // endfunction stacksize(50000000) // LS weigthed cost function function e = LSW(p, z), y = z(1), x = z(2); if ( y > hist_cutoff ) then e = (y - FF(x, p)) / sqrt(y) else e = 0.0; end endfunction // histogram fit function [ k_fit, sigma_fit, chisq_fit ] = histfit(LSW, FF, dFF, Z, k_ini, edges, hist_cutoff) edges_left = edges( 1:$-1 ); edges_right = edges( 2:$ ); sizes = edges_right - edges_left; sample_size = sum( Z(1,:) ); [ k_fit, err_fit ] = datafit( LSW, Z, k_ini ); chisq_fit = err_fit / ( length( find( Z(1,:) > hist_cutoff ) ) -1 ); F = zeros( length( Z(1,:) ), 1); for i = 1:length( Z(1,:) ), if ( Z(1,i) > hist_cutoff ) F(i,1) = dFF(i, k_fit) ./ sqrt( Z(1,i) ); else F(i,1) = 0.0; end end cov_fit = inv( F'*F ) sigma_fit = sqrt( cov_fit ) endfunction //thresholds function [cutoff, cutoff_high_3, cutoff_low_3, cutoff_high_5, cutoff_low_5] = calc_cutoffs( events ) // initial estimate cutoff = ( max(events) + min(events) ) / 2.0; while(1) avg_off = sum( events(find(events<cutoff)) ) / length(events(find(events<cutoff))); avg_on = sum( events(find(events>cutoff)) ) / length(events(find(events>cutoff))); cutoff_new = ( avg_off + avg_on ) / 2.0 if abs( cutoff_new - cutoff ) / cutoff < 0.00001 then break; else cutoff = cutoff_new; end end;//while cutoff_low_3 = avg_off + (1/3.0)*(avg_on - avg_off); cutoff_high_3 = avg_off + (2/3.0)*(avg_on - avg_off); cutoff_low_5 = avg_off + (1/5.0)*(avg_on - avg_off); cutoff_high_5 = avg_off + (4/5.0)*(avg_on - avg_off); endfunction // derivative $$$ need to standard dev function y = dFF(hist_i,p) y=sample_size*exp(-p(1).*(edges_left(hist_i))).*(-(edges_left(hist_i))+(edges_right(hist_i)).*exp(-p(1)*sizes(hist_i))) endfunction //vizualization, theoretical curve and fit function [err, occ, x_mid, h, n]=histogram(on_off, binL, n) //"x" for histograms maxim = max(on_off); minim = min(on_off); size_on_off = size(on_off); //bin size for histogram //n = 15; //start numbers of bins h_temp = (maxim - minim)/n h = (ceil(h_temp/binL)+1)*binL; x_mid=[minim+h/2:h:n*h+h/2]'; val = linspace(minim,n*h,n+1)' [err, occ] = dsearch(on_off, val) endfunction // //cumulative histograms // function [cum_hist]=cumulative_histogram(on_off_occ) // tmp_occ = 0; // occ_size = size(on_off_occ) // for(ch = 1:1:occ_size(1)) // occ_sum = sum(on_off_occ) // tmp_occ = tmp_occ + on_off_occ(ch) // cum_hist(ch) = tmp_occ/occ_sum // end // endfunction PLOTS_FACTOR = 0; // make plots // SIMULATION = 0; // run simulation // // PCH_analysis = 0; // ICF_analysis = 0; ON_OFF_analysis = 1; //In On-OFF analysis: trajectory = 1; thresh_1 = 1; thresh_2_1_3 = 1; thresh_2_1_5 = 1; thresh_2_st_dev = 0; thresh_custom = 0; //################################# // # // Parameters # // needed by the fitting # // algorithm # // # //################################# // k_on_ini = 0.5 // k_off_ini = 0.5 // I_on = 40 // I_off = 10 thresh_custom_up = 30 thresh_custom_down = 20 //################################# // # // Now everything is ready # // program can start analysis # // # //################################# WHICH_DATA = [trajectory]; INPUT_DATA = ['../tmp/trajectory.txt']; INPUT_DATA_for_filenames = ['czyDziala'] my_thresholds = ['thresh-1', 'thresh-2--1-3', 'thresh-2--1-5', 'thresh_2_st_dev', 'thresh_custom']; onoffANALYSIS = [thresh_1, thresh_2_1_3, thresh_2_1_5, thresh_2_st_dev, thresh_custom]; make_analysis = 0; data_in = INPUT_DATA; data = fscanfMat(data_in); time = data(:,1); events = data(:,2); binL = time(2)-time(1) thr = mopen('../tmp/thresholds.txt', 'w') thr_v = mopen('../tmp/thresholds_val.txt', 'w') thr_n = mopen('../tmp/thresholds_names.txt', 'w') //thresholds [cutoff, cutoff_high_3, cutoff_low_3, cutoff_high_5, cutoff_low_5] = calc_cutoffs( events ); for(thresh = 1:1:5) if (thresh == 1 & onoffANALYSIS(thresh) == 1) thresh_u = cutoff; thresh_d = cutoff; make_analysis = 1; end if (thresh == 2 & onoffANALYSIS(thresh) == 1) thresh_u = cutoff_high_3; thresh_d = cutoff_low_3; make_analysis = 1; end if (thresh == 3 & onoffANALYSIS(thresh) == 1) thresh_u = cutoff_high_5 thresh_d = cutoff_low_5 make_analysis = 1; end if (thresh == 4 & onoffANALYSIS(thresh) == 1) if (I_on > I_off) thresh_u = I_on - I_on^(0.5) thresh_d = I_off + I_off^(0.5) elseif(I_off > I_on) thresh_u = I_off - I_off^(0.5) thresh_d = I_on + I_on^(0.5) end make_analysis = 1; end if (thresh == 5 & onoffANALYSIS(thresh) == 1) thresh_u = thresh_custom_up thresh_d = thresh_custom_down make_analysis = 1; end if (make_analysis == 1) events_size = size(events); states = [1:events_size(1)]; //initial state if (events(1) > cutoff) then state = 1; elseif (events(1) <= cutoff) then state = 2; end //if //"on" and "off" states for i = 1:events_size(1)//* if (events(i) > thresh_u) then state = 1; elseif (events(i) < thresh_d) then state = 2; end //if states(i) = state; end //for* //making states data threshold_now = my_thresholds(thresh); input_data_now = INPUT_DATA_for_filenames my_times_on = 'fit_results/ON_times_' + '_' + threshold_now + '.txt'; my_times_off = 'fit_results/OFF_times_' + '_' + threshold_now + '.txt'; states_size = size(states); volume = 1; k=1; l=1; on = zeros(); off = zeros(); for j = 1:events_size(1)-1 if(states(j) == states(j+1)) then volume = volume + 1; else time_v = volume * binL; if(states(j) == 1) then on(k) = time_v;, k = k + 1; elseif(states(j) == 2) then off(l) = time_v;, l = l+1; end volume = 1; end end // // // //################################# // // # // // Fit # // // # // //################################# // // n = 15 //number of histograms bins // //ON // which = 1; // [on_err, on_occ, on_x_mid, on_h]=histogram(on, binL, n) // Z_on=[on_occ';1:length(on_occ)']; // range_on = n; // edges_on = (0:range_on) * on_h; // hist_cuton = 0; // //fit // [ k_on_fit, sigma_on_fit, chisq_on_fit] = histfit( LSW, FF, dFF, Z_on, k_on_ini, edges_on, hist_cuton ); // tau_fit = 1/k_on_fit; // sample_size = sum( on_occ ); // edges_left = edges_on( 1:$-1 ); // edges_right = edges_on( 2:$ ); // sizes = edges_right - edges_left; // // // //OFF // which = 2; // [off_err, off_occ, off_x_mid, off_h]=histogram(off, binL, n); // Z_off=[off_occ';1:length(off_occ)']; // range_off = n; // edges_off = (0:range_off) * off_h; // hist_cutoff = 0; // //fit // [ k_off_fit, sigma_off_fit, chisq_off_fit] = histfit( LSW, FF, dFF, Z_off, k_off_ini, edges_off, hist_cutoff ); // tau_fit = 1/k_off_fit; // sample_size = sum( off_occ ); // edges_left = edges_off( 1:$-1 ); // edges_right = edges_off( 2:$ ); // sizes = edges_right - edges_left; // // //writing to the file OnOff_times_f = '../tmp/on-off_times' + '_' + threshold_now + '.txt' // off_times_f = '../tmp/off_times' + '_' + threshold_now + '.txt' // thresh_f = 'thresh/thr' + '_' + threshold_now + '.txt' fd_OnOff_t = mopen(OnOff_times_f, 'w') // fd_off_t = mopen(off_times_f, 'w') thr_fil = threshold_now + ' & %16.2f \t &%16.2f \\\\ \n'; mfprintf(thr, thr_fil, thresh_u, thresh_d) mfprintf(thr_n, '%s \n', threshold_now) mfprintf(fd_OnOff_t, '%16.8f \t %16.8f \n', on(:,:), off(:,:)) // mfprintf(fd_off_t, '%16.8f \n', off(:,:)) mclose(fd_OnOff_t); // mclose(fd_off_t); // //writing to the file OnOff_times_fVal = '../tmp/on-off_times' + '_val_' + threshold_now + '.txt' // off_times_f = '../tmp/off_times' + '_' + threshold_now + '.txt' // thresh_f = 'thresh/thr' + '_' + threshold_now + '.txt' // fd_OnOff_tVal = mopen(OnOff_times_f, 'w') // fd_off_t = mopen(off_times_f, 'w') // thr_fil = threshold_now + ' & %16.2f \t &%16.2f \\\\ \n'; mfprintf(thr_v, '%5.2f \t %5.2f \n', thresh_u, thresh_d) // mfprintf(fd_off_t, '%16.8f \n', off(:,:)) // mclose(fd_off_t); // //################################# // // # // // Plots # // // # // //################################# // // if PLOTS_FACTOR == 1 // //zmienic trzy kolejne linie (sa 2 razy) // edges_left = edges_on( 1:$-1 ); // edges_right = edges_on( 2:$ ); // sizes = edges_right - edges_left; // scf(3); clf(3); // xtitle ("ON times fit") // plot2d(on_x_mid, on_occ, style = -2) // hist_on_fit = FF( 1:length(on_occ), k_on_fit );//fit curve // plot2d( on_x_mid, hist_on_fit, 5 ) // // // scf(4); clf(4); // edges_left = edges_off( 1:$-1 ); // edges_right = edges_off( 2:$ ); // sizes = edges_right - edges_left; // xtitle ("OFF times fit") // plot2d(off_x_mid, off_occ, style = -2) // hist_off_fit = FF( 1:length(off_occ), k_off_fit ); // plot2d( off_x_mid, hist_off_fit, 5 ) // // //saving plots // filename = 'fit_results/ON_analysis_' + input_data_now + '_' + threshold_now; // xs2png(3,filename) // filename = 'fit_results/OFF_analysis_' + input_data_now + '_' + threshold_now; // xs2png(4,filename) // xtitle ("OFF times cumulative histogram") // end // make_analysis = 0; end//if (make_analysis == 1) end//for(thresh = 1:1:4) // onoffANALYSIS(4) = 1; // end // if (WHICH_DATA(i_d) == 1) // end //for(i_d = 1:1:3) mclose(thr); mclose(thr_v); mclose(thr_n); exit;
b15f3d07b3412f2a91ed97bebd22a5ebe80bf97e
449d555969bfd7befe906877abab098c6e63a0e8
/1106/CH6/EX6.6/ex6_6.sce
5f44f82ea47208156d79e405083545f8c63188b3
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
409
sce
ex6_6.sce
// Example 6.6, Page No-276 clear clc N=2 fh=2000 C=0.1*10^-6 R=1/(2*%pi*fh*C) Rkohm=R/1000 printf('R= %.1f kohm', Rkohm) alpha1=0.765 alpha2=1.848 A1=3-alpha1 A2=3-alpha2 Rf1byRi1=A1-1 Rf2byRi2=A2-1 printf('\nRf1/Ri1= %.3f', Rf1byRi1) printf('\nHence, take Rf1=12.35 kohm and Ri1=10 kohm') printf('\nRf2/Ri2= %.3f', Rf2byRi2) printf('\nHence, take Rf2=15.2 kohm and Ri2=100 kohm')
465067aed3720eaa1ebce091b46cd676b9e5f6ab
1573c4954e822b3538692bce853eb35e55f1bb3b
/DSP Functions/zpkshift/test_8.sce
a38d7b64031ebc65fc37de1324ab63bededab262
[]
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
432
sce
test_8.sce
// Test #8 : When output arguments are less than 5 exec('./zpkshift.sci',-1); [z,p,k]=zpkshift(4.1,9.1,1,0.1,0.5); disp(k); disp(p); disp(z); // //Scilab Output //k=0.4505495 //p=0.0878947 + 0.3196320i // 0.0878947 - 0.3196320i //z=0.0985074 + 0.4839408i // 0.0985074 - 0.4839408i // //Matlab Output //z = 0.0985 + 0.4839i // 0.0985 - 0.4839i //p = 0.0879 + 0.3196i // 0.0879 - 0.3196i //k = 0.4505
2909325375177076f18f7c628efffdc42ec8df2f
f78a758dc17a311b355e12366d1315f7a9c2b763
/Mercedes-Benz/MBN LV 124 2013/E-13 Pin interruption 2.tst
ce14911bc12c77e02bbbc4ee14126d426be9fd29
[]
no_license
CZPFOX/Standards
9dbf036f7e3e5767c23872c884ae7da83e66f81c
af34157e6e447d1a2b39136b9f3734feb663d9bb
refs/heads/master
2020-06-18T12:58:06.033918
2019-07-11T02:55:42
2019-07-11T02:55:42
196,309,147
0
0
null
null
null
null
UTF-8
Scilab
false
false
19,959
tst
E-13 Pin interruption 2.tst
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <AutoTest version="2.0.0" wavetype="15"> <Title>Test Case 2-Data Lines</Title> <Organization>Mercedes-Benz</Organization> <Standard>MBN LV 124 2013</Standard> <Item>N/A</Item> <system> <PowerSystem>3</PowerSystem> <voltage>0</voltage> </system> <forminterrupt> <count>3</count> <linetype>1</linetype> <interrupt id="0"> <interrupttype type="1"> <grouptime objectname="t1" value="1" index="2"/> </interrupttype> <buttongroup> <button id="0" checked="0"/> <button id="1" checked="0"/> <button id="2" checked="0"/> <button id="3" checked="0"/> <button id="4" checked="0"/> <button id="5" checked="0"/> <button id="6" checked="0"/> <button id="7" checked="0"/> <button id="8" checked="0"/> <button id="9" checked="0"/> <button id="10" checked="0"/> <button id="11" checked="0"/> <button id="12" checked="0"/> <button id="13" checked="0"/> <button id="14" checked="0"/> <button id="15" checked="0"/> </buttongroup> </interrupt> <interrupt id="1"> <interrupttype type="4"> <grouptime objectname="t1" value="100" index="0"/> <grouptime objectname="t2" value="1" index="1"/> <grouptime objectname="t3" value="4000" index="4"/> <grouptime objectname="t4" value="10" index="2"/> </interrupttype> <buttongroup> <button id="0" checked="1"/> <button id="1" checked="0"/> <button id="2" checked="0"/> <button id="3" checked="0"/> <button id="4" checked="0"/> <button id="5" checked="0"/> <button id="6" checked="0"/> <button id="7" checked="0"/> <button id="8" checked="0"/> <button id="9" checked="0"/> <button id="10" checked="0"/> <button id="11" checked="0"/> <button id="12" checked="0"/> <button id="13" checked="0"/> <button id="14" checked="0"/> <button id="15" checked="0"/> </buttongroup> </interrupt> <interrupt id="2"> <interrupttype type="4"> <grouptime objectname="t1" value="100" index="0"/> <grouptime objectname="t2" value="1" index="1"/> <grouptime objectname="t3" value="4000" index="4"/> <grouptime objectname="t4" value="10" index="2"/> </interrupttype> <buttongroup> <button id="0" checked="0"/> <button id="1" checked="1"/> <button id="2" checked="0"/> <button id="3" checked="0"/> <button id="4" checked="0"/> <button id="5" checked="0"/> <button id="6" checked="0"/> <button id="7" checked="0"/> <button id="8" checked="0"/> <button id="9" checked="0"/> <button id="10" checked="0"/> <button id="11" checked="0"/> <button id="12" checked="0"/> <button id="13" checked="0"/> <button id="14" checked="0"/> <button id="15" checked="0"/> </buttongroup> </interrupt> <interrupt id="3"> <interrupttype type="4"> <grouptime objectname="t1" value="100" index="0"/> <grouptime objectname="t2" value="1" index="1"/> <grouptime objectname="t3" value="4000" index="4"/> <grouptime objectname="t4" value="10" index="2"/> </interrupttype> <buttongroup> <button id="0" checked="0"/> <button id="1" checked="0"/> <button id="2" checked="1"/> <button id="3" checked="0"/> <button id="4" checked="0"/> <button id="5" checked="0"/> <button id="6" checked="0"/> <button id="7" checked="0"/> <button id="8" checked="0"/> <button id="9" checked="0"/> <button id="10" checked="0"/> <button id="11" checked="0"/> <button id="12" checked="0"/> <button id="13" checked="0"/> <button id="14" checked="0"/> <button id="15" checked="0"/> </buttongroup> </interrupt> <interrupt id="4"> <interrupttype type="4"> <grouptime objectname="t1" value="100" index="0"/> <grouptime objectname="t2" value="1" index="1"/> <grouptime objectname="t3" value="4000" index="4"/> <grouptime objectname="t4" value="10" index="2"/> </interrupttype> <buttongroup> <button id="0" checked="0"/> <button id="1" checked="0"/> <button id="2" checked="0"/> <button id="3" checked="1"/> <button id="4" checked="0"/> <button id="5" checked="0"/> <button id="6" checked="0"/> <button id="7" checked="0"/> <button id="8" checked="0"/> <button id="9" checked="0"/> <button id="10" checked="0"/> <button id="11" checked="0"/> <button id="12" checked="0"/> <button id="13" checked="0"/> <button id="14" checked="0"/> <button id="15" checked="0"/> </buttongroup> </interrupt> <interrupt id="5"> <interrupttype type="4"> <grouptime objectname="t1" value="100" index="0"/> <grouptime objectname="t2" value="1" index="1"/> <grouptime objectname="t3" value="4000" index="4"/> <grouptime objectname="t4" value="10" index="2"/> </interrupttype> <buttongroup> <button id="0" checked="0"/> <button id="1" checked="0"/> <button id="2" checked="0"/> <button id="3" checked="0"/> <button id="4" checked="1"/> <button id="5" checked="0"/> <button id="6" checked="0"/> <button id="7" checked="0"/> <button id="8" checked="0"/> <button id="9" checked="0"/> <button id="10" checked="0"/> <button id="11" checked="0"/> <button id="12" checked="0"/> <button id="13" checked="0"/> <button id="14" checked="0"/> <button id="15" checked="0"/> </buttongroup> </interrupt> <interrupt id="6"> <interrupttype type="4"> <grouptime objectname="t1" value="100" index="0"/> <grouptime objectname="t2" value="1" index="1"/> <grouptime objectname="t3" value="4000" index="4"/> <grouptime objectname="t4" value="10" index="2"/> </interrupttype> <buttongroup> <button id="0" checked="0"/> <button id="1" checked="0"/> <button id="2" checked="0"/> <button id="3" checked="0"/> <button id="4" checked="0"/> <button id="5" checked="1"/> <button id="6" checked="0"/> <button id="7" checked="0"/> <button id="8" checked="0"/> <button id="9" checked="0"/> <button id="10" checked="0"/> <button id="11" checked="0"/> <button id="12" checked="0"/> <button id="13" checked="0"/> <button id="14" checked="0"/> <button id="15" checked="0"/> </buttongroup> </interrupt> <interrupt id="7"> <interrupttype type="4"> <grouptime objectname="t1" value="100" index="0"/> <grouptime objectname="t2" value="1" index="1"/> <grouptime objectname="t3" value="4000" index="4"/> <grouptime objectname="t4" value="10" index="2"/> </interrupttype> <buttongroup> <button id="0" checked="0"/> <button id="1" checked="0"/> <button id="2" checked="0"/> <button id="3" checked="0"/> <button id="4" checked="0"/> <button id="5" checked="0"/> <button id="6" checked="1"/> <button id="7" checked="0"/> <button id="8" checked="0"/> <button id="9" checked="0"/> <button id="10" checked="0"/> <button id="11" checked="0"/> <button id="12" checked="0"/> <button id="13" checked="0"/> <button id="14" checked="0"/> <button id="15" checked="0"/> </buttongroup> </interrupt> <interrupt id="8"> <interrupttype type="4"> <grouptime objectname="t1" value="100" index="0"/> <grouptime objectname="t2" value="1" index="1"/> <grouptime objectname="t3" value="4000" index="4"/> <grouptime objectname="t4" value="10" index="2"/> </interrupttype> <buttongroup> <button id="0" checked="0"/> <button id="1" checked="0"/> <button id="2" checked="0"/> <button id="3" checked="0"/> <button id="4" checked="0"/> <button id="5" checked="0"/> <button id="6" checked="0"/> <button id="7" checked="1"/> <button id="8" checked="0"/> <button id="9" checked="0"/> <button id="10" checked="0"/> <button id="11" checked="0"/> <button id="12" checked="0"/> <button id="13" checked="0"/> <button id="14" checked="0"/> <button id="15" checked="0"/> </buttongroup> </interrupt> <interrupt id="9"> <interrupttype type="4"> <grouptime objectname="t1" value="100" index="0"/> <grouptime objectname="t2" value="1" index="1"/> <grouptime objectname="t3" value="4000" index="4"/> <grouptime objectname="t4" value="10" index="2"/> </interrupttype> <buttongroup> <button id="0" checked="0"/> <button id="1" checked="0"/> <button id="2" checked="0"/> <button id="3" checked="0"/> <button id="4" checked="0"/> <button id="5" checked="0"/> <button id="6" checked="0"/> <button id="7" checked="0"/> <button id="8" checked="1"/> <button id="9" checked="0"/> <button id="10" checked="0"/> <button id="11" checked="0"/> <button id="12" checked="0"/> <button id="13" checked="0"/> <button id="14" checked="0"/> <button id="15" checked="0"/> </buttongroup> </interrupt> <interrupt id="10"> <interrupttype type="4"> <grouptime objectname="t1" value="100" index="0"/> <grouptime objectname="t2" value="1" index="1"/> <grouptime objectname="t3" value="4000" index="4"/> <grouptime objectname="t4" value="10" index="2"/> </interrupttype> <buttongroup> <button id="0" checked="0"/> <button id="1" checked="0"/> <button id="2" checked="0"/> <button id="3" checked="0"/> <button id="4" checked="0"/> <button id="5" checked="0"/> <button id="6" checked="0"/> <button id="7" checked="0"/> <button id="8" checked="0"/> <button id="9" checked="1"/> <button id="10" checked="0"/> <button id="11" checked="0"/> <button id="12" checked="0"/> <button id="13" checked="0"/> <button id="14" checked="0"/> <button id="15" checked="0"/> </buttongroup> </interrupt> <interrupt id="11"> <interrupttype type="4"> <grouptime objectname="t1" value="100" index="0"/> <grouptime objectname="t2" value="1" index="1"/> <grouptime objectname="t3" value="4000" index="4"/> <grouptime objectname="t4" value="10" index="2"/> </interrupttype> <buttongroup> <button id="0" checked="0"/> <button id="1" checked="0"/> <button id="2" checked="0"/> <button id="3" checked="0"/> <button id="4" checked="0"/> <button id="5" checked="0"/> <button id="6" checked="0"/> <button id="7" checked="0"/> <button id="8" checked="0"/> <button id="9" checked="0"/> <button id="10" checked="1"/> <button id="11" checked="0"/> <button id="12" checked="0"/> <button id="13" checked="0"/> <button id="14" checked="0"/> <button id="15" checked="0"/> </buttongroup> </interrupt> <interrupt id="12"> <interrupttype type="4"> <grouptime objectname="t1" value="100" index="0"/> <grouptime objectname="t2" value="1" index="1"/> <grouptime objectname="t3" value="4000" index="4"/> <grouptime objectname="t4" value="10" index="2"/> </interrupttype> <buttongroup> <button id="0" checked="0"/> <button id="1" checked="0"/> <button id="2" checked="0"/> <button id="3" checked="0"/> <button id="4" checked="0"/> <button id="5" checked="0"/> <button id="6" checked="0"/> <button id="7" checked="0"/> <button id="8" checked="0"/> <button id="9" checked="0"/> <button id="10" checked="0"/> <button id="11" checked="1"/> <button id="12" checked="0"/> <button id="13" checked="0"/> <button id="14" checked="0"/> <button id="15" checked="0"/> </buttongroup> </interrupt> <interrupt id="13"> <interrupttype type="4"> <grouptime objectname="t1" value="100" index="0"/> <grouptime objectname="t2" value="1" index="1"/> <grouptime objectname="t3" value="4000" index="4"/> <grouptime objectname="t4" value="10" index="2"/> </interrupttype> <buttongroup> <button id="0" checked="0"/> <button id="1" checked="0"/> <button id="2" checked="0"/> <button id="3" checked="0"/> <button id="4" checked="0"/> <button id="5" checked="0"/> <button id="6" checked="0"/> <button id="7" checked="0"/> <button id="8" checked="0"/> <button id="9" checked="0"/> <button id="10" checked="0"/> <button id="11" checked="0"/> <button id="12" checked="1"/> <button id="13" checked="0"/> <button id="14" checked="0"/> <button id="15" checked="0"/> </buttongroup> </interrupt> <interrupt id="14"> <interrupttype type="4"> <grouptime objectname="t1" value="100" index="0"/> <grouptime objectname="t2" value="1" index="1"/> <grouptime objectname="t3" value="4000" index="4"/> <grouptime objectname="t4" value="10" index="2"/> </interrupttype> <buttongroup> <button id="0" checked="0"/> <button id="1" checked="0"/> <button id="2" checked="0"/> <button id="3" checked="0"/> <button id="4" checked="0"/> <button id="5" checked="0"/> <button id="6" checked="0"/> <button id="7" checked="0"/> <button id="8" checked="0"/> <button id="9" checked="0"/> <button id="10" checked="0"/> <button id="11" checked="0"/> <button id="12" checked="0"/> <button id="13" checked="1"/> <button id="14" checked="0"/> <button id="15" checked="0"/> </buttongroup> </interrupt> <interrupt id="15"> <interrupttype type="4"> <grouptime objectname="t1" value="100" index="0"/> <grouptime objectname="t2" value="1" index="1"/> <grouptime objectname="t3" value="4000" index="4"/> <grouptime objectname="t4" value="10" index="2"/> </interrupttype> <buttongroup> <button id="0" checked="0"/> <button id="1" checked="0"/> <button id="2" checked="0"/> <button id="3" checked="0"/> <button id="4" checked="0"/> <button id="5" checked="0"/> <button id="6" checked="0"/> <button id="7" checked="0"/> <button id="8" checked="0"/> <button id="9" checked="0"/> <button id="10" checked="0"/> <button id="11" checked="0"/> <button id="12" checked="0"/> <button id="13" checked="0"/> <button id="14" checked="1"/> <button id="15" checked="0"/> </buttongroup> </interrupt> <interrupt id="16"> <interrupttype type="4"> <grouptime objectname="t1" value="100" index="0"/> <grouptime objectname="t2" value="1" index="1"/> <grouptime objectname="t3" value="4000" index="4"/> <grouptime objectname="t4" value="10" index="2"/> </interrupttype> <buttongroup> <button id="0" checked="0"/> <button id="1" checked="0"/> <button id="2" checked="0"/> <button id="3" checked="0"/> <button id="4" checked="0"/> <button id="5" checked="0"/> <button id="6" checked="0"/> <button id="7" checked="0"/> <button id="8" checked="0"/> <button id="9" checked="0"/> <button id="10" checked="0"/> <button id="11" checked="0"/> <button id="12" checked="0"/> <button id="13" checked="0"/> <button id="14" checked="0"/> <button id="15" checked="1"/> </buttongroup> </interrupt> </forminterrupt> </AutoTest>
afabd491504eb9bf780dedf93ef9ad93202b109f
8217f7986187902617ad1bf89cb789618a90dd0a
/browsable_source/1.1/Unix/scilab-1.1/macros/util/manedit.sci
efccd36598695b38383f02c8cad022a46e139956
[ "LicenseRef-scancode-public-domain", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-unknown-license-reference" ]
permissive
clg55/Scilab-Workbench
4ebc01d2daea5026ad07fbfc53e16d4b29179502
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
refs/heads/master
2023-05-31T04:06:22.931111
2022-09-13T14:41:51
2022-09-13T14:41:51
258,270,193
0
1
null
null
null
null
UTF-8
Scilab
false
false
324
sci
manedit.sci
function []=manedit(manitem,editor) // manitem : character string giving a manitem // [lhs,rhs]=argn(0) if rhs<=1, editor ="lemacs -w =80x50 ";end fname='fname=`ls $SCI/man/*/man*/'+manitem+'.[0-9ln] 2>/dev/null `;'; unixstr=fname+"if [ $fname ] ; then "+editor+" $fname;else echo No man ; fi"; unix(unixstr) //end