Page 1 of 1

Resizing a matrix during execution of a program

Posted: Thu Nov 07, 2013 10:10 am
by DBel2012
Hi,

I'm using Eviews 7.

At the start of a program, MatA is a matrix of 48 lines and 4 columns MatA(48,4).

I would like MatA to become a 48x8 matrix at some point during the execution of a program.

Can I do that ? If so, could you please indicate me what is (are) the command (s) that will allow me to resize MatA?

Thanks!

Re: Resizing a matrix during execution of a program

Posted: Thu Nov 07, 2013 10:17 am
by EViews Gareth
Just redeclare it:

Code: Select all

matrix(48,8) MatA

Re: Resizing a matrix during execution of a program

Posted: Thu Nov 07, 2013 10:30 am
by DBel2012
Great!

many thanks Gareth again for your help!