Hello! There are matrices, I need to delete the last column, how would I do this?
A=[2 4 2 4 2 6 8];[x,y]=size(A);A(:, y) = [];
I try something like this, but I need to change the changed data to another array
MATLABmatrix
A=[2 4 2 4 2 6 8];[x,y]=size(A);A(:, y) = [];
Best Answer