Software:Scilab

From HandWiki
Revision as of 16:32, 14 February 2024 by LinuxGuru (talk | contribs) (url)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Scilab
9
Scilab 6 1.png
Screenshot of Scilab 6.1
Developer(s)Dassault Systèmes
Written inScilab, C, C++, Java, Fortran
Operating systemBSDs (e.g., FreeBSD), Linux, macOS, Windows
Available inEnglish, German, Spanish, French, Italian, Japanese, Portuguese (Brazil), Russian, Ukrainian, Chinese, Czech, Polish
TypeTechnical computing
LicenseGPLv2, previously CeCILL
Websitewww.scilab.org

Scilab is a free and open-source, cross-platform numerical computational package and a high-level, numerically oriented programming language. It can be used for signal processing, statistical analysis, image enhancement, fluid dynamics simulations, numerical optimization, and modeling, simulation of explicit and implicit dynamical systems and (if the corresponding toolbox is installed) symbolic manipulations.[1][2][3]

Scilab is one of the two major open-source alternatives to MATLAB, the other one being GNU Octave.[4][5][6][7] Scilab puts less emphasis on syntactic compatibility with MATLAB than Octave does,[4][8][9] but it is similar enough that some authors suggest that it is easy to transfer skills between the two systems.[10]

Introduction

Scilab is a high-level, numerically oriented programming language. The language provides an interpreted programming environment, with matrices as the main data type. By using matrix-based computation, dynamic typing, and automatic memory management, many numerical problems may be expressed in a reduced number of code lines, as compared to similar solutions using traditional languages, such as Fortran, C, or C++. This allows users to rapidly construct models for a range of mathematical problems. While the language provides simple matrix operations such as multiplication, the Scilab package also provides a library of high-level operations such as correlation and complex multidimensional arithmetic.

Scilab also includes a free package called Xcos for modeling and simulation of explicit and implicit dynamical systems, including both continuous and discrete sub-systems. Xcos is the open source equivalent to Simulink from the MathWorks.

As the syntax of Scilab is similar to MATLAB, Scilab includes a source code translator for assisting the conversion of code from MATLAB to Scilab. Scilab is available free of cost under an open source license. Due to the open source nature of the software, some user contributions have been integrated into the main program.

Syntax

Scilab syntax is largely based on the MATLAB language. The simplest way to execute Scilab code is to type it in at the prompt, --> , in the graphical command window. In this way, Scilab can be used as an interactive mathematical shell.

Hello World! in Scilab:

disp('Hello World');

Plotting a 3D surface function:

// A simple plot of z = f(x,y)
t=[0:0.3:2*%pi]';
z=sin(t)*cos(t');
plot3d(t,t',z)

Toolboxes

Scilab has many contributed toolboxes for different tasks, such as

  • Scilab Image Processing Toolbox (SIP) and its variants (such as SIVP)
  • Scilab Wavelet Toolbox
  • Scilab Java and .NET Module
  • Scilab Remote Access Module

More are available on ATOMS Portal or the Scilab forge.

History

Scilab was created in 1990 by researchers from INRIA and École nationale des ponts et chaussées (ENPC). It was initially named Ψlab[11] (Psilab). The Scilab Consortium was formed in May 2003 to broaden contributions and promote Scilab as worldwide reference software in academia and industry.[12] In July 2008, in order to improve the technology transfer, the Scilab Consortium joined the Digiteo Foundation.

Scilab 5.1, the first release compiled for Mac, was available in early 2009, and supported Mac OS X 10.5, a.k.a. Leopard. Thus, OSX 10.4, Tiger, was never supported except by porting from sources. Linux and Windows builds had been released since the beginning, with Solaris support dropped with version 3.1.1, and HP-UX dropped with version 4.1.2 after spotty support.

In June 2010, the Consortium announced the creation of Scilab Enterprises.[13] Scilab Enterprises develops and markets, directly or through an international network of affiliated services providers, a comprehensive set of services for Scilab users. Scilab Enterprises also develops and maintains the Scilab software. The ultimate goal of Scilab Enterprises is to help make the use of Scilab more effective and easy.

In February 2017 Scilab 6.0.0 was released which leveraged the latest C++ standards and lifted memory allocation limitations.

Since July 2012, Scilab is developed and published by Scilab Enterprises and in early 2017 Scilab Enterprises was acquired by Virtual Prototyping pioneer ESI Group[14]

Since 2019 and Scilab 6.0.2, the University of Technology of Compiègne provides resources to build and maintain the macOS version. Since mid 2022 the Scilab team is part of Dassault Systèmes.

Scilab Cloud App & Scilab Cloud API

Since 2016 Scilab can be embedded in a browser and be called via an interface written in Scilab or an API.

This new deployment method has the notable advantages of masking code & data as well as providing large computational power.[15]

These features have not been included in the open source version of Scilab and are still proprietary developments.

See also

References

  1. Holopainen, Timo (2000). "Modelling and simulation of multitechnological machine systems". http://www.vtt.fi/inf/pdf/symposiums/2001/S209.pdf. 
  2. Guenther, Raidl (May 1998). "An improved genetic algorithm for the multiconstrained 0-1 knapsack problem". 1998 IEEE International Conference on Evolutionary Computation Proceedings. IEEE World Congress on Computational Intelligence (Cat. No.98TH8360). pp. 207–211. doi:10.1109/ICEC.1998.699502. ISBN 978-0-7803-4869-1. 
  3. Philippe., Roux (2016-03-29). Scilab: I. Fundamentals, from theory to practice. Paris, France. ISBN 978-2-8227-0293-5. OCLC 1003630046. 
  4. 4.0 4.1 Thomas Trappenberg (2010). Fundamentals of Computational Neuroscience. Oxford University Press. p. 361. ISBN 978-0-19-956841-3. 
  5. A Muhammad; V Zalizniak (2011). Practical Scientific Computing. Woodhead Publishing. p. 3. ISBN 978-0-85709-226-7. 
  6. Bernard A. Megrey; Erlend Moksness (2008). Computers in Fisheries Research. Springer Science & Business Media. p. 345. ISBN 978-1-4020-8636-6. 
  7. Raul Raymond Kapuno (2008). Programming for Chemical Engineers Using C, C++, and MATLAB. Jones & Bartlett Publishers. p. 365. ISBN 978-1-934015-09-4. 
  8. Russell L. Herman (2013). A Course in Mathematical Methods for Physicists. CRC Press. p. 42. ISBN 978-1-4665-8467-9. 
  9. Alain Vande Wouwer; Philippe Saucez; Carlos Vilas (2014). Simulation of ODE/PDE Models with MATLAB®, OCTAVE and SCILAB: Scientific and Engineering Applications. Springer. pp. 114–115. ISBN 978-3-319-06790-2. 
  10. Mark A. Haidekker (2013). Linear Feedback Controls: The Essentials. Newnes. p. 3. ISBN 978-0-12-405513-1. 
  11. "META2.3.1.1.html META2.3.1.1". http://raweb.inria.fr/rapportsactivite/RA94/meta2/META2.3.1.1.html. 
  12. "SCILAB Consortium launched". 2003. http://www.ercim.org/publication/Ercim_News/enw54/gomez.html. 
  13. "SCILAB Enterprises announced". 2010. http://www.scilab.org/aboutus/pressroom/press_release/pr_20100602. 
  14. "ESI Group: Acquisition of Scilab Enterprises, Publisher of Scilab Open Source Analytical Computational Software". https://finance.yahoo.com/news/esi-group-acquisition-scilab-enterprises-074500256.html. 
  15. "Scilab Cloud" (in en-US). Scilab.io. https://scilab.io/cloud/. 

Further reading

  • Stephen L. Campbell; Jean-Philippe Chancelier; Ramine Nikoukhah (2006). Modeling and Simulation in Scilab/Scicos. New York: Springer. ISBN 978-0-387-27802-5. 

External links