Informatica

Disponível somente no TrabalhosFeitos
  • Páginas : 96 (23958 palavras )
  • Download(s) : 0
  • Publicado : 14 de agosto de 2012
Ler documento completo
Amostra do texto
www.scilab.org

INTRODUCTION TO SCILAB

Consortium sCilab
Domaine de Voluceau - Rocquencourt - B.P. 105 - 78153 Le Chesnay Cedex France

!
#

"

November 2010
Abstract
In this document, we make an overview of Scilab features so that we can
get familiar with this environment. The goal is to present the core of skills
necessary to start with Scilab. In the first part, we presenthow to get and
install this software on our computer. We also present how to get some help
with the provided in-line documentation and also thanks to web resources and
forums. In the remaining sections, we present the Scilab language, especially
its structured programming features. We present an important feature of
Scilab, that is the management of real matrices and overview the linear algebralibrary. The definition of functions and the elementary management of input
and output variables is presented. We present Scilab’s graphical features and
show how to create a 2D plot, how to configure the title and the legend and
how to export that plot into a vectorial or bitmap format.

Contents
1 Overview
1.1 Introduction . . . . . . . . . . . . . . . . . .
1.2 Overview of Scilab . . .. . . . . . . . . . .
1.3 How to get and install Scilab . . . . . . . . .
1.3.1 Installing Scilab under Windows . . .
1.3.2 Installing Scilab under Linux . . . .
1.3.3 Installing Scilab under Mac OS . . .
1.4 How to get help . . . . . . . . . . . . . . . .
1.5 Mailing lists, wiki and bug reports . . . . . .
1.6 Getting help from Scilab demonstrations and
1.7 Exercises . . . . . . . . . . .. . . . . . . . .

.....
.....
.....
.....
.....
.....
.....
.....
macros
.....

.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.

5
.5
.5
.6
.7
.7
.8
.8
.9
. 10
. 112 Getting started
2.1 The console . . .
2.2 The editor . . . .
2.3 Docking . . . . .
2.4 Using exec . . .
2.5 Batch processing
2.6 Exercises . . . . .

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
..
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

1

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

11
11
12
14
16
17
19

3 Basic elements of thelanguage
3.1 Creating real variables . . . . . . . . .
3.2 Variable names . . . . . . . . . . . . .
3.3 Comments and continuation lines . . .
3.4 Elementary mathematical functions . .
3.5 Pre-defined mathematical variables . .
3.6 Booleans . . . . . . . . . . . . . . . . .
3.7 Complex numbers . . . . . . . . . . . .
3.8 Integers . . . . . . . . . . . . . . . . .
3.8.1 Overview of integers. . . . . .
3.8.2 Conversions between integers .
3.8.3 Circular integers and portability
3.9 Floating point integers . . . . . . . . .
3.10 The ans variable . . . . . . . . . . . .
3.11 Strings . . . . . . . . . . . . . . . . . .
3.12 Dynamic type of variables . . . . . . .
3.13 Exercises . . . . . . . . . . . . . . . . .

....
....
....
....
....
....
....
....
....
....
issues....
....
....
....
....

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
....
tracking img