From: Kai on
Hello,

I have a basic problem here, I am trying to solve for hours now. Here it comes:
A = ones(100, 4)
b = [23 30 60]

Now I want to remove the rows specified in b from A with logical indexing.
For a row vector, like A=ones(100, 1) it is clear that:
A = A(A~=b);
removes the specified rows. But how does it work for a matrix? I tried this:

A = A(A~=b, :) and some others; without success.

Can someone provide me with the correct expression.

Thanks in advance,
Kai