how can i find the average of every single raw in a matrix without using sum or mean function ?

7 views (last 30 days)

Answers (1)

Andrei Bobrov
Andrei Bobrov on 15 Jan 2020
n = size(sc,2);
out = sc*ones(n,1)/n;

Community Treasure Hunt

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

Start Hunting!