Averaging duplicate entries with standard deviation

조회 수: 2 (최근 30일)
Melissa
Melissa 2014년 11월 21일
댓글: Geoff Hayes 2014년 11월 21일
I have a 3423x3 dimension dataset (lon x lat x soil microbial biomass)
There are several datapoints that have the same lat x lon I want to average these duplicated datapoints into just one bin AND also calculate the standard deviation associated with each average
EX:
[25 20 10; 25 20 20; 25 21 5; 13 21 10]
I want to be..
[25 20 15; 25 21 5; 13 21 10]
Is there any way to do this on matlab? Thank you for any help
-Melissa
  댓글 수: 1
Geoff Hayes
Geoff Hayes 2014년 11월 21일
Melissa - are your latitude and longitude values simply integers or can they include a fraction (i.e. 25.2, 20.34, etc.)?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Agriculture에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by