Page 1 of 1

Matrix size (a simple question)

Posted: Thu May 09, 2013 8:34 pm
by jgorigoitia
Hi all,
could someone tell me how I get matrix size? I have a matrix and i need the size or length as a variable ( !x = length(matrix1) ) for a "for 1 to !x ...next" sentence

Thanks in advance.

Re: Matrix size (a simple question)

Posted: Thu May 09, 2013 8:38 pm
by EViews Gareth
@columns(matrix1)*@rows(matrix1)

?

Re: Matrix size (a simple question)

Posted: Fri May 10, 2013 8:05 am
by jgorigoitia
Muchas gracias.