I must be missing something obvious but why does MATLAB have these two different behaviors?
Compare,
>> s = tf('s');
>> G = exp(-2.1*s)/(s+10)
G =
1
exp(-2.1*s) * ------
s + 10
Continuous-time transfer function.
with
>> G = exp(-2.1*s)+s
G =
A =
x1 x2
x1 1 0
x2 0 1
B =
u1
x1 0
x2 -1
C =
x1 x2
y1 1 0
D =
u1
y1 1
E =
x1 x2
x1 0 1
x2 0 0
(values computed with all internal delays set to zero)
Internal delays (seconds): 2.1
Continuous-time state-space model.
I understand the second model ends up being a DAE or implicit state space model ... but why? I couldn't find anything in the documentation. Other software like Mathematica doesn't seem to do this.
The transfer function
exp(-tau*s)represents a time delay wheretauis the delay. Your second system cannot be represented in transfer function form. For clarity, if you letthen
tf(G2)returns