
% This is function funkipi.m
% Minimizes Ki = x(1) 

function funkipi = f(x)
global Kc taui taud

Kc=x(1)
ki=x(2)
taui=Kc/ki;
taud=0;
     
  
  funkipi = -ki;


