For example, I want to add two units to the even matrix elements and show the new matrix
r=[1,2,3,4;5,6,7,8;9,10,11,12;13,14,15,16];
Thanks for your help
add or subtraction a unit to matrix even elements
r=[1,2,3,4;5,6,7,8;9,10,11,12;13,14,15,16];
Best Answer