AnsweredAssumed Answered

Parameter sweep for array of value

Question asked by STUKHS on Sep 17, 2006
Latest reply on Sep 18, 2006 by STUKHS
Hi to all,

I am trying to do a parameter sweep for an array of values in the DSP domain.

Assuming I have a module with 2 parameters: A and B. For example, A can take the values of 1.4, 2.3, 5, 6.2 and the corresponding values for B are 1.1, 2, 8.9, 10.

Hence, I define A and B as follows:
A = {1.4, 2.3, 5, 6.2}
B = {1.1, 2, 8.9, 10}

I like to do a sweep through the various values within A and B, hence I define an index n, and I specify the values of A and B within the module as A[n], and B[n].

However, I got some errors when I tried to do a sweep of n from 1 to 4.

Does anyone know how I can overcome this problem?

Thanks in advance  

Outcomes