Page 1 of 1

Remove rows/columns from matrix

Posted: Wed Apr 23, 2014 6:50 am
by MOG
Hi,

Is there a command to remove rows or columns from a matrix, and therby reduce the dimensions of the matrix?

Regards
Martin

Re: Remove rows/columns from matrix

Posted: Wed Apr 23, 2014 12:53 pm
by EViews Gareth
You can use:

Code: Select all

matrix a = b.@droprow(2)
etc...

Re: Remove rows/columns from matrix

Posted: Thu Apr 24, 2014 4:59 am
by MOG
Thanks!

Regards
Martin

Re: Remove rows/columns from matrix

Posted: Tue Apr 12, 2022 2:13 am
by CrisisStudent
I get error that @droprow is not a member or procedure of vector/matrix. Is there potentially unaddressed bug?

Re: Remove rows/columns from matrix

Posted: Tue Apr 12, 2022 7:52 am
by EViews Gareth
Which version of EViews?

Re: Remove rows/columns from matrix

Posted: Fri Jun 10, 2022 2:15 am
by CrisisStudent
Enterprise edition - Feb 4 2021 build.

Sorry for delay, forgot to come back to this.

Re: Remove rows/columns from matrix

Posted: Fri Jun 10, 2022 4:11 am
by EViews Gareth
EViews 12?

Re: Remove rows/columns from matrix

Posted: Mon Jan 02, 2023 9:21 am
by CrisisStudent
Yes, Eviews 12.

Re: Remove rows/columns from matrix

Posted: Mon Jan 02, 2023 9:55 am
by EViews Gareth
You should update to the most latest version of 12.

Re: Remove rows/columns from matrix

Posted: Thu Jan 05, 2023 4:57 am
by CrisisStudent
Ok, version problem then. Thanks for looking into it and sorry for this intermittent and ultimately useless conversation. :roll: