help-octave
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Mask the matrix
From
:
Xin Dong
Subject
:
Mask the matrix
Date
:
Tue, 12 May 2009 09:35:08 -0500
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
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
Mask the matrix
,
Xin Dong
<=
Re: Mask the matrix
,
James Sherman Jr.
,
2009/05/12
Re: Mask the matrix
,
Ben Abbott
,
2009/05/12
Re: Mask the matrix
,
Xin Dong
,
2009/05/12
Re: Mask the matrix
,
Przemek Klosowski
,
2009/05/12
Re: Mask the matrix
,
Jaroslav Hajek
,
2009/05/13
Prev by Date:
Re: length on a matrix
Next by Date:
Re: Mask the matrix
Previous by thread:
length on a matrix
Next by thread:
Re: Mask the matrix
Index(es):
Date
Thread