English

Some remarks on the performance of Matlab, Python and Octave in simulating dynamical systems

Mathematical Software 2019-10-15 v1 Systems and Control Systems and Control

Abstract

Matlab has been considered as a leader computational platform for many engineering fields. Well documented and reliable, Matlab presents as a great advantage its ability to increase the user productivity. However, Python and Octave are among some of the languages that have challenged Matlab. Octave and Python are well known examples of high-level scripting languages, with a great advantage of being open source software. The novelty of this paper is devoted to offer a comparison among these tree languages in the simulation of dynamical systems. We have applied the lower bound error to estimate the error of simulation. The comparison was performed with the chaotic systems Duffing-Ueda oscillator and the Chua's circuit, both identified with polynomial NARMAX. Octave presents the best reliable outcome. Nevertheless, Matlab needs the lowest time to undertake the same activity. Python has presented the worse result for the stop simulation criterion.

Keywords

Cite

@article{arxiv.1910.06117,
  title  = {Some remarks on the performance of Matlab, Python and Octave in simulating dynamical systems},
  author = {P. F. S. Guedes and E. G. Nepomuceno},
  journal= {arXiv preprint arXiv:1910.06117},
  year   = {2019}
}

Comments

SBAI 2019 - Simposio Brasileiro de Automacao Inteligente - Ouro Preto. 7 pages

R2 v1 2026-06-23T11:42:57.538Z