Location: BG_K @ 9d6719177e83 / matlab_parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-04-20 10:56:13+12:00
- Desc:
- storing gate particle number in comp environment
- Permanent Source URI:
- http://models.cellml.org/workspace/823/rawfile/9d6719177e83db1f7662b4a271f68cf38ae67094/matlab_parameter_fitting/square_error.m
function result = square_error(vector) if ~iscolumn(vector) vector = transpose(vector); end result = transpose(vector)*vector; end