Problems with EWISE statement
Posted: Tue Nov 14, 2006 9:07 am
I'm using an EWISE statement in a procedure and it's not working properly. I'm wondering if anyone has any suggestions.
EWISE AUX1(I) = (2/LAGS * (LAGS-I)) ** 2
AUX1 is a local real vector, dim LAGS-1. When LAGS=2, then AUX1 has just one element, 1. That works fine. If I set LAGS to anything else, like 3 or 4, the vector contains all zeros.
Any ideas why?
EWISE AUX1(I) = (2/LAGS * (LAGS-I)) ** 2
AUX1 is a local real vector, dim LAGS-1. When LAGS=2, then AUX1 has just one element, 1. That works fine. If I set LAGS to anything else, like 3 or 4, the vector contains all zeros.
Any ideas why?