Hi,I'm relatively new to Matlab and am trying to implement a discrete PI controller to a simulation of an ammonia plant. The problem is that I don't know how to do it using Matlab code, as i'm used to simulink, and was wondering if anyone could help. Below is the code i've started with:
%PI...