In matlab, deleting the 2nd row of matrix A is
A(2,:) = [];
How to delete a row of matrix in julia? I tried to use A(2,:
I don't know the first thing about Julia, but I think it uses square brackets ([]) for indexing, so you should try the following:
A[2, :] = []
I don't have a Julia interpreter at hand to test that, but if that also fails, surely the following should work:
A = A[[1, 3:end], :]
which simply uses the reverse strategy of selecting the rows that you want to keep.