I am new to MATLAB coding. I want to normalize each value of every row and have write the following code
A=[10 20 30 40;5 15 25 30];
divideBy=valMax - valMin;
This code is coverting value of each row between 0 and 1.Kindly guide is this right approach.