Location: BG_Ks @ 38f3de2c94a6 / matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-03-22 15:03:32+13:00
- Desc:
- Updating Ks channel density to literature value (Chinn and Clancy)
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/82d/rawfile/38f3de2c94a63ee501ba6040eeae7a81055a245f/matlab_parameter_fitting/square_error.m
function result = square_error(vector)
if ~iscolumn(vector)
vector = transpose(vector);
end
result = transpose(vector)*vector;
end
