Hello, everyone!
Is there an option in ADS to assign a variable a value from a matrix?
(1) I have two 3x3 matrices var1 and var2
(2) I need to multiply them and get the result
(3) I need to assign the value of S21 Re as index (1,1) from the ResultMatrix (3x3).
(This is just an example, I know that 1*1*w is nonsense for S21 Re)
But when I do this, I get the error
"Undefined function `ResultMatrix()' ( used by expression `S_21_Re' defined in the subcircuit `test')."
I think it's because ADS thinks ResultMatrix is a function and (1,1) are arguments.
How do I assign a variable value from the matrix index here?
Maybe I should use some AEL script? If so, can you show me some example?
And are there any other options on how to solve my problem, can you tell me please?
Thank you!