Location: BG_ns_Ca @ 2b2ee96cc4bd / matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-03-22 15:57:54+13:00
- Desc:
- Updating channel density to literature value (Ehara87)
- Permanent Source URI:
- https://models.physiomeproject.org/workspace/83b/rawfile/2b2ee96cc4bd686330903d83e23d3d31fd5a8c1e/matlab_parameter_fitting/square_error.m
function result = square_error(vector) if ~iscolumn(vector) vector = transpose(vector); end result = transpose(vector)*vector; end