I've doing some MATLAB recently, specifically in signal analysis applications specifically transfer functions.
I'm using the tf function as follows:
Now this is working fine, what if I want to use arbitrary constants like we do in dsolve function. What do we do then?Code:tf('s'); H = (s+1)/(s^2+2*s+2);
I essentially want to add transfer functions like:
Code:H1 = (s+1)/(s^2+2*s+2); H2 = (a*s+b)/(s^2+2*s+2); % a and b are arbitrary constants H = H1 + H2