MATLAB: How to find Y from X. (Laplace)

gauss

How to find temperature, Tm at time t = 15 seconds
>> y1 = tf(1, [1 1]);
>> y2 = tf(1, [1 1], 'inputdelay', 10);
>> Tm = 10*y1 – 20*y2 + 130;
>> step(Tm)

Best Answer

y1 = tf(1, [1 1]);
y2 = tf(1, [1 1], 'inputdelay', 10);
Tm = 10*y1 - 20*y2 + 130;
step( Tm)
[Tmvalues, tOut] = step(Tm);
Tm15 = interp1(tOut, Tmvalues, 15)
Tm15 = 120.1348