MATLAB for Loop - Latest Tutorials for LISP, jQueryUI, QC, D Programming, JCL, Computer
Example 1 Create a script file and type the following code: for a = 10:20 fprintf('value of a: %d\n', a); end When you run the file, it displays the following result: value of a: 10 value of a: 11 value of a: 12 value of a: 13 value of a: 14 value of ...