Finding average of iterated curves
1 次查看(过去 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 个)
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 中查找有关 Error Detection and Correction 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!