Please, what is wrong with the following answer
X = (X-60)/10;
This would operate on the entire matrix X. However we want the GPA to appear only in the last column of X. So try by declaring another variable which would calculate the GPA and then replace the last column of X with this column vector.
We have to modify only last column of matrix X not an entire matrix so find GPA for that column only.
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office