フィルターのクリア

calculate the value by using a formula

1 回表示 (過去 30 日間)
Chathu
Chathu 2015 年 2 月 18 日
コメント済み: Chathu 2015 年 2 月 20 日
How to calculate the error(pls see the attachment-pg1)? (data and formula is written in the attachment) Do i have to use a for loop here? How to solve this problem?

採用された回答

Michael Haderlein
Michael Haderlein 2015 年 2 月 18 日
Dou you mean
err=sqrt(sum((M-P).^2)/numel(M));
I guess "i" does not go to infinity but only to 2000 and the data in your file is incomplete and should have 2000 values each (M and P).
  7 件のコメント
Torsten
Torsten 2015 年 2 月 20 日
err=sqrt(sum((M(1:minL)-P(1:minL)).^2)/minL);
Best wishes
Torsten.
Chathu
Chathu 2015 年 2 月 20 日
@ Torsten- Perfect !!!
Finally i obtained estimated values for the error. Thank you sooo much. Appreciate it.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by