Iteration - English
Scilab Tutorials - English 24
-
1
Why Scilab -
2
Installing -
3
Getting Started -
4
Vector Operations -
5
Matrix Operations -
6
Scripts and Functions -
7
Conditional Branching -
Iteration -
9
Plotting 2D graphs -
10
Xcos Introduction -
11
File handling -
12
User Defined Input and Output -
13
Integration -
14
Solving Non linear Equations -
15
Linear equations Gaussian Methods -
16
Linear equations Iterative Methods -
17
Interpolation -
18
ODE Euler methods -
19
ODE Applications -
20
Optimization Using Karmarkar Function -
21
Digital Signal Processing -
22
Control systems -
23
Discrete systems -
24
Calling User Defined Functions in XCOS
Outline:
Iteration Explain syntax of 'for' statement- tell that the variable iterates over a list/vector/matrix (or an expression that evaluates to any of these). Give example: for i = 1:5, disp (i), end Then explain break condition. Use example: for i = 1:10, disp(i), if (i==5), break, end, end Then explain continue condition. Use example: for i = 1:10, if (i<=5) then continue, else disp(i), end, end Explain while condition. Give example: i = 0; while(i <=5), i = i + 1; d