Home

Classes

Calculators

Software

Useful links

CEE Department

Water Research Lab

Engineering College

USU Directories

USU Calendar

USU Libraries

QUAD

USU Webmail

Engineering Mail

USU Webcams

Giving to USU

HP 50G

TI 89

Scilab

Maple

Mathcad

Matlab

R

OpenOffice.org

Excel

SCILAB scripts


Gilberto E. Urroz - ph. 435-797-3379 - gurro@cc.usu.edu - ENGR 223 - fax 435-797-1185


Use function 'exec' to run scripts.  Type 'return' after a 'pause'. Some of these scripts were used in the lectures for ENGR 2200 and CEE 6510.  Chapters refer to the textbook (vol. 1 & vol. 2).   For INSTRUCTIONS on using these scripts click here.


Basic scripts

 


Numerical methods

 


Statistical methods

 


Related links

 


Script instructions: 

All scripts use functions presented in the books "Numerical and Statistical Methods with SCILAB for Science and Engineering - vol.1 and vol.2 ."  [Click here to download functions].     

Unzip the functions and place them in a folder, preferable within your SCILAB installation.  In my computer, for example, the folder holding these functions is                                     

c:\Program Files\Scilab-4.1.1\work  

In order to select this directory as the current SCILAB working directory I have written a script, called 'scilabwork' that resides in directory c:\. The script consists of the single line:         

chdir(c:\Program Files\Scilab-4.1.1\work)  

To have direct access to the textbook functions I simply type the command:

exec('c:\scilabwork')


This command, therefore, appears at the beginning of each of the scripts that can be downloaded from this page.   If you have the functions in a different location (e.g., if you are using SCILAB at the USU College of Engineering PC Lab [click here for instructions]), you will have to modify the scripts accordingly. Use SCILAB's own SciPad editor, Windows Notepad, or PFE [click here to download] to modify your scripts before running them.

Copy the scripts to directory c:\ and use the command 'exec' to run them.  For example, to run the script entitled 'Matrices_Script.sce', use the SCILAB command:

--> exec('c:\Matrices_Script.sce)

[TOP OF PAGE]