C
crazyrdx
Guest
I need to represent the following in a generate statement
p(1) = y(0) * c(1)
p(3) = y(1) * c(3)
p(5) = y(2) * c(5)
p(i) = y(i-n) * c(i)
and so on...
I basically need to use two indices. How can I do this?
Thanks
p(1) = y(0) * c(1)
p(3) = y(1) * c(3)
p(5) = y(2) * c(5)
p(i) = y(i-n) * c(i)
and so on...
I basically need to use two indices. How can I do this?
Thanks