Getting Started SCILAB PDF
Getting Started SCILAB PDF
(*) If installing Scilab v.5.3.x results in the error "CPU SSE2 instructions are required
for Scilab to run correctly,“ your machine is missing the SSE2 chip instructions.
From Scilab version 5.3.0, CPU SSE2 instructions are required for Scilab to run
correctly. In order to install v.5.3.x, your processor needs to be upgraded to the one
that has the SSE2 instruction set. Or you can download Scilab v.5.2.2 on your
current machine.
8/10/2011 Company Confidential 2011 5
Installation for Linux
Variable
Browser Command
Editor
Window
Window
(SciNotes)
History
Browser
Click
Categories
List of Installed
of
Toolboxes
Toolboxes
Available
Select a toolbox
you want to
install Click to install
plzr:
plot2d pole-zero
plot
fchamp:
plot3d direction
field
8/10/2011 Company Confidential 2011 14
ODE / DAE Systems
(2.67, 0.67)
Scilab
Use the function rand(size of matrix). That’s it!
Excel
1. Select the cells to put B
2. Type =MMULT(range of A, range of X)
3. Press Ctrl+Shift+Enter
Scilab
Type A*X. That’s it!
Inverting a matrix
Excel
• Only up to 51-by-51 matrices
• Only square matrices
Scilab
Can invert large matrices (square or non-square)
- For square matrices: inv(A)
- For non-square matrices: pinv(A) (pseudoinverse)
• Semi-automatic translation
• Very similar syntaxes
• No major structure changes
• There are some “corner cases”
- Content oriented
- GUIs
- etc.
Equalis can help with any corner cases
Also Equalis Pro and Pro Plus support programs can help
automate your processes through script development
• No structure change
• Minor changes:
comments % --> //
clear all --> clear
close all --> xdel(winsid())
pi --> %pi
figure() --> scf()
fft(x) --> fft(x, -1), ifft(x) --> fft(x, 1)
• Identical outputs
Matlab Scilab
Scilab provides the integrated toolboxes for signal processing such as:
• Time Frequency toolbox
• Scilab Wavelet toolbox
• Linear System Inversion toolbox
• EMD – Empirical Mode Decomposition toolbox
• Minphase – IIR filter
• IPD – Image Processing and Design toolbox
• SIVP – Image and Video Processing toolbox
• Microwave toolbox
• Sound file toolbox
• ANN – Artificial neural network toolbox
• Signal Processing in Xcos
• And many related toolboxes
8/10/2011 Company Confidential 2011 44
Control Systems Simulation
Application
• Deals with a device or set of devices to manage,
control, direct or regulate the behavior of other
devices or systems
• Includes: Linear Controls, Non-Linear Controls,
Digital Controls, Optimal Controls, Adaptive
Controls, Robust Controls
• Encompasses: Electronics, mechanical systems,
thermo-hydraulic, chemical engineering, financial
and biological systems
Scilab provides the integrated toolboxes for control systems such as:
• CACSD– Computer Aided Control Systems Design
• ANN – Neural Networks toolbox
• Celeste Lab – Aerospace toolbox (modeling and control)
• DACE – Design and Analysis of Computer Experiments
• Linear Time Invariant Systems - Identification Toolbox
• Linear Model Neural Network – Lolimont toolbox
• Linear System Inversion toolbox
• Control Systems in Xcos
• And many related toolboxes in statistics, DiffEqs, and Linear
Algebra
8/10/2011 Company Confidential 2011 46
CACSD Toolbox
Measure
Visualize Analyze
Experiments or
Iterate System to be
Create measured
Models
8/10/2011 Company Confidential 2011 48
Data Acquisition Toolboxes
Noisy
signal
De-noised
signal
Transfer function: 1/(1+s+s 2)
8/10/2011 Company Confidential 2011 53
Water Tank Design Using Xcos
Super-block
Tel: 408-912-1686
www.equalis.com