blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
6
214
content_id
stringlengths
40
40
detected_licenses
listlengths
0
50
license_type
stringclasses
2 values
repo_name
stringlengths
6
87
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
15 values
visit_date
timestamp[us]date
2016-08-04 09:00:04
2023-09-05 17:18:33
revision_date
timestamp[us]date
1998-12-11 00:15:10
2023-09-02 05:42:40
committer_date
timestamp[us]date
2005-04-26 09:58:02
2023-09-02 05:42:40
github_id
int64
436k
586M
star_events_count
int64
0
12.3k
fork_events_count
int64
0
6.3k
gha_license_id
stringclasses
7 values
gha_event_created_at
timestamp[us]date
2012-11-16 11:45:07
2023-09-14 20:45:37
gha_created_at
timestamp[us]date
2010-03-22 23:34:58
2023-01-07 03:47:44
gha_language
stringclasses
36 values
src_encoding
stringclasses
17 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
1 class
length_bytes
int64
5
10.4M
extension
stringclasses
15 values
filename
stringlengths
2
96
content
stringlengths
5
10.4M
bc79181733fc375bf00804735cf9ad92dd3d13a7
36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd
/HL 357_box.sce
70b57e69feccfdc4c0008b104a4892cc787a0945
[]
no_license
Ahmad6543/Scenarios
cef76bf19d46e86249a6099c01928e4e33db5f20
6a4563d241e61a62020f76796762df5ae8817cc8
refs/heads/master
2023-03-18T23:30:49.653812
2020-09-23T06:26:05
2020-09-23T06:26:05
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
52,022
sce
HL 357_box.sce
Name=HL 357_box PlayerCharacters=Gordon Freeman;Gordon Freeman HEV BotCharacters=HL Bot 1.bot IsChallenge=true Timelimit=120.0 PlayerProfile=Gordon Freeman AddedBots=HL Bot 1.bot PlayerMaxLives=0 BotMaxLives=0 PlayerTeam=0 BotTeams=0 MapName=hl_357_box.map MapScale=2.0 BlockProjectilePredictors=true BlockCheats=true InvinciblePlayer=false InvincibleBots=false Timescale=1.0 BlockHealthbars=false TimeRefilledByKill=0.0 ScoreToWin=600.0 ScorePerDamage=3.0 ScorePerKill=80.0 ScorePerMidairDirect=0.0 ScorePerAnyDirect=0.0 ScorePerTime=0.0 ScoreLossPerDamageTaken=0.0 ScoreLossPerDeath=0.0 ScoreLossPerMidairDirected=0.0 ScoreLossPerAnyDirected=0.0 ScoreMultAccuracy=false ScoreMultDamageEfficiency=true ScoreMultKillEfficiency=true GameTag=HL, Half-Life WeaponHeroTag=357, revolver, magnum, python, Gordon Freeman DifficultyTag=4 AuthorsTag=naz BlockHitMarkers=false BlockHitSounds=false BlockMissSounds=true BlockFCT=false Description=357_box map from Half-Life, with 357 revolver GameVersion=1.0.5 [Aim Profile] Name=Medium Skill MinReactionTime=0.3 MaxReactionTime=0.4 MinSelfMovementCorrectionTime=0.001 MaxSelfMovementCorrectionTime=0.05 FlickFOV=30.0 FlickSpeed=1.5 FlickError=15.0 TrackSpeed=3.5 TrackError=3.5 MaxTurnAngleFromPadCenter=75.0 MinRecenterTime=0.3 MaxRecenterTime=0.5 OptimalAimFOV=30.0 OuterAimPenalty=1.0 MaxError=40.0 ShootFOV=15.0 VerticalAimOffset=0.0 MaxTolerableSpread=5.0 MinTolerableSpread=1.0 TolerableSpreadDist=2000.0 MaxSpreadDistFactor=2.0 [Aim Profile] Name=Medium Skill At Feet MinReactionTime=0.3 MaxReactionTime=0.4 MinSelfMovementCorrectionTime=0.001 MaxSelfMovementCorrectionTime=0.05 FlickFOV=30.0 FlickSpeed=1.5 FlickError=15.0 TrackSpeed=3.5 TrackError=3.5 MaxTurnAngleFromPadCenter=75.0 MinRecenterTime=0.3 MaxRecenterTime=0.5 OptimalAimFOV=30.0 OuterAimPenalty=1.0 MaxError=40.0 ShootFOV=15.0 VerticalAimOffset=-200.0 MaxTolerableSpread=5.0 MinTolerableSpread=1.0 TolerableSpreadDist=2000.0 MaxSpreadDistFactor=2.0 [Aim Profile] Name=Default MinReactionTime=0.3 MaxReactionTime=0.4 MinSelfMovementCorrectionTime=0.001 MaxSelfMovementCorrectionTime=0.05 FlickFOV=30.0 FlickSpeed=1.5 FlickError=15.0 TrackSpeed=3.5 TrackError=3.5 MaxTurnAngleFromPadCenter=75.0 MinRecenterTime=0.3 MaxRecenterTime=0.5 OptimalAimFOV=30.0 OuterAimPenalty=1.0 MaxError=40.0 ShootFOV=15.0 VerticalAimOffset=0.0 MaxTolerableSpread=5.0 MinTolerableSpread=1.0 TolerableSpreadDist=2000.0 MaxSpreadDistFactor=2.0 [Bot Profile] Name=HL Bot 1 DodgeProfileNames=Long Strafes;Mimic;Short Strafes;MidStrafes;HL 001 DodgeProfileWeights=1.0;2.0;1.0;2.0;4.0 DodgeProfileMaxChangeTime=5.0 DodgeProfileMinChangeTime=1.0 WeaponProfileWeights=1.0;0.5;2.0;1.0;1.0;1.0;1.0;1.0 AimingProfileNames=Medium Skill;Medium Skill At Feet;Medium Skill;Default;Default;Default;Default;Default WeaponSwitchTime=3.0 UseWeapons=true CharacterProfile=Gordon Freeman SeeThroughWalls=false [Character Profile] Name=Gordon Freeman MaxHealth=100.0 WeaponProfileNames=HL 357;;;;;;; MinRespawnDelay=0.5 MaxRespawnDelay=5.0 StepUpHeight=32.0 CrouchHeightModifier=0.4 CrouchAnimationSpeed=2.0 CameraOffset=X=0.000 Y=0.000 Z=0.000 HeadshotOnly=false DamageKnockbackFactor=1.0 MovementType=Base MaxSpeed=600.0 MaxCrouchSpeed=200.0 Acceleration=4500.0 AirAcceleration=16000.0 Friction=4.0 BrakingFrictionFactor=2.0 JumpVelocity=600.0 Gravity=2.4525 AirControl=0.5 CanCrouch=true CanPogoJump=true CanCrouchInAir=true CanJumpFromCrouch=true EnemyBodyColor=X=255.000 Y=0.000 Z=0.000 EnemyHeadColor=X=255.000 Y=0.706 Z=0.529 TeamBodyColor=X=0.000 Y=0.000 Z=1.000 TeamHeadColor=X=1.000 Y=0.706 Z=0.529 BlockSelfDamage=false InvinciblePlayer=false InvincibleBots=false BlockTeamDamage=false AirJumpCount=0 AirJumpVelocity=800.0 MainBBType=Cuboid MainBBHeight=145.0 MainBBRadius=23.75816 MainBBHasHead=true MainBBHeadRadius=12.0 MainBBHeadOffset=4.0 MainBBHide=false ProjBBType=Cuboid ProjBBHeight=145.0 ProjBBRadius=23.75816 ProjBBHasHead=true ProjBBHeadRadius=12.0 ProjBBHeadOffset=4.0 ProjBBHide=true HasJetpack=false JetpackActivationDelay=0.2 JetpackFullFuelTime=4.0 JetpackFuelIncPerSec=1.0 JetpackFuelRegensInAir=false JetpackThrust=6000.0 JetpackMaxZVelocity=400.0 JetpackAirControlWithThrust=0.25 AbilityProfileNames=;;; HideWeapon=false AerialFriction=0.0 StrafeSpeedMult=1.0 BackSpeedMult=1.0 RespawnInvulnTime=0.0 BlockedSpawnRadius=2.0 BlockSpawnFOV=2.0 BlockSpawnDistance=2.0 RespawnAnimationDuration=0.5 AllowBufferedJumps=false BounceOffWalls=false LeanAngle=0.0 LeanDisplacement=0.0 AirJumpExtraControl=0.0 ForwardSpeedBias=1.0 HealthRegainedonkill=0.0 HealthRegenPerSec=0.0 HealthRegenDelay=0.0 JumpSpeedPenaltyDuration=0.0 JumpSpeedPenaltyPercent=0.25 [Character Profile] Name=Gordon Freeman HEV MaxHealth=200.0 WeaponProfileNames=HL 357;;;;;;; MinRespawnDelay=0.5 MaxRespawnDelay=5.0 StepUpHeight=32.0 CrouchHeightModifier=0.4 CrouchAnimationSpeed=2.0 CameraOffset=X=0.000 Y=0.000 Z=0.000 HeadshotOnly=false DamageKnockbackFactor=1.0 MovementType=Base MaxSpeed=600.0 MaxCrouchSpeed=200.0 Acceleration=4500.0 AirAcceleration=16000.0 Friction=4.0 BrakingFrictionFactor=2.0 JumpVelocity=600.0 Gravity=2.4525 AirControl=0.5 CanCrouch=true CanPogoJump=true CanCrouchInAir=true CanJumpFromCrouch=true EnemyBodyColor=X=255.000 Y=0.000 Z=0.000 EnemyHeadColor=X=255.000 Y=0.706 Z=0.529 TeamBodyColor=X=0.000 Y=0.000 Z=1.000 TeamHeadColor=X=1.000 Y=0.706 Z=0.529 BlockSelfDamage=false InvinciblePlayer=false InvincibleBots=false BlockTeamDamage=false AirJumpCount=0 AirJumpVelocity=800.0 MainBBType=Cuboid MainBBHeight=145.0 MainBBRadius=23.75816 MainBBHasHead=true MainBBHeadRadius=12.0 MainBBHeadOffset=4.0 MainBBHide=false ProjBBType=Cuboid ProjBBHeight=145.0 ProjBBRadius=23.75816 ProjBBHasHead=true ProjBBHeadRadius=12.0 ProjBBHeadOffset=4.0 ProjBBHide=true HasJetpack=false JetpackActivationDelay=0.2 JetpackFullFuelTime=4.0 JetpackFuelIncPerSec=1.0 JetpackFuelRegensInAir=false JetpackThrust=6000.0 JetpackMaxZVelocity=400.0 JetpackAirControlWithThrust=0.25 AbilityProfileNames=;;; HideWeapon=false AerialFriction=0.0 StrafeSpeedMult=1.0 BackSpeedMult=1.0 RespawnInvulnTime=0.0 BlockedSpawnRadius=2.0 BlockSpawnFOV=2.0 BlockSpawnDistance=2.0 RespawnAnimationDuration=0.5 AllowBufferedJumps=false BounceOffWalls=false LeanAngle=0.0 LeanDisplacement=0.0 AirJumpExtraControl=0.0 ForwardSpeedBias=1.0 HealthRegainedonkill=0.0 HealthRegenPerSec=0.0 HealthRegenDelay=0.0 JumpSpeedPenaltyDuration=0.0 JumpSpeedPenaltyPercent=0.25 [Dodge Profile] Name=Long Strafes MaxTargetDistance=2500.0 MinTargetDistance=750.0 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.5 MaxLRTimeChange=1.5 MinFBTimeChange=0.2 MaxFBTimeChange=0.5 DamageReactionChangesDirection=false DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.0 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.0 TargetStrafeOverride=Ignore TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.3 MaxCrouchTime=0.6 MinJumpTime=0.3 MaxJumpTime=0.6 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=0.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=Mimic MaxTargetDistance=2500.0 MinTargetDistance=750.0 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.2 MaxLRTimeChange=0.5 MinFBTimeChange=0.2 MaxFBTimeChange=0.5 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.0 JumpFrequency=0.5 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.0 TargetStrafeOverride=Mimic TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.3 MaxCrouchTime=0.6 MinJumpTime=0.3 MaxJumpTime=0.6 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=0.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=Short Strafes MaxTargetDistance=2500.0 MinTargetDistance=750.0 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.2 MaxLRTimeChange=0.5 MinFBTimeChange=0.2 MaxFBTimeChange=0.5 DamageReactionChangesDirection=false DamageReactionChanceToIgnore=0.5 DamageReactionMinimumDelay=0.125 DamageReactionMaximumDelay=0.25 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.0 JumpFrequency=0.5 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.0 TargetStrafeOverride=Ignore TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.3 MaxCrouchTime=0.6 MinJumpTime=0.3 MaxJumpTime=0.6 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=0.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=MidStrafes MaxTargetDistance=2500.0 MinTargetDistance=750.0 ToggleLeftRight=true ToggleForwardBack=false MinLRTimeChange=0.32 MaxLRTimeChange=0.35 MinFBTimeChange=0.25 MaxFBTimeChange=0.6 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.2 DamageReactionMinimumDelay=0.13 DamageReactionMaximumDelay=0.16 DamageReactionCooldown=1.0 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.2 JumpFrequency=0.0 CrouchInAirFrequency=0.0 CrouchOnGroundFrequency=0.0 TargetStrafeOverride=Oppose TargetStrafeMinDelay=0.13 TargetStrafeMaxDelay=0.18 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.1 MaxCrouchTime=0.1 MinJumpTime=0.0 MaxJumpTime=0.0 LeftStrafeTimeMult=0.9 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=0.0 BlockedMovementPercent=0.5 BlockedMovementReactionMin=0.125 BlockedMovementReactionMax=0.2 [Dodge Profile] Name=HL 001 MaxTargetDistance=400.0 MinTargetDistance=200.0 ToggleLeftRight=true ToggleForwardBack=true MinLRTimeChange=0.2 MaxLRTimeChange=0.5 MinFBTimeChange=0.2 MaxFBTimeChange=0.5 DamageReactionChangesDirection=true DamageReactionChanceToIgnore=0.4 DamageReactionMinimumDelay=0.14 DamageReactionMaximumDelay=0.32 DamageReactionCooldown=1.2 DamageReactionThreshold=0.0 DamageReactionResetTimer=0.1 JumpFrequency=0.2 CrouchInAirFrequency=0.2 CrouchOnGroundFrequency=0.4 TargetStrafeOverride=Mimic TargetStrafeMinDelay=0.125 TargetStrafeMaxDelay=0.25 MinProfileChangeTime=0.0 MaxProfileChangeTime=0.0 MinCrouchTime=0.1 MaxCrouchTime=0.6 MinJumpTime=0.3 MaxJumpTime=0.6 LeftStrafeTimeMult=1.0 RightStrafeTimeMult=1.0 StrafeSwapMinPause=0.0 StrafeSwapMaxPause=0.25 BlockedMovementPercent=0.8 BlockedMovementReactionMin=0.14 BlockedMovementReactionMax=0.32 [Weapon Profile] Name=HL 357 Type=Hitscan ShotsPerClick=1 DamagePerShot=40.0 KnockbackFactor=4.0 TimeBetweenShots=0.75 Pierces=false Category=FullyAuto BurstShotCount=1 TimeBetweenBursts=0.5 ChargeStartDamage=10.0 ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000 ChargeTimeToAutoRelease=2.0 ChargeTimeToCap=1.0 ChargeMoveSpeedModifier=1.0 MuzzleVelocityMin=X=2000.000 Y=0.000 Z=0.000 MuzzleVelocityMax=X=2000.000 Y=0.000 Z=0.000 InheritOwnerVelocity=0.0 OriginOffset=X=0.000 Y=0.000 Z=0.000 MaxTravelTime=5.0 MaxHitscanRange=100000.0 GravityScale=1.0 HeadshotCapable=true HeadshotMultiplier=3.0 MagazineMax=6 AmmoPerShot=1 ReloadTimeFromEmpty=3.0 ReloadTimeFromPartial=3.0 DamageFalloffStartDistance=100000.0 DamageFalloffStopDistance=100000.0 DamageAtMaxRange=40.0 DelayBeforeShot=0.0 HitscanVisualEffect=None ProjectileGraphic=Ball VisualLifetime=0.1 WallParticleEffect=Gunshot HitParticleEffect=Flare BounceOffWorld=false BounceFactor=0.5 BounceCount=0 HomingProjectileAcceleration=0.0 ProjectileEnemyHitRadius=1.0 CanAimDownSight=true ADSZoomDelay=0.0 ADSZoomSensFactor=0.75 ADSMoveFactor=1.0 ADSStartDelay=0.0 ShootSoundCooldown=0.08 HitSoundCooldown=0.08 HitscanVisualOffset=X=0.000 Y=0.000 Z=-50.000 ADSBlocksShooting=false ShootingBlocksADS=true KnockbackFactorAir=4.0 RecoilNegatable=false DecalType=1 DecalSize=20.0 DelayAfterShooting=0.0 BeamTracksCrosshair=false AlsoShoot= ADSShoot= StunDuration=0.0 CircularSpread=true SpreadStationaryVelocity=0.0 PassiveCharging=false BurstFullyAuto=true FlatKnockbackHorizontal=0.0 FlatKnockbackVertical=0.0 HitscanRadius=0.0 HitscanVisualRadius=6.0 TaggingDuration=0.0 TaggingMaxFactor=1.0 TaggingHitFactor=1.0 ProjectileTrail=None RecoilCrouchScale=1.0 RecoilADSScale=1.0 PSRCrouchScale=1.0 PSRADSScale=1.0 ProjectileAcceleration=0.0 AccelIncludeVertical=false AimPunchAmount=0.0 AimPunchResetTime=0.05 AimPunchCooldown=0.5 AimPunchHeadshotOnly=false AimPunchCosmeticOnly=false MinimumDecelVelocity=0.0 PSRManualNegation=false PSRAutoReset=true AimPunchUpTime=0.05 AmmoReloadedOnKill=0 CancelReloadOnKill=false FlatKnockbackHorizontalMin=0.0 FlatKnockbackVerticalMin=0.0 ADSScope=No Scope ADSFOVOverride=40.0 ADSFOVScale=Quake/Source ADSAllowUserOverrideFOV=false Explosive=false Radius=500.0 DamageAtCenter=100.0 DamageAtEdge=100.0 SelfDamageMultiplier=0.5 ExplodesOnContactWithEnemy=false DelayAfterEnemyContact=0.0 ExplodesOnContactWithWorld=false DelayAfterWorldContact=0.0 ExplodesOnNextAttack=false DelayAfterSpawn=0.0 BlockedByWorld=false SpreadSSA=1.0,1.0,-1.0,5.0 SpreadSCA=1.0,1.0,-1.0,5.0 SpreadMSA=1.0,1.0,-1.0,5.0 SpreadMCA=1.0,1.0,-1.0,5.0 SpreadSSH=0.0,0.1,-1.0,3.0 SpreadSCH=1.0,1.0,-1.0,5.0 SpreadMSH=0.0,0.1,0.0,0.0 SpreadMCH=1.0,1.0,-1.0,5.0 MaxRecoilUp=0.0 MinRecoilUp=4.0 MinRecoilHoriz=0.0 MaxRecoilHoriz=0.0 FirstShotRecoilMult=1.0 RecoilAutoReset=true TimeToRecoilPeak=0.05 TimeToRecoilReset=0.35 AAMode=0 AAPreferClosestPlayer=false AAAlpha=1.0 AAMaxSpeed=360.0 AADeadZone=0.0 AAFOV=360.0 AANeedsLOS=true TrackHorizontal=true TrackVertical=true AABlocksMouse=false AAOffTimer=0.0 AABackOnTimer=0.0 TriggerBotEnabled=false TriggerBotDelay=0.0 TriggerBotFOV=1.0 StickyLock=false HeadLock=false VerticalOffset=0.0 DisableLockOnKill=false UsePerShotRecoil=false PSRLoopStartIndex=0 PSRViewRecoilTracking=0.45 PSRCapUp=9.0 PSRCapRight=4.0 PSRCapLeft=4.0 PSRTimeToPeak=0.175 PSRResetDegreesPerSec=40.0 UsePerBulletSpread=false PBS0=0.0,0.0 [Map Data] reflex map version 8 global entity type WorldSpawn brush vertices 1984.000000 -0.000000 1984.000000 1984.000000 0.000000 16.000000 1984.000000 16.000000 16.000000 1984.000000 16.000000 1984.000000 16.000000 16.000000 16.000000 16.000000 -0.000000 16.000000 16.000000 0.000000 1984.000000 16.000000 16.000000 1984.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 1984.000000 16.000000 16.000000 1984.000000 16.000000 0.000000 1984.000000 688.000000 -0.000000 1984.000000 688.000000 16.000000 16.000000 688.000000 0.000000 16.000000 16.000000 -0.000000 16.000000 16.000000 16.000000 16.000000 688.000000 16.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 16.000000 16.000000 1984.000000 16.000000 16.000000 16.000000 16.000000 688.000000 16.000000 16.000000 688.000000 1984.000000 0.000000 688.000000 16.000000 -0.000000 16.000000 16.000000 0.000000 16.000000 1984.000000 -0.000000 688.000000 1984.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 1488.000000 16.000000 1824.000000 1488.000000 16.000000 1760.000000 1488.000000 76.000000 1760.000000 1488.000000 76.000000 1824.000000 1424.000000 76.000000 1760.000000 1424.000000 16.000000 1760.000000 1424.000000 16.000000 1824.000000 1424.000000 76.000000 1824.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 1468.000000 16.000000 1760.000000 1468.000000 16.000000 1664.000000 1468.000000 60.000000 1664.000000 1468.000000 60.000000 1760.000000 1424.000000 60.000000 1664.000000 1424.000000 16.000000 1664.000000 1424.000000 16.000000 1760.000000 1424.000000 60.000000 1760.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 1520.000000 16.000000 1664.000000 1520.000000 16.000000 1568.000000 1520.000000 108.000000 1568.000000 1520.000000 108.000000 1664.000000 1424.000000 108.000000 1568.000000 1424.000000 16.000000 1568.000000 1424.000000 16.000000 1664.000000 1424.000000 108.000000 1664.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 1552.000000 16.000000 1568.000000 1552.000000 16.000000 1184.000000 1552.000000 140.000000 1184.000000 1552.000000 140.000000 1568.000000 1424.000000 140.000000 1184.000000 1424.000000 16.000000 1184.000000 1424.000000 16.000000 1568.000000 1424.000000 140.000000 1568.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 1648.000000 16.000000 1488.000000 1648.000000 16.000000 1392.000000 1648.000000 108.000000 1392.000000 1648.000000 108.000000 1488.000000 1552.000000 108.000000 1392.000000 1552.000000 16.000000 1392.000000 1552.000000 16.000000 1488.000000 1552.000000 108.000000 1488.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 1616.000000 16.000000 1392.000000 1616.000000 16.000000 1328.000000 1616.000000 76.000000 1328.000000 1616.000000 76.000000 1392.000000 1552.000000 76.000000 1328.000000 1552.000000 16.000000 1328.000000 1552.000000 16.000000 1392.000000 1552.000000 76.000000 1392.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 1660.000000 16.000000 1392.000000 1660.000000 16.000000 1344.000000 1660.000000 60.000000 1344.000000 1660.000000 60.000000 1392.000000 1616.000000 60.000000 1344.000000 1616.000000 16.000000 1344.000000 1616.000000 16.000000 1392.000000 1616.000000 60.000000 1392.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 1520.000000 16.000000 1184.000000 1520.000000 16.000000 1088.000000 1520.000000 108.000000 1088.000000 1520.000000 108.000000 1184.000000 1424.000000 108.000000 1088.000000 1424.000000 16.000000 1088.000000 1424.000000 16.000000 1184.000000 1424.000000 108.000000 1184.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 1488.000000 16.000000 1088.000000 1488.000000 16.000000 1024.000000 1488.000000 76.000000 1024.000000 1488.000000 76.000000 1088.000000 1424.000000 76.000000 1024.000000 1424.000000 16.000000 1024.000000 1424.000000 16.000000 1088.000000 1424.000000 76.000000 1088.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 1468.000000 16.000000 1024.000000 1468.000000 16.000000 880.000000 1468.000000 60.000000 880.000000 1468.000000 60.000000 1024.000000 1424.000000 60.000000 880.000000 1424.000000 16.000000 880.000000 1424.000000 16.000000 1024.000000 1424.000000 60.000000 1024.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 1552.000000 16.000000 880.000000 1552.000000 16.000000 624.000000 1552.000000 140.000000 624.000000 1552.000000 140.000000 880.000000 1424.000000 140.000000 624.000000 1424.000000 16.000000 624.000000 1424.000000 16.000000 880.000000 1424.000000 140.000000 880.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 1616.000000 16.000000 848.000000 1616.000000 16.000000 784.000000 1616.000000 76.000000 784.000000 1616.000000 76.000000 848.000000 1552.000000 76.000000 784.000000 1552.000000 16.000000 784.000000 1552.000000 16.000000 848.000000 1552.000000 76.000000 848.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 1660.000000 16.000000 832.000000 1660.000000 16.000000 784.000000 1660.000000 60.000000 784.000000 1660.000000 60.000000 832.000000 1616.000000 60.000000 784.000000 1616.000000 16.000000 784.000000 1616.000000 16.000000 832.000000 1616.000000 60.000000 832.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 1648.000000 16.000000 784.000000 1648.000000 16.000000 592.000000 1648.000000 108.000000 592.000000 1648.000000 108.000000 784.000000 1552.000000 108.000000 592.000000 1552.000000 16.000000 592.000000 1552.000000 16.000000 784.000000 1552.000000 108.000000 784.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 1616.000000 16.000000 592.000000 1616.000000 16.000000 528.000000 1616.000000 76.000000 528.000000 1616.000000 76.000000 592.000000 1552.000000 76.000000 528.000000 1552.000000 16.000000 528.000000 1552.000000 16.000000 592.000000 1552.000000 76.000000 592.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 1552.000000 16.000000 624.000000 1552.000000 16.000000 528.000000 1552.000000 108.000000 528.000000 1552.000000 108.000000 624.000000 1456.000000 108.000000 528.000000 1456.000000 16.000000 528.000000 1456.000000 16.000000 624.000000 1456.000000 108.000000 624.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 1584.000000 16.000000 528.000000 1584.000000 16.000000 272.000000 1584.000000 140.000000 272.000000 1584.000000 140.000000 528.000000 1456.000000 140.000000 272.000000 1456.000000 16.000000 272.000000 1456.000000 16.000000 528.000000 1456.000000 140.000000 528.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 1628.000000 16.000000 528.000000 1628.000000 16.000000 480.000000 1628.000000 60.000000 480.000000 1628.000000 60.000000 528.000000 1584.000000 60.000000 480.000000 1584.000000 16.000000 480.000000 1584.000000 16.000000 528.000000 1584.000000 60.000000 528.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 594.000000 16.000000 1520.000000 594.000000 16.000000 1264.000000 594.000000 140.000000 1264.000000 594.000000 140.000000 1520.000000 466.000000 140.000000 1264.000000 466.000000 16.000000 1264.000000 466.000000 16.000000 1520.000000 466.000000 140.000000 1520.000000 faces 0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 466.000000 16.000000 1360.000000 466.000000 16.000000 1296.000000 466.000000 76.000000 1296.000000 466.000000 76.000000 1360.000000 402.000000 76.000000 1296.000000 402.000000 16.000000 1296.000000 402.000000 16.000000 1360.000000 402.000000 76.000000 1360.000000 faces 0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 466.000000 16.000000 1552.000000 466.000000 16.000000 1360.000000 466.000000 108.000000 1360.000000 466.000000 108.000000 1552.000000 370.000000 108.000000 1360.000000 370.000000 16.000000 1360.000000 370.000000 16.000000 1552.000000 370.000000 108.000000 1552.000000 faces 0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 402.000000 16.000000 1360.000000 402.000000 16.000000 1312.000000 402.000000 60.000000 1312.000000 402.000000 60.000000 1360.000000 358.000000 60.000000 1312.000000 358.000000 16.000000 1312.000000 358.000000 16.000000 1360.000000 358.000000 60.000000 1360.000000 faces 0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 562.000000 16.000000 1616.000000 562.000000 16.000000 1520.000000 562.000000 108.000000 1520.000000 562.000000 108.000000 1616.000000 466.000000 108.000000 1520.000000 466.000000 16.000000 1520.000000 466.000000 16.000000 1616.000000 466.000000 108.000000 1616.000000 faces 0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 466.000000 16.000000 1616.000000 466.000000 16.000000 1552.000000 466.000000 76.000000 1552.000000 466.000000 76.000000 1616.000000 402.000000 76.000000 1552.000000 402.000000 16.000000 1552.000000 402.000000 16.000000 1616.000000 402.000000 76.000000 1616.000000 faces 0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 434.000000 16.000000 1664.000000 434.000000 16.000000 1616.000000 434.000000 60.000000 1616.000000 434.000000 60.000000 1664.000000 390.000000 60.000000 1616.000000 390.000000 16.000000 1616.000000 390.000000 16.000000 1664.000000 390.000000 60.000000 1664.000000 faces 0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 562.000000 16.000000 1872.000000 562.000000 16.000000 1616.000000 562.000000 140.000000 1616.000000 562.000000 140.000000 1872.000000 434.000000 140.000000 1616.000000 434.000000 16.000000 1616.000000 434.000000 16.000000 1872.000000 434.000000 140.000000 1872.000000 faces 0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 594.000000 16.000000 1264.000000 594.000000 16.000000 1120.000000 594.000000 60.000000 1120.000000 594.000000 60.000000 1264.000000 550.000000 60.000000 1120.000000 550.000000 16.000000 1120.000000 550.000000 16.000000 1264.000000 550.000000 60.000000 1264.000000 faces 0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 594.000000 16.000000 1120.000000 594.000000 16.000000 1056.000000 594.000000 76.000000 1056.000000 594.000000 76.000000 1120.000000 530.000000 76.000000 1056.000000 530.000000 16.000000 1056.000000 530.000000 16.000000 1120.000000 530.000000 76.000000 1120.000000 faces 0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 594.000000 16.000000 1056.000000 594.000000 16.000000 960.000000 594.000000 108.000000 960.000000 594.000000 108.000000 1056.000000 498.000000 108.000000 960.000000 498.000000 16.000000 960.000000 498.000000 16.000000 1056.000000 498.000000 108.000000 1056.000000 faces 0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 594.000000 16.000000 960.000000 594.000000 16.000000 576.000000 594.000000 140.000000 576.000000 594.000000 140.000000 960.000000 466.000000 140.000000 576.000000 466.000000 16.000000 576.000000 466.000000 16.000000 960.000000 466.000000 140.000000 960.000000 faces 0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 466.000000 16.000000 816.000000 466.000000 16.000000 752.000000 466.000000 76.000000 752.000000 466.000000 76.000000 816.000000 402.000000 76.000000 752.000000 402.000000 16.000000 752.000000 402.000000 16.000000 816.000000 402.000000 76.000000 816.000000 faces 0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 402.000000 16.000000 800.000000 402.000000 16.000000 752.000000 402.000000 60.000000 752.000000 402.000000 60.000000 800.000000 358.000000 60.000000 752.000000 358.000000 16.000000 752.000000 358.000000 16.000000 800.000000 358.000000 60.000000 800.000000 faces 0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 466.000000 16.000000 752.000000 466.000000 16.000000 656.000000 466.000000 108.000000 656.000000 466.000000 108.000000 752.000000 370.000000 108.000000 656.000000 370.000000 16.000000 656.000000 370.000000 16.000000 752.000000 370.000000 108.000000 752.000000 faces 0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 594.000000 16.000000 576.000000 594.000000 16.000000 480.000000 594.000000 108.000000 480.000000 594.000000 108.000000 576.000000 498.000000 108.000000 480.000000 498.000000 16.000000 480.000000 498.000000 16.000000 576.000000 498.000000 108.000000 576.000000 faces 0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 594.000000 16.000000 480.000000 594.000000 16.000000 384.000000 594.000000 60.000000 384.000000 594.000000 60.000000 480.000000 550.000000 60.000000 384.000000 550.000000 16.000000 384.000000 550.000000 16.000000 480.000000 550.000000 60.000000 480.000000 faces 0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 594.000000 16.000000 384.000000 594.000000 16.000000 320.000000 594.000000 76.000000 320.000000 594.000000 76.000000 384.000000 530.000000 76.000000 320.000000 530.000000 16.000000 320.000000 530.000000 16.000000 384.000000 530.000000 76.000000 384.000000 faces 0.000000 0.000000 2.000000 -2.000000 180.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 -2.000000 180.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 180.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 2000.000000 16.000000 1984.000000 2000.000000 16.000000 16.000000 2000.000000 688.000000 16.000000 2000.000000 688.000000 1984.000000 1984.000000 688.000000 16.000000 1984.000000 16.000000 16.000000 1984.000000 16.000000 1984.000000 1984.000000 688.000000 1984.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 1984.000000 16.000000 2000.000000 1984.000000 16.000000 1984.000000 1984.000000 688.000000 1984.000000 1984.000000 688.000000 2000.000000 16.000000 688.000000 1984.000000 16.000000 16.000000 1984.000000 16.000000 16.000000 2000.000000 16.000000 688.000000 2000.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 1984.000000 16.000000 1984.000000 1984.000000 16.000000 1980.000000 1984.000000 32.000000 1980.000000 1984.000000 32.000000 1984.000000 20.000000 32.000000 1980.000000 20.000000 16.000000 1980.000000 20.000000 16.000000 1984.000000 20.000000 32.000000 1984.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 1984.000000 16.000000 1980.000000 1984.000000 16.000000 16.000000 1984.000000 32.000000 16.000000 1984.000000 32.000000 1980.000000 1980.000000 32.000000 16.000000 1980.000000 16.000000 16.000000 1980.000000 16.000000 1980.000000 1980.000000 32.000000 1980.000000 faces 0.000000 0.000000 2.000000 2.000000 0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 1980.000000 16.000000 20.000000 1980.000000 16.000000 16.000000 1980.000000 32.000000 16.000000 1980.000000 32.000000 20.000000 16.000000 32.000000 16.000000 16.000000 16.000000 16.000000 16.000000 16.000000 20.000000 16.000000 32.000000 20.000000 faces 0.000000 0.000000 2.000000 2.000000 0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 20.000000 16.000000 1984.000000 20.000000 16.000000 20.000000 20.000000 32.000000 20.000000 20.000000 32.000000 1984.000000 16.000000 32.000000 20.000000 16.000000 16.000000 20.000000 16.000000 16.000000 1984.000000 16.000000 32.000000 1984.000000 faces 0.000000 0.000000 2.000000 2.000000 0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 0.000000 6 5 1 0 0x00000000 __TB_empty brush vertices 1984.000000 688.000000 1984.000000 1984.000000 688.000000 16.000000 1984.000000 704.000000 16.000000 1984.000000 704.000000 1984.000000 16.000000 704.000000 16.000000 16.000000 688.000000 16.000000 16.000000 688.000000 1984.000000 16.000000 704.000000 1984.000000 faces 0.000000 0.000000 2.000000 2.000000 -0.000000 0 1 2 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 4 5 6 7 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 7 6 0 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 1 5 4 2 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 2 4 7 3 0x00000000 __TB_empty 0.000000 0.000000 2.000000 2.000000 -0.000000 6 5 1 0 0x00000000 __TB_empty entity type PlayerSpawn Vector3 position 160.000000 40.000000 656.000000 Vector3 angles 90.000000 0.000000 0.000000 Bool8 TeamA 0 Bool8 TeamB 0 entity type PlayerSpawn Vector3 position 160.000000 40.000000 1184.000000 Vector3 angles 90.000000 0.000000 0.000000 Bool8 TeamA 0 Bool8 TeamB 0 entity type PlayerSpawn Vector3 position 160.000000 40.000000 1784.000000 Vector3 angles 90.000000 0.000000 0.000000 Bool8 TeamA 0 Bool8 TeamB 0 entity type PlayerSpawn Vector3 position 1676.000000 40.000000 1696.000000 Vector3 angles 90.000000 0.000000 0.000000 Bool8 TeamA 0 Bool8 TeamB 0 entity type PlayerSpawn Vector3 position 1672.000000 40.000000 1116.000000 Vector3 angles 90.000000 0.000000 0.000000 Bool8 TeamA 0 Bool8 TeamB 0 entity type PlayerSpawn Vector3 position 1784.000000 40.000000 560.000000 Vector3 angles 90.000000 0.000000 0.000000 Bool8 TeamA 0 Bool8 TeamB 0
3488d103d5a7c93126bfe92fc526d686a2afecd1
449d555969bfd7befe906877abab098c6e63a0e8
/2066/CH9/EX9.6/9_6.sce
a0f475ce2538240c4e9a8f1944c10de0b28dc1a5
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
281
sce
9_6.sce
clc clear //Initialization of variables g=32.2 //ft/s^2 h=60000 //ft F=2000 //;b d=3 //ft rho=0.00231 //calculations V=sqrt(2*g*h) disp("By trail and error") Cd=0.25 Nm=0.87 A=%pi/4 *d^2 Vt=sqrt(2*F/(Cd*A*rho)) //results printf("terminal velocity = %.1f ft/s",Vt)
dca4004743c37c794ba22383d52682a53540f3fa
449d555969bfd7befe906877abab098c6e63a0e8
/620/CH7/EX7.9/example7_9.sce
7cfea81ffe0d09e5aad761e05c32db0dde52321e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
528
sce
example7_9.sce
i=0.1; ia=0.01; ib=0.05; ic=0.02; va=-25; vb=-15; vc=15; ir1=i-ia; ir2=ir1-ib; ir3=i-ic; vr1=-va+vb; r1=vr1/ir1; disp("the resistance value (in Ω) of R1 is"); disp(r1); p1=vr1*ir1; disp("power rating (in W) of R1 is"); disp(p1); vr2=-vb; r2=vr2/ir2; disp("the resistance value (in Ω) of R2 is"); disp(r2); p2=vr2*ir2; disp("power rating (in W) of R2 is"); disp(p2); vr3=vc; r3=vr3/ir3; disp("the resistance value (in Ω) of R3 is"); disp(r3); p3=vr3*ir3; disp("power rating (in W) of R3 is"); disp(p3);
f7a4a0bd45fa820e90c08a5bffc028bfd5e2732c
af8ee26c8ebd0db851be4f1e7cf8fb7a9684b9eb
/eigenface_train.sce
d223cec1cd3d38cc901b4c29772069c0025c0df5
[ "MIT" ]
permissive
nikAizuddin/eigenface_example
bbd50d9071b36366566696ab629ce1c003ea4312
916fdd713259afe0411696da3f41c59c40fbad98
refs/heads/master
2020-12-24T19:28:17.861776
2016-05-04T16:00:21
2016-05-04T16:00:21
57,489,901
1
1
null
null
null
null
UTF-8
Scilab
false
false
5,719
sce
eigenface_train.sce
function[] = eigenface_train() // 1 2 3 4 5 6 7 //34567890123456789012345678901234567890123456789012345678901234567890 ////////////////////////////////////////////////////////////////////// // // Title: Train the Eigenface Recognizer. // //-------------------------------------------------------------------- // Author: Nik Mohamad Aizuddin bin Nik Azmi // Date Created: 29-MAR-2015 //-------------------------------------------------------------------- // ////////////////////////////////////////////////////////////////////// // Graphical User Inteface variables global srcImg; global listboxSrcImg; // These global variables are used by this function and the value // can be accessed by other functions. global meanvector; global numOfPerson; global numOfFaces; global eigenface; global numOfEigenfaces; global facevector; global imagesPerPerson; global wTrainingSet; ////////////////////////////////////////////////////////////////// // STEP 1: Load all images from the ORL Database. // First, we have to fill the variable face[] with the // images from the database. ////////////////////////////////////////////////////////////////// k = 1; // row index for variable face[] in this loop; for i=1:1:numOfPerson for j=1:1:imagesPerPerson filename = msprintf("att_faces/orl_faces/s%d/%d.pgm", i, j); face(k,:) = loadpgm(filename); k = k + 1; end end ////////////////////////////////////////////////////////////////// // STEP 2: Convert to face vector space. // Principle Component Analysis doesn't work directly on images. // We have to convert from: // face(numOfFaces, 92*112 pixels) to // face(92*112 pixels, numOfFaces) and stored into facevector // variable. ////////////////////////////////////////////////////////////////// facevector = face'; ////////////////////////////////////////////////////////////////// // STEP 3: Find mean value from all faces. // We must find the common features of human faces, so that when // we subtract it with the sample or training faces, we will get // the unique feature of the face. ////////////////////////////////////////////////////////////////// [rows, cols] = size(facevector); // rows is the number of pixels (92*112 pixels) // cols is the number of faces // For each pixel, find the mean of a pixel from all faces. for r=1:1:rows total = 0; for c=1:1:cols total = total + facevector(r,c); end meanvector(r) = total / cols; end // meanvector is a row vector with size 92*112. ////////////////////////////////////////////////////////////////// // STEP 4: Find the unique features for each training faces. // The result, meansubtvector is a matrix, same size as facevector, // and this matrix will have 0 mean. // Also, the matrix will contains only unique feature of training // faces. ////////////////////////////////////////////////////////////////// meansubtvector = facevector - repmat(meanvector,1,cols); ////////////////////////////////////////////////////////////////// // STEP 5: Find covariance matrix (Matrix L). // Matrix L is a covariance matrix, but we use a different // technique to find the covariance. This technique is described // in TurkPentland1991a paper: // http://www.ece.lsu.edu/gunturk/EE7700/Eigenface.pdf ////////////////////////////////////////////////////////////////// L = meansubtvector' * meansubtvector; ////////////////////////////////////////////////////////////////// // STEP 6: Find eigenvalue and eigenvector of the matrix L. // Using Scilab's spectral decomposition method to find // eigenvalue and eigenvector. ////////////////////////////////////////////////////////////////// [eigenvector_L, eigenvalues_L] = spec(L); // Sort eigenvalues and eigenvector in descending order [s,k] = gsort(diag(eigenvalues_L)) eigenvalues_L = eigenvalues_L(k,k) eigenvector_L = eigenvector_L(:,k) // Normalize the eigenvector [rows, cols] = size(eigenvector_L) for i=1:1:cols maxVal = max(abs(eigenvector_L(:,i))) eigenvector_L(:,i) = eigenvector_L(:,i) / maxVal end ////////////////////////////////////////////////////////////////// // STEP 7: Find eigenface. // The eigenface is actually the eigenvector of the covariance // matrix with "Original Dimensionality". However, the matrix L // is a covariance matrix with "Reduced Dimensionality". To find // the eigenvector of a covariance matrix with // "Original Dimensionality", we have to multiply the eigenvector // of matrix L with the matrix meansubtvector. ////////////////////////////////////////////////////////////////// eigenface = zeros(92*112,numOfFaces) for i=1:1:numOfFaces for j=1:1:numOfFaces eigenface(:,i) = eigenface(:,i) + ... (eigenvector_L(j,i) * meansubtvector(:,j)) end filename = msprintf("debug/eigen_%d.pgm",i); savepgm(matrix(scale_to_255(eigenface(:,i)),112,92),filename) end // Find weights for each person in training data set numOfEigenfaces = 8 for n=1:1:numOfPerson k = 1 + ((n-1) * imagesPerPerson) for i=1:1:imagesPerPerson for j=1:1:numOfEigenfaces wTrainingSet(j,i,n) = ... eigenface(:,j)' * (facevector(:,k) - meanvector) end k = k + 1 end end endfunction
ffb65e56b54fd42035afb89e31f9c3a0805c9cf9
449d555969bfd7befe906877abab098c6e63a0e8
/2681/CH5/EX5.7/Ex5_7.sce
c12dd10ccc89e164efbdeacb3c247047d84310b1
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
299
sce
Ex5_7.sce
//percentage of reflected power //given Vi=20//volts//incident voltage Vr=12.5//volts//reflected voltage row=Vr/Vi//reflected voltage coefficent row2=row^2//reflected_power/incident_power pi=1//watt pr=0.391*1 %pr=pr*100//percentage power disp(%pr,'the percentage of reflected power is:')
c673614b987668336b6259badd5ae9a756100c70
449d555969bfd7befe906877abab098c6e63a0e8
/542/CH14/EX14.1/Example_14_1.sci
0cbca0a167d5ccaae28d0415bc392a117b58da54
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,214
sci
Example_14_1.sci
clear; clc; printf("\n Example 14.1"); //Assuming that the steam is dry and saturated at 205 kN/m2, then from the Steam Tables in the Appendix, the steam temperature = 394 K at which the total enthalpy = 2530 kJ/kg. //At 13.5 kN/m2, water boils at 325 K and, in the absence of data on the boiling point elevation,this will be taken as the temperature of evaporation, assuming an aqueous solution. The total enthalpy of steam at 325 K is 2594 kJ/kg. //Thus the feed, containing 10 per cent solids, has to be heated from 294 to 325 K at which temperature the evaporation takes place. printf("\n mass of dry solids = %.1f kg/sec",(7*10/100)); x = poly([0],'x'); x1 = roots(0.7*100-50*(0.7+x)); printf("\n x = %.1f kg/sec",x1); printf("\n Water to be evaporated = %.1f kg/sec",(7-0.7)-0.7); printf("\n Summarising"); printf("\n Stream Solids Liquid Total "); printf("\n (kg/s) (kg/s) (kg/s) "); printf("\n Feed %.1f %.1f %.1f",x1,7-x1,x1+7-x1); printf("\n Product %.1f %.1f %.1f",x1,x1,x1+x1); printf("\n Evaporation %.1f %.1f",7-x1-x1,7-2*x1); //Using a datum of 273K q_entering = (7*3.76)*(294-273); printf("\n Heat entering with the feed = %.1f kW",q_entering); q_leaving = (1.4*3.14)*(325-273); printf("\n Heat leaving with the product = %.1f kW",q_leaving); printf("\n Heat leaving with the evaporated water = %d kW",5.6*2594); printf("\n Heat transferred from the steam = %d kW",14526+228.6-552.7); printf("\n The enthalpy of the condensed steam leaving at 352.7 K = %.1f kJ/kg ",4.18*(352.7-273)); printf("\n The heat transferred from 1 kg steam = %.1f kJ/kg",2530-333.2); printf("\n Steam required = %.2f kg/s ",14202/2196.8); //s the preheating of the solution and the sub-cooling of the condensate represent but a small proportion of the heat load, the temperature driving force may be taken as the difference between the temperatures of the condensing steam and the evaporating water, or: printf("\n deltaT = %d deg K ",394-325); printf("\n Heat transfer area ,A = %.1f m^2",14202/(3*69));
89882f94fcc8c802333d248e4e5bd893dc5182ff
449d555969bfd7befe906877abab098c6e63a0e8
/611/CH9/EX9.14/Chap9_Ex14_R1.sce
165a745223b5447f309bb9a590c0c579d6b554cc
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,349
sce
Chap9_Ex14_R1.sce
// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India. //Chapter-9,Example 14,Page 337 //Title: Enthalpy and entropy departure //================================================================================================================ clear clc //INPUT T=600;//temperature of the equimolar n-butane and n-octane mixture in K P=16;//pressure of the equimolar n-butane and n-octane mixture in bar am=2.4405;//van der Waals constant for the mixture taken from Example 9.8 in Pa(m^3/mol)^2 bm=0.1767*10^-3;//van der Waals constant for the mixture taken from Example 9.8 in m^3/mol vm=2.8933*10^-3;//molar volume of the mixture taken from Example 9.12 in m^3/mol R=8.314;//universal gas constant in J/molK //CALCULATION dep_h=((P*10^5*vm)-(R*T)-(am/vm))*10^-3;//calculation of the enthalpy departure using Example(8.1) in kJ/mol dep_s=R*(log ((P*10^5*(vm-bm))/(R*T)));//calculation of the entropy departure using Example(8.1) in J/molK //OUTPUT mprintf("\n The enthalpy departure of an equimolar mixture of n-butane and n-octane = %0.3f kJ/mol\n",dep_h); mprintf("\n The entropy departure of an equimolar mixture of n-butane and n-octane = %0.3f J/mol K\n",dep_s); //===============================================END OF PROGRAM===================================================
3bb8016c7dc94446664acb41e41ee907495f09e1
449d555969bfd7befe906877abab098c6e63a0e8
/848/CH5/EX5.4/Example5_4.sce
86bc1d00c70e753170b9a79f522e4bee8352ac06
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
461
sce
Example5_4.sce
//clear// //Caption:Power coupled between two graded index fibers //Example5.4 //page205 clear; clc; close; a =1e-06; //core radii in meters d = 0.3*a;//axial offset PT_P = (2/%pi)*(acos(d/(2*a))-(1-(d/(2*a))^2)^0.5*(d/(6*a))*(5-0.5*(d/a)^2)); PT_P_dB = 10*log10(PT_P) disp(PT_P_dB,'Optical power coupled from first fiber into second fiber in dB is=') //Result //Optical power coupled from first fiber into second fiber in dB is = - 1.2597813
56f3d33849138bce0c6246950eb75c7a53f990c5
449d555969bfd7befe906877abab098c6e63a0e8
/2837/CH21/EX21.4/Ex21_4.sce
a799b845ee8f120fe3944d69a75726ca1ac42f0e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
Ex21_4.sce
clc clear //Initalization of variables v1=1234 //ft/s v2=532 //ft/s kb=0.92 alp=20 //degrees ve=900 //ft/s r=2200 //ft/s g=32.17 //ft/s^2 //calculations vr=sqrt(v1^2 +v2^2) vr2=vr*kb vrc=vr2*cosd(alp) W=(v1+vrc)*ve/g eta=W/(r^2 /(2*g)) *100 //results printf("Blade work = %d ft-lb/lb",W) printf("\n Efficiency = %.1f percent",eta) disp('The answers are a bit different due to rounding off error')
aa2bda53297041bc2587ee5b71badfdc58e430a8
449d555969bfd7befe906877abab098c6e63a0e8
/2282/CH5/EX5.5/ex5_5.sce
66a2a8d4ff4f7b3becfe578738e12a88da3e8219
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
395
sce
ex5_5.sce
// Example 5.5, page no-190 clear clc //comparing given equation with stanard equation m=6 //Modulation Index wc=7.8*10^8 //unmodulated carrier frequency wm=1450 //Modulating frequency fc=wc/(2*%pi) fm=wm/(2*%pi) printf("Unmodulated carrier frequency, fc = %.2f MHz \n The modulation index m = %d \n Modulating frequency, fm = %.2f Hz",fc/10^6,m,fm)
f798f75cfe3ccb679eb2c8517d8adcf4dda5060a
449d555969bfd7befe906877abab098c6e63a0e8
/746/DEPENDENCIES/4_07.sci
33b028eace1bf91a973d2b63635dfe3a44ea9953
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
255
sci
4_07.sci
//Pressure at inlet tothe elbow(in N/m^2): p1=2.21*10^5; //Area of crosssection(in m^2): A1=0.01; //Velocity at secton 2(in m/sec): V2=16; //Area of cross section of section 2(in m^2): A2=0.0025; //Atmospheric pressure(in kPa): patm=1.012*10^5;
665655b4a29bc69c5ee9379c2b7ff4f93917f1fc
449d555969bfd7befe906877abab098c6e63a0e8
/2072/CH26/EX26.5/26_5.sce
70d8a8b0babee18aa197414f34aac7e11ee3cb9c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
412
sce
26_5.sce
//Chapter 26 clc //Example5 //given c=3*10^8 //velocity of light in m/sec m=9.11*10^-31 //mass of electron in kg v=0.75*c gamma=1/sqrt(1-(v^2/c^2)) //relativistic momentum p=m*v*gamma disp(p,"relativistic momentum in kg.m/s is") //classical approach P=m*v disp(P,"classical momentum in kg.m/s is") Z=(p-P)*100/P printf("the relativistic result is %d percent greater than classical result",Z)
de0d179afa46ac1dd66f8fcf12bd602c2b86090c
13f35c5eacaef0a8dc56549edd994a09b21e886a
/normir.sci
e845f1a6d4928d12e008144dbee3e3e8e2fa1c02
[]
no_license
Ivanradist/Neural_Net_Milk
8a940b7f4f501e95cce04580b5cdfe5f86c0ba51
3e2de45a109031f2cb9c54ca9299dc95617f5afc
refs/heads/master
2020-09-12T03:55:59.241356
2019-11-22T20:26:54
2019-11-22T20:26:54
222,295,885
0
0
null
null
null
null
UTF-8
Scilab
false
false
207
sci
normir.sci
function N=normir(s) //Функция номирует входной массив //s - входной массив //N - нормированный массив N = s/max(s); endfunction
c6590529d427a40ebb66f66226fca193436edc9a
3c47dba28e5d43bda9b77dca3b741855c25d4802
/microdaq/help/en_US/build_help.sce
727ab54499ce9512ef502ea916a69618c0ce218a
[ "BSD-3-Clause" ]
permissive
microdaq/Scilab
78dd3b4a891e39ec20ebc4e9b77572fd12c90947
ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf
refs/heads/master
2021-09-29T11:55:21.963637
2019-10-18T09:47:29
2019-10-18T09:47:29
35,049,912
6
3
BSD-3-Clause
2019-10-18T09:47:30
2015-05-04T17:48:48
Scilab
UTF-8
Scilab
false
false
687
sce
build_help.sce
// This file is released under the 3-clause BSD license. See COPYING-BSD. add_help_chapter("Utility functions",get_absolute_file_path("build_help.sce") + filesep() + "utility",%T); add_help_chapter("Data acquisition",get_absolute_file_path("build_help.sce") + filesep() + "hw_access",%T); add_help_chapter("DSP managment",get_absolute_file_path("build_help.sce") + filesep() + "dsp_managment",%T); add_help_chapter("C/C++ code integration",get_absolute_file_path("build_help.sce") + filesep() + "code_integration",%T); add_help_chapter("Blocks",get_absolute_file_path("build_help.sce") + filesep() + "blocks",%T); tbx_build_help(TOOLBOX_TITLE,get_absolute_file_path("build_help.sce"));
d442cd1b27a8ece14a6946db444820fd8d22ae7f
449d555969bfd7befe906877abab098c6e63a0e8
/2093/CH4/EX4.12/exa_4_12.sce
9fa83d293a42714187e770b90abb33141c03b3b2
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
543
sce
exa_4_12.sce
// Exa 4.12 clc; clear; close; // Given data I=0.8;// in mA I=I*10^-3;//in A V_A= 100;// in V Bita=160; VT=25;// in mV VT= VT*10^-3;//in V gm= (I/2)/VT;// in A/V Gm= gm;// Short circuit trnsconductance in mA/V disp(Gm*10^3,"The value of Gm in mA/V") ro2= V_A/(I/2);// in ohm ro4= ro2;// in ohm Ro= ro2*ro4/(ro2+ro4);// in ohm disp(Ro*10^-3,"The value of Ro in kΩ is :") Ad= Gm*Ro;// in V/V disp(Ad,"Value of Ad in V/V is :") r_pi= Bita/gm;//in Ω Rid= 2*r_pi;// in Ω disp(Rid*10^-3,"The value of Rid in kΩ is :")
b7b1cc1f89ec92b582717537b7a83d386474839a
5bcc90ef43196a17fb874abe7d7b4c645065e559
/TypeAwesomeWebApi/templates/headers.tst
1ae4964d8a92cc7b6d14fdbf685248609404804c
[ "MIT" ]
permissive
2718e/TypeAwesome-WebApi
e9c133fb82e0d01484f78e4099a31c633311159c
1c2115d1245dbb0be1947dc280c879a209507bdb
refs/heads/master
2021-01-22T02:34:56.323198
2017-04-23T07:05:00
2017-04-23T07:05:00
81,058,660
1
0
null
null
null
null
UTF-8
Scilab
false
false
1,359
tst
headers.tst
export interface IMethodInfo<TBodyParam, TQueryStringParams, TReturn> { url: string; httpMethod: string; } export function BuildQueryString<TQueryStringParams>(queryParams: TQueryStringParams): string { let result = ""; if (_.keys(queryParams).length > 0) { result = "/?" + _(queryParams).keys().map(key => "" + key + "=" + queryParams[key]).reduce((s: string, acc: string) => s + "&" + acc); } return result; } export function CallMethodNoBodyParam<TReturn, TQueryStringParams>(methodInfo: IMethodInfo<void, TQueryStringParams, TReturn>, queryParams: TQueryStringParams): PromiseLike<TReturn> { let urlWithQuery = methodInfo.url + BuildQueryString(queryParams); let result = $.ajax({ type: methodInfo.httpMethod, url: urlWithQuery }); return result; } export function CallMethodWithBodyParam<TBodyParam, TQueryStringParams, TReturn> (methodInfo: IMethodInfo<TBodyParam, TQueryStringParams, TReturn>, parameter: TBodyParam, queryParams: TQueryStringParams): PromiseLike<TReturn> { let urlWithQuery = methodInfo.url + BuildQueryString(queryParams); let result = $.ajax({ type: methodInfo.httpMethod, contentType: "application/json; charset=utf-8", dataType: "json", url: urlWithQuery, data: JSON.stringify(parameter) }); return result; }
755f79e12b4e50e15a884ff74027476129712f12
717ddeb7e700373742c617a95e25a2376565112c
/278/CH10/EX10.9/ex_10_9.sce
1033792aad217723f94c2e2bdd6cafc2e310afd7
[]
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
452
sce
ex_10_9.sce
//find size of weld clc //solution //given P=2000//N e=120//mm l=40//mm Tmax=25//N/mm^2 //let s be size of weld and t be throat thickness //ref fig 10.24 //A=2*t*l //A=2*0.707*s*l //A=2*0.707*s*40 //A=56.56*s//mm^2 //t=P/A //t=35.4/s//N/mm^2 M=P*e//N-mm //Z=s*l^2/(4.242)//section modulus//mm^3 //fb=M/Z// //fb=P*e/Z// //fb=636.6/s //Tmax=0.5*[sqrt(fb^2+4*t^2)] //25=320.3/s s=320.3/25//mm printf("the sieze of weld is,%f mm",s)
e8529fe0069aea2e6486d4e6279f4d84a4edc72c
449d555969bfd7befe906877abab098c6e63a0e8
/620/CH10/EX10.12/example10_12.sce
88fe3e2fbd691f4f2b327001389904df6ed16b67
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
619
sce
example10_12.sce
r1=10^3; r2=2*10^3; r3=6*10^3; r4=6*10^3; v=12; v2=v*r2/(r1+r2); v4=v*r4/(r3+r4); disp("Part a"); vth=v4-v2; disp("the Thevenin voltage (in V) is"); disp(vth); rth=r1*r2/(r1+r2)+r3*r4/(r3+r4); disp("the Thevenin resistance (in kΩ) is"); disp(rth*10^(-3)); disp("Part b"); in=vth/rth; disp("the Norton current (in mA) is"); disp(in); disp("the Norton resistance (in kΩ) is"); disp(rth*10^(-3)); disp("Part c"); disp("to deliver maximum power the load resistance value (in kΩ) is"); disp(rth*10^(-3)); disp("Part d"); vl=1; p=vl^2/rth; disp("the maximum power delivered (in mW) is"); disp(p*10^3);
7d184b4d0c4f2c71a985af09ea2e81c90daf7763
449d555969bfd7befe906877abab098c6e63a0e8
/1151/CH6/EX6.15/example15.sce
99f2830362b08e0531e7ce464cd4629b19f43065
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
966
sce
example15.sce
s=%s; syms K a p=s ^4+10* s ^3+32* s ^2+( K +32) *s+(K*a) cof_a_0 = coeffs (p, ' s ' ,0); cof_a_1 = coeffs (p, ' s ' ,1); cof_a_2 = coeffs (p, ' s ' ,2); cof_a_3 = coeffs (p, ' s ' ,3); cof_a_4 = coeffs (p, ' s ' ,4); r=[ cof_a_0 cof_a_1 cof_a_3 cof_a_4 ] n= length (r); routh =[r ([5 ,3 ,1]) ;r ([4 ,2]) ,0] routh =[ routh ;- det ( routh (1:2 ,1:2) )/ routh (2 ,1) ,-det (routh (1:2 ,2:3) )/ routh (2 ,2) ,0]; routh =[ routh ;- det ( routh (2:3 ,1:2) )/ routh (3 ,1) ,-det (routh (2:3 ,2:3) )/ routh (3 ,2) ,0]; routh =[ routh ;- det ( routh (3:4 ,1:2) )/ routh (4 ,1) ,0 ,0]; disp (routh ," r outh=") // f o r the g i v e n sys t em to be s t a b l e routh (3 ,1) >0 K <288; routh (4 ,1) >0 (288 -K)*(K +32) -100(K*a) >0 // l e t K=200 K =200; a =((288 - K)*(K +32) ) /(100* K) // v e l o c i t y e r r o r Kv =(K*a) /(4*2*4) ; // % v e l o c i t y e r r o r Kvs =100/ Kv disp (a," c o n t r o l parame t e r=") disp (K,"Gain=")
54f0e5290246f01cdf43c6f26e3c2c3d43c52ef2
449d555969bfd7befe906877abab098c6e63a0e8
/564/DEPENDENCIES/24_2data.sci
e9555e1e944f7cf0130c097dd6f10ddc4245a33e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
100
sci
24_2data.sci
L11=300; L12=320; L1=12000; L2=15000; A1=50000; A2=95000; A21=49000; A22=A2-A21; theta=15*(%pi/180);
5de2aa902b97d7575458357844c9ed812283a380
fcd4bce0080771389b4a69338ed6443153942183
/cores/n64/mupen64plus-rsp-paraLLEl/lightning/check/alu_lsh.tst
c05fda096090dfe8b9a470f4a2ed7938f7a1ef9a
[ "GPL-2.0-only", "GPL-3.0-only", "LGPL-3.0-only", "MIT", "LGPL-2.1-only", "MPL-1.1", "LicenseRef-scancode-mame", "GPL-1.0-or-later", "Zlib", "LGPL-2.1-or-later", "MPL-2.0", "CC-PDDC", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-brian-gladman-3-clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "GFDL-1.1-or-later", "LicenseRef-scancode-other-copyleft", "GFDL-1.1-only" ]
permissive
wulfebw/retro
d4fcf9229b257b3c495f54b1aeb3ea36004ae4aa
dad4b509e99e729e39a2f27e9ee4120e3b607f58
refs/heads/master
2022-10-23T07:17:55.320585
2020-06-12T01:38:06
2020-06-12T01:38:06
260,832,205
8
1
MIT
2020-06-12T01:38:08
2020-05-03T05:06:17
C
UTF-8
Scilab
false
false
1,753
tst
alu_lsh.tst
#include "alu.inc" .code prolog #define LSH(N, I0, I1, V) ALU(N, , lsh, I0, I1, V) LSH(0, 0x7f, 1, 0xfe) LSH(1, 0x7fff, 2, 0x1fffc) LSH(2, 0x81, 16, 0x810000) LSH(3, 0xff, 15, 0x7f8000) LSH(4, 0x7fffffff, 0, 0x7fffffff) #if __WORDSIZE == 32 LSH(5, 0xffffffff, 8, 0xffffff00) LSH(6, 0x7fffffff, 3, 0xfffffff8) LSH(7, -0x7f, 31, 0x80000000) LSH(8, -0x7fff, 30, 0x40000000) LSH(9, -0x7fffffff, 29, 0x20000000) LSH(10, 0x80000001, 28, 0x10000000) LSH(11, 0x8001, 17, 0x20000) LSH(12, 0x80000001, 18, 0x40000) LSH(13, -0xffff, 24, 0x1000000) #else LSH(5, 0xffffffff, 8, 0xffffffff00) LSH(6, 0x7fffffff, 3, 0x3fffffff8) LSH(7, -0x7f, 31, 0xffffffc080000000) LSH(8, -0x7fff, 30, 0xffffe00040000000) LSH(9, -0x7fffffff, 29, 0xf000000020000000) LSH(10, 0x80000001, 28, 0x800000010000000) LSH(11, 0x8001, 17, 0x100020000) LSH(12, 0x80000001, 18, 0x2000000040000) LSH(13, -0xffff, 24, 0xffffff0001000000) LSH(14, 0x7f, 33, 0xfe00000000) LSH(15, 0x7ffff, 34, 0x1ffffc00000000) LSH(16, 0x7fffffff, 35, 0xfffffff800000000) LSH(17, -0x7f, 63, 0x8000000000000000) LSH(18, -0x7fff, 62, 0x4000000000000000) LSH(19, -0x7fffffff, 61, 0x2000000000000000) LSH(20, 0x80000001, 60, 0x1000000000000000) LSH(21, 0x81, 48, 0x81000000000000) LSH(22, 0x8001, 49, 0x2000000000000) LSH(23, 0x80000001, 40, 0x10000000000) LSH(24, 0xff, 47, 0x7f800000000000) LSH(25, 0xffff0001, 56, 0x100000000000000) LSH(26, 0xffffffff, 40, 0xffffff0000000000) LSH(27, 0x7fffffffff, 33, 0xfffffffe00000000) LSH(28, -0x7fffffffff, 63, 0x8000000000000000) LSH(29, 0x8000000001, 48, 0x1000000000000) LSH(30, 0xffffffffff, 47, 0xffff800000000000) #endif prepare pushargi ok ellipsis finishi @printf ret epilog
2585dd4b13c392124eeea84b2bfacf6eec41f668
449d555969bfd7befe906877abab098c6e63a0e8
/1919/CH12/EX12.11/Ex12_11.sce
cafc8ed8764429941686284a25ad91e8e65effe7
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
979
sce
Ex12_11.sce
// Theory and Problems of Thermodynamics // Chapter 12 // Statistical Thermodynamics // Example 11 clear ;clc; //Given data T = 300 // Temperature of paritcle crystal in K TE = 175 // Einstein temperature of particle crystal in K k = 1.38*1e-23 // boltzmann constant h = 6.625*1e-34 // planck constant N = 6.023*1e23 // number of atoms per mole R = 8.314 // gas constant // Calculations v = TE*k/h // frequency of oscillations q = exp(-TE/2/T)/(1-exp(-TE/T)) // particle partition function // molar energy of crystal u = 3/2*N*h*v + 3*R*T*((TE/T)/(exp(TE/T)-1)) // Output results mprintf('frequency of oscillations of crystal = %4.4f E12 per second', v*1e-12) mprintf('\n particle partition function of crystal = %4.4f ', q) mprintf('\n molar energy of crystal = %4.3f kJ/mol', u*1e-3) // computational error in textbook
3d78a07e30d1ef2d7f96abb4fe085b05bb8cc56d
449d555969bfd7befe906877abab098c6e63a0e8
/2093/CH1/EX1.6/exa_1_6.sce
d1a16415a12d6f96b66766c9969c08208adc7089
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
355
sce
exa_1_6.sce
// Exa 1.6 clc; clear; close; // Given data disp("Minimum closed loop voltage gain for R2=0 and R1= 2 kohm") R2=0; R1=2;// in kohm R1=R1*10^3;// in ohm Av_min= (1+R2/R1) disp(Av_min) disp("Maximum closed loop voltage gain for maximum value of R2=100 kohm and R1= 2 kohm") R2=100;// in kohm R1=2;// in kohm Av_max= (1+R2/R1) disp(Av_max)
9c9739fadf33b28ff98069ae2615668608220247
449d555969bfd7befe906877abab098c6e63a0e8
/3428/CH18/EX12.18.9/Ex12_18_9.sce
c8ff6d768bb9bc0ea05161466623e245bd1b3622
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
275
sce
Ex12_18_9.sce
//Section-12,Example-1,Page no.-SS.46 //To determine the glancing angle. clc; a=305 d_110=a/sqrt((1^2) + (1^2)) //n*lm=2*d*sin(B) lm=150 //wavelength of x-ray(pm) B=(asin(lm/(2*d_110)))*(180/3.14) disp(B,'Glancing angle(in degree)')
b72f62cfc6f1821ada5b0ebdc1b46c8142089c1f
449d555969bfd7befe906877abab098c6e63a0e8
/3860/CH5/EX5.3/Ex5_3.sce
85b206d1dfecc89f03fdffbc53594b2d514dc3fc
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
606
sce
Ex5_3.sce
//Example 5.3: Implementation of Boolean logic using Decoders clc // Clears the console disp("f(a,b,c) = Summation(0,2,3,7)") disp("g(a,b,c) = Summation(1,4,6,7)") disp("Truth Table") disp("a b c | f g") disp("0 0 0 | 1 0") disp("0 0 1 | 0 1") disp("0 1 0 | 1 0") disp("0 1 1 | 1 0") disp("1 0 0 | 0 1") disp("1 0 1 | 0 0") disp("1 1 0 | 0 1") disp("1 1 1 | 1 1") disp("The function f = a''b''c'' + a''bc'' + a''bc + abc.") disp("The function g = a''b''c + ab''c'' + abc'' + abc.")
9c7d2683736cd2c00d9fe31636d43dca209a60f5
676ffceabdfe022b6381807def2ea401302430ac
/library/Demos/StdRegions/Tests/StdProject_Diff2D_Quad_Fourier_P6_Q8.tst
c703342522a147273fc1098350b2d1ab24fb048b
[ "MIT" ]
permissive
mathLab/ITHACA-SEM
3adf7a49567040398d758f4ee258276fee80065e
065a269e3f18f2fc9d9f4abd9d47abba14d0933b
refs/heads/master
2022-07-06T23:42:51.869689
2022-06-21T13:27:18
2022-06-21T13:27:18
136,485,665
10
5
MIT
2019-05-15T08:31:40
2018-06-07T14:01:54
Makefile
UTF-8
Scilab
false
false
512
tst
StdProject_Diff2D_Quad_Fourier_P6_Q8.tst
<?xml version="1.0" encoding="utf-8"?> <test> <description>StdProject_Diff2D Quadrilateral Fourier basis P=6 Q=8</description> <executable>StdProject</executable> <parameters>-s quadrilateral -b Fourier Fourier -o 6 6 -p 8 8 -d</parameters> <metrics> <metric type="L2" id="1"> <value tolerance="1e-12">1.54556e-14</value> </metric> <metric type="Linf" id="2"> <value tolerance="1e-12">2.84217e-14</value> </metric> </metrics> </test>
d5a2a1c210256a7caf56da75c6babd393480924c
449d555969bfd7befe906877abab098c6e63a0e8
/2444/CH1/EX1.5/ex1_5.sce
dc6e3a2f38a82389f1ef1c741006150bd87b7ea4
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
582
sce
ex1_5.sce
// Exa 1.5 clc; clear; close; format('v',10) // Given data d = 2;// in mm d = d * 10^-3;// in m sigma = 5.8*10^7;// in S/m miu_e = 0.0032;// in m^2/V-s E = 20;// in mV/m; E = E * 10^-3;// in V/m e = 1.6*10^-19;// in C n = sigma/(e*miu_e);// in /m^3 disp(n,"The charge density of free electrons in /m^3 is"); J = sigma*E;// in A/m^2 disp(J,"The current density in A/m^2 is"); format('v',6) I = J * ( (%pi*(d^2))/4 );// in A disp(I,"The current flowing in the wire in A is"); format('v',9) v = miu_e*E;// in m/s disp(v,"The electron drift velocity in m/s is");
07ffc09fdf7db7ba719b31f91afd5693914af003
6b7c26ac7fd27cf643da3ceddfb8d0ed9b88116b
/projects/05/Equal.tst
3aad2556e63bed29919d276116dcd5c338dc3812
[]
no_license
arlandism/nand2tetris
89536d0bc0c0e67b8cbe993702a1ed4f29055dc4
fd317b519cfbfad43174096cc6487204410c2f8d
refs/heads/master
2021-08-23T03:34:48.840254
2017-12-02T23:41:59
2017-12-02T23:42:04
110,462,114
0
0
null
null
null
null
UTF-8
Scilab
false
false
235
tst
Equal.tst
load Equal.hdl, output-file Equal.out, compare-to Equal.cmp, output-list a%B3.1.3 b%B3.1.3 out%B3.1.3; set a 0, set b 0, eval, output; set a 0, set b 1, eval, output; set a 1, set b 0, eval, output; set a 1, set b 1, eval, output;
cfec37bd561cc175f4bbd9867fb553bdfe40a5b0
f5f41d427e165a46b51c8b06f6c2010b4213033a
/Scilab/gui.sce
1199c93916548b9e2df582b2f9e1e5568ea5822d
[]
no_license
rissuuuu/IT_LAB
a40f6ea5311f5d8012364cfa3d3ad37d83be3afd
8d0f44a2b8b20ed1101c34a5cb263e6229c200cc
refs/heads/master
2021-01-03T05:06:49.877644
2020-02-12T07:42:44
2020-02-12T07:42:44
239,934,733
0
0
null
null
null
null
UTF-8
Scilab
false
false
2,331
sce
gui.sce
//Pavan P //19MCMB04 //PROCESSING AUDIO USING GUI // This GUI file is generated by guibuilder version 3.0 ////////// f=figure('figure_position',[509,130],'figure_size',[646,578],'auto_resize','on','background',[32],'figure_name','19MCMB04_GUI'); ////////// delmenu(f.figure_id,gettext('File')) delmenu(f.figure_id,gettext('?')) delmenu(f.figure_id,gettext('Tools')) toolbar(f.figure_id,'off') handles.dummy = 0; handles.audio=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','DejaVu Sans','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.3001,0.0958333,0.265625,0.0666667],'Relief','default','SliderStep',[0.01,0.1],'String','Process Audio','Style','pushbutton','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','audio','Callback','audio_callback(handles)') handles.Name=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','DejaVu Sans','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.2921875,0.3083333,0.2734375,0.0479167],'Relief','default','SliderStep',[0.01,0.1],'String','Pavan P','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','Name','Callback','') handles.Enroll=uicontrol(f,'unit','normalized','BackgroundColor',[-1,-1,-1],'Enable','on','FontAngle','normal','FontName','DejaVu Sans','FontSize',[12],'FontUnits','points','FontWeight','normal','ForegroundColor',[-1,-1,-1],'HorizontalAlignment','center','ListboxTop',[],'Max',[1],'Min',[0],'Position',[0.2953125,0.25,0.26875,0.0416667],'Relief','default','SliderStep',[0.01,0.1],'String','19MCMB04','Style','text','Value',[0],'VerticalAlignment','middle','Visible','on','Tag','Enroll','Callback','') ////////// // Callbacks are defined as below. Please do not delete the comments as it will be used in coming version ////////// function audio_callback(handles) [y,Fs,bits]=wavread("tanpura1.wav"); subplot(2,1,1) plot2d(y(1,:)) // first channel //subplot(2,1,2) //plot2d(y(2,:)) // second channel y=wavread("tanpura1.wav",[1 5]) //the first five samples endfunction
4c3283ae8f89399689a9e27c36b98a320d01896e
a32457bc76e1a5fe9898d7f84b937381d3bcb80d
/experiment5.sce
a537480b07fbdd484aa68d746b31c2b354cbca33
[]
no_license
kunalsparkx10/signal-and-systems
90d80c4b279b3c44ddd328fbf088ddbbc1ca9b5f
97164f97bd59b1d8b302efeab6a7f6a2640c0a57
refs/heads/main
2023-01-14T10:44:22.315838
2020-11-25T18:24:57
2020-11-25T18:24:57
316,021,693
0
0
null
null
null
null
UTF-8
Scilab
false
false
330
sce
experiment5.sce
//part1 clc; t=-1:0.02:1; w=2*%pi; n_har=10; n=1:1:n_har b=2 ./(n*%pi) x=0.5+b*sin(w*n'*t) plot(x) //part2 clc; clear all; close; x1=[1,3,7,-2,5]; h=[3,0,-1,2]; y=xcorr(x1,h); disp(y,"is the required correlation"); l=length(y); t=0:l-1; plot2d3(t,y); xlabel("n"); ylabel("Amplitude"); title("Correlation");
7c5199dd56e2799e3f5c6e6cd5c2f88155d6de23
449d555969bfd7befe906877abab098c6e63a0e8
/3204/CH10/EX10.1/Ex10_1.sce
182c1c3ea202b7b39a2cd4721505bcfe761d1e86
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,257
sce
Ex10_1.sce
// Initilization of variables W1=400 // N // vertical load at pt C W2=600 // N // vertical load at pt D W3=400 // N // vertical load at pt E l=2 // m // l= Lac=Lcd=Lde=Leb h=2.25 // m // distance of the cable from top L=2 // m // dist of A from top // Calculations // Solving eqn's 1&2 using MATRIX for Xb & Yb A=[-L 4*l;-h 2*l] B=[((W1*l)+(W2*2*l)+(W1*3*l));(W1*l)] C=inv(A)*B // Now consider the F.B.D of BE, Take moment at E y_e=(C(2)*l)/C(1) // m / here y_e is the distance between E and the top theta_1=atand(y_e/l) // degree // where theta_1 is the angle between BE and the horizontal T_BE=C(1)/cosd(theta_1) // N (T_BE=T_max) // Now consider the F.B.D of portion BEDC // Take moment at C y_c=((C(2)*6)-(W3*4)-(W2*2))/(C(1)) // m theta_4=atand(((y_c)-(l))/(l)) // degree T_CA=C(1)/cosd(theta_4) // N // Tension in CA // Results clc printf('(i) The horizontal reaction at B (Xb) is %f N \n',C(1)) printf('(i) The vertical reaction at B (Yb) is %f N \n',C(2)) printf('(ii) The sag at point E (y_e) is %f m \n',y_e) printf('(iii) The tension in portion CA (T_CA) is %f N \n',T_CA) printf('(iv) The max tension in the cable (T_max) is %f N \n',T_BE) printf('(iv) The max slope (theta_1) in the cable is %f degree \n',theta_1)
b7f12c84f569195551e2aa852de1568e845c8a75
a77a50f3f25853ec6a7b5b8548a13b7a4b4b3980
/rsc/sceneries/teste2.sce
75aa33d5bc864fba4bb82345789d5bd8906fff34
[]
no_license
nidoro/PointlessWars
f051b41cb71df783141e5953d2c03d9cf305150a
2e8a9c073026ebb07454922cc3caec41d8c68f29
refs/heads/master
2021-03-27T13:12:04.182891
2016-11-08T15:23:16
2016-11-08T15:23:16
71,281,107
0
0
null
null
null
null
UTF-8
Scilab
false
false
708
sce
teste2.sce
%Background beach.bg % OBJECT-NAME X-RELATIVE Y-RELATIVE X-SCALE Y-SCALE H-FLIP V-FLIP obj3 0.4718 0.2876 1.0000 1.0000 0 0 obj3 0.4396 0.4110 1.0000 1.0000 0 0 obj2 0.5288 0.4704 1.0000 1.0000 0 0 obj3 0.3020 0.3270 1.0000 1.0000 0 0 obj2 0.3124 0.6644 1.0000 1.0000 0 0 obj1 0.3475 0.4265 1.0000 1.0000 0 0
9596decc2cc66b6171a6bbc897fa64405a9a9603
1b969fbb81566edd3ef2887c98b61d98b380afd4
/Rez/bivariate-lcmsr-post_mi/bfi_n_hrz_ind/~BivLCM-SR-bfi_n_hrz_ind-PLin-VLin.tst
60300d9b114211c20966aed8c735fa2398496892
[]
no_license
psdlab/life-in-time-values-and-personality
35fbf5bbe4edd54b429a934caf289fbb0edfefee
7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e
refs/heads/master
2020-03-24T22:08:27.964205
2019-03-04T17:03:26
2019-03-04T17:03:26
143,070,821
1
0
null
null
null
null
UTF-8
Scilab
false
false
11,974
tst
~BivLCM-SR-bfi_n_hrz_ind-PLin-VLin.tst
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM. ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 1 2 3 4 5 ________ ________ ________ ________ ________ 1 0.483025D+00 2 -0.696722D-02 0.385304D-02 3 -0.103276D-01 0.109191D-02 0.214938D+00 4 0.707982D-03 -0.118903D-03 -0.171217D-02 0.179984D-02 5 -0.735647D-03 0.129317D-03 -0.509755D-04 -0.225171D-04 0.231639D-02 6 0.737355D-03 0.368391D-04 -0.385568D-03 0.854350D-04 0.101301D-03 7 -0.338347D-04 -0.109032D-03 0.579807D-03 0.646510D-04 -0.201130D-03 8 0.191004D-02 -0.553046D-04 -0.309256D-03 0.192808D-04 0.381054D-04 9 -0.732769D+00 -0.345534D-02 0.315554D+00 -0.135359D-01 0.321089D-01 10 -0.169242D-01 0.141839D-01 0.191396D+00 -0.891319D-02 0.165969D+00 11 0.202698D-02 0.407299D-02 -0.277195D+00 -0.674416D-02 0.302413D-01 12 -0.131380D+00 0.859594D-02 -0.385843D+00 0.501285D-01 0.151874D-01 13 0.416706D-01 0.388289D-02 -0.217236D-01 0.324584D-02 -0.220705D-01 14 0.242134D+00 -0.824878D-02 -0.442923D+00 0.695060D-02 -0.108303D-01 15 -0.530365D+00 0.322444D-01 0.423745D+00 0.113906D-01 -0.114032D+00 16 0.585117D-01 -0.961792D-03 0.103284D-01 0.176556D-02 -0.118020D-02 17 0.182055D-02 0.604928D-03 -0.113469D-02 0.589572D-04 -0.446921D-03 18 0.623158D+00 0.184116D-01 -0.159184D-01 -0.461030D-01 -0.447818D-01 19 0.226357D-01 -0.156899D-02 0.544196D-01 0.271984D-02 -0.319240D-02 20 -0.231298D+00 -0.241265D-01 -0.481350D+00 -0.273836D-01 -0.374806D-01 21 0.557180D-02 0.342716D-02 -0.454192D-01 -0.625211D-02 0.343302D-02 22 -0.268793D-02 -0.392618D-04 -0.362303D-03 0.474471D-03 0.287283D-03 23 0.292597D-02 -0.602254D-03 0.482718D-02 -0.502764D-02 -0.175432D-02 24 -0.466739D-04 0.346735D-03 -0.221023D-02 0.119080D-03 0.248014D-03 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 6 7 8 9 10 ________ ________ ________ ________ ________ 6 0.101402D-02 7 0.387367D-03 0.139192D-02 8 -0.213837D-03 0.976580D-04 0.242076D-02 9 -0.124616D-01 -0.163613D-01 -0.117921D-01 0.127348D+03 10 -0.231678D-02 -0.155145D-01 -0.319661D-02 0.296614D+01 0.326337D+02 11 0.152436D-01 -0.176009D-03 -0.188852D-01 -0.215590D+02 0.358053D+01 12 -0.885140D-02 -0.181131D-02 0.626218D-01 0.104383D+02 0.803731D+00 13 0.517802D-01 0.542053D-01 -0.103781D-01 -0.181255D+01 -0.316856D+01 14 -0.312924D-01 0.113888D-03 0.182765D+00 -0.203612D+01 0.465876D+00 15 -0.113316D-01 0.417611D-01 -0.452867D-01 0.192886D+01 -0.214340D+02 16 -0.298839D-02 -0.241214D-02 0.284324D-02 0.149616D+01 -0.314364D+00 17 0.434511D-03 0.835580D-04 -0.580498D-04 -0.290638D+00 -0.339770D-01 18 -0.577935D-01 -0.492574D-01 0.284669D-01 -0.288933D+01 -0.317608D+01 19 -0.132730D-01 0.559191D-02 0.277511D-02 -0.932507D+00 0.198145D+00 20 -0.117706D-02 -0.163671D-01 -0.124735D+00 0.244596D+01 -0.208305D+01 21 0.134606D-01 -0.496095D-02 -0.447333D-02 0.706802D+00 -0.298316D+00 22 -0.953959D-05 -0.590421D-04 0.457735D-06 0.493476D-01 0.241214D-01 23 -0.595940D-03 -0.640069D-03 0.903034D-03 -0.187306D+00 -0.279224D+00 24 0.219276D-03 0.103160D-03 -0.365934D-03 0.107064D-01 0.285205D-01 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 11 12 13 14 15 ________ ________ ________ ________ ________ 11 0.489178D+02 12 -0.752619D+01 0.121295D+03 13 -0.295309D+01 -0.261206D+01 0.138954D+02 14 -0.231230D+01 0.107304D+02 -0.806751D+00 0.456078D+02 15 -0.138470D+02 -0.341698D+01 0.427983D+01 -0.489527D+01 0.566496D+03 16 -0.505386D+00 0.316925D+00 -0.537151D-01 0.148007D+00 0.448353D+01 17 0.110581D+00 0.211105D-01 0.101186D-01 -0.256304D-01 -0.265081D+01 18 -0.148718D+01 -0.479270D+01 -0.682016D+01 0.680638D+01 -0.182414D+02 19 0.220981D+01 0.169246D+01 -0.932668D+00 0.712029D+00 -0.506683D+01 20 0.184658D+01 -0.242208D+02 0.362139D+00 -0.178612D+02 0.305322D+02 21 -0.164231D+01 -0.215618D+01 0.807824D+00 -0.578842D+00 0.596181D+01 22 -0.534535D-01 0.167400D-01 0.477510D-02 -0.367484D-01 0.794947D-01 23 0.127140D-01 0.435953D+00 0.440470D-01 0.159639D+00 -0.492312D+00 24 0.167620D-01 -0.338373D-01 -0.143892D-02 -0.554531D-01 -0.723539D-01 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 16 17 18 19 20 ________ ________ ________ ________ ________ 16 0.793259D+00 17 -0.649461D-01 0.271448D-01 18 0.387855D+00 0.106067D+00 0.186257D+03 19 -0.537638D-01 0.378688D-01 0.316812D+01 0.491961D+01 20 -0.297450D+00 -0.895672D-01 0.487048D+01 -0.728525D+00 0.135161D+03 21 0.400136D-01 -0.357309D-01 -0.658752D+00 -0.441283D+01 0.198250D+01 22 0.212096D-02 -0.910509D-03 -0.875519D+00 -0.427039D-01 -0.283228D-01 23 0.730915D-02 0.716584D-02 0.907925D+00 0.129514D+00 0.159909D+01 24 0.414949D-02 0.465876D-03 -0.985870D-01 -0.156130D-01 -0.632476D+00 ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES 21 22 23 24 ________ ________ ________ ________ 21 0.503552D+01 22 0.579957D-02 0.958727D-02 23 -0.722284D-01 -0.663816D-02 0.245576D+00 24 0.593684D-02 0.714306D-03 -0.214334D-01 0.770422D-02 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 1 2 3 4 5 ________ ________ ________ ________ ________ 1 1.000 2 -0.162 1.000 3 -0.032 0.038 1.000 4 0.024 -0.045 -0.087 1.000 5 -0.022 0.043 -0.002 -0.011 1.000 6 0.033 0.019 -0.026 0.063 0.066 7 -0.001 -0.047 0.034 0.041 -0.112 8 0.056 -0.018 -0.014 0.009 0.016 9 -0.093 -0.005 0.060 -0.028 0.059 10 -0.004 0.040 0.072 -0.037 0.604 11 0.000 0.009 -0.085 -0.023 0.090 12 -0.017 0.013 -0.076 0.107 0.029 13 0.016 0.017 -0.013 0.021 -0.123 14 0.052 -0.020 -0.141 0.024 -0.033 15 -0.032 0.022 0.038 0.011 -0.100 16 0.095 -0.017 0.025 0.047 -0.028 17 0.016 0.059 -0.015 0.008 -0.056 18 0.066 0.022 -0.003 -0.080 -0.068 19 0.015 -0.011 0.053 0.029 -0.030 20 -0.029 -0.033 -0.089 -0.056 -0.067 21 0.004 0.025 -0.044 -0.066 0.032 22 -0.039 -0.006 -0.008 0.114 0.061 23 0.008 -0.020 0.021 -0.239 -0.074 24 -0.001 0.064 -0.054 0.032 0.059 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 6 7 8 9 10 ________ ________ ________ ________ ________ 6 1.000 7 0.326 1.000 8 -0.136 0.053 1.000 9 -0.035 -0.039 -0.021 1.000 10 -0.013 -0.073 -0.011 0.046 1.000 11 0.068 -0.001 -0.055 -0.273 0.090 12 -0.025 -0.004 0.116 0.084 0.013 13 0.436 0.390 -0.057 -0.043 -0.149 14 -0.146 0.000 0.550 -0.027 0.012 15 -0.015 0.047 -0.039 0.007 -0.158 16 -0.105 -0.073 0.065 0.149 -0.062 17 0.083 0.014 -0.007 -0.156 -0.036 18 -0.133 -0.097 0.042 -0.019 -0.041 19 -0.188 0.068 0.025 -0.037 0.016 20 -0.003 -0.038 -0.218 0.019 -0.031 21 0.188 -0.059 -0.041 0.028 -0.023 22 -0.003 -0.016 0.000 0.045 0.043 23 -0.038 -0.035 0.037 -0.033 -0.099 24 0.078 0.032 -0.085 0.011 0.057 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 11 12 13 14 15 ________ ________ ________ ________ ________ 11 1.000 12 -0.098 1.000 13 -0.113 -0.064 1.000 14 -0.049 0.144 -0.032 1.000 15 -0.083 -0.013 0.048 -0.030 1.000 16 -0.081 0.032 -0.016 0.025 0.212 17 0.096 0.012 0.016 -0.023 -0.676 18 -0.016 -0.032 -0.134 0.074 -0.056 19 0.142 0.069 -0.113 0.048 -0.096 20 0.023 -0.189 0.008 -0.227 0.110 21 -0.105 -0.087 0.097 -0.038 0.112 22 -0.078 0.016 0.013 -0.056 0.034 23 0.004 0.080 0.024 0.048 -0.042 24 0.027 -0.035 -0.004 -0.094 -0.035 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 16 17 18 19 20 ________ ________ ________ ________ ________ 16 1.000 17 -0.443 1.000 18 0.032 0.047 1.000 19 -0.027 0.104 0.105 1.000 20 -0.029 -0.047 0.031 -0.028 1.000 21 0.020 -0.097 -0.022 -0.887 0.076 22 0.024 -0.056 -0.655 -0.197 -0.025 23 0.017 0.088 0.134 0.118 0.278 24 0.053 0.032 -0.082 -0.080 -0.620 ESTIMATED CORRELATION MATRIX FOR PARAMETER ESTIMATES 21 22 23 24 ________ ________ ________ ________ 21 1.000 22 0.026 1.000 23 -0.065 -0.137 1.000 24 0.030 0.083 -0.493 1.000
8245f4ba1843e4309e5608634b4b9374c4c51d32
449d555969bfd7befe906877abab098c6e63a0e8
/2168/CH3/EX3.33/Chapter3_example33.sce
b88175a25e702792526efa87dc538cf276030cc1
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
964
sce
Chapter3_example33.sce
clc clear //Input data d=18//Bore in cm l=37.5//Stroke in cm N=220//Speed in r.p.m //Mean effective pressure in kg/cm^2 //Firing pp=5.9//Positive loop pn=0.248//Negative loop //Missing nn=0.432//Negative loop bhp=8.62//Brake horse power in h.p ex=100//Explosions per minute vg=0.101//Gas used in cu.m per minute //Calculations tc=(N/2)//The number of cycles nw=ex//Number of working cycles nm=(tc-nw)//Number of missing cycles ihp=((l/100)*(3.14/4)*(d^2/4500))*((pp-pn)*(100-nn))//Net I.H.P in h.p fhp=(ihp-bhp)//Friction horse power in h.p W=((pp-pn)*(3.14/4)*(d^2*(l/100)))//Workdone per firing done in kg.m Wp=(nn*(3.14/4)*d^2*(l/100))//Workdone per pumping stroke in kg.m n=((fhp*4500)+(Wp*tc))/(W+Wp)//Number of strokes gf=(vg/nw)//Gas per firing stroke in cu.m gl=(n*gf)//Gas per minute at no load in cu.m //Output printf('Friction horse power of the engine is %3.2f \n Gas consumption at no load is %3.3f cu.m/min',fhp,gl)
96b312931628eedc35d12a59aa48a469a5fee34e
449d555969bfd7befe906877abab098c6e63a0e8
/137/CH5/EX5.5/5_5.sce
2251525ae1a2721ad7665ea909e906c5df32150a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,068
sce
5_5.sce
clc; //Assuming SI unit for all quantities //page 225 //problem 5.5 // An angle modulated signal with carrier frequency wc = 2*pi*10^5 is described by the equation Qem= 10cos(@(t)) where @(t)=wct+5sin3000t+10sin2000pi*t B=2000*%pi/(2*%pi);//signal bandwidthis the highest frequency in m(t) Ac=10;//carrier amplitude P=Ac^2/2;// carrier power disp(+'watt',P,'a) The carrier power is '); // to find frequency derivative df, e find instantaneous freq. w as // wi=d/dt(@(t))= wc+15000cos3000t+20000pi*cos2000pi*t; // The carrier derivative is 15000cos3000t+20000pi*cos2000pi*t. The two sinusoids will add in phase at some point and the maximum value of the expression is dW=15000+20000pi dW=15000+20000*%pi; df=dW/(2*%pi); disp(+'Hz',df,'b) The frequency deviation in Hz is '); // The deviation ratio B1 is given as B1=df/B; disp(B1,'c) The deviation ratio is '); //The phase deviation is the maximum value of the angle @(t) and is given b d@ d=5+10; disp(+'rad',d,'d)The phase deviation in rad is'); Bem=2*(df+B); disp(+'Hz',Bem,'e)Bandwidth is ');
5f6c7c88c4bcbad9bfd8223d5e0f81c0ac8912c5
449d555969bfd7befe906877abab098c6e63a0e8
/401/CH8/EX8.6/Example8_6.sce
6b84843bcbb20292b8c601c448a652e7c36e7b3e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
821
sce
Example8_6.sce
//Example 8.6 //Program to calculate the noise equivalent power and specific //detectivity for the device clear; clc ; close ; //Given data Id=8*10^(-9); //A - DARK CURRENT eeta=0.55; //*100 - QUANTUM EFFICIENCY Lambda=1.3*10^(-6); //metre - OPERATING WAVELENGTH A=100*50*(10^(-6))^2; //m^2 - AREA e=1.602*10^(-19); //Coulumbs - CHARGE OF AN ELECTRON h= 6.626*10^(-34); //J/K - PLANK's CONSTANT c=2.998*10^8; //m/s - VELOCITY OF LIGHT IN VACCUM //Noise equivalent power NEP=h*c*sqrt(2*e*Id)/(eeta*e*Lambda); //Specific detectivity D=sqrt(A)/NEP; //Displaying the Results in Command Window printf("\n\n\t Noise equivalent power = %0.2f X 10^(-14) W.",NEP/10^(-14)); printf("\n\n\t Specific detectivity = %0.1f X 10^8 m H^(1/2)/W.",D/10^(8));
6d16294725da2e0e00e6f2715b68ea1771e6515f
449d555969bfd7befe906877abab098c6e63a0e8
/149/CH10/EX10.17/ques15_16_17.sce
315e1681326ca9d71ce75772244f1f4a3e8854d0
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
540
sce
ques15_16_17.sce
//error //ques15,16,17 //yo=[1.98 1.30 1.05 1.30 -0.88 -.25 1.98] //x0=[0 1/6 1/3 1/2 2/3 5/6 1] disp('Practical harmonic analysis'); syms x T xo=input('Input xo matrix (in factor of T) : '); yo=input('Input yo matrix : '); ao=2*sum(yo)/length(xo); s=ao/2; n=input('No of sin or cos term in expansion : '); i=1 an=2*(yo.*cos(i*xo*2*%pi))/length(yo); bn=2*(yo.*sin(i*xo*2*%pi))/length(yo); s=s+float(an)*cos(i*x*2*%pi/T)+float(bn)*sin(i*x*2*%pi/T); disp(s); disp('Direct current :'); i=sqrt(an^2+bn^2);
f52e7fd50b005e44db595074039daff410e65857
449d555969bfd7befe906877abab098c6e63a0e8
/1076/CH11/EX11.7/11_7.sce
a58dc95acbda450785feaa81a3b436eaefed6f5d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,060
sce
11_7.sce
clear; clc; no=4; Z=0; z=[ 4 1 .5*%i 1; 4 2 .4*%i 1; 1 3 .2*%i 2; 2 3 .1*%i 4]; for(i=1:no) mcase=z(i,4) znew=z(i,3) n1=real(z(i,1)) n2=real(z(i,2)) dim=max(size(Z)) select mcase case 1 then if Z(1,1)==0 then dim=dim-1 end Z(dim+1, dim+1)=znew case 2 then Z(dim+1,dim+1)=znew+Z(n1,n1) Z(1:dim,dim+1)=Z(1:dim, n1) Z(dim+1,1:dim)=Z(n1,1:dim) case 3 then Z=Z-((Z(1:dim, n2)*Z(n2,1:dim))/(znew+Z(n2,n2))) case 4 then Z=Z-(((Z(1:dim, n1)-Z(1:dim, n2))*(Z(n1,1:dim)-Z(n2,1:dim)))/(znew+Z(n2,n2)+Z(n1,n1)-(2*+Z(n1,n2)))) else break end end m=1 n=3 p=1 q=4 no2=4 znew=.5*%i zm=.1*%i za=.2*%i for j=1:no2 if j==q then Z(q,q)=Z(p,q)-((zm/za)*(Z(m,q)-Z(n,q)))-((zm*zm/za)-znew); else Z(q,j)=Z(p,j)-((zm/za)*(Z(m,j)-Z(n,j))) Z(j,q)=Z(q,j) end end Z=round(Z*1e5)/1e5 disp(Z)
47388ed186ba74cb870bad09686400946f109cfd
e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4
/New LSTMAttn Model/.data/lemma-split/SURPRISE-LANGUAGES/Siouan/dak.tst
efcd2669acac3f35e3b87b0027a9487780900912
[]
no_license
davidgu13/Lemma-vs-Form-Splits
c154f1c0c7b84ba5b325b17507012d41b9ad5cfe
3cce087f756420523f5a14234d02482452a7bfa5
refs/heads/master
2023-08-01T16:15:52.417307
2021-09-14T20:19:28
2021-09-14T20:19:28
395,023,433
3
0
null
null
null
null
UTF-8
Scilab
false
false
15,688
tst
dak.tst
héc̣a V;SG;1;PRS héc̣a V;PL;2;PRS héc̣a V;PL;3;PRS héc̣a V;PL;1;PRS héc̣a V;PL;1+INCL;PRS héc̣a V;SG;3;PRS héc̣a V;SG;2;PRS ehnake V;PL;1;PRS ehnake V;PL;3;PRS ehnake V;SG;1;PRS ehnake V;SG;3;PRS ehnake V;PL;2;PRS ehnake V;SG;2;PRS ehnake V;PL;1+INCL;PRS papsuŋ V;PL;2;PRS papsuŋ V;SG;3;PRS papsuŋ V;SG;2;PRS papsuŋ V;SG;1;PRS papsuŋ V;PL;3;PRS papsuŋ V;PL;1;PRS papsuŋ V;PL;1+INCL;PRS yukape V;PL;3;PRS yukape V;PL;1;PRS yukape V;SG;3;PRS yukape V;PL;1+INCL;PRS yukape V;SG;1;PRS yukape V;PL;2;PRS yukape V;SG;2;PRS yatke V;SG;2;PRS yatke V;PL;1+INCL;PRS yatke V;SG;1;PRS yatke V;PL;1;PRS yatke V;SG;3;PRS yatke V;PL;2;PRS yatke V;PL;3;PRS ḣa V;SG;1;PRS ḣa V;SG;2;PRS ḣa V;PL;3;PRS ḣa V;PL;1+INCL;PRS ḣa V;PL;2;PRS ḣa V;SG;3;PRS ḣa V;PL;1;PRS niwe V;SG;2;PRS niwe V;PL;1;PRS niwe V;PL;2;PRS niwe V;SG;1;PRS niwe V;PL;3;PRS niwe V;PL;1+INCL;PRS niwe V;SG;3;PRS hetaŋhaŋ V;PL;1+INCL;PRS hetaŋhaŋ V;SG;2;PRS hetaŋhaŋ V;PL;1;PRS hetaŋhaŋ V;SG;3;PRS hetaŋhaŋ V;SG;1;PRS hetaŋhaŋ V;PL;2;PRS hetaŋhaŋ V;PL;3;PRS nażiŋ V;PL;1+INCL;PRS nażiŋ V;SG;3;PRS nażiŋ V;SG;1;PRS nażiŋ V;SG;2;PRS nażiŋ V;PL;3;PRS nażiŋ V;PL;2;PRS nażiŋ V;PL;1;PRS iyuṭe V;PL;3;PRS iyuṭe V;SG;1;PRS iyuṭe V;SG;3;PRS iyuṭe V;PL;1+INCL;PRS iyuṭe V;SG;2;PRS iyuṭe V;PL;1;PRS iyuṭe V;PL;2;PRS kaḣuġa V;PL;2;PRS kaḣuġa V;SG;3;PRS kaḣuġa V;PL;3;PRS kaḣuġa V;PL;1+INCL;PRS kaḣuġa V;PL;1;PRS kaḣuġa V;SG;1;PRS kaḣuġa V;SG;2;PRS kíciyuza V;PL;3;PRS kíciyuza V;PL;2;PRS kíciyuza V;SG;1;PRS kíciyuza V;SG;2;PRS kíciyuza V;PL;1;PRS kíciyuza V;PL;1+INCL;PRS kíciyuza V;SG;3;PRS wótehda V;PL;2;PRS wótehda V;SG;2;PRS wótehda V;PL;3;PRS wótehda V;SG;3;PRS wótehda V;PL;1+INCL;PRS wótehda V;SG;1;PRS wótehda V;PL;1;PRS aṗe V;PL;2;PRS aṗe V;PL;3;PRS aṗe V;SG;1;PRS aṗe V;PL;1+INCL;PRS aṗe V;PL;1;PRS aṗe V;SG;2;PRS aṗe V;SG;3;PRS ṡicedake V;PL;1+INCL;PRS ṡicedake V;PL;3;PRS ṡicedake V;SG;1;PRS ṡicedake V;SG;2;PRS ṡicedake V;PL;2;PRS ṡicedake V;SG;3;PRS ṡicedake V;PL;1;PRS ġuye V;SG;2;PRS ġuye V;PL;3;PRS ġuye V;SG;3;PRS ġuye V;PL;2;PRS ġuye V;PL;1;PRS ġuye V;PL;1+INCL;PRS ġuye V;SG;1;PRS yużuŋ V;SG;2;PRS yużuŋ V;PL;1+INCL;PRS yużuŋ V;SG;1;PRS yużuŋ V;PL;1;PRS yużuŋ V;PL;2;PRS yużuŋ V;PL;3;PRS yużuŋ V;SG;3;PRS ec̣uŋ V;PL;1+INCL;PRS ec̣uŋ V;PL;1;PRS ec̣uŋ V;SG;3;PRS ec̣uŋ V;SG;1;PRS ec̣uŋ V;SG;2;PRS ec̣uŋ V;PL;2;PRS ec̣uŋ V;PL;3;PRS ṭiṭoḳaŋ i V;PL;2;PRS ṭiṭoḳaŋ i V;PL;1;PRS ṭiṭoḳaŋ i V;SG;3;PRS ṭiṭoḳaŋ i V;SG;2;PRS ṭiṭoḳaŋ i V;SG;1;PRS ṭiṭoḳaŋ i V;PL;1+INCL;PRS ṭiṭoḳaŋ i V;PL;3;PRS (ob) wóhdake V;PL;2;PRS (ob) wóhdake V;PL;1+INCL;PRS (ob) wóhdake V;PL;3;PRS (ob) wóhdake V;SG;1;PRS (ob) wóhdake V;SG;3;PRS (ob) wóhdake V;PL;1;PRS (ob) wóhdake V;SG;2;PRS c̣iŋ V;PL;3;PRS c̣iŋ V;SG;2;PRS c̣iŋ V;PL;2;PRS c̣iŋ V;PL;1+INCL;PRS c̣iŋ V;SG;3;PRS c̣iŋ V;SG;1;PRS c̣iŋ V;PL;1;PRS każużu V;SG;2;PRS każużu V;SG;3;PRS każużu V;SG;1;PRS każużu V;PL;2;PRS każużu V;PL;1+INCL;PRS każużu V;PL;1;PRS każużu V;PL;3;PRS manuŋ V;SG;2;PRS manuŋ V;PL;1;PRS manuŋ V;PL;1+INCL;PRS manuŋ V;PL;2;PRS manuŋ V;PL;3;PRS manuŋ V;SG;1;PRS manuŋ V;SG;3;PRS ihdoi V;PL;1+INCL;PRS ihdoi V;SG;3;PRS ihdoi V;PL;2;PRS ihdoi V;SG;2;PRS ihdoi V;PL;1;PRS ihdoi V;SG;1;PRS ihdoi V;PL;3;PRS yuinaḣni V;PL;2;PRS yuinaḣni V;SG;2;PRS yuinaḣni V;PL;1+INCL;PRS yuinaḣni V;PL;3;PRS yuinaḣni V;SG;3;PRS yuinaḣni V;SG;1;PRS yuinaḣni V;PL;1;PRS kaḣdoke V;PL;2;PRS kaḣdoke V;PL;3;PRS kaḣdoke V;SG;2;PRS kaḣdoke V;SG;3;PRS kaḣdoke V;PL;1+INCL;PRS kaḣdoke V;PL;1;PRS kaḣdoke V;SG;1;PRS iyakaṡke V;PL;3;PRS iyakaṡke V;PL;1;PRS iyakaṡke V;SG;2;PRS iyakaṡke V;SG;3;PRS iyakaṡke V;PL;2;PRS iyakaṡke V;PL;1+INCL;PRS iyakaṡke V;SG;1;PRS waṡte V;PL;2;PRS waṡte V;PL;3;PRS waṡte V;SG;1;PRS waṡte V;SG;3;PRS waṡte V;SG;2;PRS waṡte V;PL;1;PRS waṡte V;PL;1+INCL;PRS anaġoptaŋ V;PL;2;PRS anaġoptaŋ V;SG;3;PRS anaġoptaŋ V;PL;3;PRS anaġoptaŋ V;SG;2;PRS anaġoptaŋ V;PL;1;PRS anaġoptaŋ V;PL;1+INCL;PRS anaġoptaŋ V;SG;1;PRS pasdohaŋ V;PL;2;PRS pasdohaŋ V;SG;3;PRS pasdohaŋ V;PL;1;PRS pasdohaŋ V;PL;1+INCL;PRS pasdohaŋ V;SG;1;PRS pasdohaŋ V;SG;2;PRS pasdohaŋ V;PL;3;PRS wayatke V;PL;2;PRS wayatke V;SG;2;PRS wayatke V;PL;3;PRS wayatke V;PL;1;PRS wayatke V;PL;1+INCL;PRS wayatke V;SG;3;PRS wayatke V;SG;1;PRS wac̣i V;PL;3;PRS wac̣i V;PL;2;PRS wac̣i V;SG;1;PRS wac̣i V;PL;1+INCL;PRS wac̣i V;SG;3;PRS wac̣i V;PL;1;PRS wac̣i V;SG;2;PRS hdoku V;PL;1+INCL;PRS hdoku V;PL;2;PRS hdoku V;PL;1;PRS hdoku V;SG;1;PRS hdoku V;SG;3;PRS hdoku V;SG;2;PRS hdoku V;PL;3;PRS iṡtohmuze V;PL;3;PRS iṡtohmuze V;SG;2;PRS iṡtohmuze V;PL;1+INCL;PRS iṡtohmuze V;SG;1;PRS iṡtohmuze V;SG;3;PRS iṡtohmuze V;PL;1;PRS iṡtohmuze V;PL;2;PRS ṡape V;PL;3;PRS ṡape V;PL;2;PRS ṡape V;SG;1;PRS ṡape V;SG;2;PRS ṡape V;PL;1+INCL;PRS ṡape V;SG;3;PRS ṡape V;PL;1;PRS yahomni V;SG;1;PRS yahomni V;PL;1;PRS yahomni V;PL;2;PRS yahomni V;PL;3;PRS yahomni V;SG;2;PRS yahomni V;PL;1+INCL;PRS yahomni V;SG;3;PRS waṡ'agic̣'iye V;SG;3;PRS waṡ'agic̣'iye V;SG;1;PRS waṡ'agic̣'iye V;PL;1+INCL;PRS waṡ'agic̣'iye V;PL;2;PRS waṡ'agic̣'iye V;PL;3;PRS waṡ'agic̣'iye V;SG;2;PRS waṡ'agic̣'iye V;PL;1;PRS o V;SG;3;PRS o V;SG;2;PRS o V;SG;1;PRS o V;PL;2;PRS o V;PL;3;PRS o V;PL;1;PRS o V;PL;1+INCL;PRS kaḳoḳoke V;PL;1+INCL;PRS kaḳoḳoke V;SG;2;PRS kaḳoḳoke V;PL;1;PRS kaḳoḳoke V;PL;2;PRS kaḳoḳoke V;PL;3;PRS kaḳoḳoke V;SG;3;PRS kaḳoḳoke V;SG;1;PRS waṡtedake V;PL;3;PRS waṡtedake V;PL;1;PRS waṡtedake V;SG;1;PRS waṡtedake V;PL;2;PRS waṡtedake V;SG;3;PRS waṡtedake V;PL;1+INCL;PRS waṡtedake V;SG;2;PRS ḣpaŋye V;PL;3;PRS ḣpaŋye V;SG;2;PRS ḣpaŋye V;PL;1+INCL;PRS ḣpaŋye V;PL;2;PRS ḣpaŋye V;SG;3;PRS ḣpaŋye V;SG;1;PRS ḣpaŋye V;PL;1;PRS ókiye V;PL;2;PRS ókiye V;PL;3;PRS ókiye V;SG;2;PRS ókiye V;SG;1;PRS ókiye V;PL;1;PRS ókiye V;PL;1+INCL;PRS ókiye V;SG;3;PRS ṡakiye V;PL;2;PRS ṡakiye V;PL;1+INCL;PRS ṡakiye V;PL;3;PRS ṡakiye V;PL;1;PRS ṡakiye V;SG;3;PRS ṡakiye V;SG;1;PRS ṡakiye V;SG;2;PRS wac̣iŋye V;SG;1;PRS wac̣iŋye V;PL;3;PRS wac̣iŋye V;PL;1;PRS wac̣iŋye V;PL;2;PRS wac̣iŋye V;SG;3;PRS wac̣iŋye V;SG;2;PRS wac̣iŋye V;PL;1+INCL;PRS iwaṡtedaŋ ec̣uŋ V;SG;1;PRS iwaṡtedaŋ ec̣uŋ V;SG;3;PRS iwaṡtedaŋ ec̣uŋ V;PL;1;PRS iwaṡtedaŋ ec̣uŋ V;PL;2;PRS iwaṡtedaŋ ec̣uŋ V;SG;2;PRS iwaṡtedaŋ ec̣uŋ V;PL;3;PRS iwaṡtedaŋ ec̣uŋ V;PL;1+INCL;PRS wayawa hi V;PL;2;PRS wayawa hi V;SG;1;PRS wayawa hi V;PL;3;PRS wayawa hi V;SG;3;PRS wayawa hi V;SG;2;PRS wayawa hi V;PL;1+INCL;PRS wayawa hi V;PL;1;PRS huwe i V;SG;1;PRS huwe i V;PL;2;PRS huwe i V;PL;3;PRS huwe i V;PL;1+INCL;PRS huwe i V;PL;1;PRS huwe i V;SG;3;PRS huwe i V;SG;2;PRS ḣtani hi V;PL;1;PRS ḣtani hi V;PL;2;PRS ḣtani hi V;SG;2;PRS ḣtani hi V;PL;3;PRS ḣtani hi V;SG;1;PRS ḣtani hi V;PL;1+INCL;PRS ḣtani hi V;SG;3;PRS ípuze V;PL;1+INCL;PRS ípuze V;SG;3;PRS ípuze V;PL;1;PRS ípuze V;SG;2;PRS ípuze V;SG;1;PRS ípuze V;PL;3;PRS ípuze V;PL;2;PRS kai V;SG;2;PRS kai V;PL;1+INCL;PRS kai V;PL;2;PRS kai V;SG;3;PRS kai V;PL;3;PRS kai V;PL;1;PRS kai V;SG;1;PRS inaḣme V;SG;3;PRS inaḣme V;PL;3;PRS inaḣme V;SG;1;PRS inaḣme V;PL;1;PRS inaḣme V;SG;2;PRS inaḣme V;PL;1+INCL;PRS inaḣme V;PL;2;PRS hdużaża V;PL;1;PRS hdużaża V;PL;2;PRS hdużaża V;SG;3;PRS hdużaża V;SG;1;PRS hdużaża V;PL;3;PRS hdużaża V;SG;2;PRS hdużaża V;PL;1+INCL;PRS háŋske V;SG;3;PRS háŋske V;PL;2;PRS háŋske V;PL;3;PRS háŋske V;SG;1;PRS háŋske V;SG;2;PRS háŋske V;PL;1+INCL;PRS háŋske V;PL;1;PRS kahdi V;PL;1;PRS kahdi V;SG;3;PRS kahdi V;SG;1;PRS kahdi V;PL;1+INCL;PRS kahdi V;PL;2;PRS kahdi V;SG;2;PRS kahdi V;PL;3;PRS aohaha V;PL;2;PRS aohaha V;PL;1;PRS aohaha V;PL;3;PRS aohaha V;SG;2;PRS aohaha V;SG;1;PRS aohaha V;PL;1+INCL;PRS aohaha V;SG;3;PRS kaḣape V;SG;3;PRS kaḣape V;SG;1;PRS kaḣape V;PL;2;PRS kaḣape V;PL;1;PRS kaḣape V;PL;3;PRS kaḣape V;PL;1+INCL;PRS kaḣape V;SG;2;PRS (ob) wóta V;SG;1;PRS (ob) wóta V;SG;2;PRS (ob) wóta V;PL;1;PRS (ob) wóta V;SG;3;PRS (ob) wóta V;PL;1+INCL;PRS (ob) wóta V;PL;3;PRS (ob) wóta V;PL;2;PRS ihduṡdoke V;PL;2;PRS ihduṡdoke V;PL;1+INCL;PRS ihduṡdoke V;SG;2;PRS ihduṡdoke V;PL;1;PRS ihduṡdoke V;SG;3;PRS ihduṡdoke V;SG;1;PRS ihduṡdoke V;PL;3;PRS hinażiŋ V;SG;1;PRS hinażiŋ V;PL;1;PRS hinażiŋ V;PL;3;PRS hinażiŋ V;SG;2;PRS hinażiŋ V;SG;3;PRS hinażiŋ V;PL;1+INCL;PRS hinażiŋ V;PL;2;PRS yuwiŋze V;PL;3;PRS yuwiŋze V;PL;2;PRS yuwiŋze V;PL;1+INCL;PRS yuwiŋze V;SG;1;PRS yuwiŋze V;SG;2;PRS yuwiŋze V;SG;3;PRS yuwiŋze V;PL;1;PRS wópeṭuŋ V;PL;2;PRS wópeṭuŋ V;PL;1;PRS wópeṭuŋ V;PL;3;PRS wópeṭuŋ V;SG;3;PRS wópeṭuŋ V;PL;1+INCL;PRS wópeṭuŋ V;SG;1;PRS wópeṭuŋ V;SG;2;PRS yuġaŋ V;PL;2;PRS yuġaŋ V;SG;1;PRS yuġaŋ V;SG;2;PRS yuġaŋ V;SG;3;PRS yuġaŋ V;PL;1;PRS yuġaŋ V;PL;1+INCL;PRS yuġaŋ V;PL;3;PRS éokasiŋ V;PL;2;PRS éokasiŋ V;SG;2;PRS éokasiŋ V;SG;1;PRS éokasiŋ V;PL;1;PRS éokasiŋ V;SG;3;PRS éokasiŋ V;PL;1+INCL;PRS éokasiŋ V;PL;3;PRS ahiṭuŋwe V;SG;1;PRS ahiṭuŋwe V;PL;1;PRS ahiṭuŋwe V;PL;2;PRS ahiṭuŋwe V;PL;1+INCL;PRS ahiṭuŋwe V;PL;3;PRS ahiṭuŋwe V;SG;3;PRS ahiṭuŋwe V;SG;2;PRS uŋspeḳiye V;SG;3;PRS uŋspeḳiye V;SG;1;PRS uŋspeḳiye V;PL;1;PRS uŋspeḳiye V;SG;2;PRS uŋspeḳiye V;PL;1+INCL;PRS uŋspeḳiye V;PL;2;PRS uŋspeḳiye V;PL;3;PRS yubaze V;SG;1;PRS yubaze V;PL;3;PRS yubaze V;SG;3;PRS yubaze V;PL;1+INCL;PRS yubaze V;SG;2;PRS yubaze V;PL;1;PRS yubaze V;PL;2;PRS oihdake V;SG;2;PRS oihdake V;PL;1;PRS oihdake V;SG;3;PRS oihdake V;PL;3;PRS oihdake V;SG;1;PRS oihdake V;PL;2;PRS oihdake V;PL;1+INCL;PRS (ob) ye V;SG;1;PRS (ob) ye V;PL;1;PRS (ob) ye V;PL;3;PRS (ob) ye V;SG;2;PRS (ob) ye V;PL;1+INCL;PRS (ob) ye V;PL;2;PRS (ob) ye V;SG;3;PRS ḳadhde V;SG;1;PRS ḳadhde V;PL;3;PRS ḳadhde V;PL;2;PRS ḳadhde V;SG;3;PRS ḳadhde V;PL;1;PRS ḳadhde V;PL;1+INCL;PRS ḳadhde V;SG;2;PRS spaye V;PL;1+INCL;PRS spaye V;SG;2;PRS spaye V;SG;3;PRS spaye V;PL;2;PRS spaye V;PL;1;PRS spaye V;PL;3;PRS spaye V;SG;1;PRS waŋke V;SG;3;PRS waŋke V;PL;1;PRS waŋke V;PL;2;PRS waŋke V;SG;1;PRS waŋke V;PL;3;PRS waŋke V;PL;1+INCL;PRS waŋke V;SG;2;PRS yuṡpuṡpu V;PL;1+INCL;PRS yuṡpuṡpu V;PL;2;PRS yuṡpuṡpu V;PL;1;PRS yuṡpuṡpu V;PL;3;PRS yuṡpuṡpu V;SG;2;PRS yuṡpuṡpu V;SG;3;PRS yuṡpuṡpu V;SG;1;PRS okiwa V;PL;1;PRS okiwa V;SG;2;PRS okiwa V;SG;1;PRS okiwa V;PL;1+INCL;PRS okiwa V;PL;2;PRS okiwa V;PL;3;PRS okiwa V;SG;3;PRS c̣uwita V;PL;3;PRS c̣uwita V;SG;3;PRS c̣uwita V;SG;1;PRS c̣uwita V;SG;2;PRS c̣uwita V;PL;2;PRS c̣uwita V;PL;1+INCL;PRS c̣uwita V;PL;1;PRS amaġażu V;SG;1;PRS amaġażu V;PL;3;PRS amaġażu V;SG;3;PRS amaġażu V;SG;2;PRS amaġażu V;PL;1+INCL;PRS amaġażu V;PL;2;PRS amaġażu V;PL;1;PRS naġiyeye V;PL;1+INCL;PRS naġiyeye V;PL;2;PRS naġiyeye V;PL;3;PRS naġiyeye V;SG;1;PRS naġiyeye V;PL;1;PRS naġiyeye V;SG;3;PRS naġiyeye V;SG;2;PRS ohoda V;SG;2;PRS ohoda V;PL;1+INCL;PRS ohoda V;SG;3;PRS ohoda V;PL;3;PRS ohoda V;PL;2;PRS ohoda V;SG;1;PRS ohoda V;PL;1;PRS c̣oṗa V;SG;1;PRS c̣oṗa V;PL;3;PRS c̣oṗa V;SG;2;PRS c̣oṗa V;SG;3;PRS c̣oṗa V;PL;1;PRS c̣oṗa V;PL;2;PRS c̣oṗa V;PL;1+INCL;PRS yaoṭaŋiŋ V;SG;3;PRS yaoṭaŋiŋ V;PL;2;PRS yaoṭaŋiŋ V;SG;1;PRS yaoṭaŋiŋ V;PL;1+INCL;PRS yaoṭaŋiŋ V;SG;2;PRS yaoṭaŋiŋ V;PL;3;PRS yaoṭaŋiŋ V;PL;1;PRS ozikiye V;PL;1+INCL;PRS ozikiye V;PL;2;PRS ozikiye V;SG;3;PRS ozikiye V;PL;3;PRS ozikiye V;SG;1;PRS ozikiye V;SG;2;PRS ozikiye V;PL;1;PRS ṭokṡu V;PL;3;PRS ṭokṡu V;SG;1;PRS ṭokṡu V;PL;1+INCL;PRS ṭokṡu V;SG;3;PRS ṭokṡu V;PL;2;PRS ṭokṡu V;PL;1;PRS ṭokṡu V;SG;2;PRS wod i V;SG;3;PRS wod i V;PL;3;PRS wod i V;PL;1+INCL;PRS wod i V;PL;1;PRS wod i V;SG;1;PRS wod i V;SG;2;PRS wod i V;PL;2;PRS yac̣aŋze V;PL;1+INCL;PRS yac̣aŋze V;PL;2;PRS yac̣aŋze V;PL;3;PRS yac̣aŋze V;SG;1;PRS yac̣aŋze V;SG;2;PRS yac̣aŋze V;PL;1;PRS yac̣aŋze V;SG;3;PRS tógeḣpekiye V;PL;1;PRS tógeḣpekiye V;PL;3;PRS tógeḣpekiye V;PL;1+INCL;PRS tógeḣpekiye V;PL;2;PRS tógeḣpekiye V;SG;3;PRS tógeḣpekiye V;SG;2;PRS tógeḣpekiye V;SG;1;PRS icaġe V;SG;3;PRS icaġe V;SG;1;PRS icaġe V;PL;2;PRS icaġe V;PL;3;PRS icaġe V;PL;1+INCL;PRS icaġe V;PL;1;PRS icaġe V;SG;2;PRS ayupte V;PL;1+INCL;PRS ayupte V;PL;1;PRS ayupte V;SG;1;PRS ayupte V;PL;3;PRS ayupte V;SG;3;PRS ayupte V;PL;2;PRS ayupte V;SG;2;PRS ihdoye V;PL;2;PRS ihdoye V;SG;3;PRS ihdoye V;PL;1;PRS ihdoye V;PL;3;PRS ihdoye V;SG;1;PRS ihdoye V;SG;2;PRS ihdoye V;PL;1+INCL;PRS ob i V;PL;1+INCL;PRS ob i V;SG;2;PRS ob i V;PL;2;PRS ob i V;SG;3;PRS ob i V;PL;1;PRS ob i V;PL;3;PRS ob i V;SG;1;PRS ihdohi V;SG;1;PRS ihdohi V;PL;1+INCL;PRS ihdohi V;SG;2;PRS ihdohi V;PL;1;PRS ihdohi V;PL;3;PRS ihdohi V;SG;3;PRS ihdohi V;PL;2;PRS kíciyuhe V;SG;3;PRS kíciyuhe V;SG;1;PRS kíciyuhe V;PL;2;PRS kíciyuhe V;SG;2;PRS kíciyuhe V;PL;3;PRS kíciyuhe V;PL;1;PRS kíciyuhe V;PL;1+INCL;PRS uŋspe V;SG;1;PRS uŋspe V;SG;3;PRS uŋspe V;PL;3;PRS uŋspe V;PL;1;PRS uŋspe V;SG;2;PRS uŋspe V;PL;2;PRS uŋspe V;PL;1+INCL;PRS aḣpeya V;SG;3;PRS aḣpeya V;SG;2;PRS aḣpeya V;PL;3;PRS aḣpeya V;PL;2;PRS aḣpeya V;PL;1;PRS aḣpeya V;PL;1+INCL;PRS aḣpeya V;SG;1;PRS yuṡiŋṡiŋ V;PL;3;PRS yuṡiŋṡiŋ V;SG;3;PRS yuṡiŋṡiŋ V;SG;1;PRS yuṡiŋṡiŋ V;PL;1;PRS yuṡiŋṡiŋ V;PL;1+INCL;PRS yuṡiŋṡiŋ V;SG;2;PRS yuṡiŋṡiŋ V;PL;2;PRS awaciŋ V;SG;1;PRS awaciŋ V;PL;1;PRS awaciŋ V;PL;1+INCL;PRS awaciŋ V;SG;2;PRS awaciŋ V;PL;2;PRS awaciŋ V;PL;3;PRS awaciŋ V;SG;3;PRS yuṭaŋka V;PL;3;PRS yuṭaŋka V;SG;3;PRS yuṭaŋka V;PL;1;PRS yuṭaŋka V;SG;1;PRS yuṭaŋka V;SG;2;PRS yuṭaŋka V;PL;2;PRS yuṭaŋka V;PL;1+INCL;PRS iṭuŋṡni V;PL;1+INCL;PRS iṭuŋṡni V;SG;3;PRS iṭuŋṡni V;PL;1;PRS iṭuŋṡni V;SG;1;PRS iṭuŋṡni V;PL;2;PRS iṭuŋṡni V;PL;3;PRS iṭuŋṡni V;SG;2;PRS ic̣apte V;PL;3;PRS ic̣apte V;PL;2;PRS ic̣apte V;SG;3;PRS ic̣apte V;PL;1+INCL;PRS ic̣apte V;SG;2;PRS ic̣apte V;PL;1;PRS ic̣apte V;SG;1;PRS íyotaŋka V;SG;2;PRS íyotaŋka V;SG;3;PRS íyotaŋka V;PL;2;PRS íyotaŋka V;PL;1+INCL;PRS íyotaŋka V;PL;1;PRS íyotaŋka V;SG;1;PRS íyotaŋka V;PL;3;PRS yuḣdeca V;PL;1+INCL;PRS yuḣdeca V;SG;1;PRS yuḣdeca V;SG;2;PRS yuḣdeca V;SG;3;PRS yuḣdeca V;PL;1;PRS yuḣdeca V;PL;2;PRS yuḣdeca V;PL;3;PRS yukse V;SG;2;PRS yukse V;PL;3;PRS yukse V;PL;1+INCL;PRS yukse V;PL;1;PRS yukse V;SG;1;PRS yukse V;PL;2;PRS yukse V;SG;3;PRS hdicu V;PL;3;PRS hdicu V;SG;1;PRS hdicu V;PL;1+INCL;PRS hdicu V;SG;3;PRS hdicu V;PL;1;PRS hdicu V;SG;2;PRS hdicu V;PL;2;PRS odote V;PL;1;PRS odote V;SG;3;PRS odote V;SG;1;PRS odote V;PL;1+INCL;PRS odote V;SG;2;PRS odote V;PL;3;PRS odote V;PL;2;PRS ṡape ṡni V;PL;1+INCL;PRS ṡape ṡni V;PL;3;PRS ṡape ṡni V;SG;3;PRS ṡape ṡni V;PL;2;PRS ṡape ṡni V;SG;1;PRS ṡape ṡni V;SG;2;PRS ṡape ṡni V;PL;1;PRS wayawa i V;PL;1+INCL;PRS wayawa i V;SG;3;PRS wayawa i V;SG;2;PRS wayawa i V;PL;2;PRS wayawa i V;PL;1;PRS wayawa i V;PL;3;PRS wayawa i V;SG;1;PRS sdohaŋ ye V;PL;2;PRS sdohaŋ ye V;SG;1;PRS sdohaŋ ye V;SG;3;PRS sdohaŋ ye V;PL;1+INCL;PRS sdohaŋ ye V;PL;1;PRS sdohaŋ ye V;PL;3;PRS sdohaŋ ye V;SG;2;PRS itohomni V;PL;3;PRS itohomni V;PL;1+INCL;PRS itohomni V;PL;1;PRS itohomni V;SG;2;PRS itohomni V;PL;2;PRS itohomni V;SG;1;PRS itohomni V;SG;3;PRS kau V;PL;1;PRS kau V;PL;3;PRS kau V;PL;1+INCL;PRS kau V;SG;3;PRS kau V;SG;2;PRS kau V;PL;2;PRS kau V;SG;1;PRS yuide V;SG;1;PRS yuide V;SG;2;PRS yuide V;SG;3;PRS yuide V;PL;1+INCL;PRS yuide V;PL;1;PRS yuide V;PL;3;PRS yuide V;PL;2;PRS
8acf29143944ecc780e5e5433093736a5ba80a6a
e0124ace5e8cdd9581e74c4e29f58b56f7f97611
/3913/CH12/EX12.18/Ex12_18.sce
594ee94c7a40ee6ae78a8a0643553b279a38dc93
[]
no_license
psinalkar1988/Scilab-TBC-Uploads-1
159b750ddf97aad1119598b124c8ea6508966e40
ae4c2ff8cbc3acc5033a9904425bc362472e09a3
refs/heads/master
2021-09-25T22:44:08.781062
2018-10-26T06:57:45
2018-10-26T06:57:45
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
643
sce
Ex12_18.sce
//Chapter 12 : Solutions to the Exercises //Scilab 6.0.1 //Windows 10 clear; clc; //Solution for 3.15 A=[2 2 1;1 3 1;1 2 2] A(1,:)=A(1,:)*(1/2) A(2,:)=A(2,:)-A(1,:) A(3,:)=A(3,:)-A(1,:) A(2,:)=A(2,:)*(1/2) A(3,:)=A(3,:)-A(2,:) A(3,:)=A(3,:)*(4/5) A(2,:)=A(2,:)-(1/4)*A(3,:) A(1,:)=A(1,:)-(1/2)*A(3,:) A(1,:)=A(1,:)-A(2,:) B=[2 1 -1;0 2 -1;-3 -2 3] B(1,:)=B(1,:)*(1/2) B(3,:)=B(3,:)+3*B(1,:) B(2,:)=B(2,:)*(1/2) B(3,:)=B(3,:)+(1/2)*B(2,:) B(3,:)=B(3,:)*(4/5) B(2,:)=B(2,:)+(1/2)*B(3,:) B(1,:)=B(1,:)+(1/2)*B(3,:) B(1,:)=B(1,:)-(1/2)*B(2,:) mprintf('Hermite form of each matrix is I3 so they are row equivalent')
c86d9eaaded671d1575e72727dfc6ddc3618d5c0
86ae7e24466d959da945d5b6d8ab93354a9e8a1d
/exp4.sce
150d6ded0c383929be807c9556f6e6ed3f6b565d
[]
no_license
AnujaNagare/Scilab-Programs
be27fdeb0db8cfa4b00ac5121676b18412b8a222
4152eac1a3e87ec7408fb3dfea55cac984cca2d9
refs/heads/master
2021-08-30T16:53:33.876536
2017-12-18T19:11:47
2017-12-18T19:11:47
114,677,855
0
0
null
null
null
null
UTF-8
Scilab
false
false
787
sce
exp4.sce
clear clf clc; a=input(' enter the horizontal reach '); b=input(' enter the vertical reach '); c=input(' enter the horizontal stroke '); d=input(' enter the vertical stroke '); r = a; r1=c; exec('cylinder.sce',-1) [x,y,z]=cylinder(r,100) ; for i=0:1:b-1, mesh(x,y,z + i) hold on end; p0=[0;0;a-2;a-1;a-3] p1=[1;1;1;1;1]; p2=[0;b;b;b-1;b-4] plot3(p0,p1,p2); hold on; p0=[a-1;a-1;a] p1=[0;0;0]; p2=[b;b+1;b+1] plot3(p0,p1,p2); //r1=c; [x,y,z]=cylinder(r1, 100); for j=0:1:d-1 mesh (x,y,z+j) // hold on end; p3=[0;0;c-1;c-1;c]; p4=[0;0;0;0;0]; p5=[0;d;d;d-1;d-1]; plot3 (p3,p4,p5) //hold on; p3=[c-1;c-1;c] p4=[0;0;0]; p5=[d;d+1;d+1]; plot3 (p3,p4,p5); grid on; xlabel ('x axis') ylabel ('y axis')
1b3a253ccec4eb128e1a9a0f10ff1ede370d20e1
449d555969bfd7befe906877abab098c6e63a0e8
/2375/CH3/EX3.17/ex3_17.sce
bcf7831f437e77352b1b35601146b0712ac296fb
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
523
sce
ex3_17.sce
// Exa 3.17 (Miss printed as example 3.14) clc; clear; close; format('v',5) // Given data Tj = 150;//Junction temperature in degree C P_Cmax = 125;// in mW T = 25;// free-air temperature in degree C T1 = 0;// in degree C curve = (Tj-T)/(P_Cmax - T1);// in degreeC/mW T_A = 25;// Ambient temperature in degree C P_D = 75;// Collector junction dissipation in mW theta = 1;// in degree C/mW // Tj-T_A = theta*P_D; Tj = T_A + (theta*P_D);// in degree C disp(Tj,"The junction temperature in °C is");
08c05bbc529ff563ccf5fda5e815437c00dab1aa
1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08
/Scilab/S4P_ImpulseResponse/link_channel_gen.sci
a301b1116d1dc86d90bd2e2f7937731747ef4350
[]
no_license
lrayzman/SI-Scripts
5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d
9ab161c6deff2a27c9da906e37aa68964fabb036
refs/heads/master
2020-09-25T16:23:23.389526
2020-02-09T02:13:46
2020-02-09T02:13:46
66,975,754
0
0
null
null
null
null
UTF-8
Scilab
false
false
11,391
sci
link_channel_gen.sci
// Calculates impulse response for a system described by .s4p file and creates // an impulse response file that can be used with "link_channel" CppSim primitive // // Adapted from Matlab code included in CppSim created by Prof. Vladimir Stojanovic of MIT // // IMPORTANT NOTE: The Touchstone file parser is not robust. Only 4-port files supported // // stacksize(64*1024*1024); clear; //xdel; //xdel; //////////////////////////////////////SPECIFY////////////////////////////////////// Tsym=100e-12; //Symbol Rate: e.g., Tsym = 1/fsym = 1/10 Gb/s Ts=Tsym/100; //CppSim internal time step, also used to sample nsym_short=300; // persistence of the impulse response // tail in the channel in terms of the // number of symbols. // NOTE: Signal must completely settle to steady state=0 within this time. channelname = "channel_data.s4p"; // Filename of S4P file describing the channel impname = "link_channel.dat"; // Filename of the link channel impulse response s_mode = "s21"; // S-parameters mode Num_of_ports = 4; // Number of ports. Currently fixed to 4; ///////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////Extraction Function//////////////////////////////////// function [f, H] = extract_mode_from_s4p(filename, s_mode) // Extracts selected 's_mode' parameters from s-parameters files // // // // Inputs: // filename - Filename of the s-params file // s_mode - S-parameter selector // // // Outputs: // f - frequency points // H - transfer function // freq_unit="GHZ"; //Defaults sim_type="S"; param_type="DB" z_term_type = "R"; z_term_value = 50; stop_readheader = %F; num_of_freq = 0; // Number of s-param frequency points freq_scale = 1e9; // Frequency points scaling factor s_data=[]; param1=[]; param2=[]; [fhandle,err]=mopen(filename, "r"); //Parse the options header while stop_readheader == %F, if meof(fhandle) then //If end of file, stop stop_readheader = %T; else if mgeti(1, "uc", fhandle) == 35 then //If reached options line [scan_num, freq_unit, sim_type, param_type, z_term_type, z_term_value] = mfscanf(1, fhandle, '%s %c %s %c %f') //read in options stop_readheader = %T; //Stop reading header end end end //Assign frequency scaling select convstr(freq_unit, "u") case "HZ" then freq_scale = 1; case "KHZ" then freq_scale = 1e3; case "MHZ" then freq_scale = 1e6; case "GHZ" then freq_scale = 1e9; else error("Unknown frequency unit %s",freq_unit); return; end while ~meof(fhandle), textline = mgetl(fhandle, 1); //Read in line if ~(length(textline) == 0) then //If blank line if ~(part(textline, 1) == '!') then //or comment line. TODO: NEEDS IMPROVEMENT HERE [scan_num, col0,col1,col2,col3,col4,col5,col6,col7,col8] = msscanf(textline, '%f%f%f%f%f%f%f%f%f'); //Read in the data if (scan_num == 9) then //This is start of the data block for given frequency //Just read line containing frequenies offset = 0; num_of_freq = num_of_freq + 1; f(num_of_freq) = col0*freq_scale; s_data(num_of_freq, offset*8+1:offset*8+8) = [col1,col2,col3,col4,col5,col6,col7,col8]; elseif (scan_num == 8) then //This is continuation of the data block offset = offset + 1; s_data(num_of_freq, offset*8+1:offset*8+8) = [col0, col1,col2,col3,col4,col5,col6,col7]; end end end end mclose(fhandle); //Select data for Port select convstr(s_mode, "u") case "S11" param1=s_data(:,1)'; param2=s_data(:,2)'; case "S12" param1=s_data(:,3)'; param2=s_data(:,4)'; case "S13" param1=s_data(:,5)'; param2=s_data(:,6)'; case "S14" param1=s_data(:,7)'; param2=s_data(:,8)'; case "S21" param1=s_data(:,9)'; param2=s_data(:,10)'; case "S22" param1=s_data(:,11)'; param2=s_data(:,12)'; case "S23" param1=s_data(:,13)'; param2=s_data(:,14)'; case "S24" param1=s_data(:,15)'; param2=s_data(:,16)'; case "S31" param1=s_data(:,17)'; param2=s_data(:,18)'; case "S32" param1=s_data(:,19)'; param2=s_data(:,20)'; case "S33" param1=s_data(:,21)'; param2=s_data(:,22)'; case "S34" param1=s_data(:,23)'; param2=s_data(:,24)'; case "S41" param1=s_data(:,25)'; param2=s_data(:,26)'; case "S42" param1=s_data(:,27)'; param2=s_data(:,28)'; case "S43" param1=s_data(:,29)'; param2=s_data(:,30)'; case "S44" param1=s_data(:,31)'; param2=s_data(:,32)'; else error("unknown mode %s", s_mode); end //Frequency matrix conversion select convstr(param_type, "u") case 'MA' H=param1.*exp(%i*param2*%pi/180); case 'RI' H=param1+%i*param2; case 'DB' H=10.^(param1/20).*exp(%i*param2*%pi/180); else error("Unknown parameter type %s",param_type) return; end //Transpose frequency vector f=f'; endfunction //////////////////////////////////////Transfer Function to Impulse function//////////////////////////////////// function imp=xfr_fn_to_imp(f,H,Ts,Tsym) // Create impulse response from transfer function in frequency domain // Impulse response is interpolated to the sample time required by the // simulator // // // Inputs: // f - frequency points in Hz // H - Transfer function // Ts - Simulator timestep // Tsym - Symbol (UI) period // // Outputs: // imp - impulse response // num_fft_pts=2^12; // set the symbol frequency f_sym=1/Tsym; // get the maximum sampling frequency from the transfer function f_sym_max=2*max(f); // stop the simulation if the symbol frequency is smaller than the maximum // measured sampling frequency if (f_sym > f_sym_max) then error("Max input frequency too low for requested symbol rate, can''t interpolate!\n"); return; end f_sym_max=f_sym*floor(f_sym_max/f_sym); Hm=abs(H); Hp=atan(imag(H),real(H)) // need to force phase to zero at zero frequency to avoid funky behavior if f(1)==0 then Hm_ds=[Hm(:, $-1:-1:2) Hm]; Hp_ds=[-Hp(:,$-1:-1:2) Hp]; fds=[-f(:,$-1:-1:2) f]; fds_m = fds; fds_p = fds; else Hm_ds=[Hm(:, $-1:-1:1) Hm]; Hp_ds=[-Hp(:,$-1:-1:1) 0 Hp]; fds_m=[-f(:,$-1:-1:1) f]; fds_p=[-f(:,$-1:-1:1) 0 f]; end //Spline interpolation df = (f_sym_max/2)/num_fft_pts; f_ds_interp = mtlb_imp(mtlb_a(-f_sym_max/2,df),df,f_sym_max/2); Hm_ds_spln = splin(fds_m, Hm_ds); Hm_ds_interp = interp(f_ds_interp, fds_m, Hm_ds, Hm_ds_spln, "natural") Hp_ds_unwrap = unwrap(Hp_ds); Hp_ds_spln = splin(fds_p, Hp_ds_unwrap); Hp_ds_interp = interp(f_ds_interp, fds_p, Hp_ds_unwrap, Hp_ds_spln, "natural") Hm_ds_interp_sh = mtlb_fftshift(Hm_ds_interp); Hp_ds_interp_sh = mtlb_fftshift(Hp_ds_interp); H_ds_interp_sh = Hm_ds_interp_sh .*exp(%i*Hp_ds_interp_sh); // impulse response from ifft of interpolated frequency response imp = mtlb_ifft(H_ds_interp_sh); imp_r = real(imp); dt_sym = 1/f_sym_max; //refit data into simulator's time step dt_time = mtlb_imp(0,dt_sym,dt_sym*(max(size(imp_r))-1)); time = mtlb_imp(0,Ts,dt_time($)); imp = (interp1(dt_time,imp_r,time,"spline")*Ts)/dt_sym; endfunction //////////////////////////////////////Unwrap Matlab Emulation function/////////////////////////////// function unwrp = unwrap(wrapped) // // Emulation of Matlab unwrap function which adjust largest deviation // between adjacent phase entries to maximum of +pi or -pi // // Inputs: // wrapped - wrapped phase vector. Must be 1-D vector with at least 2 entries // // Outputs: // unrwp - unwrapped phase vector // // // TODO: Implement a multi-dimensional vector unwrapping // vect_size = size(wrapped); if vect_size(2) == 1 then //Transpose row vector into column vector, if necessary wrapped = wrapped'; else wrapped = wrapped; end lngth = size(wrapped,2); //Set the phase at first entry unwrp(1) = wrapped(1); //Main loop for i = 2:lngth, k = 0; //Reset multiplier ph_delta = wrapped(i) - unwrp(i-1); if abs(ph_delta) > %pi then //If phase jump is greater than Pi if ph_delta < 0 then //If negative phase jump k = round(abs(ph_delta)/(2*%pi)); else //If positive phase jump k = -round(abs(ph_delta)/(2*%pi)); end end unwrp(i) = wrapped(i) + 2*k*%pi; //Adjust phase by factor of k*2pi end unwrp=unwrp'; endfunction //////////////////////////////////////Main Routine//////////////////////////////////// //Extract frequency response from S4P file [f,H]=extract_mode_from_s4p(channelname,s_mode); //Plot it xinit("Graph1") plot2d(f*1e-9,20*log10(abs(H)), axesflag=1, style=2); xgrid(12) xtitle("Transfer Function", "frequency [GHz]", "Transfer function [dB]"); //Calculate impulse response imp=xfr_fn_to_imp(f,H,Ts,Tsym); Ts_num_short = floor(nsym_short*(Tsym/Ts)); imp_short=imp(1:Ts_num_short); xinit("Graph2") //imp_plot_x = (1:Ts_num_short); //TODO: Plot in terms of Symbols //imp_plot_x = floor(imp_plot_x/(Tsym/Ts)); plot2d(imp_short); xtitle("Impulse response", "Sample", "Amplitude"); //Save data to file savematfile(impname, "imp_short", "-ascii", "-tabs");
f6e6d2c56dbb1855586847433024a888add4ec73
c557cd21994aaa23ea4fe68fa779dd8b3aac0381
/test/graft2.tst
319d29ed88db3804c0c31a54e97ace734349e1e1
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
dougsong/reposurgeon
394001c0da4c3503bc8bae14935808ffd6f45657
ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b
refs/heads/master
2023-03-09T15:22:45.041046
2023-02-25T08:33:06
2023-02-25T08:33:06
280,299,498
1
0
NOASSERTION
2023-02-25T08:33:08
2020-07-17T01:45:32
Go
UTF-8
Scilab
false
false
110
tst
graft2.tst
## Second test of the graft feature read <min.fi rename grafted-min read <min.fi :4 graft grafted-min write -
821302c0589c02a1b55fe2d4429677b2a3ee6b5b
449d555969bfd7befe906877abab098c6e63a0e8
/3537/CH7/EX7.1/Ex7_1.sce
e6e58455aa1562f99379ab552bb325ecc8a61d25
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
375
sce
Ex7_1.sce
//Example 7_1 clc(); clear; //To calculate Critical angle numerical apperture and acceptance angle n1=1.5 n2=1.47 phi=asin(n2/n1)*180/%pi //units in degrees NA=sqrt(n1^2-n2^2) accetangle=asin(NA)*180/%pi //units in degrees printf("Critical angle=%.1f degrees",phi) printf("\n Numerical apperture=%.2f",NA) printf("\nAcceptance angle=%.1f Degrees",accetangle)
09e0a3caf2b45810050b79da4d07230ea855929b
f7e981eeadbb0bba2edc23eccc7168670c099d2d
/bsp04.sce
63bf541bf6d91f2003040ebe2cea767e60dbfe5d
[]
no_license
mr-georgebaker/Scilab-Exercises
bf1e79d68b856f92e2be86b6b002f4eb657ff0ef
fc63d68aeaf495da81a0c557a4f07192aacbd1c6
refs/heads/master
2016-08-05T01:37:09.841260
2015-05-22T18:24:17
2015-05-22T18:24:17
32,216,608
0
0
null
null
null
null
UTF-8
Scilab
false
false
1,698
sce
bsp04.sce
clear // Calculates the condition number, as well as the relative error, for a system of linear equations containing the 4x4 hilbert matrix and two vectors b = [1;1;1;1] and bs = [1;1;1;1.001]; // In the field of numerical analysis, the condition number of a function with respect to an argument measures how much the output value of the function can change for a small change in the input argument. b = [1;1;1;1]; bs = [1;1;1;1.001]; function dx = rel_error(xs, x) // Returns the relative error for two vectors (one with "true" values and one with "variance of error") // Input: xs = vector // x = vector // Output: dx = number dx = norm(xs-x)/norm(x) endfunction function K = condition_number(H) // Returns the condition number for a given matrix // Input: H = matrix // Output: K = number K = norm(H)*norm(inv(H)) endfunction function H = hilbert_matrix(n) // Returns n-dimensional hilbert matrix // Input: n = number // Output: H = matrix for i = 1:1:4 for j = 1:1:4 H(i,j) = 1/(i+j-1); end end endfunction function bonus() // Bonus excercise: Plots a histogram from 0-200 of condition numbers for // 10000 random 4x4 matrices for i = 1:1:10000 cond_list(i) = cond(rand(4,4)); end K_min = min(cond_list); K_max = max(cond_list); clf(); histplot([0:200],cond_list) mprintf('\n ϰ_min = %.4f \t ϰ_max = %.4f',K_min,K_max) endfunction function bsp4() H = hilbert_matrix(4) x = H\b xs = H\bs dx = rel_error(xs,x) db = rel_error(bs,b) K = condition_number(H) Ku = dx/db mprintf('Δb = %.4f \t ϰ_u = %.2f \t ϰ = %.3f",db,Ku,K) bonus() endfunction bsp4()
c3e0c982453da38140a8910f29b6904cc97f0eea
e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432
/Semana_8/gaussseidel.sce
4a0a07d70d59fe49dd401af6727065f891606e99
[]
no_license
lordjuacs/MateIII
70def332063e56eb10fb47678a7e6130dc0dca63
164c53b61c9e35e565121f77ba2c578680a3ab56
refs/heads/master
2021-05-24T15:56:01.078904
2020-07-27T19:57:34
2020-07-27T19:57:34
253,643,962
0
0
null
null
null
null
UTF-8
Scilab
false
false
348
sce
gaussseidel.sce
function z = gaussseidel(A, b, x0, Tol) z = [x0'] error = 1 D = diag(diag(A)) L = -tril(A, -1) U = -triu(A, 1) Tgs = inv(D-L)*U cgs = inv(D-L)*b while error> Tol x1 = Tgs*x0 + cgs z = [z; x1'] error=norm(x1-x0)/norm(x1) //disp(error, "error") x0 = x1 end endfunction
8e47f4b4591de45caf12a77d6afe7d73dbaeba70
449d555969bfd7befe906877abab098c6e63a0e8
/1367/CH20/EX20.3/20_3.sce
b6fba60d5a72f81964d2b1b8646bf4bcb82c8f98
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
209
sce
20_3.sce
//Find how much loss will occur in 300 hours //Ex:20.3 clc; clear; close; x1=0.1;//in mm t1=25;//in hours t2=300;//in hours x2=x1*sqrt(t2/t1);//in mm disp(x2,"Oxidation loss in 300 hours (in mm) = ");
3a2ad3c651627279e96495ae27724ec4a7c3ce71
13c3ed7bef4d80dabd836219bbf4396f07cb934a
/mattrace.sci
15d48e6ee9058a2b1c6aec42c2b608e22336de10
[]
no_license
Mushirahmed/scilab_workspace
99f489a110a5e295ce9fca9991122d14840018d3
f58b91b87bb0357fff82dcb97b05541e7e976eca
refs/heads/master
2021-01-10T15:48:40.576771
2016-02-10T10:32:46
2016-02-10T10:32:46
43,348,489
0
0
null
null
null
null
UTF-8
Scilab
false
false
123
sci
mattrace.sci
//SCI2C: DEFAULT_PRECISION= FLOAT function mattrace() a = uint16([1,2,3;4,5,6;7,8,9]); disp(trace(a)); endfunction
be578260e03c34eae4d977584dfd79d406fb4bfd
449d555969bfd7befe906877abab098c6e63a0e8
/1850/CH1/EX1.21/exa_1_21.sce
26d8eebedd6833151fc7ce07fc2ed3ad0ba4304c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
400
sce
exa_1_21.sce
// Exa 1.21 clc; clear; close; // Given data format('v',7) V_BE=0.7;// in volt V_CC=18;// in volt R_E=1.1;// in k ohm R_C=1.8;// in k ohm R_C=R_C*10^3;// in ohm R1=4.7;// in k ohm R2=5.6;// in k ohm R3=6.8;// in k ohm I_E1= (V_CC*R1/(R1+R2+R3)-V_BE)/R_E;// in mA re_desh= 26/I_E1;// in ohm re2_desh=re_desh Av= -R_C/re2_desh; disp(Av,"Voltage gain of the cascode amplifier is : ")
030f8e6691590c7d59f02772b02363cee24ae165
449d555969bfd7befe906877abab098c6e63a0e8
/3289/CH9/EX9.1/Ex9_1.sce
37a1bec1875c987a8e3b7a97ab8229ed285c94fb
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
513
sce
Ex9_1.sce
clc w=0.1 //m d=0.115 //m l=4 //m p=175 //kN/m k=14*10^6 //Pa E=200*10^9 //Pa I=(0.1*(0.15)^3) //deltav=(p/2*k)*derivative(x)*beta*exp^(betax)*(cos beta(x)+sin beta(x)) //vA=(p/2k)*(2-exp^(betaa)*cos betaa - exp^(betab)*cos betab) beta=(k/(4*E*I/12))^(0.25) disp(beta,"in meter inverse is= ") vmax=(p*(2-(-0.0345)-(0.0345)))/(2*14000) disp(vmax,"in meter is= ") z=k*vmax disp(z,"maxi force per unit of length between beam & foundation in kN/m is= ") // Ans varies due to round of error
b713ef292b417c4750b64737b92a4a9562fb1e70
449d555969bfd7befe906877abab098c6e63a0e8
/1964/CH15/EX15.1/ex15_1.sce
7b97789f47abbe3ab0fb85dee0bdf3f57bbc7ccb
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
424
sce
ex15_1.sce
//Chapter-15, Example 15.1, Page 492 //============================================================================= clc clear //INPUT DATA x=12;//in decimal form //CALCULATIONS y=dec2oct(x);//converting to octal form mprintf("Thus octal number is"); disp(y); //=================================END OF PROGRAM=======================================================================================================
0c057b03c132bb3f239cbe4a9a2ded529143c862
449d555969bfd7befe906877abab098c6e63a0e8
/1682/CH16/EX16.5/Exa16_5.sce
544e7ea356c075c459193531dd1b3f2827b1bc23
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,222
sce
Exa16_5.sce
//Exa 16.3 clc; clear; close; //given data : disp("Given the following LP model :") disp("maximize Z = 6*X1 + 8*X2"); disp("subject to"); disp("5*X1+10*X2 <= 60"); disp("4*X1+4*X2 <= 40"); disp("X1,X2 >= 0"); disp("The canonical form of the above LP problem is :"); disp("maximize Z = 6*X1 + 8*X2 + 0*S1 + 0*S2"); disp("subject to"); disp("5*X1+10*X2+S1 = 60"); disp("4*X1+4*X2+S2 = 40"); disp("X1,X2,S1,S2 >= 0"); disp("S1, S2 are slack variables."); disp("The initial simplex table of the above problem is shownin table below : "); disp("CBi Cj 6 8 0 0"); disp(" Basic Variable X1 X2 S1 S2 Solution Ratio"); disp(" 0 S1 5 10 1 0 60 60/10=6**"); disp(" 0 S2 4 4 0 1 40 40/4=10"); disp(" Zj 0 0 0 0 0"); disp(" Cj-Zj 6 8* 0 0"); disp("* key column ** key row"); disp("The value at the intersection of the keyrow and key column is called the key element.");
18986ad081bb6fb0d68c85ba31f02cf1fcc887c5
449d555969bfd7befe906877abab098c6e63a0e8
/1586/CH10/EX10.11/EXP10_11.sce
e52156693c285adbd521f3556e83e5fd365c4b0c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
902
sce
EXP10_11.sce
clc;funcprot(0);//EXAMPLE 10.11 // Initialisation of Variables W=123.2;.....//The molecular weight of zirconia (ZrO2) W2=285.2;.....//The molecular weight of Yttyium N1=0.91;....//No. of moles of Zirconia in YSZ N2=0.09;.....//No. of moles of Yttria in YSZ Wy=2000;....//Weight of YSZ in g //CALCULATIONS M1=N1*W;.......//The mass of 0.91 moles of zirconia in g M2=N2*W2;.......//The mass of 0.09 moles of Yttria in g %W1=M1/(M1+M2);.....//The weight fraction of zirconia in this 9 mol.% YSZ material %W2=1-%W1;....//The weight fraction of yttria in this 9 mol.% YSZ material Z=Wy*%W1;....//The amount of Zirconia in g disp(M1,"he mass of 0.91 moles of zirconia in g:") disp(M2,"The mass of 0.09 moles of Yttria in g:") disp(%W1,"The mass of 0.91 moles of zirconia in g:") disp(%W2,"The weight fraction of yttria in this 9 mol.% YSZ material:") disp(Z,"The amount of Zirconia in g")
d5570f4643794edca48af7da662e42c64e85596e
449d555969bfd7befe906877abab098c6e63a0e8
/839/CH19/EX19.4/Example_19_4.sce
2742b7af2ce99626a4b0f4a544f363fa1a0934cc
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,296
sce
Example_19_4.sce
//clear// clear; clc; //Example 19.4 //Given //x(1) = n-pentane, x(2) = n-hexane, x(3) = n-heptane and x(4) = n-octane //xF = feed, xD = distillate and xB = bottom xF = [4 40 50 6]'./100 //[mole fraction] P = 1; //[atm] xD1(2) = 0.98; xD1(3) = 0.01; //Solution //The keys are n-hexane and n-heptane, and the other components are //sufficiently different in volatility to be distributed. //Basis: F = 100; //[mol] xD1(1) = 1; xD1(4) = 0; D = sum(F*xF.*xD1); //[mol] xD = (F*xF.*xD1)./(D) B = F-D; //[mol] xB = (F*xF-D*xD)/B; K_80 = [3.62,1.39,0.56,0.23]'; K_81 = [3.72,1.43,0.58]'; K_81_2 = [3.74,1.44,0.584]'; KxF = [0.145,0.556,0.280,0.014]'; //(a) //The bubble point is 80 C, and at this temperature alphaLK_HK = K_80./K_80(3); //For an approximate solution,using Eq.(19.15) RDm = (F/D)*(((D*xD(2)/(F*xF(2)))-alphaLK_HK(2)*(D*xD(3)/(F*xF(3))))/(alphaLK_HK(2)-1)) //To use Underwood method, the K values at 80 C are converted to relative //volatilities and the root of Eq.(19.29) between 1 and 2.48 is found by trial. //Since q = 1.0, the terms must sum to zero. phi = 1.5 f = 0; err = 1; while(err>0.1) fnew = sum(((alphaLK_HK.*xD)./(alphaLK_HK-phi))); err = abs(f-fnew); if (f>fnew) phi=phi+0.01; else phi=phi-0.01; end f = fnew; end RDm = f-1; //(b) //To get the conditions in the upper invariant zone, using Eq.(19.24) with VbyD = RDm+1; DbyV = inv(VbyD); VbyF = VbyD*D/F; LbyV = RDm/(RDm+1); y_80 = DbyV*xD(1:3)./(1-LbyV./K_80(1:3)) y_81_1 = [0.046,0.637,0.317]'; x_81_1 = y_81_1./K_81 ; //The vapor composition for lower inavariant zone is //using Eq.(19.28), for q = 1.0 BbyVb = 0.552; LbbyVb = 1.55; K_83 = [1.52,0.618,0.258]'; y_83 = BbyVb*xB(2:4)./(LbbyVb./K_83-1); y_83_3 = [0.662,0.326,0.012]'; x_83_3 = y_83_3./K_83 ; disp('respectively','C',81.1,'C',83.3,'The tempeature in Lower zone and Upper zone is') disp('respectively',y_83_3(1),'y =',x_83_3(1),'x = ','The LK composition in Lower zone is') disp('respectively',y_83_3(2),'y =',x_83_3(2),'x =','The HK composition in Lower zone is') disp('respectively',y_81_1(2),'y =',x_81_1(2),'x =','The LK composition in Upper zone is') disp('respectively',y_81_1(3),'y =',x_81_1(3),'x =','The HK composition in Upper zone is')
8ac14388df94daa8381565714d2fd32e0b9669ee
449d555969bfd7befe906877abab098c6e63a0e8
/2375/CH7/EX7.16/ex7_16.sce
eb704f76a227eb6121e94b350bf7fe9c1289d252
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
449
sce
ex7_16.sce
// Exa 7.16 clc; clear; close; format('v',6) // Given data Vt = 1;// in V KnWbyL= 10*10^-3;// in A/V^2 V_DD = 5;// in V V_D = 0.1;// in V I_D = Vt*( (V_DD-Vt)*V_D - 1/2*KnWbyL );// in mA R_D = (V_DD-V_D)/(I_D*10^-3);// in ohm R_D= R_D*10^-3;// in k ohm disp(R_D,"The value of R_D in k ohm is : ") V_DS = 0.1;// in V r_DS =round(V_DS/(I_D*10^-3));// in ohm disp(r_DS,"Effective resistance between drain and the source in ohm is");
57b3988ce4a54abdfc5ce123d66ceb214558a349
449d555969bfd7befe906877abab098c6e63a0e8
/3760/CH4/EX4.29/Ex4_29.sce
db9759cd8404da5eaea80cf11416f9b24b3ec498
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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,041
sce
Ex4_29.sce
clc; Ra=0.4;//armature resistance in ohm Rf=200;//field circuit resistance in ohm Vt=230;//terminal voltage for dc motor If_1=1.1;//field current for dc generator at open circuit voltage of 210 V. If_2=0.9;//field current for dc generator at open circuit voltage of 230 V. Ia=24;//armature current for dc shunt motor at 1500 rpm Ea=Vt-Ia*Ra;//counter e.m.f. for dc motor at 1500 rpm and full load //For generated e.m.f., Ea=230 V, field current is 1.1 A & for Ea=210 V, field current is 0.9 A //The change in generated e.m.f. is 20 V for field variation of 0.2 A & this change is linear. //Therefore for a generated e.m.f. of Ea=220.4 V at 1500 rpm, the field current would be- If=0.9+(0.2/20)*10.4;//0.9 A for 210 V & (0.2/20)*10.4 for remaining 10.4 V. Rsh=Vt/If;//Shunt field resistance required for a field current(If) with terminal voltage(Vt). Rext=Rsh-Rf;//External resistance that must be inserted in shunt field circuit printf('The external resistance that must be inserted in shunt field circuit = %f ohm.',Rext);
5f2c0dd70bf0325cf610bdcc4c36d94a149a0bec
c557cd21994aaa23ea4fe68fa779dd8b3aac0381
/test/dsc.tst
46203a5b338ca32e73d9ed9e915acd8f401ef235
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
dougsong/reposurgeon
394001c0da4c3503bc8bae14935808ffd6f45657
ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b
refs/heads/master
2023-03-09T15:22:45.041046
2023-02-25T08:33:06
2023-02-25T08:33:06
280,299,498
1
0
NOASSERTION
2023-02-25T08:33:08
2020-07-17T01:45:32
Go
UTF-8
Scilab
false
false
281
tst
dsc.tst
## Test @dsc recursive-descendant operation read <svnfodder.fi index set interactive @dsc(:19) resolve expect all commmits following :19 @dsc(:27) resolve expect both commits on alternate branch and the last merge @dsc(:23) resolve expect all master-branch commits :23 and after
a82c5d0e97b8f3158242766310483864ad7a9b76
048b7c76423fe27dee2e31a52bae93c95883614e
/macros/fir1.sci
e3ff152d510c843780470408b8fdaad2dc56dcf8
[]
no_license
vu2swz/FOSSEE-Signal-Processing-Toolbox
aa5f283d050be62418dddbf41552f197b9949c4c
d97a4b7e2f0f25fb5cd94bd90a3b822592179d1e
refs/heads/master
2021-08-19T20:06:19.346872
2017-11-27T09:57:21
2017-11-27T09:57:21
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
430
sci
fir1.sci
function B = fir1(N, W, varargin) funcprot(0); rhs = argn(2) if(rhs<2 | rhs>5) error("Wrong number of input arguments."); end select(rhs) case 2 then B = callOctave("fir1", N, W); case 3 then B = callOctave("fir1", N, W, varargin(1)); case 4 then B = callOctave("fir1", N, W, varargin(1), varargin(2)); case 5 then B = callOctave("fir1", N, W, varargin(1), varargin(2), varargin(3)); end endfunction
623df5db869caff82ae8f8c0b935a2b5d3e866ac
479bc55441008ab2a71b6453ba9e53c68cf06b5e
/eng.sce
490b513117a6eb7ea0520a12bd0c4349b87b3141
[]
no_license
jeffersonmsb/involute-gear-plot
b46474940b66e0b20de5ed230b58ef5137dee750
7f24e0f0ce5b29e295fd0b189f80f24369dbfb19
refs/heads/master
2020-06-18T00:10:38.389146
2019-07-10T01:44:41
2019-07-10T01:44:41
196,107,227
1
0
null
null
null
null
UTF-8
Scilab
false
false
1,371
sce
eng.sce
//JEFFERSON BEZERRA clear clf() axis=gca() axis.thickness = 3 //-------------------------------------- //DADOS DE ENTRADA m = 10 //módulo z = 25 //número de dentes alfa = 13 //ângulo de pressão em graus xc = 0.05 //correção n = 250 // número de pontos //-------------------------------------- alfa = alfa * (%pi/180) hh = (1+xc)*m //adendo hf = (1.25-xc)*m //dedendo dp = m*z //diâmetro primitivo rp = dp/2 //raio primitivo db = dp*cos(alfa) //diâmetro de base rb = db/2 di = dp-2*hf //diâmetro interno de = dp+2*hh //diâmetro externo re = de/2 ri = di/2 //coordenadas dos vetores rb_array = ones(1,n)*rb rp_array = linspace(rb,re,n) rt_array = linspace(ri,rp,n) //curva evolvente alfap = acos(rb_array./rp_array) Ev = tand(alfa)-alfa teta_ = (%pi/2*z)+(2*xc*tan(alfa)/z)+Ev tetap = tan(alfap)-alfap Xp = rp_array.*sin(teta_-tetap) Yp = rp_array.*cos(teta_-tetap) plot(Xp, Yp,'k-') //curva trocoidal sigma = alfa - (((rp-hh)*tan(alfa))/rp) tetat = (atan(sqrt((rt_array.^2)-((rp-hf)^2))/(rp-hf))) - ( sqrt((rt_array.^2)-((rp-hf)^2)) /rp ) Xt = rt_array.*sin(teta_+sigma-tetat) Yt = rt_array.*cos(teta_+sigma-tetat) plot(Xt, Yt,'b-') //círculos interno e externo teta_i = linspace(0,%pi/2,200) x_i = ri*cos(teta_i) y_i = ri*sin(teta_i) //plot(x_i,y_i) teta_e = linspace(0,%pi/2,200) x_e = re*cos(teta_e) y_e = re*sin(teta_e) //plot(x_e,y_e,'b-')
9443c9949bd5fbdbe9f8861c47cfccf92bcd044a
449d555969bfd7befe906877abab098c6e63a0e8
/1268/CH8/EX8.3/8_3.sce
48987eb25a6bde4b34a50c8f34797c1c91ee5a1b
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
328
sce
8_3.sce
clc; disp("Example 8.3") d=0.025 // diameter in m l=120 // length in m density= 1000 Q=2.525e-3 // volumetric flow rate in m^3/s U=4*Q/(%pi*d*d) Re=density*U*d/mew f=0.0014+(0.125/(Re^0.32)) delP=2*f*l*U*U*density/d disp(delP,"Pressure head is ") Power=delP*Q disp(Power,"Power required to overcome friction is ")
8224c58f937a286d4135aec9058801ac12d20ed7
cc3bff70280a1ee19aaf881e852ab1d5a8a1014d
/Experiment No.7 - Generation of ASK modulation.sce
e329a77a99ed5a7ebc2b9864847f5acd9296160d
[]
no_license
imdeepak27/Digital-Communication-Systems
814380444ff466fdbd693318fdc25815abd85347
e35a99437a63bb023e2d6468ecfb92633d6049e5
refs/heads/master
2022-06-18T01:07:37.718079
2020-05-13T04:26:12
2020-05-13T04:26:12
263,524,581
0
0
null
null
null
null
UTF-8
Scilab
false
false
279
sce
Experiment No.7 - Generation of ASK modulation.sce
clc; clear all; f1=input("Enter The Carrier Frequency : "); f2=input("Enter The Frequency Of Pulse : "); t=0:0.001:1; x=cos(2*3.14*f1*t); y=(squarewave(2*3.14*f2*t)+1)/2; z=x.*y; subplot(3,1,1); plot2d(t,x); subplot(3,1,2); plot2d3(t,y); subplot(3,1,3); plot(t,z);
4e2297a364b6e96585e5bff7e8ff455db9cdd247
03d0f9c67fad13abbcf2ce0b810ca85025d12cef
/presentation scripts/bandit/Phase3_R71NoCue.sce
bd64d94dd490f55008c55fb8e393911768ea1ca4
[]
no_license
Kwan-Lab/behavioral-rigs
1f6f9719b02d957e2777c1b485ff8224e96c7d5d
8e2ac0f9a36fc177a457d127474f8823d78c915b
refs/heads/master
2022-06-21T13:03:35.870220
2022-06-06T23:55:01
2022-06-06T23:55:01
254,467,063
4
1
null
2022-06-06T23:55:03
2020-04-09T20:02:30
Scilab
UTF-8
Scilab
false
false
10,806
sce
Phase3_R71NoCue.sce
## Reversal Rrobabilistic Reward Task Version 7/27/18 # Only Go cue updated compared to 5/30/2018 version # #NOTES: 70:10 Probability Reward - Reversal # Switch Criteria: 10 Greedy Side for each side + Random # 1 second no lick period before next trial # #MODIFICATIONS: fixed startcode decreased to 100ms 4/7/18 # #-------HEADER PARAMETERS-------# scenario = "Phase3_R71NoCue"; active_buttons = 3; #how many response buttons in scenario button_codes = 1,2,3; target_button_codes = 1,2,3; response_logging = log_all; #log all trials response_matching = simple_matching; #response time match to stimuli default_all_responses = true; begin; sound { wavefile { filename ="SAM_5k_20FM_AM50.wav"; preload = true; }; } soundCue; #-------SDL EVENTS ('TRIALS')-------# trial { #START TRIAL trial_type = fixed; trial_duration = 100; nothing {}; code = 41; }startTrial1; trial { #START TRIAL trial_type = fixed; trial_duration = 100; nothing {}; code = 42; }startTrial2; trial { trial_type = fixed; trial_duration = 3000; #3sec to drink LEFT nothing {}; code=5; } rewardLeft; trial { trial_type = fixed; trial_duration = 3000; #3sec to drink RIGHT nothing {}; code=6; } rewardRight; trial { trial_type = fixed; trial_duration = 3000; nothing {}; code=7; } manual; trial { trial_type = fixed; trial_duration = 3000; nothing {}; code=75; } norewardLeft; trial { trial_type = fixed; trial_duration = 3000; nothing {}; code=76; } norewardRight; trial { # MISS trial_type = fixed; trial_duration = 3000; nothing {}; code=8; } pause; trial { #Intertrial No lick period trial_type = fixed; trial_duration = 3000; nothing{}; code=90; } noLicks; trial { save_logfile { filename = "temp.log"; # use temp.log in default logfile directory }; #save logfile during mid-experiment }quicksave; #----- trial { #all_responses = false; #first_response, but ignore the responses before stimulus_time_in trial_type = first_response; trial_duration = 2000; sound soundCue; # Go Cue code = 21; target_button = 2,3; } responseWindow; #--------PCL--------------- begin_pcl; display_window.draw_text("Phase 3 - Reversal"); term.print("Starting time:"); term.print(date_time()); # PCL subroutines string scenario = "phase3_R71NoCue"; include "setup_Phase3R_Bandit.pcl"; # Setup file (PCL script) include "sub_arrayMean.pcl"; # For RT include "sub_rewardDeliveryPR.pcl" # rewardDelivery(string target_side) parameter_window.set_parameter(animalIDind,animalID); #-------------TRIAL STRUCTURE------------------------------ loop int i = 0 until consecMiss >= max_consecMiss begin parameter_window.set_parameter(trialnumIndex,string(i) + " ("+string(block)+")"); # Trial/block in window for current trial ## Wait Cue Period - Wait for no lick for at least 1 sec int nLicks = 1; # initialize the lick count double expval=0.1; # Zador biorxiv (2016) int numNolick = 0; loop until nLicks == 0 || numNolick>=maxNolick begin int numLicks=0; loop expval=minimum-1.0/mu*log(random()) until expval<truncate begin expval=minimum-1.0/mu*log(random()) end; noLicks.set_duration(int(1000.0*expval)); state="wait cue"; parameter_window.set_parameter(state_Index,state + "("+string(expval)+")"); noLicks.present(); numNolick = numNolick+1; nLicks = response_manager.response_count(); #wait until no licks within 2-sec end; ## Send TT Pulse For TwoPhoton Image #logfile.add_event_entry("ImaTrigger"); #port.send_code(portcode_trig, 100); # Send pulse to SCANIMAGE for post-hoc synchronization ## Start Trial state = "response_window"; parameter_window.set_parameter(state_Index,state); if block==1 then startTrial1.present(); elseif block==2 then startTrial2.present(); end; ## Response Period - After Response responseWindow.present(); side="none"; double n = random(); if response_manager.response_count()>0 then # lick, not miss stimulus_data last = stimulus_manager.last_stimulus_data(); int RT = last.reaction_time(); if (response_manager.last_response()==2) then side = "left"; leftRT.add(RT); int meanRT = arrayMean(leftRT); parameter_window.set_parameter(leftRT_index,string(RT)); parameter_window.set_parameter(leftMeanRT_index,string(meanRT)); elseif (response_manager.last_response()==3) then side = "right"; rightRT.add(RT); int meanRT = arrayMean(rightRT); parameter_window.set_parameter(rightRT_index,string(RT)); parameter_window.set_parameter(rightMeanRT_index,string(meanRT)); elseif (response_manager.last_response()==1) then side = "manual"; end; if (block==1 && side=="left") || (block==2 && side=="right") then reward_threshold = 0.7; nTrials_hiP = nTrials_hiP+1; nTrials_hiP_total = nTrials_hiP_total+1; parameter_window.set_parameter(nTrials_hiP_totalIndex,string(nTrials_hiP_total)); parameter_window.set_parameter(nTrials_hiP_blockIndex,string(nTrials_hiP)); HPS = 1; elseif (block==2 && side=="left") || (block==1 && side=="right") then reward_threshold = 0.1; HPS = 0; elseif side =="manual" then reward_threshold = 1 ; state = "manual reward"; parameter_window.set_parameter(state_Index,state); end; if n <= reward_threshold then if side=="right" then state="reward"; parameter_window.set_parameter(state_Index,state); rewardDeliveryPR(side); #subrountine give water - Right right_r = right_r + 1; parameter_window.set_parameter(right_rIndex,string(right_r)); elseif side=="left" then state="reward"; parameter_window.set_parameter(state_Index,state); rewardDeliveryPR(side); #subrountine give water - Left left_r = left_r +1; parameter_window.set_parameter(left_rIndex,string(left_r)); elseif side=="manual" then state="ManualReward"; parameter_window.set_parameter(state_Index,state); if consecOutcomeL>consecOutcomeR then port.set_pulse_width(waterAmount_right/2); port.send_code(8); #give water reward to right manual.present(); else port.set_pulse_width(waterAmount_left/2); port.send_code(4); #give water reward to left manual.present(); end end; if HPS==1 then indHPS = indHPS + 1; end; # Count Hit Side Reward else state="no reward"; parameter_window.set_parameter(state_Index,state); if side=="right" then norewardRight.present(); # no reward right_no_r = right_no_r + 1; parameter_window.set_parameter(right_no_rIndex,string(right_no_r)); else norewardLeft.present(); # no reward left_no_r = left_no_r +1; parameter_window.set_parameter(left_no_rIndex,string(left_no_r)); end; end; consecMiss = 0; parameter_window.set_parameter(consecmissIndex,string(consecMiss)); else state="miss pause"; parameter_window.set_parameter(state_Index,state); pause.present(); #no response --> next trial consecMiss = consecMiss + 1; indMiss = indMiss + 1; parameter_window.set_parameter(consecmissIndex,string(consecMiss)); parameter_window.set_parameter(indMissIndex,string(indMiss)); end; ## Supression Failed if numNolick==5 then state="lick supression failed"; parameter_window.set_parameter(state_Index,state + "("+string(expval)+")"); indNolick = indNolick +1; end; ## Control Side Lick if side == "left" then consecOutcomeL = consecOutcomeL +1; consecOutcomeR =0; parameter_window.set_parameter(conOutL,string(consecOutcomeL)); parameter_window.set_parameter(conOutR,string(consecOutcomeR)); elseif side == "right" then consecOutcomeR = consecOutcomeR +1; consecOutcomeL =0; parameter_window.set_parameter(conOutL,string(consecOutcomeL)); parameter_window.set_parameter(conOutR,string(consecOutcomeR)); end; ## Update BlockType if reached maxHit if nTrials_hiP>=SwitchHit then if i_geo>=ii then block_length = 0; # reset trial number within current block nTrials_hiP = 0; # reset count i_geo = double(0); # reset i_geo if block == 1 then block = 2; # switch block elseif block == 2 then block = 1; end; count_switch = count_switch + 1; else i_geo = i_geo + double(1); end; end; ## Random Number for Block Length: sample from truncated geometric distribution, update only after switch of high reward if i_geo==double(0) && block_length==0 then double shift_threshold = 1.000-0.0909; # sucess probability = 1/(mean+1), 0.0909 m = ceil(double(950)*random()); ii = double(0); #reset ii double cp = pow(shift_threshold,ii)*(double(1)-shift_threshold)*double(1000);# cummulative probablity loop until m < cp begin ii = ii+double(1); cp = cp+pow(shift_threshold,ii)*(double(1)-shift_threshold)*double(1000); end; logfile.add_event_entry("BlockLen_"+ string(ii+10)); # indicate number of trials in a block end; ## Window updates - details of block block_length = block_length+1; i = i+1; n_trial = i; # total trial number parameter_window.set_parameter(block_Index,string(block)); # display high reward side parameter_window.set_parameter(switch_count,string(count_switch)); # display # of Switches parameter_window.set_parameter(geo_Index,"ii="+string(ii)+" i_geo="+string(i_geo)+"m"+string(m)); # display i_geo if left_r+right_r>2 && nTrials_hiP_total>2 then parameter_window.set_parameter(hiP_rateIndex,string(nTrials_hiP_total*100/(n_trial-indMiss))+"%"); # HPS preference parameter_window.set_parameter(re_Index,string(100*(left_r+right_r)/(n_trial-indMiss))+"%"); # ALL Reward Rate over All trials end; if (i%5) == 0 then #every 5 trials, save a temp logfile quicksave.present(); end; end; term.print("\nFinished:"); term.print(date_time()); term.print("\nTotalLeftLick:"); term.print(string(left_no_r+left_r)); term.print("\nTotalRightLick:"); term.print(string(right_no_r+right_r)); term.print("\nWater Amount Left:"); term.print(string(waterAmount_left)); term.print("\nWater Amount Right:"); term.print(string(waterAmount_right));
64b767e5628dda98114de0207b4cac5513165a2f
2587236934174196597ea90b834c2cf87d5bdb0d
/embaralhador.sci
952bfa5f5bdec324a7032ee632301c8a9866faa9
[]
no_license
Stephaniebraga/SC2
386bb257d07e874e3a22595d90c1327ec26bf365
011331e5cad4a633f935495ff8e95151254a118a
refs/heads/master
2021-01-19T04:56:19.429061
2015-08-04T12:39:35
2015-08-04T12:39:35
39,805,292
0
0
null
null
null
null
UTF-8
Scilab
false
false
532
sci
embaralhador.sci
//Embaralha um sinal //Recebe: x - sinal a ser embaralhado // firtD - Numero de atrasos do primeiro estágio // secD - Numero de atrasos do primeiro estágio //Retorna: T - Sinal embaralhado function[T] = embaralhador(x, firstD, secD) T=x(1,1:firstD); nx=size(x,2); //Embaralhador i=firstD + 1; while i< nx+1 df=T(1,i-firstD); if(i>secD) ds=T(1,i-secD); T(1,i)=bitxor(bitxor(ds,df),x(i)); else T(1,i)=bitxor(x(i),df); end i=i+1; end //fim do embaralhador endfunction
10d987126b92fc17fee34181f9f015ffc4e426fd
449d555969bfd7befe906877abab098c6e63a0e8
/380/CH7/EX7.8/Ex7_8.sce
9b9038620fd6414acf9780497b2aac8469e171aa
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
850
sce
Ex7_8.sce
//Caption:Find synchronous reactance per phase and voltage regulation //Exa:7.8 clc; clear; close; V_r=2300;//rated voltage (in Volts) P_r=500*10^3;//rated power (in Volt-Amperes) pf=0.8;//lagging theta=-1*(acosd(0.8)); I_sc=150;//short circuit current (in Amperes) V_anL=V_r/sqrt(3);//open-circuit phase voltage Z_sc=V_anL/I_sc;//(in ohms) X_s=sqrt((Z_sc^2)-0.5^2); disp(X_s,'synchronous reactance per phase (in ohms)='); I_ao=P_r/(3*V_anL);//full load current (magnitude) I_a=I_ao*(cosd(theta)+(%i*sind(theta))); V_b=V_anL;//base value of voltage I_b=I_ao;//base value of current Z_b=V_b/I_b;//base value of impedance I_apu=I_a/I_b;//per unit armature current V_pu=V_anL/V_b;//per unit voltage Z_spu=(0.5+(%i*X_s))/Z_b;//per unit impedance E_apu=V_pu+(I_apu*Z_spu); VR=(abs(E_apu)-1)*100; disp(VR,'voltage regulation (%)=');
efb20a39e277657d8c608bac41ff5a1125b435f2
449d555969bfd7befe906877abab098c6e63a0e8
/548/DEPENDENCIES/7_02data.sci
9085b41e97c8b3905b80672f671c03b8a0cf169c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
sci
7_02data.sci
Clwb=0.45;//lift coefficient for wing body Cmac=-0.016;//moment coefficient about the aerodynamic center dh=0.05;//distance between aerodynamic center and center of gravity
4514d7f9bc625c7f1594d5e00d08a9f1a15be31b
1db0a7f58e484c067efa384b541cecee64d190ab
/macros/ellip.sci
264d9fe94e778d033fdaf4107b6c8039db7446a0
[]
no_license
sonusharma55/Signal-Toolbox
3eff678d177633ee8aadca7fb9782b8bd7c2f1ce
89bfeffefc89137fe3c266d3a3e746a749bbc1e9
refs/heads/master
2020-03-22T21:37:22.593805
2018-07-12T12:35:54
2018-07-12T12:35:54
140,701,211
2
0
null
null
null
null
UTF-8
Scilab
false
false
2,500
sci
ellip.sci
function [a, b, c, d] = ellip (n, rp, rs, w, varargin) //This function generates an elliptic or Cauer filter with rp dB of passband ripple and rs dB of stopband attenuation. //Calling Sequence //[a, b] = ellip (n, rp, rs, wp) //[a, b] = ellip (n, rp, rs, wp, "high") //[a, b] = ellip (n, rp, rs, [wl, wh]) //[a, b] = ellip (n, rp, rs, [wl, wh], "stop") //[a, b, c] = ellip (…) //[a, b, c, d] = ellip (…) //[…] = ellip (…, "s") //Parameters //n: positive integer value //rp: non negative scalar value //rs: non negative scalar value //w: scalar or vector, all elements should be in the range [0,1] //Description //This is an Octave function. //This function generates an elliptic or Cauer filter with rp dB of passband ripple and rs dB of stopband attenuation. //[b, a] = ellip(n, Rp, Rs, Wp) indicates low pass filter with order n, Rp decibels of ripple in the passband and a stopband Rs decibels down and cutoff of pi*Wp radians. If the fifth argument is high, then the filter is a high pass filter. //[b, a] = ellip(n, Rp, Rs, [Wl, Wh]) indictaes band pass filter with band pass edges pi*Wl and pi*Wh. If the fifth argument is stop, the filter is a band reject filter. //[z, p, g] = ellip(...) returns filter as zero-pole-gain. //[...] = ellip(...,’s’) returns a Laplace space filter, w can be larger than 1. //[a, b, c, d] = ellip(...) returns state-space matrices. //Examples //[a,b]=ellip(2, 0.5, 0.7, [0.3,0.4]) //a = // 0.88532 -1.58410 2.40380 -1.58410 0.88532 //b = // 1.00000 -1.78065 2.68703 -1.75725 0.97454 rhs = argn(2) lhs = argn(1) if(rhs>3) [rows,columns] = size(w) end if(rhs>6 | rhs<4) error("Wrong number of input arguments.") end if(lhs>4 | lhs<2) error("Wrong number of output arguments.") end select (rhs) case 4 then if (lhs==2) [a,b] = callOctave("ellip",n, rp, rs, w) elseif (lhs==3) [a,b,c] = callOctave("ellip",n, rp, rs, w) elseif (lhs==4) [a,b,c,d] = callOctave("ellip",n, rp, rs, w) end case 5 then if (lhs==2) [a,b] = callOctave("ellip",n, rp, rs, w, varargin(1)) elseif (lhs==3) [a,b,c] = callOctave("ellip",n, rp, rs, w, varargin(1)) elseif (lhs==4) [a,b,c,d] = callOctave("ellip",n, rp, rs, w, varargin(1)) end case 6 then if (lhs==2) [a,b] = callOctave("ellip",n, rp, rs, w, varargin(1), varargin(2)) elseif (lhs==3) [a,b,c] = callOctave("ellip",n, rp, rs, w,varargin(1), varargin(2)) elseif (lhs==4) [a,b,c,d] = callOctave("ellip",n, rp, rs, w, varargin(1), varargin(2)) end end endfunction
29b019f6a9b0a2d8eced947286088d1520063ce9
a45f93853fdb67523e71e3e7fb88c4298eae1ef7
/Screens/Crew Select Screen.tst
a742ab3c8c1e1b64157e643a5b515fe191bb211d
[]
no_license
voarsh/Disney-Treasure-Planet-Battle-at-Procyon
68192cbfdf8b823bc8399e3ea1e62d4976b74aed
99cbbc70701ef6e8f9d95eba1052635de992910f
refs/heads/master
2020-04-16T01:44:03.761947
2016-06-08T10:25:05
2016-06-08T10:25:05
38,745,932
3
0
null
null
null
null
UTF-8
Scilab
false
false
5,158
tst
Crew Select Screen.tst
ScreenName String 'Crew Select Screen' ImplName String 'NULL SCREEN' ElementChunkArray Int 16 ScreenElementType Int 0 ImplName String 'Assemble Fleet Backdrop' TabIndex Int 8 Selectable Bool False Enabled Bool True ReferenceArea Rect( 0, 0, 800, 600 ) # left,top,right,bottom ScreenElementType Int 1 ImplName String 'Open Next Arrow Button' TabIndex Int 2 Selectable Bool False Enabled Bool True ReferenceArea Rect( 590, 510, 670, 590 ) # left,top,right,bottom Font String 'DebugFont' Text String 'IDGS_TPFRONTENDTEXT_SCREENS_NULL' Color Colour( 1.000000, 1.000000, 1.000000, 1.000000 ) HotKey Int -1 ScreenElementType Int 1 ImplName String 'Fleet Select Button' TabIndex Int 11 Selectable Bool True Enabled Bool True ReferenceArea Rect( 27, 479, 459, 559 ) # left,top,right,bottom Font String 'UniversBold14' Text String 'IDGS_TPFRONTENDTEXT_SCREENS_NULL' Color Colour( 1.000000, 1.000000, 1.000000, 1.000000 ) HotKey Int -1 ScreenElementType Int 1 ImplName String 'AutoAssign Button' TabIndex Int 1 Selectable Bool False Enabled Bool True ReferenceArea Rect( 168, 427, 320, 465 ) # left,top,right,bottom Font String 'BlackChancery16' Text String 'IDGS_TPFRONTENDTEXT_SCREENS_AUTO_ASSIGN' Color Colour( 1.000000, 1.000000, 1.000000, 1.000000 ) HotKey Int -1 ScreenElementType Int 1 ImplName String 'Open Arms Selection Screen' TabIndex Int 5 Selectable Bool False Enabled Bool True ReferenceArea Rect( 308, 45, 434, 83 ) # left,top,right,bottom Font String 'BlackChancery16' Text String 'IDGS_TPFRONTENDTEXT_SCREENS_ARMS' Color Colour( 1.000000, 1.000000, 1.000000, 1.000000 ) HotKey Int -1 ScreenElementType Int 1 ImplName String 'Open Crew Selection Screen' TabIndex Int 4 Selectable Bool False Enabled Bool True ReferenceArea Rect( 177, 45, 303, 83 ) # left,top,right,bottom Font String 'BlackChancery16' Text String 'IDGS_TPFRONTENDTEXT_SCREENS_CREW' Color Colour( 1.000000, 1.000000, 1.000000, 1.000000 ) HotKey Int -1 ScreenElementType Int 1 ImplName String 'Open Ship Selection Screen' TabIndex Int 3 Selectable Bool False Enabled Bool True ReferenceArea Rect( 46, 45, 172, 83 ) # left,top,right,bottom Font String 'BlackChancery16' Text String 'IDGS_TPFRONTENDTEXT_SCREENS_SHIPS' Color Colour( 1.000000, 1.000000, 1.000000, 1.000000 ) HotKey Int -1 ScreenElementType Int 1 ImplName String 'Drop Crew From Ship Button' TabIndex Int 14 Selectable Bool False Enabled Bool True ReferenceArea Rect( 60, 427, 158, 465 ) # left,top,right,bottom Font String 'BlackChancery16' Text String 'IDGS_TPFRONTENDTEXT_SCREENS_DROP' Color Colour( 1.000000, 1.000000, 1.000000, 1.000000 ) HotKey Int -1 ScreenElementType Int 5 ImplName String 'Crew Types Available' TabIndex Int 7 Selectable Bool True Enabled Bool True ReferenceArea Rect( 516, 330, 770, 504 ) # left,top,right,bottom Font String 'Univers12' ScreenElementType Int 1 ImplName String 'Open Load CrewKeeper Dialog Button' TabIndex Int 18 Selectable Bool False Enabled Bool True ReferenceArea Rect( 502, 45, 628, 83 ) # left,top,right,bottom Font String 'BlackChancery16' Text String 'IDGS_TPFRONTENDTEXT_SCREENS_LOAD_CREW' Color Colour( 1.000000, 1.000000, 1.000000, 1.000000 ) HotKey Int -1 ScreenElementType Int 1 ImplName String 'Open Save CrewKeeper Dialog Button' TabIndex Int 19 Selectable Bool False Enabled Bool True ReferenceArea Rect( 634, 45, 759, 83 ) # left,top,right,bottom Font String 'BlackChancery16' Text String 'IDGS_TPFRONTENDTEXT_SCREENS_SAVE_CREW' Color Colour( 1.000000, 1.000000, 1.000000, 1.000000 ) HotKey Int -1 ScreenElementType Int 1 ImplName String 'Ship Victory Points' TabIndex Int 15 Selectable Bool False Enabled Bool True ReferenceArea Rect( 488, 79, 772, 109 ) # left,top,right,bottom Font String 'UniversLightBold14' Text String 'IDGS_TPFRONTENDTEXT_SCREENS_BUTTON' Color Colour( 1.000000, 1.000000, 1.000000, 1.000000 ) HotKey Int -1 ScreenElementType Int 1 ImplName String 'Ship Stat Bars Button' TabIndex Int 20 Selectable Bool False Enabled Bool True ReferenceArea Rect( 45, 379, 447, 423 ) # left,top,right,bottom Font String 'Univers10' Text String 'IDGS_TPFRONTENDTEXT_SCREENS_NULL' Color Colour( 1.000000, 1.000000, 1.000000, 1.000000 ) HotKey Int -1 ScreenElementType Int 1 ImplName String 'Crew Selections Sort List Button' TabIndex Int 21 Selectable Bool True Enabled Bool True ReferenceArea Rect( 516, 301, 710, 326 ) # left,top,right,bottom Font String 'UniversBold14' Text String 'IDGS_TPFRONTENDTEXT_SCREENS_BUTTON' Color Colour( 1.000000, 1.000000, 1.000000, 1.000000 ) HotKey Int -1 ScreenElementType Int 1 ImplName String 'Crew Information Button' TabIndex Int 16 Selectable Bool True Enabled Bool True ReferenceArea Rect( 527, 122, 775, 278 ) # left,top,right,bottom Font String 'Univers10' Text String 'IDGS_TPFRONTENDTEXT_SCREENS_NULL' Color Colour( 1.000000, 1.000000, 1.000000, 1.000000 ) HotKey Int -1 ScreenElementType Int 1 ImplName String 'Modify Crew Position Button' TabIndex Int 17 Selectable Bool True Enabled Bool True ReferenceArea Rect( 46, 91, 438, 371 ) # left,top,right,bottom Font String 'Univers10' Text String 'IDGS_TPFRONTENDTEXT_SCREENS_BUTTON' Color Colour( 1.000000, 1.000000, 1.000000, 1.000000 ) HotKey Int -1
1cee21cacffb366982bfd2063456d636edb64f9c
717ddeb7e700373742c617a95e25a2376565112c
/72/CH6/EX6.2.2/6_2_2.sce
c8bf848fd0f3c3b8e47ae971a0504d2ac51a3d24
[]
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
1,032
sce
6_2_2.sce
//CAPTION: Current-Voltage_Characteristics_Of_a_GaAs_MESFET //chapter_no.-6, page_no.-244 //Example_no.6-2-2 clc; //(a) Calculate_the_pinch-off_voltage a=.1*(10^-6);//channel_height Nd=8*(10^23);//Electron_Concetration er=13.1;//relative_dielectrin_constant e=8.854*(10^-12)*er;//medium_dielecric_constant q=1.6*(10^-19);//electronic_charge Vp=(q*Nd*(a^2))/(2*e);//pinch-off_voltage disp(Vp,'pinch-off volatge in(Volts)is'); //(b)Calculate_the_velocity_ratio un=.08;//electron_mobility vs=2*(10^5); L=14*(10^-6); n=(Vp*un)/(vs*L) disp(n,'the velocity ratio'); //(c) Calculate_the_saturation_drain_current_at Vg=0 L=14*(10^-6); Z=36*(10^-6); Ipsat=(q*Nd*un*a*Z*Vp)/(3*L); Ipsat=Ipsat*1000; disp(Ipsat,'the_saturation_drain_current_(mA)is'); //(d) Calculate_the_drain_current Vd=5; Vg=2; u=((Vd+Vg)/Vp)^(1/2); p=((Vg)/Vp)^(1/2); Id=(3*((u^2)-(p^2))-2*((u^3)-(p^3)))/(1+(n*((u^2)-(p^2)))); Id=Id*Ipsat; disp(Id,'the_drain_current_(mA)is');
fcdc546fb7f407875239a15ac4c99ca8cf21aff4
ff0f2f0553307972877bbd4f9acb9751263b2920
/Sem2_Mathe/Labor_3/Aufgabe_6.sci
0a740684c22199f2391c88adb6210857ee38790c
[]
no_license
42ow0rm/UNI
78b4bbc339cffb7124e5c8112827bec5a4799b7c
56a5a1429a458544f5a33e3480f51c03849872f7
refs/heads/master
2020-03-31T22:34:19.230790
2019-01-03T20:00:27
2019-01-03T20:00:27
152,623,141
2
1
null
null
null
null
UTF-8
Scilab
false
false
164
sci
Aufgabe_6.sci
function [Z] = Aufgabe_6(x1, y1, x2, y2, x3, y3) X = [x1^2 x1 1; x2^2 x2 1; x3^2 x3 1]; y = [y1; y2; y3]; //LGS lösen Z = X\y; endfunction
16b9d410392b1f87a2cb5a07264f0b5853795568
0cb3ef9e2be55e6924e840d829ad2ad1a9879f2d
/Hack CPU/test2.tst
988b4bc2496600b8bdd86f639995ea4266a07aea
[]
no_license
jayakamal-geek/Hardware-Description-Language
5cdbe71b9ebeb823afed69216763ccf9c7d81b6c
3b75f43321b02ba05ff1c652942315ebb1d4d1bc
refs/heads/main
2023-04-29T10:45:00.885647
2021-05-23T09:44:05
2021-05-23T09:44:05
370,012,967
1
0
null
null
null
null
UTF-8
Scilab
false
false
637
tst
test2.tst
load Computer.hdl, output-file test2.out, output-list time%S1.4.1 reset%B2.1.2 ARegister[0]%D1.7.1 DRegister[0]%D1.7.1 RAM64[16]%D1.7.1 RAM64[17]%D1.7.1 RAM64[18]%D1.7.1; // Load a program written in the Hack machine language. // The program adds the two constants 2 and 3 and writes the result in RAM[0]. ROM32K load test2.hack, set RAM64[18] 100, output; // First run (at the beginning PC=0) repeat 1400 { tick, tock, output; } // Reset the PC set reset 1, set RAM64[17] 0, set RAM64[18] 80, tick, tock, output; // Second run, to check that the PC was reset correctly. set reset 0, repeat 1200 { tick, tock, output; }
6ba9c6fa3aeaa99d7d35d451e0942740ed585d1e
449d555969bfd7befe906877abab098c6e63a0e8
/779/CH17/EX17.6/17_6.sce
4fdd2f4651fcf516b480555628c3f603773c4081
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
378
sce
17_6.sce
g = 1.4;R = 0.287; d = 1.4; // del P0 = 1.4; // in bar T0 = 280; T1 = T0; cp = 1.005; A2 = 0.0013 P_ = P0/((g+1)/2)^(d/(d-1)) ; // P_ = P* P1 = P0; Pb = 1; P2 = Pb; T2 = T1*(P2/P1)^((d-1)/d); V2 = sqrt(2*cp*(T1-T2)*1000); m_dot = (A2*V2*P2*100)/(R*T2); disp("kg/s",m_dot,"Mass flow rate is") disp("The mass flow rate can be increased by raising the supply pressure")
374dda9ded97775bcbf693658c3c2206ac6f5c37
449d555969bfd7befe906877abab098c6e63a0e8
/536/CH13/EX13.3/Example_13_3.sce
b321eb529a8959e81ef45b97894cb0af33380d2a
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
799
sce
Example_13_3.sce
clc; clear; printf("\n Example 13.3\n"); T=310; //Temperature of moist air T_w=300; //Wet bulb tempeature L=2440e3; //Latent heat of vapourisation of water at 300 K P=105e3; //Given total pressure P_wo1=3.6e3; //Vapour pressure of water vapour at 300 K P_wo2=6.33e3; //Vapour pressure of water vapour at 310 K M_w=18; //Molecular weight of water M_a=29; //Molecular weight of air H_w=(P_wo1/(P-P_wo1))*(M_w/M_a); //The humidity of air saturated at the wet-bulb temperature //Therefore, taking (h/hD*rho*A) as 1.0 kJ/kg K, in equation 13.8: H=H_w-(1e3/L)*(T-T_w); printf("\n The humidity of the air = %.3f kg/kg",H); //In equation 13.2: x=poly([0],'x'); P_w=roots(H*(P-x)*M_a-M_w*x); RH=P_w/P_wo2*100; printf("\n The percentage relative humidity (RH)= %.1f per cent",RH);
6c9aed901ba96484331fe661cb8f587faa6ddfd4
449d555969bfd7befe906877abab098c6e63a0e8
/2498/CH1/EX1.24/ex1_24.sce
d5cf500c3774271306d6d1e682697e364b508cae
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
329
sce
ex1_24.sce
// Exa 1.24 clc; clear; close; format('e',9) // Given data Na = 5 * 10^15;// in cm^-3 Nc = 2.8 * 10^19;// in cm^-3 E_CminusE_F = 0.215;// in eV KT = 26* 10^-3;// in eV // The concentration of donors atoms Nd = Na + Nc * (%e^( -E_CminusE_F/KT ));// in cm^-3 disp(Nd,"The concentration of donors atoms in cm^-3 is");
22eb0a86f3eb460bbc9eddf44403fcd77145688d
127061b879bebda7ce03f6910c80d0702ad1a713
/bin/PIL_Ef.sci
19786e96d0dbaf441b3beb7dd88ad11e55f87315
[]
no_license
pipidog/PiLib-Scilab
961df791bb59b9a16b3a32288f54316c6954f128
125ffa71b0752bfdcef922a0b898263e726db533
refs/heads/master
2021-01-18T20:30:43.364412
2017-08-17T00:58:50
2017-08-17T00:58:50
100,546,695
0
1
null
null
null
null
UTF-8
Scilab
false
false
1,854
sci
PIL_Ef.sci
// **** Purpose **** // calculate the chemcial potential of a given energy spectrum // **** Variables **** // [E_level]: n x 1, real // <= the full energy spectrum of discrete DOS // [e_tot]: 1x1, integer // <= the total electrons // [temp]: 1x1, real > 0 // <= the temperature // [accuracy]: 1x1, real >0, default=10^-6 // <= the accuracy of the chemcial potential // [Ef]: 1x1, real // => the chemical potential, in unit of eV // **** Version **** // 05/01/2014 // **** Comment **** function Ef=PIL_Ef(E_level,e_tot,temp,accuracy) [lhs,rhs]=argn(); if rhs==3 accuracy=1e-4; end E_level=gsort(real(E_level(:)),'g','i') // round e_tot if abs(round(e_tot)-e_tot) >= 0.01 then disp('Warning! e_tot has been rounded to integer!'); end e_tot=round(e_tot); // check e_tot consistency if e_tot >=length(E_level) disp('Error! e_tot >= E_level, no Fermi level!'); abort end k_Bolt=(25.6/298)/100; //298*k_bolt=25.6meV (Wiki "kT(energy)") E_upper=E_level(e_tot+1); E_lower=E_level(e_tot); E_error=1; count=0 while E_error > accuracy count=count+1; Ef=(E_upper+E_lower)/2 n_E=sum((exp((E_level-Ef)/(k_Bolt*temp))+1).^(-1)); if n_E > e_tot E_error=Ef-E_lower; E_upper=Ef; Ef=(E_upper+E_lower)/2; elseif n_E < e_tot E_error=E_upper-Ef; E_lower=Ef; Ef=(E_upper+E_lower)/2; else break; end if count >= 15 disp('Error: PIL_Ef, Ef cannot converge!'); end end endfunction //examples: //E_level=zeros(1,1000); //E_level(1:500)=linspace(3,0.5,500); //E_level(501:1000)=linspace(-0.9,-3,500); //e_tot=500; //temp=300; //Ef=mylib_Ef(E_level,500,300); //Result: //Ef=-0.100055
53107502ff3b0232d8ef5ab704dc527ae4ccf712
c565d26060d56f516d954d4b378b8699c31a71ef
/Scilab/virtual_old/Self_tuning_controller/ConventionalTuning_Vikas/PIControllerFandisturbance/scilabread.sce
1c8ef2c645de613b71066509a55257f9569695d3
[]
no_license
rupakrokade/sbhs-manual
26d6e458c5d6aaba858c3cb2d07ff646d90645ce
5aad4829d5ba1cdf9cc62d72f794fab2b56dd786
refs/heads/master
2021-01-23T06:25:53.904684
2015-10-24T11:57:04
2015-10-24T11:57:04
5,258,478
0
0
null
2012-11-16T11:45:07
2012-08-01T11:36:17
Scilab
UTF-8
Scilab
false
false
4,339
sce
scilabread.sce
0 0 100 36.50 1402686373698 1402686416875 1402686416893 1402686373778 0.10000E+01 1 80 50 36.70 1402686501117 1402686544310 1402686544327 1402686501208 0.10000E+01 2 0 50 37.40 1402686507252 1402686550427 1402686550444 1402686507335 0.20000E+01 3 0 50 37.60 1402686507724 1402686550924 1402686550941 1402686507827 0.30000E+01 5 0 50 37.70 1402686507924 1402686551092 1402686551109 1402686507988 0.50000E+01 6 0 50 37.70 1402686508026 1402686551189 1402686551206 1402686508090 0.60000E+01 7 0 50 38.00 1402686508254 1402686551430 1402686551447 1402686508334 0.70000E+01 8 0 50 38.00 1402686508412 1402686551598 1402686551615 1402686508503 0.80000E+01 9 0 50 38.20 1402686509254 1402686552424 1402686552441 1402686509328 0.90000E+01 10 0 50 38.30 1402686509451 1402686552633 1402686552650 1402686509532 0.10000E+02 11 0 50 38.70 1402686510254 1402686553427 1402686553444 1402686510333 0.11000E+02 12 0 50 38.70 1402686510420 1402686553596 1402686553612 1402686510500 0.12000E+02 13 0 50 39.00 1402686511253 1402686554416 1402686554431 1402686511315 0.13000E+02 14 0 50 39.00 1402686511376 1402686554545 1402686554562 1402686511442 0.14000E+02 15 0 50 39.10 1402686512259 1402686555418 1402686555435 1402686512316 0.15000E+02 16 0 50 39.30 1402686512380 1402686555566 1402686555583 1402686512470 0.16000E+02 17 0 50 39.50 1402686513253 1402686556406 1402686556424 1402686513307 0.17000E+02 18 0 50 39.50 1402686513386 1402686556571 1402686556588 1402686513469 0.18000E+02 19 0 50 39.80 1402686514254 1402686558460 1402686558477 1402686515363 0.19000E+02 22 0 50 40.00 1402686515379 1402686558566 1402686558583 1402686515466 0.22000E+02 23 0 50 40.10 1402686516254 1402686559436 1402686559453 1402686516342 0.23000E+02 24 0 50 40.10 1402686516383 1402686559565 1402686559582 1402686516469 0.24000E+02 25 0 50 40.20 1402686517258 1402686560421 1402686560438 1402686517320 0.25000E+02 26 0 50 40.20 1402686517373 1402686560561 1402686560577 1402686517463 0.26000E+02 27 0 50 40.30 1402686518253 1402686561428 1402686561445 1402686518334 0.27000E+02 28 0 50 40.30 1402686518411 1402686561594 1402686561610 1402686518493 0.28000E+02 29 0 50 40.30 1402686519254 1402686562427 1402686562445 1402686519329 0.29000E+02 30 0 50 40.40 1402686519365 1402686563526 1402686563542 1402686520427 0.30000E+02 32 0 50 40.40 1402686520436 1402686563612 1402686563629 1402686520515 0.32000E+02 33 0 50 40.50 1402686521254 1402686565424 1402686565441 1402686522323 0.33000E+02 36 0 50 40.50 1402686522380 1402686565556 1402686565573 1402686522457 0.36000E+02 37 0 50 40.50 1402686523254 1402686566422 1402686566437 1402686523322 0.37000E+02 38 0 50 40.50 1402686523437 1402686566597 1402686566614 1402686523500 0.38000E+02 39 0 50 40.50 1402686524254 1402686567414 1402686567431 1402686524310 0.39000E+02 40 0 50 40.70 1402686524390 1402686567564 1402686567581 1402686524465 0.40000E+02 41 0 50 40.70 1402686525254 1402686568415 1402686568433 1402686525315 0.41000E+02 42 0 50 40.70 1402686525411 1402686568584 1402686568601 1402686525490 0.42000E+02 43 0 50 40.20 1402686540069 1402686583246 1402686583262 1402686540148 0.43000E+02 44 0 50 40.20 1402686540502 1402686583678 1402686583694 1402686540575 0.44000E+02 45 0 50 40.20 1402686540620 1402686583797 1402686583813 1402686540699 0.45000E+02 46 0 50 40.20 1402686540737 1402686583907 1402686583925 1402686540809 0.46000E+02 47 0 50 40.10 1402686540854 1402686584016 1402686584033 1402686540921 0.47000E+02 48 0 50 40.10 1402686541069 1402686584253 1402686584269 1402686541153 0.48000E+02 49 0 50 40.10 1402686541189 1402686584370 1402686584386 1402686541269 0.49000E+02 50 0 50 40.00 1402686542071 1402686585257 1402686585274 1402686542156 0.50000E+02 51 0 50 40.00 1402686542228 1402686585407 1402686585424 1402686542307 0.51000E+02 52 0 50 40.00 1402686543071 1402686586248 1402686586265 1402686543149 0.52000E+02 53 0 50 40.00 1402686543233 1402686586407 1402686586423 1402686543308 0.53000E+02 54 0 50 40.00 1402686544071 1402686587239 1402686587254 1402686544140 0.54000E+02 55 0 50 40.00 1402686544239 1402686587415 1402686587431 1402686544311 0.55000E+02 56 0 50 39.80 1402686545071 1402686588253 1402686588270 1402686545152 0.56000E+02 57 0 50 39.80 1402686545261 1402686588439 1402686588456 1402686545339 0.57000E+02 58 0 50 39.70 1402686546071 1402686590250 1402686590268 1402686547153 0.58000E+02
b0f25bccd4912763662c3b29555e495f690fc89f
449d555969bfd7befe906877abab098c6e63a0e8
/779/CH8/EX8.6/8_6.sce
8ae109e2054a92f654a67014ebb2ac7a12a2ed7d
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
414
sce
8_6.sce
T1 = 353; T2 = 278; V2 = 2; V1 = 1; P0 = 100; P1 = 500; R = 0.287; cv = 0.718; m = 2; S = integrate('(m*cv)/T','T',T1,T2) + integrate('(m*R)/V','V',V1,V2); // S = S1-S2 U = m*cv*(T1-T2); Wmax = U-(T2*(-S)); V1_ = (m*R*T1)/P1; CA = Wmax-P0*(V1_); // Change in availability I = T2*S; disp("kJ",Wmax,"The maximum work is") disp("kJ",CA,"Change in availability is") disp("kJ",I,"Irreversibility is")
ff6e10918c293d35d131966479211f52813afd7e
449d555969bfd7befe906877abab098c6e63a0e8
/2084/CH5/EX5.8w/5_8w.sce
c5e54c2463168f8936203e14b548e5d98a1275f3
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
602
sce
5_8w.sce
//developed in windows XP operating system 32bit //platform Scilab 5.4.1 clc;clear; //example 5.8w //calculation of the maximum acceleration of the man for safe climbing //given data m=60//mass(in kg) of the man theta=30//angle(in degree) made by the rope with ground fgmax=360//maximum force(in N0 that can be applied to the wooden clamp g=10//gravitational acceleration(in m/s^2) of the earth //calculation T=fgmax/sind(theta)//since t*sin(theta)=upward force a=(T-(m*g))/m//from equation of motion printf('the maximum acceleration of the man for safe climbing is %3.2f m/s^2',a)
28b39c4680472da337be5be08ec3138bef6f6146
449d555969bfd7befe906877abab098c6e63a0e8
/2699/CH5/EX5.12/Ex5_12.sce
25da0a44ec72ad23965c5ba73499b34531d0bba4
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
505
sce
Ex5_12.sce
//EX5_12 PG-5.28 clc disp("Refer to the figure-5.25 shown") Icbo1=2e-6;//at a temperature T1=25 degree celsius Vbb=5; Vbe=0.1 disp("Icbo doubles for every 10 degree Celsius") T1=25;//temperature in degree celsius T2=80;//temperature in degree celsius Icbo2=Icbo1*2^((T2-T1)/10);//at a temperature T2=80 degree celsius printf("\n Therefore Icbo2=%.2f microA \n",Icbo2*1e6) disp("Apply KVL to the base circuit Vbb=Vbe+Icbo2*Rb we get") Rb=(Vbb-Vbe)/Icbo2; printf("\n Rb=%.3f kohm \n",Rb*1e-3)
a55b79f5bee8d1c79488f2bbb307b2fa5ae40cfb
a5f0fbcba032f945a9ee629716f6487647cafd5f
/Machine_Learning/macros/Knn.sci
23b347a778dd45425439f135dbc869bf60c8e44b
[ "BSD-2-Clause" ]
permissive
SoumitraAgarwal/Scilab-gsoc
692c00e3fb7a5faf65082e6c23765620f4ecdf35
678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f
refs/heads/master
2021-04-15T17:55:48.334164
2018-08-07T13:43:26
2018-08-07T13:43:26
126,500,126
1
1
null
null
null
null
UTF-8
Scilab
false
false
1,181
sci
Knn.sci
// Macro for K Nearest neighbours classification -- Scilab // Subroutine to get distance between two points function dist = getDistance(point1, point2) n1 = length(point1) dist = 0 for i = 1:n1 dist = dist + (point1(i)-point2(i))^2; end dist = sqrt(dist); endfunction // Function to return flags for category of each data point function pred = knn(x, y, xtest, k) n = length(x(:,1)); maxDist = -1*ones(1, k); catDist = -1*ones(1, k); testent = length(xtest(:, 1)); pred = []; for i = 1:testent presentPoint = xtest(testent, :); for j = 1:n dist = getDistance(presentPoint, x(j, :)); pres = y(j, 1); for l = 1:k if(maxDist(1, l)== -1) maxDist(1, l) = dist catDist(1, l) = pres; elseif(maxDist(1, l)> dist) temp = maxDist(1, l); maxDist(1, l) = dist; dist = temp; temp = catDist(1, l); catDist(1, l) = pres; pres = temp; end end end counts = tabul(catDist); categories = length(counts(:, 1)); maxEnt = 0; maxPre = 0; for j = 1:categories if(counts(j, 2)>maxEnt) maxEnt = counts(j, 2); maxPre = counts(j, 1); end end pred = [pred, maxPre]; end endfunction
f5171672cd042d9004be1142839e17f0e2374380
449d555969bfd7befe906877abab098c6e63a0e8
/2672/CH5/EX5.13/Ex5_13.sce
ff89e60bb6bfba1e9f54d78b6f8a36a03932a83e
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
808
sce
Ex5_13.sce
//Example 5_13 clc; clear; close; format('e',9); //given data : Ln=0.1;//cm Lp=0.1;//cm e=1.6*10^-19;//C/electron //For Si ni=1.5*10^10;//m^-3 sigma_p=0.01;//(ohm-cm)^-1 sigma_n=0.01;//(ohm-cm)^-1 mu_n=1300;//cm^2/V-s//For Si mu_p=500;//cm^2/V-s//For Ge b=mu_n/mu_p;//unitless sigma_i=(mu_n+mu_p)*ni*e;//(ohm-m)^-1 YSi=b*sigma_i^2/(1+b)^2*(1/Lp/sigma_p+1/Ln/sigma_n);//(ohm-cm^2)^-1 //For Ge ni=2.5*10^13;//m^-3 sigma_p=1;//(ohm-cm)^-1 sigma_n=1;//(ohm-cm)^-1 mu_n=3800;//cm^2/V-s//For Si mu_p=1800;//cm^2/V-s//For Ge b=mu_n/mu_p;//unitless sigma_i=(mu_n+mu_p)*ni*e;//(ohm-m)^-1 YGe=b*sigma_i^2/(1+b)^2*(1/Lp/sigma_p+1/Ln/sigma_n);//(ohm-cm^2)^-1 ratio=YGe/YSi; disp(ratio,"Ratio of reverse saturation current in Ge to that in Si"); //Answer given in the book is not accurate.
ad3fd2f56374c07a7bcc1e6f5b2c4dfd30965816
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.3.1/macros/scicos/do_SaveAs.sci
b50e054eb26757c7b685c4da5afc4a4c4817dc37
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-public-domain", "MIT" ]
permissive
clg55/Scilab-Workbench
4ebc01d2daea5026ad07fbfc53e16d4b29179502
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
refs/heads/master
2023-05-31T04:06:22.931111
2022-09-13T14:41:51
2022-09-13T14:41:51
258,270,193
0
1
null
null
null
null
UTF-8
Scilab
false
false
862
sci
do_SaveAs.sci
function [scs_m,edited]=do_SaveAs() // if pal_mode then scs_m=do_purge(scs_m),end fname=xgetfile('*.cos') if fname==emptystr() then return,end [path,name,ext]=splitfilepath(fname) select ext case 'cos' then ok=%t else message('Only *.cos binary files allowed'); return end // open the selected file errcatch(240,'continue','nomessage') u=file('open',fname,'unknown','unformatted') errcatch(-1) if iserror(240)==1 then message('Directory write access denied') errclear(240) return end // set initial state in cpr if necessary if cpr<>list() then cpr;cpr(1)=state0 end drawtitle(scs_m(1)) //erase the old title scs_m; scs_m(1)(2)=[name,path] // Change the title // save save(u,scicos_ver,scs_m,cpr) file('close',u) drawtitle(scs_m(1)) // draw the new title edited=%f if pal_mode then update_scicos_pal(path,scs_m(1)(2)(1),fname),end
afe4fbd741946d556d367fb9fd49558f3bb7b15c
05db16b4f57b0182fa452e2c11554c3de6fff271
/branches/vac4.52_sac_cuda/dev/vac4.52mkg_24_06_2010/scilab/mygetpictfunc.sci
a461461e22a0dc15dd96d918fb75d649a73ffdab
[]
no_license
SpungMan/smaug-all
09b4fcf6fcec2fc7be1fa85c5c7f2d68c79e504b
01df12e98c734529ff984662badc26eaa3a9138b
refs/heads/master
2021-11-29T14:09:47.094457
2018-06-08T09:48:05
2018-06-08T09:48:05
null
0
0
null
null
null
null
UTF-8
Scilab
false
false
22,041
sci
mygetpictfunc.sci
function []=mygetpictfunc() // Display mode //mode(0); // Display warning for floating point exception //ieee(1); labindex=1; numlabs=1; nr=100; ne=400+8; nnepp=ne/numlabs; startne=400+(labindex-1)*nnepp; if labindex==numlabs finishne=ne; else finishne=startne+nnepp; end // Read the npict-th picture from 1 or more files % File parameters filename=''; physics=''; phys=''; ndir=[]; logfilename=''; % Transformation parameters Transform=''; nxreg=[]; nxregold=[]; polar_r=''; polar_phi=''; // Function parameters func=''; autorange=[]; fmin=[]; fmax=[]; // Plotting parameters cut=''; plotmode=''; plottitle='default'; View=[-37.5 30]; Colorbar=0; Shading='flat'; Contourlevel=30; Contourstyle='g-'; Quiverscale=1; // multiplot=[] gives the default number of subplots depending on nfile,nfunc // multiplot=[3,2] defines 3 by 2 subplots multiplot=[]; // Number of info items on bottom and in the header Bottomline=2; Headerline=2; // Animation parameters npict=[]; firstpict=1; dpict=1; npictmax=100; doanimate=1; // Printing parameters dohardplot=0; Printfile='Movie/matlab'; Device='ps'; Orient='landscape'; //mypars // ! L.3: mtlb(filename) can be replaced by filename() or filename whether filename is an M-file or not. filename='../data/grav2.out'; //filename = askstr("filename(s) ",mtlb(filename)); [filenames,nfile] = str2arr(filename); [asciifile,filesize,pictsize,fileerror] = studyfile(filenames); if fileerror then return;end; //dispnum("asciifile(s) =",asciifile); disp(" "); npictinfile = floor(filesize ./pictsize); // !! L.10: Unknown function fprintnum not converted, original calling sequence used. //fprintnum("npictinfile(s)=",npictinfile); // ! L.11: mtlb(npict) can be replaced by npict() or npict whether npict is an M-file or not. if ~isempty(mtlb(npict)) then // L.11: No simple equivalent, so mtlb_fprintf() is called. mtlb_fprintf("\n");end; %v02 = npictinfile; //if mtlb_logic(max(%v02,firstnonsingleton(%v02)),">",1) then // ! L.14: mtlb(npict) can be replaced by npict() or npict whether npict is an M-file or not. // npict = asknum("npict(s) (eg. 2 or [3 4 5])",mtlb(npict),nfile); //else // npict = npictinfile; //dispnum("npict =",npict); //end; for npict=startne:finishne %npict=415; outname=sprintf('../data/ascdata/testascmat_%d.out',npict); imoutname=sprintf('../data/plots/testascmat_%d.jpg',npict); for ifile = 1:nfile if mtlb_logic(mtlb_e(npict,ifile),">",npictinfile(ifile)) then disp(" "); // !! L.24: string output can be different from Matlab num2str output. // !! L.24: string output can be different from Matlab num2str output. // !! L.24: string output can be different from Matlab num2str output. disp("Reducing npict="+string(mtlb_e(npict,ifile))+" for file "+string(ifile)+" to npictinfile="+string(npictinfile(ifile))+" !"); npict = mtlb_i(npict,ifile,npictinfile(ifile)); end; fid = mtlb_fopen(trim(filenames(ifile,:)),'r'); mseek(pictsize(ifile)*mtlb_s(mtlb_e(npict,ifile),1),fid,"set"); // !! L.29: Unknown function get_head not converted, original calling sequence used. //exec('get_head.sci'); fileerror = 0; // ! L.4: mtlb(asciifile) can be replaced by asciifile() or asciifile whether asciifile is an M-file or not. // ! L.4: mtlb(ifile) can be replaced by ifile() or ifile whether ifile is an M-file or not. // !! L.4: Unknown function asciifile not converted, original calling sequence used. if asciifile(mtlb(ifile)) then // ! L.5: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. %v0_1 = mgetl(mtlb(fid),1); if meof()~=0 then %v0_1 = -1;end; headline = trim(%v0_1); if ~type(headline)==10 then fileerror = 1; return;end; // ! L.7: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. %v1_1 = mgetl(mtlb(fid),1); if meof()~=0 then %v1_1 = -1;end; // !! L.7: Matlab function sscanf not yet converted, original calling sequence used. tmp = mtlb_t(sscanf(%v1_1,"%d %f %d %d %d",5)); it = mtlb_e(tmp,1); time = mtlb_e(tmp,2); ndim = mtlb_e(tmp,3); neqpar = mtlb_e(tmp,4); nw = mtlb_e(tmp,5); clear("tmp"); gencoord = mtlb_logic(ndim,"<",0); ndim = abs(mtlb_double(ndim)); // ! L.10: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. %v2_1 = mgetl(mtlb(fid),1); if meof()~=0 then %v2_1 = -1;end; // !! L.10: Matlab function sscanf not yet converted, original calling sequence used. nx = mtlb_t(sscanf(%v2_1,"%d",ndim)); // ! L.11: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. %v3_1 = mgetl(mtlb(fid),1); if meof()~=0 then %v3_1 = -1;end; // !! L.11: Matlab function sscanf not yet converted, original calling sequence used. eqpar = mtlb_t(sscanf(%v3_1,"%f",neqpar)); // ! L.12: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. %v4_1 = mgetl(mtlb(fid),1); if meof()~=0 then %v4_1 = -1;end; Variables = trim(%v4_1); else // ! L.14: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // L.14: No simple equivalent, so mtlb_fread() is called. [tmp,ntmp] = mtlb_fread(mtlb(fid),4); if ntmp<4 then fileerror = 1; return;end; // ! L.16: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // L.16: No simple equivalent, so mtlb_fread() is called. headline = trim(ascii(mtlb_fread(mtlb(fid),79)')); // ! L.17: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // L.17: No simple equivalent, so mtlb_fread() is called. mtlb_fread(mtlb(fid),4); // ! L.19: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // L.19: No simple equivalent, so mtlb_fread() is called. mtlb_fread(mtlb(fid),4); // ! L.20: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // L.20: No simple equivalent, so mtlb_fread() is called. it = mtlb_fread(mtlb(fid),1,"int32"); // ! L.20: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // L.20: No simple equivalent, so mtlb_fread() is called. time = mtlb_fread(mtlb(fid),1,"float64"); // ! L.21: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // L.21: No simple equivalent, so mtlb_fread() is called. ndim = mtlb_fread(mtlb(fid),1,"int32"); gencoord = ndim<0; ndim = abs(ndim); // ! L.23: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // L.23: No simple equivalent, so mtlb_fread() is called. neqpar = mtlb_fread(mtlb(fid),1,"int32"); // ! L.23: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // L.23: No simple equivalent, so mtlb_fread() is called. nw = mtlb_fread(mtlb(fid),1,"int32"); // ! L.24: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // L.24: No simple equivalent, so mtlb_fread() is called. mtlb_fread(mtlb(fid),4); // ! L.26: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // L.26: No simple equivalent, so mtlb_fread() is called. mtlb_fread(mtlb(fid),4); // ! L.27: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // L.27: No simple equivalent, so mtlb_fread() is called. nx = mtlb_fread(mtlb(fid),ndim,"int32"); // ! L.28: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // L.28: No simple equivalent, so mtlb_fread() is called. mtlb_fread(mtlb(fid),4); // ! L.30: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // L.30: No simple equivalent, so mtlb_fread() is called. mtlb_fread(mtlb(fid),4); // ! L.31: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // L.31: No simple equivalent, so mtlb_fread() is called. eqpar = mtlb_fread(mtlb(fid),neqpar,"float64"); // ! L.32: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // L.32: No simple equivalent, so mtlb_fread() is called. mtlb_fread(mtlb(fid),4); // ! L.34: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // L.34: No simple equivalent, so mtlb_fread() is called. mtlb_fread(mtlb(fid),4); // ! L.35: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // L.35: No simple equivalent, so mtlb_fread() is called. Variables = trim(ascii(mtlb_fread(mtlb(fid),79)')); // ! L.36: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // L.36: No simple equivalent, so mtlb_fread() is called. mtlb_fread(mtlb(fid),4); end; // Extract physics from headline if it is defined i = max(size(mtlb_double(headline))); while i>1 & mtlb_logic(mtlb_e(headline,i),"~=","_") i = i-1;end; if mtlb_logic(mtlb_e(headline,i),"==","_") then physics = mtlb_e(headline,i+1:max(size(mtlb_double(headline)))); headline = mtlb_e(headline,1:i-1); end; // Extraxt number of vector components NDIR from last character of physics // and extract phys without the number of dimesions and components if ~isempty(physics) then ndir = evstr(mtlb_e(physics,max(size(mtlb_double(physics))))); phys = mtlb_e(physics,1:max(size(mtlb_double(physics)))-2); end; // Extract info from names of Variables [variables,ntmp] = str2arr(Variables); xnames = variables(mtlb_imp(1,ndim),:); wnames = variables(mtlb_imp(mtlb_a(ndim,1),mtlb_a(ndim,nw)),:); // It can optionally contain the names of the equation parameters if mtlb_logic(ntmp,"==",mtlb_a(mtlb_a(ndim,nw),neqpar)) then eqparnames = variables(mtlb_imp(mtlb_a(mtlb_a(ndim,nw),1),ntmp),:); for ieqpar = mtlb_imp(1,mtlb_double(neqpar)) mtlb_eval(eqparnames(ieqpar,:)+"= eqpar(ieqpar);"); end; end; clear("ntmp"); nxs = mtlb_prod(mtlb_double(nx)); if mtlb_logic(ndim,"==",1) then nx1 = nx; nx2 = 1; nx3 = 1; end; if mtlb_logic(ndim,"==",2) then nx1 = mtlb_e(nx,1); nx2 = mtlb_e(nx,2); nx3 = 1; end; if mtlb_logic(ndim,"==",3) then nx1 = mtlb_e(nx,1); nx2 = mtlb_e(nx,2); nx3 = mtlb_e(nx,3); end; disp(" "); // ! L.31: mtlb(headline) can be replaced by headline() or headline whether headline is an M-file or not. disp("headline=''"+mtlb(headline)+"'' "); // ! L.32: mtlb(physics) can be replaced by physics() or physics whether physics is an M-file or not. if ~isempty(mtlb(physics)) then // ! L.32: mtlb(physics) can be replaced by physics() or physics whether physics is an M-file or not. disp("physics =''"+mtlb(physics)+"'' ");end; if fileerror then // ! L.34: mtlb(dpict) can be replaced by dpict() or dpict whether dpict is an M-file or not. // L.34: No simple equivalent, so mtlb_fprintf() is called. mtlb_fprintf("Error: Could not read the %d",mtlb(dpict)); disp(". picture from data file "+filenames(ifile,:)); return; end; // ! L.38: mtlb(it) can be replaced by it() or it whether it is an M-file or not. // ! L.38: mtlb(time) can be replaced by time() or time whether time is an M-file or not. // ! L.38: mtlb(ndim) can be replaced by ndim() or ndim whether ndim is an M-file or not. // ! L.38: mtlb(neqpar) can be replaced by neqpar() or neqpar whether neqpar is an M-file or not. // ! L.38: mtlb(nw) can be replaced by nw() or nw whether nw is an M-file or not. // L.38: No simple equivalent, so mtlb_fprintf() is called. mtlb_fprintf("it=%d time=%f ndim=%d neqpar=%d nw=%d\n",mtlb(it),mtlb(time),mtlb(ndim),mtlb(neqpar),mtlb(nw)); // ! L.39: mtlb(eqpar) can be replaced by eqpar() or eqpar whether eqpar is an M-file or not. //dispnum("eqpar=",mtlb(eqpar)); // ! L.40: mtlb(nx) can be replaced by nx() or nx whether nx is an M-file or not. //dispnum("nx =",mtlb(nx)); // ! L.41: mtlb(gencoord) can be replaced by gencoord() or gencoord whether gencoord is an M-file or not. if mtlb(gencoord) then // !! L.41: Unknown function read_transform_par not converted, original calling sequence used. read_transform_par;end; if nfile>1 then // ! L.43: mtlb(Variables) can be replaced by Variables() or Variables whether Variables is an M-file or not. // !! L.43: string output can be different from Matlab num2str output. disp("Reading:"+mtlb(Variables)+" (with _"+string(ifile)+")"); else // ! L.45: mtlb(Variables) can be replaced by Variables() or Variables whether Variables is an M-file or not. disp("Reading:"+mtlb(Variables)); end; // !! L.47: Unknown function get_body not converted, original calling sequence used. //exec('get_body.sci'); // Read a snapshot from a VAC data file (binary or ascii). // First X and w are read, (X is capitalized to avoid possible conflict with // the name of its first component). Transform X and w according to Transform // if generalized coordinates are found. // Extract the variables given in the xwname string array read by get_head. // ! L.7: mtlb(nxs) can be replaced by nxs() or nxs whether nxs is an M-file or not. // ! L.7: mtlb(ndim) can be replaced by ndim() or ndim whether ndim is an M-file or not. // ! L.7: real(mtlb_double(mtlb(nxs))) may be replaced by: // ! --> mtlb_double(mtlb(nxs)) if mtlb_double(mtlb(nxs)) is Real. // ! L.7: real(mtlb_double(mtlb(ndim))) may be replaced by: // ! --> mtlb_double(mtlb(ndim)) if mtlb_double(mtlb(ndim)) is Real. X = zeros(real(mtlb_double(mtlb(nxs))),real(mtlb_double(mtlb(ndim)))); // ! L.8: mtlb(nxs) can be replaced by nxs() or nxs whether nxs is an M-file or not. // ! L.8: mtlb(nw) can be replaced by nw() or nw whether nw is an M-file or not. // ! L.8: real(mtlb_double(mtlb(nxs))) may be replaced by: // ! --> mtlb_double(mtlb(nxs)) if mtlb_double(mtlb(nxs)) is Real. // ! L.8: real(mtlb_double(mtlb(nw))) may be replaced by: // ! --> mtlb_double(mtlb(nw)) if mtlb_double(mtlb(nw)) is Real. w = zeros(real(mtlb_double(mtlb(nxs))),real(mtlb_double(mtlb(nw)))); // ! L.9: mtlb(asciifile) can be replaced by asciifile() or asciifile whether asciifile is an M-file or not. // ! L.9: mtlb(ifile) can be replaced by ifile() or ifile whether ifile is an M-file or not. // !! L.9: Unknown function asciifile not converted, original calling sequence used. if asciifile(mtlb(ifile)) then // ! L.10: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // ! L.10: mtlb(ndim) can be replaced by ndim() or ndim whether ndim is an M-file or not. // ! L.10: mtlb(nw) can be replaced by nw() or nw whether nw is an M-file or not. // ! L.10: mtlb(nxs) can be replaced by nxs() or nxs whether nxs is an M-file or not. // L.10: No simple equivalent, so mtlb_fscanf() is called. xw = mtlb_fscanf(mtlb(fid),"%f",[mtlb_a(mtlb(ndim),mtlb(nw)),mtlb(nxs)]); // ! L.11: mtlb(ndim) can be replaced by ndim() or ndim whether ndim is an M-file or not. X = (xw(mtlb_imp(1,mtlb_double(mtlb(ndim))),:))'; // ! L.12: mtlb(ndim) can be replaced by ndim() or ndim whether ndim is an M-file or not. // ! L.12: mtlb(nw) can be replaced by nw() or nw whether nw is an M-file or not. // ! L.12: mtlb(ndim) can be replaced by ndim() or ndim whether ndim is an M-file or not. w = (xw(mtlb_imp(mtlb_a(mtlb(ndim),1),mtlb_a(mtlb(nw),mtlb(ndim))),:))'; clear("xw"); // ! L.14: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. %v0_1 = mgetl(mtlb(fid),1); if meof()~=0 then %v0_1 = -1;end; %v0_1; else // ! L.16: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // L.16: No simple equivalent, so mtlb_fread() is called. mtlb_fread(mtlb(fid),4); // ! L.17: mtlb(ndim) can be replaced by ndim() or ndim whether ndim is an M-file or not. for idim = mtlb_imp(1,mtlb_double(mtlb(ndim))) // ! L.18: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // ! L.18: mtlb(nxs) can be replaced by nxs() or nxs whether nxs is an M-file or not. // L.18: No simple equivalent, so mtlb_fread() is called. X(:,idim) = mtlb_fread(mtlb(fid),mtlb(nxs),"float64"); end; // ! L.20: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // L.20: No simple equivalent, so mtlb_fread() is called. mtlb_fread(mtlb(fid),4); // ! L.21: mtlb(nw) can be replaced by nw() or nw whether nw is an M-file or not. for iw = mtlb_imp(1,mtlb_double(mtlb(nw))) // ! L.22: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // L.22: No simple equivalent, so mtlb_fread() is called. mtlb_fread(mtlb(fid),4); // ! L.23: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // ! L.23: mtlb(nxs) can be replaced by nxs() or nxs whether nxs is an M-file or not. // L.23: No simple equivalent, so mtlb_fread() is called. w(:,iw) = mtlb_fread(mtlb(fid),mtlb(nxs),"float64"); // ! L.24: mtlb(fid) can be replaced by fid() or fid whether fid is an M-file or not. // L.24: No simple equivalent, so mtlb_fread() is called. mtlb_fread(mtlb(fid),4); end; end; // extract variables from X into variables named after the strings in xnames // ! L.29: mtlb(ndim) can be replaced by ndim() or ndim whether ndim is an M-file or not. for idim = mtlb_imp(1,mtlb_double(mtlb(ndim))) // ! L.30: mtlb(ndim) can be replaced by ndim() or ndim whether ndim is an M-file or not. if mtlb_logic(mtlb(ndim),"==",2) then // ! L.31: mtlb(nx1) can be replaced by nx1() or nx1 whether nx1 is an M-file or not. // ! L.31: mtlb(nx2) can be replaced by nx2() or nx2 whether nx2 is an M-file or not. // !! L.31: WARNING: Matlab reshape() suppresses singleton higher dimension, it is not the case for matrix. tmp = matrix(X(:,idim),mtlb(nx1),mtlb(nx2)); else tmp = X(:,idim); end; // !! L.35: Unknown function xnames not converted, original calling sequence used. disp("this bit 1"); //mtlb_eval(xnames(idim,:)+"=tmp;"); sprintf("%s%s",xnames(idim,:),"=tmp;"); end; disp("this bit 2"); // ! L.39: mtlb(ndim) can be replaced by ndim() or ndim whether ndim is an M-file or not. if mtlb_logic(mtlb(ndim),"==",1) then xx = X; elseif mtlb_logic(mtlb(ndim),"==",2) then // ! L.40: mtlb(nx1) can be replaced by nx1() or nx1 whether nx1 is an M-file or not. // ! L.40: mtlb(nx2) can be replaced by nx2() or nx2 whether nx2 is an M-file or not. // !! L.40: WARNING: Matlab reshape() suppresses singleton higher dimension, it is not the case for matrix. xx = matrix(X(:,1),mtlb(nx1),mtlb(nx2)); // ! L.41: mtlb(nx1) can be replaced by nx1() or nx1 whether nx1 is an M-file or not. // ! L.41: mtlb(nx2) can be replaced by nx2() or nx2 whether nx2 is an M-file or not. // !! L.41: WARNING: Matlab reshape() suppresses singleton higher dimension, it is not the case for matrix. yy = matrix(X(:,2),mtlb(nx1),mtlb(nx2)); end; // extract variables from w into variables named after the strings in wnames // ! L.45: mtlb(nw) can be replaced by nw() or nw whether nw is an M-file or not. for iw = mtlb_imp(1,mtlb_double(mtlb(nw))) // ! L.46: mtlb(ndim) can be replaced by ndim() or ndim whether ndim is an M-file or not. if mtlb_logic(mtlb(ndim),"==",2) then // ! L.47: mtlb(nx1) can be replaced by nx1() or nx1 whether nx1 is an M-file or not. // ! L.47: mtlb(nx2) can be replaced by nx2() or nx2 whether nx2 is an M-file or not. // !! L.47: WARNING: Matlab reshape() suppresses singleton higher dimension, it is not the case for matrix. tmp = matrix(w(:,iw),mtlb(nx1),mtlb(nx2)); else tmp = w(:,iw); end; // !! L.51: Unknown function wnames not converted, original calling sequence used. //mtlb_eval(wnames(iw,:)+"=tmp;"); sprintf("%s%s",wnames(iw,:),"=tmp;") end; clear("tmp"); // ! L.55: mtlb(gencoord) can be replaced by gencoord() or gencoord whether gencoord is an M-file or not. // ! L.55: mtlb(ndim) can be replaced by ndim() or ndim whether ndim is an M-file or not. if mtlb_double(mtlb(gencoord)) & mtlb_logic(mtlb(ndim),"==",2) then // ! L.58: mtlb(Transform) can be replaced by Transform() or Transform whether Transform is an M-file or not. if mtlb_strcmp(mtlb(Transform),"polar") then // !! L.57: Unknown function polargrid not converted, original calling sequence used. polargrid; elseif mtlb_strcmp(mtlb(Transform),"regular") then // !! L.59: Unknown function regulargrid not converted, original calling sequence used. regulargrid; end; end; mclose(fid); if nfile>1 then // Rename the variables to rho_1,rho_2 etc for more than one file // ! L.51: mtlb(variables) can be replaced by variables() or variables whether variables is an M-file or not. for i = 1:size(mtlb_double(mtlb(variables)),1) // ! L.52: mtlb(variables) can be replaced by variables() or variables whether variables is an M-file or not. // !! L.52: Unknown function variables not converted, original calling sequence used. // !! L.52: string output can be different from Matlab num2str output. // ! L.52: mtlb(variables) can be replaced by variables() or variables whether variables is an M-file or not. // !! L.52: Unknown function variables not converted, original calling sequence used. mtlb_eval(trim(variables(i,":"))+"_"+string(ifile)+"="+variables(i,":")+";"); end; end; end; //reduce the data and save in ascii format [nr,nc]=size(x); ntot=nr*nc; ascdat=zeros(nr,nc,12); ascdat(:,:,1)=x(:,:); ascdat(:,:,2)=y(:,:); ascdat(:,:,3)=h(:,:); ascdat(:,:,4)=m1(:,:); ascdat(:,:,5)=m2(:,:); ascdat(:,:,6)=e(:,:); ascdat(:,:,7)=b1(:,:); ascdat(:,:,8)=b2(:,:); ascdat(:,:,9)=eb(:,:); ascdat(:,:,10)=rhob(:,:); ascdat(:,:,11)=bg1(:,:); ascdat(:,:,12)=bg2(:,:); end; //looping over pictures endfunction
d597fb40c6759705d73c01ec60935214c8d34806
449d555969bfd7befe906877abab098c6e63a0e8
/632/CH8/EX8.3/example8_3.sce
5c5a2b820ca9f6c5cec31d3b9c9bf6afcbf0cedf
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
269
sce
example8_3.sce
//clc() Pdryair = 101.3;//kPa Pacetone = 16.82;//kPa Nratio = Pacetone / (Pdryair - Pacetone); mratio = Nratio * 58.048 / 29;// ( Macetone = 58.048, Mair = 29 ) macetone = 5;//kg ( given ) mdryair = macetone / mratio; disp("kg",mdryair,"Minimum air required = ")
c9e4712364ef91129180f7ad8dc3c3c8da2fc10c
449d555969bfd7befe906877abab098c6e63a0e8
/764/CH8/EX8.15.a/data8_15.sci
0c1000cf8f3bbf91022f5a74ba296a451678df80
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
275
sci
data8_15.sci
//(Welded and Riveted Joints) Example 8.15 //Refer Fig.8.36 on page 293 //Diameter of the beam D (mm) D = 50 //Eccentric load acting on the beam P (kN) P = 10 //Permissible shear stress in the welds tau (N/mm2) tau = 100 //Force eccentricity value e (mm) e = 200
e8862ee2f7ea923fdf71bb949da6e9e0e886644f
449d555969bfd7befe906877abab098c6e63a0e8
/1802/CH10/EX10.15/Exa10_15.sce
1f5dfead4e73d98d092f9fcea488a794c5f290b3
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
643
sce
Exa10_15.sce
//Exa 10.15 clc; clear; close; //Given Data : format('v',9); f=50;//in Hz V=240;//in Volts TotalLoad=200+80;//in KW cosfi_1=0.8;//unitless tanfi_1=tand(acosd(cosfi_1)); cosfi_2=0.9;//unitless tanfi_2=tand(acosd(cosfi_2)); //(i) OA=200;//in KW OD=280;//in KW CM=OA*tanfi_1-OD*tanfi_2;//in KVAR disp(CM,"Leading KVAR supplied by the motor(in KVAR) :"); //(ii) BM=80;//in KW CM=15.6;//in KW KVA_Rating=sqrt(BM^2+CM^2);//in KVA disp(KVA_Rating,"KVA rating(in KVA) :"); //(iii) BC=KVA_Rating;//in KW cosfi_m=BM/BC;//unitless disp(cosfi_m,"P.F. Of the motor : "); //Note : Answer of (i) part is wrong in the book is wrong
8be6aa3af94b02b6e05bcc824a30efde0e1739dc
5f48beee3dc825617c83ba20a7c82c544061af65
/tests/s/58.tst
2f3c18a121918e063ca77b5662c09f1c717013cf
[]
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
23
tst
58.tst
int f(float x, int y);
d789e8b7cbf6e3c387bb40c6d7390fe2a63bfe51
449d555969bfd7befe906877abab098c6e63a0e8
/1301/CH25/EX25.2/ex25_2.sce
924ec41fef93ae6825bd8d128a06b64796825dba
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
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
sce
ex25_2.sce
clc; a=238.03; //atomic mass m=75; //no. of moles mass=m*a; //calculating mass of U n=6.023*10^23; //avogadro's no. no=m*n; //calculating no. of atoms disp(mass,"Mass of U in gram = "); //displaying result disp(no,"No. of atoms = "); //displaying result
fa8bcd6ffbd1c51c5e5a66255c66234197a55823
449d555969bfd7befe906877abab098c6e63a0e8
/1553/CH2/EX2.14/2Ex14.sce
ce46810cffe7870ab89d27bb05e9db0843426db1
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
191
sce
2Ex14.sce
//chapter 2 Ex 14 clc; clear; close; n1=62; n2=132; n3=237; V=int32([n2-n1 n3-n2 n3-n1]); //since it leaves same reminder Hcf=gcd(V); mprintf("The largest such number is %d.",Hcf);
357d9e21b32e8ef0340f612c26c47522540878e0
449d555969bfd7befe906877abab098c6e63a0e8
/45/CH10/EX10.1/example_10_1.sce
dcd7c8130a8d2cf9e72f8131251a6c18d1249544
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
300
sce
example_10_1.sce
//example 10.1 clc; clear; //c= input('Enter the period of the waveform at C in micro seconds : '); c=24;// given period of waveform clk= c/8; clkf = 1/(clk*10^-3); printf('The clock period is %f micro seconds \n',clk);//displaying the results printf('The clock frequenc must be %f KHz ', clkf);
b5ad56675405dbf11170cd4f39956904f9edb978
449d555969bfd7befe906877abab098c6e63a0e8
/1802/CH8/EX8.6/Exa8_6.sce
21dcfacedbdb631fd400edb3d72e57eebf8d86e0
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
366
sce
Exa8_6.sce
//Exa 8.6 clc; clear; close; //given data CN=0.4;//in uF V=33;//in KV VP=V/sqrt(3);//in KV f=25;//in Hz //Capacitance between 2 cores for 15 Km length CN_1=15*CN;//in uF //Capacitance of each core to neutral CN=2*CN_1;//in uF //Charging current per phase I=2*%pi*f*VP*1000*CN*10^-6;//in Ampere disp(round(I),"Charging current per phase in Ampere : ");
ec50226707fd18129561dd9e0fea3052673215b1
449d555969bfd7befe906877abab098c6e63a0e8
/2168/CH5/EX5.6/Chapter5_example6.sce
bfbd98bb672ca8bbf55c4e630cc603c56b8310c9
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
398
sce
Chapter5_example6.sce
clc clear //Input data T=[500,2000]//Change in temperature in K x=[11.515,-172,1530]//Cp=11.515-172/sqrt(T)+1530/T in kcal/kg mole.K mO2=32//Molecular weight of oxygen //Calculations function y=f(T),y=(x(1)+(x(2)/sqrt(T))+(x(3)/T)),endfunction I=-intg(T(2),T(1),f)//Integration dh=(I/mO2)//Change in enthalpy in kcal/kg //Output printf('The change in enthalpy is %3.1f kcal/kg',dh)
aa5317f85fb3435035b2560bf84f2bfc8dfd6ad5
449d555969bfd7befe906877abab098c6e63a0e8
/2747/CH14/EX14.3/Ex14_3.sce
adf36df76d8130eb9912fe603e730850dd66115c
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
192
sce
Ex14_3.sce
clc clear //Initialization of variables k=5 //calculations x=poly(0,"x") p=x^2 *(k-x) -k^2 *(1-x)^2 *(3-x) vec=roots(p) x=vec(3) //results printf("degree of dissociation = %.2f",x)
3f9e0c4621f3650bca034426d4b517409d9d0bce
449d555969bfd7befe906877abab098c6e63a0e8
/2507/CH5/EX5.7/Ex5_7.sce
ee2e20e3f09613da2e8a8cfa0862fe66d05a0032
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
541
sce
Ex5_7.sce
clc clear printf("Example 5.7 | Page number 128 \n\n"); //Find mass flow rate of cooling water mh = 9.45 // kg/s // flow rate of steam h_h2 = 140 // kJ/kg // enthalpy of condensate h_h1 = 2570 // kJ/kg // inlet enthalpy of steam t1 = 25 // °C //inlet temperature of cooling water t2 = 36 // °C //exit temperature of cooling water c = 4.189 // kJ/kg deg // specific heat of water //Solution mc = -1*(mh*(h_h2-h_h1))/(c*(t2-t1)) // kg/s //mass flow rate of cooling water printf("Mass flow rate of cooling water = %.2f kg/s",mc)
2031af5540756a7571eb6dbbe551dea75c3da004
449d555969bfd7befe906877abab098c6e63a0e8
/998/CH29/EX29.78/Ex78.sce
463db1427afa2927d1a2fb99c1cabe2a1e4e5067
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
541
sce
Ex78.sce
//Ex:78 clc; clear; close; R=6378;// Radius of earth in km R_o=42164;//orbital radius in km A1=(atan(tan(20*%pi/180)/(sin(60*%pi/180))))*(180/%pi);// in degree A=180-A1;//Azimuth angle in degree x_sl=20*%pi/180;//Diff b/t satellite longitude & earth station longitude in radians x_l=60*%pi/180;;//earth station latitude in radian B=cos(x_sl)*cos(x_l); s=(acos(B))*(180/%pi); s1=R*sin(s*%pi/180); s2=R_o-R*B; E=(atan(s2/s1))*(180/%pi)-s; printf("The Azimuth angle=%f degree", A); printf("\n The elevation angle=%f degree", E);
4496caf576574d22a54def34b2929b13107ad23a
449d555969bfd7befe906877abab098c6e63a0e8
/3822/CH11/EX11.2/Ex11_2.sce
e0d4b582bf801a37ae33ade0cb4802632665efe1
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
649
sce
Ex11_2.sce
//OptoElectronics and Fibre Optics Communication, by C.K Sarkar and B.C Sarkar //Example 11.1 //OS=Windows 10 ////Scilab version Scilab 6.0.0-beta-2(64 bit) clc; clear; //given L=1.25e3;//length of the link in m delta_lamda=45;//change in wavelength in nanometers lamda=850;//perating wavelength of fibre in nanometer C=3e8;//velocity of light in m/s M=0.023;//value of material dispersion parameter BR=1e7//bitate in bps TB=1/BR//bit period in s v=delta_lamda/lamda; Lmax=0.35*TB*C/(M*v)//The material dispersion limited transmission distance mprintf("The material dispersion limited transmission distance=%.2f Km",Lmax/1e3);
f8ecab66d9e9ae54ccaf2442013d6d8dcd6c3a3d
8217f7986187902617ad1bf89cb789618a90dd0a
/source/2.5/macros/m2sci/sci_exist.sci
e94199aa1a36c909362340e7ea3dbec93e07363d
[ "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
191
sci
sci_exist.sci
function [stk,txt,top]=sci_exist() // Copyright INRIA txt=[] set_infos('Not enough information using mtlb_exist instead of exists',1) stk=list('mtlb_exist('+stk(top)(1)+')','0','1','1','1')
52d9a5b9236273bfeb338121ca851df753616697
2e676e3b1cebfbb9d20f9b935ceacd507c57d36a
/Octave/octave-4.2.1/share/octave/4.2.1/etc/tests/fixed/index.tst
9a0cedbbb6496935a8c288d58c6e34358052f864
[]
no_license
vohrahul/ML-ang-coursera
239469e763b290aa178b7aa8a86eda08e4e7f4be
4c24fd2ecfb9f3de7df15e3a9f75627f782f9915
refs/heads/master
2022-12-28T03:45:54.810173
2020-10-16T12:33:25
2020-10-16T12:33:25
304,620,441
1
0
null
null
null
null
UTF-8
Scilab
false
false
12,491
tst
index.tst
## Copyright (C) 2006-2017 John W. Eaton ## ## This file is part of Octave. ## ## Octave is free software; you can redistribute it and/or modify it ## under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 3 of the License, or (at ## your option) any later version. ## ## Octave is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with Octave; see the file COPYING. If not, see ## <http://www.gnu.org/licenses/>. %!test %! a = []; %! assert (isempty (a)); %!shared a %! a = 1; %!assert (a(1), 1) %!assert (a(:), 1) %!assert (a(:,:), 1) %!assert (a(1,:), 1) %!assert (a(:,1), 1) %!assert (isempty (a(logical (0)))) %!error a(-1) %!error a(2) %!error a(2,:) %!error a(:,2) %!error a(-1,:) %!error a(:,-1) %!error a([1,2,3]) %!error a([1;2;3]) %!error a([1,2;3,4]) %!error a([0,1]) %!error a([0;1]) %!error a([-1,0]) %!error a([-1;0]) %!shared a, a_prime, mid_a %! a = [4,3,2,1]; %! a_prime = [4;3;2;1]; %! mid_a = [3,2]; %!assert (a(1),4) %!assert (a(2),3) %!assert (all (a(:) == a_prime)) %!assert (all (a(1,:) == a)) %!assert (a(:,3),2) %!assert (all (a(:,:) == a)) %!assert (all (a(logical ([0,1,1,0])) == mid_a)) %!error a(0) %!error a(5) %!error a(0,1) %!assert (isempty (a(logical (0),:))) %!error a(:,0) %!assert (isempty (a([]))) %!assert (isempty (a([],:))) %!assert (isempty (a(:,[]))) %!shared a, a_fvec, a_col_1, a_col_2, a_row_1, a_row_2 %! a = [1,2;3,4]; %! a_fvec = [1;3;2;4]; %! a_col_1 = [1;3]; %! a_col_2 = [2;4]; %! a_row_1 = [1,2]; %! a_row_2 = [3,4]; %!assert (all (all (a(:,:) == a))) %!assert (all (a(:) == a_fvec)) %!error a(0) %!assert (a(2), 3) %% Additional tests %!shared a, b %! a = [1,2;3,4]; %! b = a; %! b(:,:,2) = [5,6;7,8]; %!assert (a(:), [1;3;2;4]) %!assert (a(1:2), [1,3]) %!assert (a(:,:), [1,2;3,4]) %!assert (a(:,1), [1;3]) %!assert (a(1,1), 1) %!assert (a(1:2,1), [1;3]) %!assert (a(:,:,1), [1,2;3,4]) %!test %! c(:,:,1) = [1,2;3,4]; %! c(:,:,2) = [1,2;3,4]; %! assert (a(:,:,[1,1]), c); %!test %! c(:,:,1,1) = [1,2;3,4]; %! c(:,:,1,2) = [1,2;3,4]; %! assert (a(:,:,1,[1,1]), c); %!test %! c(:,:,1,1) = [1,2;3,4]; %! c(:,:,2,1) = [1,2;3,4]; %! c(:,:,1,2) = [1,2;3,4]; %! c(:,:,2,2) = [1,2;3,4]; %! assert (a(:,:,[1,1],[1,1]), c); %!assert (a(1,[]), zeros (1,0)) %!assert (a(1,[],[1,1]), zeros (1,0,2)) %!assert (a(1,1,[]), zeros (1,1,0)) %!test %! c (1:10,1) = 1:10; %! assert (c, [1:10]'); %!assert (b(:), [1; 3; 2; 4; 5; 7; 6; 8]) %!assert (b(:,:), [1, 2, 5, 6; 3, 4, 7, 8]) %!assert (b(:,1), [1;3]) %!assert (b(:,:,:), reshape ([1,3,2,4,5,7,6,8], [2,2,2])) %!assert (b(:,1,1), [1;3]) %!assert (b(:,1,1,[1,1]),reshape ([1,3,1,3], [2,1,1,2])) %!assert (b(1,3), 5) %!assert (b(1,[3,4]), [5,6]) %!assert (b(1,1:4), [1,2,5,6]) %!assert (b(1,[],:), zeros (1,0,2)) %!assert (b(1,[]), zeros (1,0)) %!assert (b(:,3), [5;7]) %!assert (b([1,2],3), [5;7]) %!assert (b(true (2,1), 3), [5;7]) %!assert (b(false (2,1), 3), zeros (0,1)) %!assert (b([],3), zeros (0,1)) %!shared x %! ## Dummy shared block to clear any previous definitions %! x = 1; %!test %! a(1,:) = [1,3]; %! assert (a, [1,3]); %!test %! a(1,:) = [1;3]; %! assert (a, [1,3]); %!test %! a(:,1) = [1;3]; %! assert (a, [1;3]); %!test %! a = [1,2;3,4]; %! b (1,:,:) = a; %! assert (b, reshape (a, [1,2,2])); %!test %! a(1,1:4,2) = reshape (1:4, [1,1,4]); %! b(:,:,2) = 1:4; %! assert (a, b); %!test %! a(:,:,:) = 1:4; %! assert (a, [1:4]); %!test %! a(:,:,1) = 1:4;; %! assert (a, [1:4]); %!test %! a(:,:,1) = [1:4]'; %! assert (a, [1:4]'); %!test %! a(:,:,1) = reshape (1:4,[1,1,4]); %! assert (a, [1:4]'); %!test %! a(:,1,:) = 1:4; %! assert (a, reshape (1:4,[1,1,4])); %!test %! a(:,1,:) = [1:4]'; %! assert (a, [1:4]'); %!test %! a(:,1,:) = reshape (1:4,[1,1,4]);; %! assert (a, [1:4]'); %!test %! a(1,:,:) = 1:4; %! assert (a, reshape (1:4,[1,1,4])); %!test %! a(1,:,:) = [1:4]'; %! assert (a, [1:4]); %!test %! a(1,:,:) = reshape (1:4,[1,1,4]); %! assert (a, [1:4]); %!test %! a(1,:,:,:) = reshape (1:4,[1,1,4]); %! assert (a, reshape (1:4,[1,1,1,4])); %!error (a(1:2,1:2) = 1:4) ## bug #38357 %!shared d, dd %! d = diag ([1, 2, 3]); %! dd = diag ([1, 2, 3], 6, 3); %!assert (d(1), 1) %!assert (dd(1), 1) %!assert (d(3, 3), 3) %!assert (dd(3, 3), 3) %!assert (d(2), 0) %!assert (dd(2), 0) %!assert (dd(6,1), 0) %!error d(6,6) %!error dd(6,6) %!error d(3,6) %!error dd(3,6) ## bug 31287 %!test %! y = ones (2, 2, 2); %! x = ones (2, 2, 2); %! x(false) = []; %! assert (x, y); %!test %! y = ones (2, 2, 2); %! x = ones (2, 2, 2); %! x(false,[]) = []; %! assert (x, y); %!test %! y = ones (2, 2, 2); %! x = ones (2, 2, 2); %! x(false,[],false) = []; %! assert (x, y); %!shared x, y %! y = ones (2, 2, 2); %! x = ones (2, 2, 2); %! x(false, 1) = []; %! assert (x, y); %!shared x, y %! y = ones (2, 2, 2); %! x = ones (2, 2, 2); %! x(false, false) = []; %! assert (x, y); %!test %! y = ones (2, 2); %! x = ones (2, 2); %! x([], []) = []; %! assert (x, y); %!test %! y = sparse (ones (2, 2)); %! x = sparse (ones (2, 2)); %! x([], []) = []; %! assert (x, y); %!test %! y = ones (2, 2); %! x = ones (2, 2); %! x(1, []) = []; %! assert (x, y); %!test %! y = ones (2, 2); %! x = ones (2, 2); %! x([], 1, []) = []; %! assert (x, y); %!test %! y = ones (2, 2); %! x = ones (2, 2); %! x(1, [], 1, 1) = []; %! assert (x, y); %!test %! y = ones (2, 2); %! x = ones (2, 2); %! x([], 1, 1) = []; %! assert (x, y); %!test %! y = ones (2, 2); %! x = ones (2, 2); %! ea2 = ones (3, 2, 0, 2); %! x(1, ea2) = []; %! assert (x, y); %!test %! y = sparse (ones (2, 2)); %! x = sparse (ones (2, 2)); %! ea2 = ones (3, 2, 0, 2); %! x(1, ea2) = []; %! assert (x, y); %!test %! y = ones (2, 2); %! x = ones (2, 2); %! ea2 = ones (3, 2, 0, 2); %! x([], 1, ea2) = []; %! assert (x, y); %!test %! y = ones (2, 2); %! x = ones (2, 2); %! ea2 = ones (3, 2, 0, 2); %! x(1, ea2, ea2) = []; %! assert (x, y); %!test %! y = ones (2, 2); %! x = ones (2, 2); %! ea2 = ones (3, 2, 0, 2); %! x(1, ea2, 1) = []; %! assert (x, y); %!test %! y = ones (2, 2); %! x = ones (2, 2); %! x(false, 1) = []; %! assert (x, y); %!test %! y = sparse (ones (2, 2)); %! x = sparse (ones (2, 2)); %! x(false, 1) = []; %! assert (x, y); %!test %! y = ones (2, 2); %! x = ones (2, 2); %! x(1, [], false) = []; %! assert (x, y); %!test %! y = ones (2, 2); %! x = ones (2, 2); %! x(false, false) = []; %! assert (x, y); %!test %! y = sparse (ones (2, 2)); %! x = sparse (ones (2, 2)); %! x(false, false) = []; %! assert (x, y); %!test %! y = ones (2, 2); %! x = ones (2, 2); %! x(false, [], false) = []; %! assert (x, y); %!test %! y = ones (2, 2); %! x = ones (2, 2); %! x([], false, false, false) = []; %! assert (x, y); %!test %! y = ones (2, 2); %! x = ones (2, 2); %! x(1, [], false, false) = []; %! assert (x, y); %!test %! y = ones (2, 2); %! x = ones (2, 2); %! x(:, false) = []; %! assert (x, y); %!test %! y = sparse (ones (2, 2)); %! x = sparse (ones (2, 2)); %! x(:, false) = []; %! assert (x, y); %!test %! y = ones (2, 2); %! x = ones (2, 2); %! x(false, :) = []; %! assert (x, y); %!test %! y = sparse (ones (2, 2)); %! x = sparse (ones (2, 2)); %! x(false, :) = []; %! assert (x, y); %!test %! y = ones (2, 2); %! x = ones (2, 2); %! x(false, :, [], 1) = []; %! assert (x, y); %!test %! y = ones (2, 2); %! x = ones (2, 2); %! x(:, [], false) = []; %! assert (x, y); %!shared x, y %! y = ones (2, 2); %! x = ones (2, 2); %!error x(1, 1, []) = [] %!shared x, y %! y = ones (2, 2); %! x = ones (2, 2); %! x(false, false, 1) = []; %! assert (x, y); %!shared x, y %! y = ones (2, 2); %! x = ones (2, 2); %! x(false, false, []) = []; %! assert (x, y); %!shared x, y %! y = ones (2, 2); %! x = ones (2, 2); %! x(false, false, [], false) = []; %! assert (x, y); %!shared x, y %! y = ones (2, 2); %! x = ones (2, 2); %! x(1, false, [], false) = []; %! assert (x, y); %!shared x, y %! y = ones (2, 2); %! x = ones (2, 2); %! x(:, false, 1) = []; %! assert (x, y); %!test %! y = ones (2, 2); %! x = ones (2, 2); %! x([]) = []; %! assert (x, y); %!test %! y = sparse (ones (2, 2)); %! x = sparse (ones (2, 2)); %! x([]) = []; %! assert (x, y); %!test %! y = []; %! x = ones (2, 2); %! x(:) = []; %! assert (x, y); %!test %! y = sparse ([]); %! x = sparse (ones (2, 2)); %! x(:) = []; %! assert (x, y); %!test %! y = ones (2, 2); %! x = ones (2, 2); %! x(false) = []; %! assert (x, y); %!test %! y = sparse (ones (2, 2)); %! x = sparse (ones (2, 2)); %! x(false) = []; %! assert (x, y); %!test %! y = ones (2, 2); %! x = ones (2, 2); %! x([], false) = []; %! assert (x, y); %!test %! y = sparse (ones (2, 2)); %! x = sparse (ones (2, 2)); %! x([], false) = []; %! assert (x, y); %!test %! y = ones (2, 2); %! x = ones (2, 2); %! x([], false, :) = []; %! assert (x, y); ## Test indexing of unnamed constants %!error <index \(0\): subscripts must be> 1(0) %!error <index \(-1\): subscripts must be> 1(-1) %!error <index \(_,0.5\): subscripts> {}(1,0.5) %!error <index \(nan,_\): subscripts> 1(NaN,1) %!error <index \(_,_,<cell....\[x8\]...\): subscripts> [](1,1,{},1,1,1,1,1,1,1,1) %!error <index \(...\[x9\]...-1,_\): subscript> 1(1,1,1,1,1,1,1,1,1,-1,1) %!error <index \(2\): out of bound 1> 1(2) %!error <index \(1\): out of bound 0> [](1) %!error <index \(_,1\): but object has size 5x0> zeros(5,0)(3,1) %!error <index \(3,_\): but object has size 0x5> zeros(0,5)(3,1) %!error <index \(-1\): subscripts> 1(1)(-1)(1) %! %!shared abc %! abc = [1, 2]; %! ## Test full matrices in variables %!error <abc\(3\): out of bound 2> abc([false, true, true]) %!error <abc\(-1\): subscripts> abc(-1)(1)(1) %! ## xerror <index \(-1\): subscripts> abc(1)(-1)(1) ## why no 'xerror' test? %!shared abc %! abc = [1 2; 3 4]; %!error <abc\(5\): out of bound 4> abc(5) %!error <abc\(_,3\): but abc has size 2x2> abc(2,3) %!error <abc\(_,_,0.5\): subscripts> exp (abc(2,3,0.5)) %!shared abc %! abc = [1 2; 3 4]; abc(1,1,2) = 1; %!error <abc\(_,5\): out of bound 4> abc(2,5) %!error <abc\(_,3,_\): but abc has size 2x2x2> abc(2,3,2) %!error <A\(..,I,..\) = \[\]: .* value 3 out of bound 2> abc(3,:) = [] %!error <A\(I\) = \[\]: .* value 50 out of bound 8> abc(3:50) = [] %!error <a null assignment can only have one non-colon index> abc(3,5) = [] %!error <=: nonconformant arguments \(op1 is 1x1, op2 is 1x5\)> abc(3,5) = 1:5 %! ## Test diagonal matrices, and access of function results %!error <index \(_,_,5\): but object has size 3x3> eye(3)(2,3,5) %!error <index \(-2,_\): subscripts> eye(4)(-2,3) %! ## Test cells %!shared abc %! abc = {1, 2; 3, 4}; %!error <abc\(_,0.3,_\): subscripts> abc(2,0.3,5) %!error <abc\(_,0.3,_\): subscripts> abc{2,0.3,5} %!error <abc\(-2,_,_,_\): subscripts> abc{-2,1,1,1} %!error <abc\(0,_,_,_\): subscripts> abc(0,1,1,1) = 1 %! ## Test permutation matrices %!shared abc %! abc = eye(3)([3 1 2],:); %!error <abc\(nan\): subscripts> abc(NA) %!error <abc\(_,_,_,inf,_\): subscripts> abc(1,1,1,Inf,1) %! ## Test sparse matrices %!shared abc %! abc = sparse(3,3); %!error <abc\(-1\): subscripts> abc(-1) %!error <abc\(-1\): subscripts> abc(-1) = 1 %!error <abc\(-1,_\): subscripts> abc(-1,1) %!error <abc\(-1,_\): subscripts> abc(-1,1) = 1 %!error <sparse indexing needs 1 or 2 indices> abc(0,0,0,0) %!error <abc\(4,_\): but abc has size 3x3> abc(4,1) %! ## Test ranges %!shared abc %! abc = 1:10; %!error <abc\(-1\): subscripts> abc(-1) %!error <abc\(-1,_\): subscripts> abc(-1,1) %!error <abc\(4,_\): but abc has size 1x10> abc(4,1) %! ## Test complex %!shared abc, z %! abc = [1 2]; %!error <abc\(0\+1i\): subscripts must be real> abc(i) %! abc = [1 2; 3 4]; %!error <abc\(1\+0i\): subscripts must be real> abc(complex(1)) %!error <abc\(1\+0.5i,_\): subscripts must be real> abc(1+0.5*i,3) %!error <abc\(_,0-2i\): subscripts must be real> abc(2,0-2*i) ## bug #35841 %!test %! a(1,1,1).b(1) = 2; %! a(1,1,1).b(1) = 3; ## bug #39789 %!test %! c = cell(1,1,1); %! c{1,1,1} = zeros(5, 2); %! c{1,1,1}(:, 1) = 1;
618006aa32fd09a50ed5f191325a199c217c2bc0
449d555969bfd7befe906877abab098c6e63a0e8
/1904/CH2/EX2.13/2_13.sce
9253267f62b478551602ad43eba31cbb68cee9f0
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
706
sce
2_13.sce
//To determine the instantaneous demands and the average demand //Page 84 clc; clear; Kh=7.2; //Meter constant Kr1=32; //Revolutions of the disk in the first reading Kr2=27; //Revolutions of the disk in the second reading T1=59; //Time interval for revolutions of disks for the first reading T2=40; //Time interval for revolutions of disks for the second reading // Self contained watthour meter; D = (3.6*Kr*Kh)/T deff('y=Id(a,b)','y=((3.6*Kh*a)/b)'); //Function to calculate the instaneous demand D1=Id(Kr1,T1); D2=Id(Kr2,T2); Dav=(D1+D2)/2; printf('The instantenous demands are %g kW and %g kW for reading 1 and 2 and the average demand is %g kW\n',D1,D2,Dav)
5bfa8fe511cb7fa1d2701bf3d7a7f22805e36378
449d555969bfd7befe906877abab098c6e63a0e8
/2732/CH4/EX4.4/Ex4_4.sce
055b11a71566a3729a938123817db61ec591fc61
[]
no_license
FOSSEE/Scilab-TBC-Uploads
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
refs/heads/master
2020-04-09T02:43:26.499817
2018-02-03T05:31:52
2018-02-03T05:31:52
37,975,407
3
12
null
null
null
null
UTF-8
Scilab
false
false
487
sce
Ex4_4.sce
clc //initialization of variables clear C=1000/3 //kg/cm^2 sigma_x=2*C sigma_y=4*C tau_xy=4*C sigma_0=4*C sigma_1=3+C*sqrt(2) sigma_2=3-C*sqrt(2) sigma_3=0 tau_oct=1/3*sqrt((sigma_1-sigma_2)^2+(sigma_2-sigma_3)^2+(sigma_3-sigma_1)^2) tau_max=sigma_1/2 taU=1.885*C tau_y=2*C printf('Actual tau is %.3f',taU) printf('\n tau_max at yield is %.3f',tau_y) printf('\n Hence yielding doesn not occur according to Von-Miles condition \n but it occurs due to Tresca condition')