This repository contains the MATLAB code for tuning a PID controller using Genetic Algorithm (GA). Using this algorithm, a third order transfer function was tuned to control the transient response parameters and steady state parameters.
gapid.m
pidtest.m
myfun.m