matlab vs scilab l.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Matlab vs. Scilab PowerPoint Presentation
Download Presentation
Matlab vs. Scilab

Loading in 2 Seconds...

play fullscreen
1 / 21

Matlab vs. Scilab - PowerPoint PPT Presentation


  • 737 Views
  • Uploaded on

Matlab vs. Scilab. Rafael Brunner. What‘s going on?. Few words about Scilab‘s origin Introduction to Scilab: - linear algebra - programming Parts of my term work: - sparse matrices - Savitzky-Golay filter - performance comparison My own experiences. Scilab.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Matlab vs. Scilab' - belden


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
matlab vs scilab

Matlab vs. Scilab

Rafael Brunner

what s going on
What‘s going on?
  • Few words about Scilab‘s origin
  • Introduction to Scilab:- linear algebra- programming
  • Parts of my term work:- sparse matrices- Savitzky-Golay filter- performance comparison
  • My own experiences
scilab
Scilab
  • developed since 1990 at INRIA / ENPC (France)
  • open source
  • free of charge
  • high quality toolboxes available- artificial network- serial port
  • similar to Matlab... yes, but...
slide4
Demo
  • Linear Algebra- basics (how to enter matrices etc.)- compute with matrices- solving systems of equations- hessenberg form- LU-, QR-decomposition- eigenvalues, -vectors- SVD
programming
Programming
  • introduction / overview
  • example: poisson2d_kron
overview 1
Overview (1)
  • for var = expr, statement; ...; statement; end
  • while expression, statements; end
  • if expr then statements;elseif expr then statements;else statements;end
overview 2
Overview (2)
  • select expr case expr1 then instructions1 ... case exprn then instructionsn [else instructions]end
overview 3
Overview (3)
  • [lhs,rhs] = argn(0)
  • error
  • warning
example demo
Example (demo)
  • poisson2d_kron.m  poisson2d_kron.sci
  • mfile2sci
sparse matrices
Sparse matrices
  • Three different algorithms to generate the 2D-Poisson matrix:- set the elements one by one- block wise- kronecker product
solving a system ax b
Solving a system Ax=b
  • in this case Ax = 1
  • pcg (preconditioned conjugate gradients method)
  • Scilab does not provide a pcg method  Scilin (IRISA)
slide14
Demo
  • Solving Ax=1 for n=100
  • 2D-Poisson matrix generated by poisson2d_kron
savitzky golay filter
Savitzky-Golay Filter
  • measured data (slowly varying and corrupted by random noise)
  • reconstruction of the underlying smooth function
my own experiences
My own experiences
  • editor
  • translating- build up new functions- mfile2sci
summary
Summary
  • speed
  • graphics
  • signal processing