|
From: | James Sherman Jr. |
Subject: | Re: Mask the matrix |
Date: | Tue, 12 May 2009 10:48:11 -0400 |
Hi,
I have a program that generates a two row matrix with zero elements. I wanna extract out the columns with elements in both rows are non-zero. For example, if the matrix is
a = [ 1 0 2 3 4; 2 1 0 0 4],I wanna get
b = [1 4; 2 4].How can I use octave to do this?
Thanks,
Xin
_______________________________________________
Help-octave mailing list
address@hidden
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
[Prev in Thread] | Current Thread | [Next in Thread] |