I am trying to implement the simplest derivative filter, e.g.: H(s)=s, as:
H=tf([1 0],[1]);output=lsim( H , input);
However, the expected error is that lsim "Cannot simulate the time response of models with more zeros than poles".
So, how do I implement it in Matlab?
Best Answer