- another laboratory for matrices and number crunching
is always good to be able to work in different environments. There are
several numerical tools that offer plenty of functions to work with
matrices, arrays, structures and powerful visualization capabilities.
This section explores some basic ideas to work with a SCIence
Basic Commands and Data Types
We'll explore built-in functions and data types, with simple lines of
The IF Statement
The IF statement lets you evaluate a condition and works
together with the THEN clause to take a course of action based on...
Branching - Select Case
The common Switch statement becomes the Select Case statement in
Scilab, compare it with the Matlab switch case.
Basic functions to create easy 2D-plots.
Functions and Scripts
In past years they were called subroutines...
Scilab Examples - 2D summary
types of plots in Scilab: single and multiple plots, pies, histograms,
etc. A practical approach with solutions, not only problems.
See one method to create piecewise functions. See how to vectorize
pieces and plot them.
Explore some features for 3D plotting. You'll learn about parametric
curves, meshgrids and other special built-in functions.
Recursion in Scilab
A brief experiment with the factorial function.
Calculate definite integrals using intg or int2d functions for
Scilab and Scicos Books
Suggested books for Scilab/Scicos. Examples, applications and modeling
An approach to polyfit and polyval functions...
Least Squares Fit
An example of the leastsq function...
Another way of curve fitting to adjust parameters...
We use optim to accomplish minimization of functions...
High-Pass filter Simulation
Interface Scilab-Winspace for electronic simulations...
'Scilab' to home
'Scilab' to Table of Contents