Returning values from Blockproc

1 回表示 (過去 30 日間)
Ahmed Abdulla
Ahmed Abdulla 2020 年 7 月 5 日
編集済み: Matt J 2020 年 7 月 5 日
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')) ;

採用された回答

Matt J
Matt J 2020 年 7 月 5 日
編集済み: Matt J 2020 年 7 月 5 日

その他の回答 (0 件)

製品


リリース

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by