MATLAB: Input and output of PID controller

MATLABpid

If input to PID controller is position can its output be a angle.

Best Answer

The PID controller don't see if its input is a position or a speed or anything else, its input is just a signal u, the PID will compute output=k.u+ Ti.Int(u)+Td.du/dt
Related Question