The mean (average) and standard deviation of the errors.
조회 수: 6 (최근 30일)
이전 댓글 표시
how to calculate the mean (average) and standard deviation of the errors? Can you help me to send the formula?
답변 (1개)
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)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!