i have a 17x6 matrix and i want to find the average of the last column WITHOUT hardcoding meaning if that matrix becomes a 16x4 it will still calculate the avg
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
1 Comment
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/503717-how-to-find-the-average-of-a-single-column-in-matrix#comment_793945
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/503717-how-to-find-the-average-of-a-single-column-in-matrix#comment_793945
Sign in to comment.