Taking Mean of Half Values Inside a Cell
Show older comments
Hi,
I have a cell data of 66668x67 size.
I want to take mean of last 30 percent data inside the cell. Like mean of the data starting from row number 46668(might not be the correct row number considering last 30 percent but just for the sake of example) till end for each column.
How can it be done?
If I use a simple mean such as mean(x), it gives me mean of whole data from 1st row till last for each column. (I get a 1x67 result set which is nice for some results) but in some cases I only need to take mean of last 30 percent data inside the cell.
Accepted Answer
More Answers (0)
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!