ElectroGram
Thursday, 28 July 2016
MATLAB Programming 36 - for loop (Example)
Example 3
Create a script file and type the following code:
for a = [24,18,17,23,28]
disp(a)
end
When you run the file, it displays the following result:
24
18
17
23
28
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment