Thanks Pruyn, But what I need is to fill the 2 dimensional array with variables, not with constant values, so the structure with 1,3,4;5,6...does not work.
For 1 dimension I use multiple equations, but I don't know how to fill in the variable for the second dimension
Search found 8 matches
Array
I have a 2 dimensional subscripted variable Offer[Price,Quantity] I need to sort it by Price and then I need to read the Quantity corresponding to each of the ordered Price. I don't know how to fill the variables for the two dimensions, and I don't know how to call the value of the quantity relating...
Matrices
How can I create a matrix and fill it with variables?
- Tue Mar 16, 2004 10:01 am
- Forum: Vensim
- Topic: Ordered Subscripts
- Replies: 1
- Views: 4232
Ordered Subscripts
I need to order the elements on a vector from smallest to biggest. I know I can use Vector Sort Order for doing it, but after reordening I need to use each of the elements in a different equation and I don't know how to do it, I don't know how to call the first or the third or the last element on th...
- Mon Mar 15, 2004 3:50 pm
- Forum: Vensim
- Topic: Subscripts and arrays
- Replies: 2
- Views: 4848
- Mon Mar 15, 2004 3:45 pm
- Forum: Vensim
- Topic: Subscripts
- Replies: 2
- Views: 4458
- Mon Mar 15, 2004 2:24 pm
- Forum: Vensim
- Topic: Subscripts
- Replies: 2
- Views: 4458
Subscripts
I am trying to create a vector for grouping some variables. I think I can use the Subscript function but my problem is that I need to use variables, and not contants, as the arguments of the subscripted variable. Following the example on the users guide (Ch 17), my problem is as follows: We have a s...
- Mon Mar 15, 2004 2:23 pm
- Forum: Vensim
- Topic: Subscripts and arrays
- Replies: 2
- Views: 4848
Subscripts and arrays
I am trying to create a vector for grouping some variables. I think I can use the Subscript function but my problem is that I need to use variables, and not contants, as the arguments of the subscripted variable. Following the example on the users guide (Ch 17), my problem is as follows: We have a s...