フィルターのクリア

Finding average of iterated curves

1 回表示 (過去 30 日間)
María Jesús
María Jesús 2014 年 10 月 14 日
回答済み: Thorsten 2014 年 10 月 14 日
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 件のコメント
Roger Wohlwend
Roger Wohlwend 2014 年 10 月 14 日
It depends on how you save these curves. In a matrix?

サインインしてコメントする。

回答 (1 件)

Thorsten
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)

カテゴリ

Help Center および File ExchangeError Detection and Correction についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by