How do Resonating Freq using Autocorrelation work
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.
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.
How to find summation of vector x = [1 2 6 4 2], using iterative procedure. Hint: Check length(), add each number using ‘for’ 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.
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?
How to open scilab editor?
in a for loop can we perform nested loop?
when to use continue statement in iteration?
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 ?
What is the significance of comma and semicolon in scilab?
How to break out of loops nested to three levels in scilab?
23823 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
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
Show video info
Pre-requisite