Location: BG_TCC @ e7c127c432a0 / Kernik_matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-04-22 11:17:29+12:00
Desc:
Changing units to s for alpha and beta gate parameters
Permanent Source URI:
https://models.physiomeproject.org/workspace/831/rawfile/e7c127c432a07fe8bbb82b7967315cb200f6494d/Kernik_matlab_parameter_fitting/square_error.m

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