a= [ 1 0 0 ; 0 0 0; 1 0 0] new=[0 0 1] % the row to be replace
a(2,:)=new % replace row 2 in a with new
How can I compare the new table and original table to get the number of row and column of added 1 (in the new table)
arraycolumncomparisonmatrixrowtable
a= [ 1 0 0 ; 0 0 0; 1 0 0] new=[0 0 1] % the row to be replace
a(2,:)=new % replace row 2 in a with new
Best Answer