Location: The cardiac Na+ /K+ ATPase: An updated, thermodynamically consistent model @ 9a50ca6b7625 / Code / MATLAB / code / dataset_functions / relative_squared_error.m

Author:
AnandR <a.rampadarath@auckland.ac.nz>
Date:
2019-02-15 15:17:13+13:00
Desc:
Added a note on curation and annotation at the end of the paper.
Permanent Source URI:
https://staging.physiomeproject.org/workspace/578/rawfile/9a50ca6b76253e9dd80fdbd00c457887ff7a7839/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