Location: The cardiac Na+ /K+ ATPase: An updated, thermodynamically consistent model @ aa1b81aa5a9c / Code / MATLAB / code / dataset_functions / relative_squared_error.m
- Author:
- Michael <panm@student.unimelb.edu.au>
- Date:
- 2017-11-02 12:22:46+11:00
- Desc:
- Uploaded updated files for submission
- Permanent Source URI:
- https://models.cellml.org/workspace/579/rawfile/aa1b81aa5a9c284c8112459563e0dc1045b5ced2/Code/MATLAB/code/dataset_functions/relative_squared_error.m
function answer = relative_squared_error(data_value,model_value) relative_error = (model_value-data_value)/data_value; answer = relative_error^2; end