Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I have defined two tables:

R = Table[Subscript[\[ScriptCapitalR], -i], {i, -12, -1}]
T = Table[Subscript[\[ScriptCapitalT], -i, -i - 1], {i, -12, -1}]

I want to use Riffle to interleave each respective element. When I use Riffle[{R}, {T}], it doesn't work. However, if I use the actual lists as arguments, it does. What am I doing wrong?

share|improve this question
add comment

closed as too localized by Oleksandr R., Artes, m_goldberg, rm -rf Mar 24 '13 at 7:52

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

Your tables already contain the outer bracket. Try:

Riffle[R, T]

Mathematica graphics

share|improve this answer
    
Ohhh... Thank you! –  Jarod Benowitz Mar 24 '13 at 1:22
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.