Iteration  English
 Questions posted on Forums
 Scilab Tutorials  English

Scilab Editor
How to open scilab editor?
0102M 010SJuly 21, 2019, 8:48 p.m. grajarajanvit

iteration
in a for loop can we perform nested loop?
0506M 1020SJuly 20, 2019, 6:41 p.m. Rachana28

iteration
when to use continue statement in iteration?
0203M 2030SJuly 21, 2019, 12:08 a.m. rupalilokhande

meaning of comma and semicolon
What is the significance of comma and semicolon in scilab?
0607M 5060SJuly 20, 2019, 3:53 p.m. poornimanaik

breaking out of nested loops
How to break out of loops nested to three levels in scilab?
0607M 5060SJuly 23, 2019, 2:53 a.m. poornimanaik

continue statement
I write a code :>for i=1:5:54 >if ((i/4)==0) then continue>else disp(i)>end endoutput should be:1611212631414651but output comes out to be : 1. 6. 11. 16. 21. 26. 31. 36. 41. 46. 51. can you explain me, where I am wrong ?
56M 010SJuly 21, 2019, 4:11 p.m. aman_hemu

1Introduction to Scilab and its benefits

2Self learning of Scilab through Spoken Tutorials

3The amazing resource of Scilab Textbook Companion

4Scilab Lab migration, Toolboxes and Forums

5Installing

6Getting Started

7Vector Operations

8Matrix Operations

9Conditional Branching

Iteration

11Scripts and Functions

12Plotting 2D graphs

13Xcos Introduction

14File handling

15User Defined Input and Output

16Integration

17Solving Non linear Equations

18Linear equations Gaussian Methods

19Linear equations Iterative Methods

20Interpolation

21ODE Euler methods

22ODE Applications

23Optimization Using Karmarkar Function

24Digital Signal Processing

25Control systems

26Discrete systems

27Calling User Defined Functions in XCOS

28Simulating a PID controller using XCOS
Questions posted on ST Forums:
8825 visits
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
Width:  996  Height:  772 

Duration:  00:06:03  Size:  5.2 MB 
Show video info