Returning values from Blockproc
显示 更早的评论
I used the following code to calculate the mean of blocks of data(compress down my matrix), but i was wondering if there is a way to just return the values within the block without taking the mean because im thinking of finding the correlation between the values of the block from a certain dataset with the values of a block within another.
Data{j} =blockproc(Variable2, [Factor Factor], @(x) mean(x.data,'all','omitnan')) ;
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Neighborhood and Block Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!