indexed empty matrixthe individual elements


Indexed empty matrix:

The Individual elements cannot be eliminated from matrices, as matrices always have the similar number of elements in every row.

>> mat = [7 9 8; 4 6 5]

mat =

7 9 8

4 6 5

>> mat(1,2) = [];

??? The Indexed empty matrix assignment is not permitted.

Though, whole rows or columns could be removed from a matrix. For illustration, to remove the second column:

>> mat(:,2) = []

mat =

7 8

4 5

 

 

Request for Solution File

Ask an Expert for Answer!!
Applications of MATLAB: indexed empty matrixthe individual elements
Reference No:- TGS0174738

Expected delivery within 24 Hours