Info

This question is closed. Reopen it to edit or answer.

i want to calculate of mean each block row vice and i need to replace each row with obtained mean value

1 view (last 30 days)
i want to calculate mean of each block row vice and i need to replace each row with obtained dmean value?

Answers (1)

Andrei Bobrov
Andrei Bobrov on 23 Sep 2019
Let A - your array:
A = randi(125,8,6);
out = mean(A,2)*ones(1,size(A,2));

Tags

Community Treasure Hunt

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

Start Hunting!