Location: BG_Ks @ 0c10ace8a98d / matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-04-01 10:05:04+13:00
- Desc:
- With new densities found from fitting Pan - K + Kr + Ks to Viswanathan data
- Permanent Source URI:
- https://models.physiomeproject.org/workspace/82d/rawfile/0c10ace8a98d62bb5ccf5df839a0b6b33944ed9d/matlab_parameter_fitting/square_error.m
function result = square_error(vector) if ~iscolumn(vector) vector = transpose(vector); end result = transpose(vector)*vector; end