AnsweredAssumed Answered

Re: 2-D array

Question asked by STUKHS on Dec 3, 2006
Latest reply on Dec 4, 2006 by kkladopoulos

Can we define 2-dimensional variables in ADS Ptolemy?

For example, I specify a 2-D array as shown:

Freq = { {1e9, 2e9}, {1.5e9, 2.5e9}, {2e9, 3e9} }

When I tried to reference the variable 1e9, by Freq[1,1], I get an error of

"incorrect number of indices for array".