Sunday, November 17, 2024

Let us Learn Scilab

- Advertisement -

If multiple sentences are entered in the same line, they should be separated by a semicolon (;). You can exclude a line from the execution. for example, when you want to add a comment, add ‘//’ at the start of the line. Go to Options > Preferences to change font type, colour and other general settings. Fig. 2 shows the SciNote window which features a program to calculate ten terms of the sequence defined by u1 = 1, un+1 = 2un – 3.

//Calculation of ten terms
u(1)=1
for n=1:10
u(n+1)=2*u(n)-3
disp(n,[u(n)])
end

Click on Save and execute icon in the toolbar, or go to Execute > Save and execute, or press F5 on keyboard to save the instructions typed in SciNotes, and execute it in the console.

- Advertisement -

Scilab help
A lot more complex features are also available in Scilab which are beyond the scope of this article. Fortunately, Scilab comes with a simple and elaborate embedded help menu that has listed every available function. The user can access the help window from the menu bar: ? > Scilab Help.

Pressing F1 key also opens the help window. Alternatively, type:

–>help

in the console and press Enter/Return to get help.

Download latest version of Scilab: click here


The author is a technical correspondent at EFY

SHARE YOUR THOUGHTS & COMMENTS

EFY Prime

Unique DIY Projects

Electronics News

Truly Innovative Electronics

Latest DIY Videos

Electronics Components

Electronics Jobs

Calculators For Electronics