MATLAB Answers

zain

how to compute averge of columns

Asked by zain
on 25 Jan 2013

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

  0 Comments

Products

No products are associated with this question.

1 Answer

Answer by Azzi Abdelmalek
on 25 Jan 2013
 Accepted answer
Out=mean(x)

  3 Comments

zain
on 25 Jan 2013

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

Azzi Abdelmalek
on 25 Jan 2013
mean(x,2)
zain
on 25 Jan 2013

got it thanks aloot :)


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today