Scilab Tutorials

The following Scilab tutorials are developed as demonstration of Scilab capabilities. If you are interested in a specific toolbox or module for your engineering applications and would like us to develop a new tutorial about it, do not hesitate to contact us.

Description Attachments Date

Numerical Analysis using Scilab

These tutorials are lectures notes on numerical analysis and they provide a collection of numerical examples and advises in Scilab.
List of topics:

  • Error Analysis and Propagation
  • Numerical Stability and Conditioning
  • Finding roots of nonlinear functions

The source code for all the examples developed in Scilab is available here.

January 14, 2015

Scilab as a Calculator

The purpose of this tutorial is to get started using Scilab as a basic calculator by discovering some predefined data types, functions and operations.

June 7, 2013

First steps with Scilab

The purpose of this tutorial is to make the user comfortable with the Scilab software, introducing him/her the features and the potentialities of this program through the use of the main commands and windows.

May 20, 2013

A Scilab data mining tutorial

The purpose of this tutorial is to show that Scilab can be considered as a powerful data mining tool, able to perform the widest possible range of important data mining tasks.
The source code for all the charts developed in this tutorial is available here.

April 15, 2013

Modeling an ODE: 3 different approaches

In these Scilab tutorials we show how to model a physical system described by ODEs. The reference model is the LHY model - Light users, Heavy users, memory of heavy users over Years. This model is described using:

  • Scilab
  • Xcos
  • Xcos + Modelica

Further source codes and Xcos schemes are available here.

March 7, 2013

Controller for an Inverted Pendulum

This Scilab tutorial is dedicated to the study of a linear quadratic regulator for an inverted pendulum based on optimal control theory. In this tutorial the reader will learn how to develop a controller for an inverted pendulum starting from the equations of motion and how to use the animated plots in Scilab/Xcos

Source code described in this tutorial is available here.

October 10, 2012

Solving Nonlinear Systems in Scilab

In this tutorial we show how nonlinear systems can be easily solved using Scilab. The reader will learn how to use the functions "fsolve" and "lsqrsolve".

Source code described in this tutorial is available here.

June 11, 2012

Introduction to Control Systems in Scilab

In this Scilab tutorial, we introduce readers to the Control System Toolbox available in Scilab/Xcos and known as CACSD. This first tutorial is dedicated to "Linear Time Invariant" (LTI) systems and their representations in Scilab. An RLC example is used to explain state-space representation, transfer function, and the zero-pole representations. How to convert between representations and plot Bode and Nyquist diagram will be explained.

Source codes and Xcos schemes are available here.

April 5, 2012

Surface Fitting? Do it with Scilab!

In this paper we show how data fitting can be implemented in Scilab. We start from the simplest interpolation techniques, such as the polynomial fitting, then we describe more sophisticated methods, such as the radial basis functions, DACE or the neural networks. We provide a series of Scilab scripts which help the readers to build metamodels (a.k.a. response surfaces) starting from a list of data.

All files are available here.

Available to Registered Users April 3, 2012

Data Fitting

In this tutorial the reader can learn about data fitting, interpolation and approximation in Scilab. Interpolation is very important in industrial applications for data visualization and metamodeling.

March 29, 2012

Multiobjective Optimization and Genetic Algorithms

In this Scilab tutorial we discuss about the importance of multiobjective optimization and we give an overview of all possible Pareto frontiers. After we show how to use the NSGA-II algorithm available in Scilab.

March 12, 2012

Plotting in Scilab

In this Scilab tutorial we make a collection of the most important plots arising in scientific and engineering applications and we show how straightforward it is to create smart charts with Scilab.

March 6, 2012

Create a Graphical User Interface (GUI) with Scilab

In this tutorial we show how to create a Graphical User Interface (GUI) in Scilab for an ODE problem. The adopted problem is the LHY model already used in other tutorials.

February 28, 2012

Customizing Xcos with new Blocks and Palette

In this tutorial, we show how to create and customize Xcos blocks and palettes. Moreover, we use the "Xcos toolbox skeleton" for a better result. The LHY model in Xcos scheme (already developed in other tutorials) is used as a starting point.

February 10, 2012

Multiobjective optimization with Scilab

One of the Openeering team goal is to support optimization in companies daily activities.
We never miss the opportunity to stress the importance of optimization and to explain how optimization can play a significant role in the design cycle.
In these pages we show how Scilab can easily deal with an advanced topic such as multiobjective optimization

April 7, 2011