help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Deleting equal rows/columns in matrix


From: AlbFrigerio
Subject: Deleting equal rows/columns in matrix
Date: Wed, 20 Oct 2010 06:27:48 -0700 (PDT)

Hello world, I got a problem I'm trying to solve on my own, but I really
don't know if I would solve it, hence I'm asking "in advance" your help.

The question is quite simple : is there a (simple) way to delete in a matrix
the already existing rows or columns? 

I might use for loops asking isequal(A(i,:),A(j,:) \forall i,j , but I hope
there is a nicer way. I tried to use the outer product with function
@isequal , but I reach results I don't understand :(
Just as an information, I don't have a real matrix, but an integer one whose
lines are combination of {0,1,9} . If I got only {0,1} values I would have
used binary transformation, but I got three elements and, by the way, I'm
looking for the solution of the general problem.

Thank you so much, in the rest of the day I'll try to solve it, if I don't
reach any solution ... I hope someone of yours do !!

   Alberto
-- 
View this message in context: 
http://octave.1599824.n4.nabble.com/Deleting-equal-rows-columns-in-matrix-tp3003845p3003845.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]