Deleting rows and columns using the colon operator.

Assign newMatrixA with origMatrixA, then remove row delRow andcolumn delCol from newMatrixA. Assign deletedElems with the deletedrow and column values.

Ex: If origMatrixA is [1, 3, 2; 4, 9, 5; 6, 7, 8; ], delRow is1, and delCol is 2, then newMatrix A is [ 4, 5; 6, 8; ], anddeletedElems is [ 1; 3; 2; 9; 7; ].