Galoa Proceedings Pibic 2015 37171 Comparison of TH

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Comparison of the main features of SCILAB, OCTAVE and MATLAB for

some optimization and control problems


Danilo C. Becke (IC) and Alberto L. Serpa (PQ)

Abstract
The main goal of this project is the comparison between MATLAB, SCILAB and OCTAVE in the solution of
some problems in the area of linear systems response simulations, linear systems feedback control and
function minimization (unconstrained and constrained problems). Both open source software (SCILAB and
OCTAVE) showed comparable results and user interface to MATLAB for the minimization problems. For the
control problems, the open software do not have some specific functions, but they allow solving the
equivalent problems with some extra code implementation.

System-optimization, Mechanical-system control, MATLAB, SCILAB, OCTAVE

Introduction requires further investigation to understand the


reasons, since the same problem was solved in
Some problems were selected to compare MATLAB.
MATLAB, SCILAB and OCTAVE in the solution of
some optimization problems, feedback control and One important difference between SCILAB and
H-infinity control problems. The results were OCTAVE, when compared with MATLAB, is the
compared in terms of the obtained solution and in programming interface. OCTAVE accepts files
terms of the computational time when applicable. with the extension “.m”, the same as MATLAB.
Some results and conclusions are presented in
However, SCILAB has its own language
the following.
codification, and it is required some changes to
run the same problem in this software.
Results and Discussion
Conclusions
In the scope of systems optimization, both open
source software (OCTAVE and SCILAB) provided This project showed the potential of OCTAVE and
good results compared to MATLAB. For the SCILAB open source software to solve some
problem in the fields of optimization and control.
unconstrained examples, SCILAB was about ten SCILAB and OCTAVE can be used for the
times slower than MATLAB and OCTAVE, which solution of these categories of problems with
took the same time. For constrained optimization, some extra code implementation. OCTAVE,
the three software took approximately the same however, has an advantage over SCILAB
time to solve the selected problems. The same because of its programming language which is
stop criteria were used for this comparison, with very close to MATLAB.
the same initial point. The provided solutions were
Acknowledgement
the same for all software.

OCTAVE, SCILAB and MATLAB solved the The authors thanks PIBIC/CNPq program for
feedback control of linear systems problem the financial support.
____________________
satisfactorily. However, for a H-infinity problem,
1
both open source software did not solve the http://www.mathworks.com/help/matlab/
2
http://help.scilab.org/docs/5.5.2/en_US/index.html
tested problem that was solved with MATLAB. 3
https://www.gnu.org/software/octave/doc/interpreter/
Functions as bode diagram, singular values and
norm calculation worked well in the three
software. Functions to find damping ratio are not
present on OCTAVE and functions to compute H-
infinity optimal controller did not work on both
open source software for the tested problem. This

XXIII Congresso de Iniciação Científica da UNICAMP

You might also like