I'd like to apply a set of rules to an expression defining the iterators of the table, like this:
ExampleParameters = {x0 -> 0, xp -> 1}
Table[x,{x, x0 - 3*xp, x0 + 3*xp, xp} /. ExampleParameters]
The kernel returns the following error:
Table::itform: Argument {x, x0 - 3 xp, x0 + 3 xp, xp} /. ExampleParameters
at position 2 does not have the correct form for an iterator.
Any ideas on how to generalize the table expression? Explicitly using
Table[x,ReplaceAll{x, x0-3*xp, x0+3*xp, xp}, ExampleParameters]]
leads to the same error.