What is the easiest way to remove a vector from a matrix?
9 visualizzazioni (ultimi 30 giorni)
Suppose there is a Loop A which returns a row vector y of the same number of columns such as matrix Q.
I want to remove all the occurrences of the row vectors y from Q, is their a simple way to do it (I am trying to avoid loops).
Here is a loop I wrote: