clear %Note: These parameters must be updated with their correct values. %Potentiometer Parameters K0=1; K3=1; %System Parameters Kp=1; T=1; %Controller Parameter K=.05;