calculate the mean square error

4 ビュー (過去 30 日間)
Guido Pastore
Guido Pastore 2019 年 3 月 15 日
コメント済み: Adam 2019 年 3 月 18 日
Given two arrays of double how do I calculate the mean square error

回答 (1 件)

Adam
Adam 2019 年 3 月 15 日
Calculate the error, square it and calculate the mean!
mean( ( a - b ).^2 );
  4 件のコメント
Guido Pastore
Guido Pastore 2019 年 3 月 15 日
編集済み: Guido Pastore 2019 年 3 月 15 日
How can I interpolate values ??
I'll explain my situation to you.
I have two arrays.
1.The first array comes from a data acquisition performed through Kinect which has a higher acquisition frequency, in fact the size of this array is 1054x1.
2.The second array comes from a data acquisition performed through an Intel RealSense camera that has a lower acquisition frequency, in fact the size of this array is 601x1.
How can I solve the problem and then proceed to the calculation of the mean square error??
Adam
Adam 2019 年 3 月 18 日
doc interp1
should allow you to resample the 601 up to 1054 (or the 1054 down to 601 if you prefer) and then you can compare per-point, bearing in mind that you are no longer comparing raw data.

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

Community Treasure Hunt

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

Start Hunting!

Translated by