To loop from 5 to 8 in Matlab using a for
loop, you can use the following syntax:
main.m36 chars4 lines
This will execute the code inside the loop four times, with i
taking values of 5, 6, 7, and 8. You can replace % your code here
with any code that you want to execute inside the loop.
gistlibby LogSnag