Dr.EWDr.EW JohnnyJohnny Heikell Heikell
ScilabScilab forfor RealReal Dummies,Dummies, IntroducingIntroducing anan OpenOpen --SourceSource AlternativeAlternative toto MatlabMatlab
v1.0 / Scilab 5.3.2 (5.3.3)
JohnnyJohnny HeikellHeikell
"It is a mistake often made in this country to measure things by the amount of money they cost." Albert Einstein AboutAbout thisthis presentationpresentation
I compiled this presentation while familiarizing myself with Scilab for basic engineering applications. The exercise taught that a reason to the limited spread of Scilab is lack of good tutorials in English, which makes learning Scilab a frustrating experience for programming newbies. It’s a pity because Scilab deserves better recognition. Hopefully this presentation can be of use to at least some Scilab aspirants. The text no doubt has shortcomings and errors. I hope to come up with an improved version in a not too distant future (with Scilab 6). Please post comments & suggestions at:
Espoo in August 2011 Copyleft: This material is released under the only condition that you do not put restrictions or a price tag on your redistributions—modified or not—and Johnny Heikell add this requirement to child copies. www.heikell.fi Otherwise © J. Heikell 2011 LinkedIn TributeTribute toto oldold godsgods
The best Scilab tutorials are non-English. The following are the ones that I have consulted most for this work: • Timo Mäkelä’s Scilab/Xcos tutorials (3 parts) in Finnish
I am indebt to their work.
“To copy from one is plagiarism, to copy from many is research.” Unknown WhyWhy II diddid itit thethe wayway II diddid itit
As a grad student at KU in 1990-91, I needed to quickly learn MathCAD or Matlab. A fellow student showed me MathCAD basics in 15 minutes with the use of a sine function. The lecture went something like this: •“First you declare the variables that you need” • “Then you define the function that you want to plot” • “After that you write the plot commands”
With that teaching I got started and was able to use MathCAD for my MS thesis. Lessons learned : Show examples and skip the academic trivia.
I am deeply grateful to Jim for his lesson. We’ll repeat it as soon as Scilab is installed and opened. WhyWhy PowerPoint?PowerPoint?
Why do I release this tutorial as a PowerPoint* presentation when there is enough material for a 400-page book? There are several reasons:
1. These were originally personal notes, I recognized only later th at they may be of use to others 2. It is easy to edit PPT material slide by slide 3. You get a quick overview of the discussion at hand by shifting between PPT ’s Normal and Slide Sorter views 4. PPT has an advantage over PDF in allowing the reader to modify the work the way ( s)he likes 5. You can copy -paste the provided scripts into Scilab ’s Editor without having to rewrite them, only minor editing is needed 6. And finally, I have seen too many depressing LaTeX documents
*) .ppt documents do not require MS software. LibreOffice works as well (at least up to PPT 2003) but some editing may be needed. Oracle threw in the towel on OpenOffice in April 2011, but it lives on in the Apache Incubator. WhyWhy simulate?simulate?