- In the 'Discrete Transfer Fcn' dialog box, the numerator and denominator coefficients should be listed in decreasing powers of 'z'. In this case, the Numerator and Denominator should be [Kp+Ki*Ts, -Kp] and [1, -1], respectively.
- As stated in the task, the Initial States should be set to '0'.

- To set the Sample Time to 'Ts', select the 'Discrete Transfer Fcn' block in the Simulink window and enter the following command in the MATLAB command window:

- https://www.mathworks.com/help/simulink/slref/discretetransferfcn.html
- https://www.mathworks.com/help/simulink/slref/set_param.html