I have a 133X7 matrix (lets call it A) where each cell of the first 6 columns is a 9000X1 array (let's call it B). I wanna generate a mean vector of the first column of A, such that it contains mean values of all the corresponsing cells inside B. For example, the mean of the first cell values of all Bs should be the first cell value in the resultant vector, the mean of the second cell values of all Bs should be the second cell value in resultant vector and so on.
Does someone know how to do this?
1 Comment
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/692980-how-to-find-a-vector-containing-mean-values-of-the-corresponding-cells#comment_1217035
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/692980-how-to-find-a-vector-containing-mean-values-of-the-corresponding-cells#comment_1217035
Sign in to comment.