I have an array -
x = [1,2,3,4,5,...,120]
I want to access elements,
x(9),...,x(15)
and every 24th element thereafter.
E.G
x(9),..., x(15) , x(33),...,x(39) , x(57),...,x(63)
and so on, up to
x(120).
Any other element Id like to be 0
, so that its looks something like this.
x = [0,0,...,0,0,x(9),...,x(15),0,0,...,0,0,x(33),...,x(39),0,0,...]
If there is a way to do this could I be given some help for a solution?