% LEP 9-Inhibition : Lineweaver-Burk plots for different types of enzyme inhibition
%

Vmax=1.2;
KM=0.0233;
KI=0.1;
Inhibitorcon=0.1;
Sinv=linspace(0,100,200);
for i=1:200
a(i)=(1/Vmax)+(KM*Sinv(i)/Vmax);
b(i)=(1/Vmax)+(KM*Sinv(i)/Vmax)*(1+Inhibitorcon/KI);
c(i)=(KM*Sinv(i)/Vmax)+(1/Vmax)*(1+Inhibitorcon/KI);
d(i)=(1/Vmax)*(1+Inhibitorcon/KI)+(KM*Sinv(i)/Vmax)*(1+Inhibitorcon/KI);
end
plot(Sinv(1:200),a(1:200),Sinv(1:200),b(1:200),Sinv(1:200),c(1:200),Sinv(1:200),d(1:200),'LineWidth',2)
xlabel('1/S')
ylabel('1/-r_s')
leg=legend('No Inhibition','Competitive','Uncompetitive','Noncompetitive');
leg.ItemTokenSize=[10,10];
axis([0 100 0 10])
title('Lineweaver-Burk Plot')
grid on

%