Location: BG_Ks @ 27301e4247a3 / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-03-28 14:37:56+13:00
Desc:
Gitting GHK closer around -85mV
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82d/rawfile/27301e4247a34a8399d48641b56cb8de45cc45b4/matlab_parameter_fitting/square_error.m

function result = square_error(vector)
    if ~iscolumn(vector)
        vector = transpose(vector);
    end
    result = transpose(vector)*vector;
end