Dynamic-Calibration/utils/YALMIP-master/modules/parametric/mpt_clean_optmizer.m

7 lines
178 B
Mathematica
Raw Normal View History

2019-12-18 11:25:45 +00:00
function [Fi,Gi] = mpt_clean_optmizer(Fi,Gi);
if length(Fi)>0
for i = 1:length(Fi)
Fi{i} = round(1e10*Fi{i})/1e10;
Gi{i} = round(1e10*Gi{i})/1e10;
end
end