Iteration  English
 Questions posted on Forums
 Scilab Tutorials  English

Autocorrelation
How do Resonating Freq using Autocorrelation work
0102M 010SJune 18, 2024, 11:37 p.m. maalasali@zhcet.ac.in

help <= command throws syntax error
As per the tutorial, I typed 'help <=' and got the following error:Error: syntax error, unexpected end of file.I am using Scilab 6.1.0 on Ubuntu 18.04.
0304M 3040SJune 20, 2024, 8:41 a.m. hbammkanti

How to open scilab editor?
I have following queries.1. How to open a Scilab editor?2. Where is this Scilab editor file shown in the video?I am using Scilab 6.1.0 on Ubuntu.
0001M 2030SJune 18, 2024, 11:37 p.m. hbammkanti

Iteration
How to find summation of vector x = [1 2 6 4 2], using iterative procedure. Hint: Check length(), add each number using ‘for’ loop.
0506M 1020SJune 20, 2024, 4:23 p.m. deepali0225@gmail.com

While loop
i=0:12;while (j<=35)j=1+2*i;disp(j)if (j==25)thenbreakendendcorrect output is displayed but going in infinite loop.
0506M 2030SJune 20, 2024, 6:49 a.m. smitak

use of while ststement
To display all odd numbers from 1 to 25i=1;while(i<=25)i=i+2;disp(i)if (i==25) then breakend end this displays all number 3 to 25 , except '1'where i am doing wrong can you help?
0506M 2030SJune 17, 2024, 4:34 a.m. smitak

Scilab Editor
How to open scilab editor?
0102M 010SJune 18, 2024, 11:18 p.m. grajarajanvit

iteration
in a for loop can we perform nested loop?
0506M 1020SJune 17, 2024, 2:12 p.m. Rachana28

Continue statement
when to use continue statement in iteration?
0203M 2030SJune 21, 2024, 4:52 a.m. rupalilokhande

meaning of comma and semicolon
What is the significance of comma and semicolon in scilab?
0607M 5060SJune 21, 2024, 3:04 a.m. poornimanaik

breaking out of nested loops
How to break out of loops nested to three levels in scilab?
0607M 5060SJune 17, 2024, 4:34 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 010SJune 20, 2024, 4:48 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

29Developing Scilab Toolbox for calling external C libraries

30Developing Scilab Toolbox for calling Python and its functions

31Interactive Simulation in Xcos using slider

32Userdefined variables in Xcos

33Loading and saving data in Xcos

34Conditional operations in Xcos

35Super Blocks in Xcos
Questions posted on ST Forums:
22959 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:  1002  Height:  772 

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