Finding average of iterated curves
조회 수: 3 (최근 30일)
이전 댓글 표시
I have a code that generates multiple curves from a set of data that gets random error added to it, so after each iteration of the full code, the output curve is different. How can I get an average of these curves?
댓글 수: 1
답변 (1개)
Thorsten
2014년 10월 14일
Write a function "fullcode" that returns your curve, than you can use something like this
for i = 1:N
result(i,:) = fullcode;
end
mean(result)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Fit Postprocessing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!