search for: x_2_3

Displaying 1 result from an estimated 1 matches for "x_2_3".

Did you mean: x_2_1
2010 Jul 13
6
create variables with indexes
Hi, there: Suppose I want create variables with indexes in their names, e.g., X_1_1, X_1_2, X_1_3, ..., X_1_10, X_2_1, X_2_2, X_2_3, .. X_2_10,..., X_10_1, X_10_2, ... X_10_10. It looks like I need to use 2 indexes I and J so I is looped from 1 to 10, and J is looped from 1 to 10. But I don't know how to automatically produce X with these combination of indexes. Should I use paste function? Can someone help? Thanks. Yulei...