Deleting rows or columns is done by an index operation. Set that row (or column) or rows, etc., to []. For example:
A = magic(4)
A =
16 2 3 13
5 11 10 8
9 7 6 12
4 14 15 1
Lets delete the first and third rows.
A([1 3],:) = []
A =
5 11 10 8
4 14 15 1
As you can see, only the 2nd and 4th rows remain. Column deletion works the same way, by column indexing, setting them to empty.
As for your other questions, I have no idea what you mean by how to "call the matrix". I might try, "Here matrix, here boy". It works for my dog anyway.
I also do not know exactly what you mean by "Displaying the rows that are true". To find any row of M that has any value that exceeds 4, just do a test.
A = [1,2,3:4,5,6:7,8,9;1,2,3;2,3,4];
rowind = any(A > 4,2)
rowind =
0
1
1
0
0
As you can see, this returns a boolean vector, true or false for any rows that met the criterion.
Now we can zap those rows away via one of two methods. We can use find to find the index of the rows for deletion, or we can just index directly using the boolean vector. So either of these following forms will work:
A(find(rowind),:) = [];
A(rowind,:) = [];
Sometimes you will need to use the actual indices of those rows for other purposes, so you might use the find operation. Either case will result in the matrix:
Finally, I would point out that nothing I did here used or needed an explicit loop. This is MATLAB. Learn to use matrices and vectors.