I created a 30×30 matrix and now I want to delete the 1st column of data and add another column replacing the deleted column (which should not replace the same column), so I again get a matrix of size 30×30. I am successful in deleting the 1st column but cannot add another column.
MATLAB: How to add a column to a matrix
matrix manipulation
Related Question
- Insert zero columns in matrices inside a cell array
- Mean of 6TH, 7TH AND 8TH numbers of every column
- Move all counts of the image in random direction
- MAtrix
- How to get the deletedElems to form its own column array? I got newMatrixA, but deletedElems keeps getting an output of 2 instead of [ 1; 3; 2; 9; 7; ]
Best Answer