The mean (average) and standard deviation of the errors.

6 ビュー (過去 30 日間)
seelan kumar
seelan kumar 2019 年 5 月 17 日
編集済み: Meg Noah 2025 年 8 月 5 日
how to calculate the mean (average) and standard deviation of the errors? Can you help me to send the formula?

回答 (1 件)

Meg Noah
Meg Noah 2025 年 8 月 5 日
編集済み: Meg Noah 2025 年 8 月 5 日
With simulated 'actual' and 'measured' data:
x_actual_values = sin(linspace(0,pi,1000));
x_measured_values = x_actual_values + 0.01*randn(size(x_actual_values));
error_in_measurement = x_measured_values - x_actual_values;
mean_error = mean(error_in_measurement)
mean_absolute_error = mean(abs(error_in_measurement))
std_error = std(error_in_measurement)

カテゴリ

Help Center および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by