how to compute averge of columns

i have a matrix of for e.g (5,10) i want to compute average of every columns

 Accepted Answer

Out=mean(x)

3 Comments

thanks buddy , can you please tell me what changes i have to make to get sum of every row ?
got it thanks aloot :)

Sign in to comment.

More Answers (0)

Categories

Find more on Language Fundamentals 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!