Here I go with my basic questions again, but please bear with me.
In Matlab, is fairly simple to add a number to elements in a list:
a = [1,1,1,1,1]
If you don't want list comprehensions:
a = [1,1,1,1,1] b = [] for i in a: b.append(i+1)