photo

David Lieberman


Last seen: 4 years ago Active since 2017

Followers: 0   Following: 0

Statistics

All
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
compute centroid of a matrix
x = sum(sum(matrix).*(1:size(matrix,2)))/sum(sum(matrix)) y is computed similarly

7 years ago | 0