MATLAB: How to replace the element in matrix

MATLABmatrix arraymatrix manipulation

i have a matrix
if true
A = [ 1 5 9 7
3 5 7 8
8 2 4 6 ];
end
now i want to put number 12 in the location of A(2,2)
also i want to put number 13 in the location of A(3,3)
how can i do please help me

Best Answer

A(2,2)=12;
A(3,3)=13;