have to create a matlab counter -


q- create "counter" 0:limit-1 (for example if choose 3 display 0,1,2). length of counter not determined in program , should determined when being run , inputs can differ each other

not sure mean...but

for = 0:limit-1     disp(i) end 

will display 0,1,2 ... limit-1


Comments

Popular posts from this blog

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -