MATLAB: How to i find the integral/derivative of a transfer function

diff()inttf

have a transfer function, how to get its integral?

Best Answer

Are you using Control System Toolbox? Recall that the transfer function for a derivative is s and for an integrator is 1/s. So, for example:
>> G = tf(1,[1 5 10])
>> s = tf('s')
Then
>> G_deriv = G*s;
>> G_int = G*(1/s);
If you're using discrete, you can similarly do this with z = tf('z');
- Sebastian